/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/libaddressinput/chromium/ |
H A D | trie_unittest.cc | 28 trie.FindDataForKeyPrefix(ToByteArray("key"), &result); in TEST() 34 trie.AddDataForKey(ToByteArray("hello"), "world"); in TEST() 44 trie.AddDataForKey(ToByteArray("hello"), "world"); in TEST() 54 trie.AddDataForKey(ToByteArray("hello"), "world"); in TEST() 62 trie.AddDataForKey(ToByteArray("hello"), "world"); in TEST() 63 trie.AddDataForKey(ToByteArray("howdy"), "buddy"); in TEST() 64 trie.AddDataForKey(ToByteArray("foo"), "bar"); in TEST() 75 trie.AddDataForKey(ToByteArray("hello"), "world"); in TEST() 77 trie.AddDataForKey(ToByteArray("hella"), "warld"); in TEST() 88 trie.AddDataForKey(ToByteArray("hello"), "world"); in TEST() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/libaddressinput/chromium/ |
H A D | trie_unittest.cc | 28 trie.FindDataForKeyPrefix(ToByteArray("key"), &result); in TEST() 34 trie.AddDataForKey(ToByteArray("hello"), "world"); in TEST() 44 trie.AddDataForKey(ToByteArray("hello"), "world"); in TEST() 54 trie.AddDataForKey(ToByteArray("hello"), "world"); in TEST() 62 trie.AddDataForKey(ToByteArray("hello"), "world"); in TEST() 63 trie.AddDataForKey(ToByteArray("howdy"), "buddy"); in TEST() 64 trie.AddDataForKey(ToByteArray("foo"), "bar"); in TEST() 75 trie.AddDataForKey(ToByteArray("hello"), "world"); in TEST() 77 trie.AddDataForKey(ToByteArray("hella"), "warld"); in TEST() 88 trie.AddDataForKey(ToByteArray("hello"), "world"); in TEST() [all …]
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
H A D | UnknownFieldSetTest.cs | 67 emptyMessage.MergeFrom(message.ToByteArray()); in TestMergeCodedInput() 69 Assert.AreEqual(message.ToByteArray(), emptyMessage.ToByteArray()); in TestMergeCodedInput() 72 newMessage.MergeFrom(emptyMessage.ToByteArray()); in TestMergeCodedInput() 83 emptyMessage.MergeFrom(message.ToByteArray()); in TestMergeMessage() 87 Assert.AreEqual(message.ToByteArray(), otherEmptyMessage.ToByteArray()); in TestMergeMessage() 97 emptyMessage.MergeFrom(message.ToByteArray()); in TestEquals() 109 emptyMessage.MergeFrom(message.ToByteArray()); in TestHashCode() 120 Assert.AreEqual(emptyMessage.ToByteArray(), otherEmptyMessage.ToByteArray()); in TestClone() 123 emptyMessage.MergeFrom(message.ToByteArray()); in TestClone() 126 Assert.AreEqual(message.ToByteArray(), otherEmptyMessage.ToByteArray()); in TestClone() [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/csharp/src/Google.Protobuf.Test/ |
H A D | UnknownFieldSetTest.cs | 67 emptyMessage.MergeFrom(message.ToByteArray()); in TestMergeCodedInput() 69 Assert.AreEqual(message.ToByteArray(), emptyMessage.ToByteArray()); in TestMergeCodedInput() 72 newMessage.MergeFrom(emptyMessage.ToByteArray()); in TestMergeCodedInput() 83 emptyMessage.MergeFrom(message.ToByteArray()); in TestMergeMessage() 87 Assert.AreEqual(message.ToByteArray(), otherEmptyMessage.ToByteArray()); in TestMergeMessage() 97 emptyMessage.MergeFrom(message.ToByteArray()); in TestEquals() 109 emptyMessage.MergeFrom(message.ToByteArray()); in TestHashCode() 120 Assert.AreEqual(emptyMessage.ToByteArray(), otherEmptyMessage.ToByteArray()); in TestClone() 123 emptyMessage.MergeFrom(message.ToByteArray()); in TestClone() 126 Assert.AreEqual(message.ToByteArray(), otherEmptyMessage.ToByteArray()); in TestClone() [all …]
|
/dports/lang/mono/mono-5.10.1.57/mcs/class/System.Numerics/Test/System.Numerics/ |
H A D | BigIntegerTest.cs | 122 Assert.AreEqual (huge_div, c.ToByteArray (), "#1"); in TestHugeDivRem() 123 Assert.AreEqual (huge_rem, d.ToByteArray (), "#2"); in TestHugeDivRem() 368 (new BigInteger(0x0A) << 10).ToByteArray (), "#1"); in TestLeftShift() 370 (new BigInteger(-10) << 10).ToByteArray (), "#2"); in TestLeftShift() 372 (new BigInteger(-1) << 16).ToByteArray (), "#3"); in TestLeftShift() 374 (new BigInteger(0x0A) << 80).ToByteArray (), "#4"); in TestLeftShift() 376 (new BigInteger(-10) << 80).ToByteArray (), "#5"); in TestLeftShift() 378 (new BigInteger(-1) << 80).ToByteArray (), "#6"); in TestLeftShift() 380 (new BigInteger(-1234) << 75).ToByteArray (), "#7"); in TestLeftShift() 542 var b = new BigInteger (a.ToByteArray ()); in IntCtorRoundTrip() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Numerics/tests/BigInteger/ |
H A D | cast_from.cs | 25 value = bigInteger.ToByteArray()[0]; in RunByteExplicitCastFromBigIntegerTests() 31 value = bigInteger.ToByteArray()[0]; in RunByteExplicitCastFromBigIntegerTests() 52 value = bigInteger.ToByteArray()[0]; in RunByteExplicitCastFromBigIntegerTests() 57 value = bigInteger.ToByteArray()[0]; in RunByteExplicitCastFromBigIntegerTests() 69 value = unchecked((SByte)bigInteger.ToByteArray()[0]); in RunSByteExplicitCastFromBigIntegerTests() 75 value = (SByte)bigInteger.ToByteArray()[0]; in RunSByteExplicitCastFromBigIntegerTests() 108 value = unchecked((SByte)bigInteger.ToByteArray()[0]); in RunSByteExplicitCastFromBigIntegerTests() 600 temp = bigInteger.ToByteArray(); in RunDecimalExplicitCastFromBigIntegerTests() 624 temp = bigInteger.ToByteArray(); in RunDecimalExplicitCastFromBigIntegerTests() 688 temp = bigInteger.ToByteArray(); in RunDecimalExplicitCastFromBigIntegerTests() [all …]
|
H A D | ToByteArray.netcoreapp.cs | 23 Assert.Throws<OverflowException>(() => bi.ToByteArray(isUnsigned, isBigEndian)); in ToByteArray_FromIntTests() 27 byte[] bytes = bi.ToByteArray(isUnsigned, isBigEndian); in ToByteArray_FromIntTests() 44 Assert.Throws<OverflowException>(() => bi.ToByteArray(isUnsigned, isBigEndian)); in ToByteArray_FromLongTests() 48 byte[] bytes = bi.ToByteArray(isUnsigned, isBigEndian); in ToByteArray_FromLongTests() 64 Assert.Throws<OverflowException>(() => bi.ToByteArray(isUnsigned, isBigEndian)); in ToByteArray_FromStringTests() 68 byte[] bytes = bi.ToByteArray(isUnsigned, isBigEndian); in ToByteArray_FromStringTests()
|
H A D | ToByteArray.cs | 45 byte[] bytes = bi.ToByteArray(); in ToByteArray_FromIntTests() 88 byte[] bytes = bi.ToByteArray(); in ToByteArray_FromLongTests() 114 byte[] bytes = bi.ToByteArray(); in ToByteArray_FromStringTests()
|
/dports/devel/grpc/grpc-1.42.0/src/csharp/Grpc.Core.Tests/Internal/ |
H A D | SliceBufferSafeHandleTest.cs | 35 CollectionAssert.AreEqual(new byte[0], sliceBuffer.ToByteArray()); in Complete_EmptyBuffer() 49 CollectionAssert.AreEqual(origPayload, sliceBuffer.ToByteArray()); in Complete_TailSizeZero() 64 CollectionAssert.AreEqual(origPayload, sliceBuffer.ToByteArray()); in Complete_TruncateTailSpace() 77 CollectionAssert.AreEqual(origPayload, sliceBuffer.ToByteArray()); in SliceBufferIsReusable() 85 CollectionAssert.AreEqual(origPayload2, sliceBuffer.ToByteArray()); in SliceBufferIsReusable() 89 CollectionAssert.AreEqual(new byte[0], sliceBuffer.ToByteArray()); in SliceBufferIsReusable() 127 CollectionAssert.AreEqual(bigPayload, sliceBuffer.ToByteArray()); in SliceBuffer_BigPayload()
|
H A D | DefaultSerializationContextTest.cs | 70 var nativePayload = context.GetPayload().ToByteArray(); in ByteArrayPayload() 92 var nativePayload = context.GetPayload().ToByteArray(); in BufferWriter_OneSegment() 114 var nativePayload = context.GetPayload().ToByteArray(); in BufferWriter_OneSegment_GetMemory() 146 var nativePayload = context.GetPayload().ToByteArray(); in BufferWriter_MultipleSegments() 162 CollectionAssert.AreEqual(origPayload1, context.GetPayload().ToByteArray()); in ContextIsReusable() 172 CollectionAssert.AreEqual(origPayload2, context.GetPayload().ToByteArray()); in ContextIsReusable()
|
/dports/devel/grpc130/grpc-1.30.2/src/csharp/Grpc.Core.Tests/Internal/ |
H A D | SliceBufferSafeHandleTest.cs | 35 CollectionAssert.AreEqual(new byte[0], sliceBuffer.ToByteArray()); in Complete_EmptyBuffer() 49 CollectionAssert.AreEqual(origPayload, sliceBuffer.ToByteArray()); in Complete_TailSizeZero() 64 CollectionAssert.AreEqual(origPayload, sliceBuffer.ToByteArray()); in Complete_TruncateTailSpace() 77 CollectionAssert.AreEqual(origPayload, sliceBuffer.ToByteArray()); in SliceBufferIsReusable() 85 CollectionAssert.AreEqual(origPayload2, sliceBuffer.ToByteArray()); in SliceBufferIsReusable() 89 CollectionAssert.AreEqual(new byte[0], sliceBuffer.ToByteArray()); in SliceBufferIsReusable() 127 CollectionAssert.AreEqual(bigPayload, sliceBuffer.ToByteArray()); in SliceBuffer_BigPayload()
|
H A D | DefaultSerializationContextTest.cs | 70 var nativePayload = context.GetPayload().ToByteArray(); in ByteArrayPayload() 92 var nativePayload = context.GetPayload().ToByteArray(); in BufferWriter_OneSegment() 114 var nativePayload = context.GetPayload().ToByteArray(); in BufferWriter_OneSegment_GetMemory() 146 var nativePayload = context.GetPayload().ToByteArray(); in BufferWriter_MultipleSegments() 162 CollectionAssert.AreEqual(origPayload1, context.GetPayload().ToByteArray()); in ContextIsReusable() 172 CollectionAssert.AreEqual(origPayload2, context.GetPayload().ToByteArray()); in ContextIsReusable()
|
/dports/devel/grpc134/grpc-1.34.1/src/csharp/Grpc.Core.Tests/Internal/ |
H A D | SliceBufferSafeHandleTest.cs | 35 CollectionAssert.AreEqual(new byte[0], sliceBuffer.ToByteArray()); in Complete_EmptyBuffer() 49 CollectionAssert.AreEqual(origPayload, sliceBuffer.ToByteArray()); in Complete_TailSizeZero() 64 CollectionAssert.AreEqual(origPayload, sliceBuffer.ToByteArray()); in Complete_TruncateTailSpace() 77 CollectionAssert.AreEqual(origPayload, sliceBuffer.ToByteArray()); in SliceBufferIsReusable() 85 CollectionAssert.AreEqual(origPayload2, sliceBuffer.ToByteArray()); in SliceBufferIsReusable() 89 CollectionAssert.AreEqual(new byte[0], sliceBuffer.ToByteArray()); in SliceBufferIsReusable() 127 CollectionAssert.AreEqual(bigPayload, sliceBuffer.ToByteArray()); in SliceBuffer_BigPayload()
|
H A D | DefaultSerializationContextTest.cs | 70 var nativePayload = context.GetPayload().ToByteArray(); in ByteArrayPayload() 92 var nativePayload = context.GetPayload().ToByteArray(); in BufferWriter_OneSegment() 114 var nativePayload = context.GetPayload().ToByteArray(); in BufferWriter_OneSegment_GetMemory() 146 var nativePayload = context.GetPayload().ToByteArray(); in BufferWriter_MultipleSegments() 162 CollectionAssert.AreEqual(origPayload1, context.GetPayload().ToByteArray()); in ContextIsReusable() 172 CollectionAssert.AreEqual(origPayload2, context.GetPayload().ToByteArray()); in ContextIsReusable()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/ |
H A D | SerializationBenchmark.cs | 78 public void ToByteArray() => subTests.ForEach(item => item.ToByteArray()); in ToByteArray() method in Google.Protobuf.Benchmarks.SerializationBenchmark 96 sourceStream = new MemoryStream(data.ToByteArray()); in SubTest() 109 public void ToByteArray() => message.ToByteArray(); in ToByteArray() method in Google.Protobuf.Benchmarks.SerializationBenchmark.SubTest
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/csharp/src/Google.Protobuf.Benchmarks/ |
H A D | SerializationBenchmark.cs | 78 public void ToByteArray() => subTests.ForEach(item => item.ToByteArray()); in ToByteArray() method in Google.Protobuf.Benchmarks.SerializationBenchmark 96 sourceStream = new MemoryStream(data.ToByteArray()); in SubTest() 109 public void ToByteArray() => message.ToByteArray(); in ToByteArray() method in Google.Protobuf.Benchmarks.SerializationBenchmark.SubTest
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Runtime.Numerics/tests/Performance/ |
H A D | Perf.BigInteger.cs | 27 byte[] input = BigInteger.Parse(numberString).ToByteArray(); in Ctor_ByteArray() 42 public void ToByteArray(string numberString) in ToByteArray() method in System.Numerics.Tests.Perf_BigInteger 51 bi.ToByteArray(); in ToByteArray()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/ |
H A D | WrappersTest.cs | 74 var bytes = message.ToByteArray(); in NonDefaultSingleValues() 104 var bytes = message.ToByteArray(); in NonNullDefaultIsPreservedThroughSerialization() 143 var bytes = message.ToByteArray(); in RepeatedWrappersSerializeDeserialize() 171 var actualBytes = message.ToByteArray(); in RepeatedWrappersBinaryFormat() 197 var bytes = message.ToByteArray(); in MapWrappersSerializeDeserialize() 291 var bytes = message.ToByteArray(); in AssertOneofRoundTrip() 316 originalMessage.MergeFrom(mergingMessage.ToByteArray()); in Merging() 357 var bytes = new TestWellKnownTypes { Int32Field = 0 }.ToByteArray(); in MergingStreamNoValue()
|
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
H A D | WrappersTest.cs | 74 var bytes = message.ToByteArray(); in NonDefaultSingleValues() 104 var bytes = message.ToByteArray(); in NonNullDefaultIsPreservedThroughSerialization() 143 var bytes = message.ToByteArray(); in RepeatedWrappersSerializeDeserialize() 171 var actualBytes = message.ToByteArray(); in RepeatedWrappersBinaryFormat() 197 var bytes = message.ToByteArray(); in MapWrappersSerializeDeserialize() 291 var bytes = message.ToByteArray(); in AssertOneofRoundTrip() 316 originalMessage.MergeFrom(mergingMessage.ToByteArray()); in Merging() 357 var bytes = new TestWellKnownTypes { Int32Field = 0 }.ToByteArray(); in MergingStreamNoValue()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/csharp/compatibility_tests/v3.0.0/src/Google.Protobuf.Test/WellKnownTypes/ |
H A D | WrappersTest.cs | 74 var bytes = message.ToByteArray(); in NonDefaultSingleValues() 104 var bytes = message.ToByteArray(); in NonNullDefaultIsPreservedThroughSerialization() 143 var bytes = message.ToByteArray(); in RepeatedWrappersSerializeDeserialize() 171 var actualBytes = message.ToByteArray(); in RepeatedWrappersBinaryFormat() 197 var bytes = message.ToByteArray(); in MapWrappersSerializeDeserialize() 291 var bytes = message.ToByteArray(); in AssertOneofRoundTrip() 316 originalMessage.MergeFrom(mergingMessage.ToByteArray()); in Merging() 357 var bytes = new TestWellKnownTypes { Int32Field = 0 }.ToByteArray(); in MergingStreamNoValue()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/protobuf/csharp/src/Google.Protobuf.Test/WellKnownTypes/ |
H A D | WrappersTest.cs | 74 var bytes = message.ToByteArray(); in NonDefaultSingleValues() 104 var bytes = message.ToByteArray(); in NonNullDefaultIsPreservedThroughSerialization() 143 var bytes = message.ToByteArray(); in RepeatedWrappersSerializeDeserialize() 171 var actualBytes = message.ToByteArray(); in RepeatedWrappersBinaryFormat() 197 var bytes = message.ToByteArray(); in MapWrappersSerializeDeserialize() 291 var bytes = message.ToByteArray(); in AssertOneofRoundTrip() 316 originalMessage.MergeFrom(mergingMessage.ToByteArray()); in Merging() 357 var bytes = new TestWellKnownTypes { Int32Field = 0 }.ToByteArray(); in MergingStreamNoValue()
|
/dports/devel/grpc130/grpc-1.30.2/src/csharp/Grpc.IntegrationTesting/ |
H A D | WorkerServiceGrpc.cs | 32 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 33 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 34 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 35 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 36 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 37 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 38 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G…
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/csharp/Grpc.IntegrationTesting/ |
H A D | WorkerServiceGrpc.cs | 32 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 33 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 34 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 35 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 36 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 37 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G… 38 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::G…
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Reflection.Metadata/tests/Metadata/ |
H A D | BlobContentIdTests.cs | 67 … 0x05, 0x06, 0x07, 0x48, 0x89, 0x0A, 0x0B, 0x0C, 0x0D, 0x0E, 0x0F, 0x10 }, id1.Guid.ToByteArray()); in FromHash() 72 … 0x00, 0x00, 0x00, 0x40, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00 }, id2.Guid.ToByteArray()); in FromHash() 77 … 0xff, 0xff, 0xff, 0x4f, 0xbf, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff, 0xff }, id3.Guid.ToByteArray()); in FromHash()
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/grpc/src/src/csharp/Grpc.Examples/ |
H A D | MathWithProtocOptionsGrpc.cs | 30 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::M… 31 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::M… 32 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::M… 33 …:Marshallers.Create((arg) => global::Google.Protobuf.MessageExtensions.ToByteArray(arg), global::M…
|