Home
last modified time | relevance | path

Searched refs:expectedLength (Results 1 – 25 of 700) sorted by relevance

12345678910>>...28

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Security.AccessControl/tests/SystemAcl/
H A DSystemAcl_BinaryLength.cs23 int expectedLength = 0; in BasicValidationTestCases()
27 expectedLength = 8; in BasicValidationTestCases()
28 Assert.True(expectedLength == systemAcl.BinaryLength); in BasicValidationTestCases()
31 expectedLength = 8; in BasicValidationTestCases()
36 expectedLength += gAce.BinaryLength; in BasicValidationTestCases()
42 expectedLength = 8; in BasicValidationTestCases()
47 expectedLength += gAce.BinaryLength; in BasicValidationTestCases()
50 expectedLength += gAce.BinaryLength; in BasicValidationTestCases()
66 int expectedLength = 0; in AdditionalTestCases()
72 expectedLength = 8; in AdditionalTestCases()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DDecoder.java357 DataHeader si = d.readDataHeaderForArray(1, expectedLength); in readBytes()
372 DataHeader si = d.readDataHeaderForArray(2, expectedLength); in readShorts()
387 DataHeader si = d.readDataHeaderForArray(4, expectedLength); in readInts()
402 DataHeader si = d.readDataHeaderForArray(4, expectedLength); in readFloats()
417 DataHeader si = d.readDataHeaderForArray(8, expectedLength); in readLongs()
567 int offset, int arrayNullability, int expectedLength) { in readUntypedHandles() argument
586 int offset, int arrayNullability, int expectedLength) { in readConsumerHandles() argument
605 int offset, int arrayNullability, int expectedLength) { in readProducerHandles() argument
625 int offset, int arrayNullability, int expectedLength) { in readMessagePipeHandles() argument
645 int offset, int arrayNullability, int expectedLength) { in readSharedBufferHandles() argument
[all …]
H A DEncoder.java340 if (expectedLength != BindingsHelper.UNSPECIFIED_ARRAY_LENGTH in encode()
341 && expectedLength != v.length) { in encode()
364 if (expectedLength != BindingsHelper.UNSPECIFIED_ARRAY_LENGTH in encode()
365 && expectedLength != v.length) { in encode()
379 encoderForArray(2, v.length, offset, expectedLength).append(v); in encode()
446 int expectedLength, Interface.Manager<T, ?> manager) { in encode() argument
479 int arrayNullability, int expectedLength) { in encode() argument
496 int expectedLength) {} in encode() argument
502 int expectedLength) {} in encode() argument
540 if (expectedLength != BindingsHelper.UNSPECIFIED_ARRAY_LENGTH in encoderForArray()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/mojo/public/java/bindings/src/org/chromium/mojo/bindings/
H A DDecoder.java357 DataHeader si = d.readDataHeaderForArray(1, expectedLength); in readBytes()
372 DataHeader si = d.readDataHeaderForArray(2, expectedLength); in readShorts()
387 DataHeader si = d.readDataHeaderForArray(4, expectedLength); in readInts()
402 DataHeader si = d.readDataHeaderForArray(4, expectedLength); in readFloats()
417 DataHeader si = d.readDataHeaderForArray(8, expectedLength); in readLongs()
567 int offset, int arrayNullability, int expectedLength) { in readUntypedHandles() argument
586 int offset, int arrayNullability, int expectedLength) { in readConsumerHandles() argument
605 int offset, int arrayNullability, int expectedLength) { in readProducerHandles() argument
625 int offset, int arrayNullability, int expectedLength) { in readMessagePipeHandles() argument
645 int offset, int arrayNullability, int expectedLength) { in readSharedBufferHandles() argument
[all …]
H A DEncoder.java340 if (expectedLength != BindingsHelper.UNSPECIFIED_ARRAY_LENGTH in encode()
341 && expectedLength != v.length) { in encode()
364 if (expectedLength != BindingsHelper.UNSPECIFIED_ARRAY_LENGTH in encode()
365 && expectedLength != v.length) { in encode()
379 encoderForArray(2, v.length, offset, expectedLength).append(v); in encode()
446 int expectedLength, Interface.Manager<T, ?> manager) { in encode() argument
479 int arrayNullability, int expectedLength) { in encode() argument
496 int expectedLength) {} in encode() argument
502 int expectedLength) {} in encode() argument
540 if (expectedLength != BindingsHelper.UNSPECIFIED_ARRAY_LENGTH in encoderForArray()
[all …]
/dports/lang/mono/mono-5.10.1.57/mcs/tests/
H A Dtest-543.cs13 public int this [int expectedLength, params string[] items]
17 if (expectedLength != items.Length)
18 throw new ArgumentException (expectedLength + " != " + items.Length);
22 public object this [int expectedLength, params object[] items]
26 if (expectedLength != items.Length)
27 throw new ArgumentException (expectedLength + " != " + items.Length);
31 public bool this [int expectedLength, bool isNull, params object[] items]
35 if (expectedLength != items.Length)
36 throw new ArgumentException (expectedLength + " != " + items.Length);
/dports/security/lego/lego-4.5.3/vendor/github.com/boombuler/barcode/aztec/
H A Dhighlevel_test.go105 expectedLength := (8 * i)
108 expectedLength += 10
110 expectedLength += 20
112 expectedLength += 21
114 expectedLength += 31
119 testHighLevelEncodeStringCnt(t, data, expectedLength)
125 testHighLevelEncodeStringCnt(t, "a"+string(sb.Bytes()[:i-1]), expectedLength)
127 testHighLevelEncodeStringCnt(t, string(sb.Bytes()[:i-1])+"a", expectedLength)
130 testHighLevelEncodeStringCnt(t, "a"+data+"b", expectedLength+15)
/dports/net/storj/storj-1.45.3/vendor/github.com/boombuler/barcode/aztec/
H A Dhighlevel_test.go105 expectedLength := (8 * i)
108 expectedLength += 10
110 expectedLength += 20
112 expectedLength += 21
114 expectedLength += 31
119 testHighLevelEncodeStringCnt(t, data, expectedLength)
125 testHighLevelEncodeStringCnt(t, "a"+string(sb.Bytes()[:i-1]), expectedLength)
127 testHighLevelEncodeStringCnt(t, string(sb.Bytes()[:i-1])+"a", expectedLength)
130 testHighLevelEncodeStringCnt(t, "a"+data+"b", expectedLength+15)
/dports/security/vault/vault-1.8.2/vendor/github.com/boombuler/barcode/aztec/
H A Dhighlevel_test.go105 expectedLength := (8 * i)
108 expectedLength += 10
110 expectedLength += 20
112 expectedLength += 21
114 expectedLength += 31
119 testHighLevelEncodeStringCnt(t, data, expectedLength)
125 testHighLevelEncodeStringCnt(t, "a"+string(sb.Bytes()[:i-1]), expectedLength)
127 testHighLevelEncodeStringCnt(t, string(sb.Bytes()[:i-1])+"a", expectedLength)
130 testHighLevelEncodeStringCnt(t, "a"+data+"b", expectedLength+15)
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/vic/lib/archive/
H A Dutil_test.go651 expectedLength := len(expectedSpec.Exclusions)
653 …al(t, expectedLength, actualLength, "there were %d entries instead of %d for the exclusions genera…
708 expectedLength := len(expectedSpec.Exclusions)
800 expectedLength := len(expectedSpec.Exclusions)
808 expectedLength = len(expectedSpec.Inclusions)
910 expectedLength := len(expectedSpec.Exclusions)
917 expectedLength = len(expectedSpec.Inclusions)
979 expectedLength := len(expectedSpec.Exclusions)
986 expectedLength = len(expectedSpec.Inclusions)
1055 expectedLength := len(expectedSpec.Exclusions)
[all …]
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/status-im/keycard-go/apdu/
H A Dutils_test.go49 expectedLength uint32
54 expectedLength: 1,
59 expectedLength: 127,
64 expectedLength: 128,
69 expectedLength: 32896,
74 expectedLength: 8421504,
79 expectedLength: 0,
84 expectedLength: 0,
94 assert.Equal(t, s.expectedLength, length)
/dports/net-im/zkgroup/zkgroup-0.7.4/ffi/java/src/main/java/org/signal/zkgroup/internal/
H A DByteArray.java19 protected ByteArray(byte[] contents, int expectedLength) throws InvalidInputException { in ByteArray() argument
20 this.contents = cloneArrayOfLength(contents, expectedLength); in ByteArray()
23 protected ByteArray(byte[] contents, int expectedLength, boolean unrecoverable) { in ByteArray() argument
25 this.contents = cloneArrayOfLength(contents, expectedLength); in ByteArray()
31 …private static byte[] cloneArrayOfLength(byte[] bytes, int expectedLength) throws InvalidInputExce… in cloneArrayOfLength() argument
32 if (bytes.length != expectedLength) { in cloneArrayOfLength()
33 …ng.format(Locale.US, "Length of array supplied was %d expected %d", bytes.length, expectedLength)); in cloneArrayOfLength()
/dports/net/pecl-radius/radius-1.4.0b1/tests/server/
H A Dattribute.php72 $expectedLength = (16 * ceil(strlen($expected->value) / 16) + 3);
76 …n (($expected->type == $actual->type) && (strlen($actual->value) == $expectedLength + 1) && ($expe…
78 … return (($expected->type == $actual->type) && (strlen($actual->value) == $expectedLength));
83 $expectedLength = (16 * ceil(strlen($expected->value) / 16) + 3);
87 …n (($expected->type == $actual->type) && (strlen($actual->value) == $expectedLength + 1) && ($expe…
89 … return (($expected->type == $actual->type) && (strlen($actual->value) == $expectedLength));
92 $expectedLength = (16 * ceil(strlen($expected->value) / 16) + 3);
96 …n (($expected->type == $actual->type) && (strlen($actual->value) == $expectedLength + 1) && ($expe…
98 … return (($expected->type == $actual->type) && (strlen($actual->value) == $expectedLength));
/dports/x11-toolkits/ctk/CTK-2018-10-29/Libs/Widgets/
H A DctkWidgetsUtils.cpp87 unsigned int expectedLength = width * height * pixelSize; in kwIconToQImage() local
89 if (bufferLength != expectedLength && in kwIconToQImage()
97 if (bufferLength != expectedLength && in kwIconToQImage()
101 imageData.prepend(static_cast<char>((expectedLength >> 0) & 0xFF)); in kwIconToQImage()
102 imageData.prepend(static_cast<char>((expectedLength >> 8) & 0xFF)); in kwIconToQImage()
103 imageData.prepend(static_cast<char>((expectedLength >> 16) & 0xFF)); in kwIconToQImage()
104 imageData.prepend(static_cast<char>((expectedLength >> 24) & 0xFF)); in kwIconToQImage()
/dports/biology/pbbam/pbbam-0.18.0/src/
H A DValidator.cpp258 const size_t expectedLength = in ValidateRecordTagLengths() local
262 if (b.Sequence().size() != expectedLength) in ValidateRecordTagLengths()
266 if (b.DeletionQV().size() != expectedLength) in ValidateRecordTagLengths()
268 expectedLength); in ValidateRecordTagLengths()
271 if (b.DeletionTag().size() != expectedLength) in ValidateRecordTagLengths()
273 expectedLength); in ValidateRecordTagLengths()
276 if (b.InsertionQV().size() != expectedLength) in ValidateRecordTagLengths()
278 expectedLength); in ValidateRecordTagLengths()
281 if (b.MergeQV().size() != expectedLength) in ValidateRecordTagLengths()
287 expectedLength); in ValidateRecordTagLengths()
[all …]
/dports/net/yggdrasil/yggdrasil-go-0.3.11/vendor/github.com/songgao/packets/ethernet/
H A Dframe_test.go36 expectedLength := 6 + 6 + int(NotTagged) + 2 + 1024
37 if len(frame) != expectedLength {
38 t.Fatalf("frame does not have correct length. expected %d; got %d\n", expectedLength, len(frame))
57 expectedLength := 6 + 6 + int(NotTagged) + 2 + 8
58 if len(frame) != expectedLength {
59 t.Fatalf("frame does not have correct length. expected %d; got %d\n", expectedLength, len(frame))
/dports/net-im/zkgroup/zkgroup-0.7.4/ffi/node/zkgroup/internal/
H A DByteArray.ts8 constructor(contents: FFICompatArrayType, expectedLength: number, unrecoverable: boolean) {
9 if (contents.length !== expectedLength) {
10 …nvalidInputException(`Length of array supplied was ${contents.length} expected ${expectedLength}`);
12 this.contents = new FFICompatArray(Buffer.from(contents.buffer), expectedLength);
/dports/security/lego/lego-4.5.3/vendor/github.com/miekg/dns/
H A Dfuzz_test.go102 expectedLength := 19
104 if l != expectedLength {
105 t.Fatalf("expected length of %d, got %d", expectedLength, l)
140 expectedLength := 24
142 if l != expectedLength {
143 t.Fatalf("expected length of %d, got %d", expectedLength, l)
/dports/security/vault/vault-1.8.2/vendor/github.com/miekg/dns/
H A Dfuzz_test.go102 expectedLength := 19
104 if l != expectedLength {
105 t.Fatalf("expected length of %d, got %d", expectedLength, l)
140 expectedLength := 24
142 if l != expectedLength {
143 t.Fatalf("expected length of %d, got %d", expectedLength, l)
/dports/net-p2p/bitmark-daemon/bitmarkd-0.13.3/vendor/github.com/miekg/dns/
H A Dfuzz_test.go102 expectedLength := 19
104 if l != expectedLength {
105 t.Fatalf("expected length of %d, got %d", expectedLength, l)
140 expectedLength := 24
142 if l != expectedLength {
143 t.Fatalf("expected length of %d, got %d", expectedLength, l)
/dports/net-p2p/bitmark-recorder/bitmarkd-0.13.3/vendor/github.com/miekg/dns/
H A Dfuzz_test.go102 expectedLength := 19
104 if l != expectedLength {
105 t.Fatalf("expected length of %d, got %d", expectedLength, l)
140 expectedLength := 24
142 if l != expectedLength {
143 t.Fatalf("expected length of %d, got %d", expectedLength, l)
/dports/net-p2p/bitmark-cli/bitmarkd-0.13.3/vendor/github.com/miekg/dns/
H A Dfuzz_test.go102 expectedLength := 19
104 if l != expectedLength {
105 t.Fatalf("expected length of %d, got %d", expectedLength, l)
140 expectedLength := 24
142 if l != expectedLength {
143 t.Fatalf("expected length of %d, got %d", expectedLength, l)
/dports/net-p2p/bitmark/bitmarkd-0.13.3/vendor/github.com/miekg/dns/
H A Dfuzz_test.go102 expectedLength := 19
104 if l != expectedLength {
105 t.Fatalf("expected length of %d, got %d", expectedLength, l)
140 expectedLength := 24
142 if l != expectedLength {
143 t.Fatalf("expected length of %d, got %d", expectedLength, l)
/dports/www/pomerium/pomerium-0.8.3/vendor/github.com/miekg/dns/
H A Dfuzz_test.go102 expectedLength := 19
104 if l != expectedLength {
105 t.Fatalf("expected length of %d, got %d", expectedLength, l)
140 expectedLength := 24
142 if l != expectedLength {
143 t.Fatalf("expected length of %d, got %d", expectedLength, l)
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/miekg/dns/
H A Dfuzz_test.go102 expectedLength := 19
104 if l != expectedLength {
105 t.Fatalf("expected length of %d, got %d", expectedLength, l)
140 expectedLength := 24
142 if l != expectedLength {
143 t.Fatalf("expected length of %d, got %d", expectedLength, l)

12345678910>>...28