Home
last modified time | relevance | path

Searched refs:expected_bytes (Results 1 – 25 of 469) sorted by relevance

12345678910>>...19

/dports/security/arti/arti-9d0ede26801cdb182daa85c3eb5f0058dc178eb6/cargo-crates/crypto-bigint-0.2.11/src/uint/
H A Darray.rs128 let expected_bytes = ByteArray::from(hex!("0011223344556677")); in to_be_byte_array() localVariable
130 assert_eq!(expected_bytes, actual_bytes); in to_be_byte_array()
138 assert_eq!(expected_bytes, actual_bytes); in to_be_byte_array()
144 let expected_bytes = ByteArray::from(hex!("7766554433221100")); in to_le_byte_array() localVariable
146 assert_eq!(expected_bytes, actual_bytes); in to_le_byte_array()
154 assert_eq!(expected_bytes, actual_bytes); in to_le_byte_array()
160 let expected_bytes = ByteArray::from(hex!("0011223344556677")); in into_uint_be() localVariable
162 assert_eq!(expected_bytes, actual_bytes); in into_uint_be()
170 assert_eq!(expected_bytes, actual_bytes); in into_uint_be()
178 assert_eq!(expected_bytes, actual_bytes); in into_uint_le()
[all …]
/dports/net/arataga/oess-2.2.3/dev/test/variable_width_uint/
H A Dmain.cpp181 const oess_2::uchar_t expected_bytes[] = { 0 }; in UT_UNIT_TEST() local
184 UT_CHECK_EQ( MAKE_BYTESEQ(expected_bytes), packed ); in UT_UNIT_TEST()
192 const oess_2::uchar_t expected_bytes[] = { 1 }; in UT_UNIT_TEST() local
195 UT_CHECK_EQ( MAKE_BYTESEQ(expected_bytes), packed ); in UT_UNIT_TEST()
203 const oess_2::uchar_t expected_bytes[] = { 0x7f }; in UT_UNIT_TEST() local
206 UT_CHECK_EQ( MAKE_BYTESEQ(expected_bytes), packed ); in UT_UNIT_TEST()
217 UT_CHECK_EQ( MAKE_BYTESEQ(expected_bytes), packed ); in UT_UNIT_TEST()
228 UT_CHECK_EQ( MAKE_BYTESEQ(expected_bytes), packed ); in UT_UNIT_TEST()
239 UT_CHECK_EQ( MAKE_BYTESEQ(expected_bytes), packed ); in UT_UNIT_TEST()
250 UT_CHECK_EQ( MAKE_BYTESEQ(expected_bytes), packed ); in UT_UNIT_TEST()
[all …]
/dports/devel/dtool/dtool-0.11.0/cargo-crates/crypto-bigint-0.2.6/src/uint/
H A Darray.rs115 let expected_bytes = ByteArray::from(hex!("0011223344556677")); in to_be_byte_array() localVariable
116 let actual_bytes = UIntEx::from_be_byte_array(expected_bytes).to_be_byte_array(); in to_be_byte_array()
117 assert_eq!(expected_bytes, actual_bytes); in to_be_byte_array()
123 let expected_bytes = ByteArray::from(hex!("00112233445566778899aabbccddeeff")); in to_be_byte_array() localVariable
124 let actual_bytes = UIntEx::from_be_byte_array(expected_bytes).to_be_byte_array(); in to_be_byte_array()
125 assert_eq!(expected_bytes, actual_bytes); in to_be_byte_array()
131 let expected_bytes = ByteArray::from(hex!("7766554433221100")); in to_le_byte_array() localVariable
132 let actual_bytes = UIntEx::from_le_byte_array(expected_bytes).to_le_byte_array(); in to_le_byte_array()
133 assert_eq!(expected_bytes, actual_bytes); in to_le_byte_array()
139 let expected_bytes = ByteArray::from(hex!("ffeeddccbbaa99887766554433221100")); in to_le_byte_array() localVariable
[all …]
/dports/audio/jack/jack2-eaedec353489f26617221d66f80fd2503953c663/common/
H A DJackMidiRawInputWriteQueue.cpp37 expected_bytes = 0; in JackMidiRawInputWriteQueue()
125 expected_bytes = 0; in PrepareBufferedEvent()
195 expected_bytes = 0; in ProcessByte()
213 expected_bytes = 3; in ProcessByte()
218 expected_bytes = 2; in ProcessByte()
224 expected_bytes = 0; in ProcessByte()
229 expected_bytes = 2; in ProcessByte()
233 expected_bytes = 3; in ProcessByte()
239 expected_bytes = 0; in ProcessByte()
246 expected_bytes = 0; in ProcessByte()
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/net/third_party/quiche/src/http2/hpack/varint/
H A Dhpack_varint_round_trip_test.cc116 ASSERT_EQ(expected_bytes, buffer_.size()); in ValidateEncoding()
117 if (expected_bytes > 1) { in ValidateEncoding()
120 size_t last = expected_bytes - 1; in ValidateEncoding()
127 if (expected_bytes < 11) { in ValidateEncoding()
137 if (expected_bytes == 2) { in ValidateEncoding()
143 if (expected_bytes < 11) { in ValidateEncoding()
178 DecodeSeveralWays(value, expected_bytes); in EncodeAndDecodeValues()
183 DecodeSeveralWays(value, expected_bytes); in EncodeAndDecodeValues()
186 if (1 < expected_bytes) { in EncodeAndDecodeValues()
187 buffer_.resize(expected_bytes); in EncodeAndDecodeValues()
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/net/third_party/quiche/src/http2/hpack/varint/
H A Dhpack_varint_round_trip_test.cc116 ASSERT_EQ(expected_bytes, buffer_.size()); in ValidateEncoding()
117 if (expected_bytes > 1) { in ValidateEncoding()
120 size_t last = expected_bytes - 1; in ValidateEncoding()
127 if (expected_bytes < 11) { in ValidateEncoding()
137 if (expected_bytes == 2) { in ValidateEncoding()
143 if (expected_bytes < 11) { in ValidateEncoding()
178 DecodeSeveralWays(value, expected_bytes); in EncodeAndDecodeValues()
183 DecodeSeveralWays(value, expected_bytes); in EncodeAndDecodeValues()
186 if (1 < expected_bytes) { in EncodeAndDecodeValues()
187 buffer_.resize(expected_bytes); in EncodeAndDecodeValues()
[all …]
/dports/net/arataga/oess-2.2.3/dev/test/stdsn/type_tag/
H A Dmain.cpp71 const char expected_bytes[] = { 0, 0, 0, 5, '1', '2', '3', '4', '5' }; in UT_UNIT_TEST() local
73 expected_bytes, expected_bytes + sizeof( expected_bytes ) ); in UT_UNIT_TEST()
95 const char expected_bytes[] = { 1, 3, 0, 1, 3 }; in UT_UNIT_TEST() local
97 expected_bytes, expected_bytes + sizeof( expected_bytes ) ); in UT_UNIT_TEST()
112 const char expected_bytes[] = { 1, 10, in UT_UNIT_TEST() local
120 expected_bytes, expected_bytes + sizeof( expected_bytes ) ); in UT_UNIT_TEST()
/dports/net/arataga/oess-2.2.3/dev/test/type_extension/v2/
H A Dmain.cpp279 char expected_bytes[] = { 0, 0, 0, 0 }; in UT_UNIT_TEST() local
280 const std::string expected_value( expected_bytes, sizeof expected_bytes ); in UT_UNIT_TEST()
294 char expected_bytes[] = { in UT_UNIT_TEST() local
302 const std::string expected_value( expected_bytes, sizeof expected_bytes ); in UT_UNIT_TEST()
314 char expected_bytes[] = { 0, 0, 0, 0 }; in UT_UNIT_TEST() local
315 const std::string expected_value( expected_bytes, sizeof expected_bytes ); in UT_UNIT_TEST()
329 char expected_bytes[] = { in UT_UNIT_TEST() local
344 const std::string expected_value( expected_bytes, sizeof expected_bytes ); in UT_UNIT_TEST()
/dports/net/arataga/oess-2.2.3/dev/test/type_extension/v1/
H A Dmain.cpp247 char expected_bytes[] = { 0, 0, 0, 0 }; in UT_UNIT_TEST() local
248 const std::string expected_value( expected_bytes, sizeof expected_bytes ); in UT_UNIT_TEST()
262 char expected_bytes[] = { in UT_UNIT_TEST() local
270 const std::string expected_value( expected_bytes, sizeof expected_bytes ); in UT_UNIT_TEST()
287 char expected_bytes[] = { 0, 0, 0, 0 }; in UT_UNIT_TEST() local
288 const std::string expected_value( expected_bytes, sizeof expected_bytes ); in UT_UNIT_TEST()
302 char expected_bytes[] = { in UT_UNIT_TEST() local
317 const std::string expected_value( expected_bytes, sizeof expected_bytes ); in UT_UNIT_TEST()
/dports/devel/arcanist-lib/arcanist-b2e715f/src/workflow/
H A DArcanistDownloadWorkflow.php121 $expected_bytes = $file_ref->getSize();
130 new PhutilNumber($expected_bytes),
140 if ($expected_bytes > $minimum_bar_bytes) {
142 ->setTotalWork($expected_bytes);
149 $timeout = (int)(120 + ($expected_bytes / $transfer_rate));
171 if ($file_bytes !== $expected_bytes) {
178 new PhutilNumber($expected_bytes)));
/dports/devel/arcanist/arcanist-b2e715f/src/workflow/
H A DArcanistDownloadWorkflow.php121 $expected_bytes = $file_ref->getSize();
130 new PhutilNumber($expected_bytes),
140 if ($expected_bytes > $minimum_bar_bytes) {
142 ->setTotalWork($expected_bytes);
149 $timeout = (int)(120 + ($expected_bytes / $transfer_rate));
171 if ($file_bytes !== $expected_bytes) {
178 new PhutilNumber($expected_bytes)));
/dports/security/hashcat/hashcat-6.2.5/src/modules/
H A Dmodule_13400.c63 u32 expected_bytes[8]; member
422 keepass->expected_bytes[0] = byte_swap_32 (keepass->expected_bytes[0]); in module_hash_decode()
423 keepass->expected_bytes[1] = byte_swap_32 (keepass->expected_bytes[1]); in module_hash_decode()
424 keepass->expected_bytes[2] = byte_swap_32 (keepass->expected_bytes[2]); in module_hash_decode()
425 keepass->expected_bytes[3] = byte_swap_32 (keepass->expected_bytes[3]); in module_hash_decode()
426 keepass->expected_bytes[4] = byte_swap_32 (keepass->expected_bytes[4]); in module_hash_decode()
427 keepass->expected_bytes[5] = byte_swap_32 (keepass->expected_bytes[5]); in module_hash_decode()
428 keepass->expected_bytes[6] = byte_swap_32 (keepass->expected_bytes[6]); in module_hash_decode()
429 keepass->expected_bytes[7] = byte_swap_32 (keepass->expected_bytes[7]); in module_hash_decode()
491 digest[0] = keepass->expected_bytes[0]; in module_hash_decode()
[all …]
/dports/lang/v8/v8-9.6.180.12/test/unittests/interpreter/
H A Dbytecode-array-writer-unittest.cc130 static const uint8_t expected_bytes[] = { in TEST_F() local
138 CHECK_EQ(bytecodes()->size(), arraysize(expected_bytes)); in TEST_F()
139 for (size_t i = 0; i < arraysize(expected_bytes); ++i) { in TEST_F()
140 CHECK_EQ(bytecodes()->at(i), expected_bytes[i]); in TEST_F()
164 static const uint8_t expected_bytes[] = { in TEST_F() local
225 for (size_t i = 0; i < arraysize(expected_bytes); ++i) { in TEST_F()
227 static_cast<int>(expected_bytes[i])); in TEST_F()
250 static const uint8_t expected_bytes[] = { in TEST_F() local
276 static_cast<int>(expected_bytes[i])); in TEST_F()
297 static const uint8_t expected_bytes[] = { in TEST_F() local
[all …]
/dports/graphics/s2/s2geometry-0.9.0/src/s2/
H A Dencoded_s2shape_index_test.cc60 size_t expected_bytes) { in TestEncodedS2ShapeIndex() argument
65 EXPECT_EQ(expected_bytes, encoder.length() - shapes_bytes); in TestEncodedS2ShapeIndex()
88 size_t expected_bytes; in TEST() member
108 index, test_case.expected_bytes); in TEST()
115 size_t expected_bytes; in TEST() member
135 index, test_case.expected_bytes); in TEST()
142 size_t expected_bytes; in TEST() member
165 index, test_case.expected_bytes); in TEST()
172 size_t expected_bytes; in TEST() member
195 index, test_case.expected_bytes); in TEST()
/dports/graphics/py-s2/s2geometry-0.9.0/src/s2/
H A Dencoded_s2shape_index_test.cc60 size_t expected_bytes) { in TestEncodedS2ShapeIndex() argument
65 EXPECT_EQ(expected_bytes, encoder.length() - shapes_bytes); in TestEncodedS2ShapeIndex()
88 size_t expected_bytes; in TEST() member
108 index, test_case.expected_bytes); in TEST()
115 size_t expected_bytes; in TEST() member
135 index, test_case.expected_bytes); in TEST()
142 size_t expected_bytes; in TEST() member
165 index, test_case.expected_bytes); in TEST()
172 size_t expected_bytes; in TEST() member
195 index, test_case.expected_bytes); in TEST()
/dports/security/hashcat/hashcat-6.2.5/tools/test_modules/
H A Dm13400.pm144 my $expected_bytes;
295 $expected_bytes = $salt_arr[6];
300 $expected_bytes = $cipher->decrypt ($contents_hash);
302 $expected_bytes = substr ($expected_bytes . "\x00" x 32, 0, 32); # padding
311 unpack ("H*", $expected_bytes),
377 my $expected_bytes = shift @data;
378 return unless (length ($expected_bytes) == 64);
/dports/devel/sunpromake/schily-2021-09-18/cdda2wav/
H A Daiff.c82 Ulong expected_bytes));
130 InitSound(audio, channels, rate, nBitsPerSample, expected_bytes) in InitSound() argument
135 Ulong expected_bytes;
141 AiffHdr.formChk.dwSize = cpu_to_be32(expected_bytes +
152 tmp = cpu_to_be32(expected_bytes/(channels * (nBitsPerSample/8)));
161 tmp = cpu_to_be32(expected_bytes + offsetof(AIFFHDR, blocksize) +
/dports/devel/smake/schily-2021-09-18/cdda2wav/
H A Daiff.c82 Ulong expected_bytes));
130 InitSound(audio, channels, rate, nBitsPerSample, expected_bytes) in InitSound() argument
135 Ulong expected_bytes;
141 AiffHdr.formChk.dwSize = cpu_to_be32(expected_bytes +
152 tmp = cpu_to_be32(expected_bytes/(channels * (nBitsPerSample/8)));
161 tmp = cpu_to_be32(expected_bytes + offsetof(AIFFHDR, blocksize) +
/dports/devel/sccs/schily-2021-09-18/cdda2wav/
H A Daiff.c82 Ulong expected_bytes));
130 InitSound(audio, channels, rate, nBitsPerSample, expected_bytes) in InitSound() argument
135 Ulong expected_bytes;
141 AiffHdr.formChk.dwSize = cpu_to_be32(expected_bytes +
152 tmp = cpu_to_be32(expected_bytes/(channels * (nBitsPerSample/8)));
161 tmp = cpu_to_be32(expected_bytes + offsetof(AIFFHDR, blocksize) +
/dports/devel/schilybase/schily-2021-09-18/cdda2wav/
H A Daiff.c82 Ulong expected_bytes));
130 InitSound(audio, channels, rate, nBitsPerSample, expected_bytes) in InitSound() argument
135 Ulong expected_bytes;
141 AiffHdr.formChk.dwSize = cpu_to_be32(expected_bytes +
152 tmp = cpu_to_be32(expected_bytes/(channels * (nBitsPerSample/8)));
161 tmp = cpu_to_be32(expected_bytes + offsetof(AIFFHDR, blocksize) +
/dports/net/rscsi/schily-2021-09-18/cdda2wav/
H A Daiff.c82 Ulong expected_bytes));
130 InitSound(audio, channels, rate, nBitsPerSample, expected_bytes) in InitSound() argument
135 Ulong expected_bytes;
141 AiffHdr.formChk.dwSize = cpu_to_be32(expected_bytes +
152 tmp = cpu_to_be32(expected_bytes/(channels * (nBitsPerSample/8)));
161 tmp = cpu_to_be32(expected_bytes + offsetof(AIFFHDR, blocksize) +
/dports/archivers/star/schily-2021-09-18/cdda2wav/
H A Daiff.c82 Ulong expected_bytes));
130 InitSound(audio, channels, rate, nBitsPerSample, expected_bytes) in InitSound() argument
135 Ulong expected_bytes;
141 AiffHdr.formChk.dwSize = cpu_to_be32(expected_bytes +
152 tmp = cpu_to_be32(expected_bytes/(channels * (nBitsPerSample/8)));
161 tmp = cpu_to_be32(expected_bytes + offsetof(AIFFHDR, blocksize) +
/dports/sysutils/cdrtools/schily-2021-09-18/cdda2wav/
H A Daiff.c82 Ulong expected_bytes));
130 InitSound(audio, channels, rate, nBitsPerSample, expected_bytes) in InitSound() argument
135 Ulong expected_bytes;
141 AiffHdr.formChk.dwSize = cpu_to_be32(expected_bytes +
152 tmp = cpu_to_be32(expected_bytes/(channels * (nBitsPerSample/8)));
161 tmp = cpu_to_be32(expected_bytes + offsetof(AIFFHDR, blocksize) +
/dports/editors/ved/schily-2021-09-18/cdda2wav/
H A Daiff.c82 Ulong expected_bytes));
130 InitSound(audio, channels, rate, nBitsPerSample, expected_bytes) in InitSound() argument
135 Ulong expected_bytes;
141 AiffHdr.formChk.dwSize = cpu_to_be32(expected_bytes +
152 tmp = cpu_to_be32(expected_bytes/(channels * (nBitsPerSample/8)));
161 tmp = cpu_to_be32(expected_bytes + offsetof(AIFFHDR, blocksize) +
/dports/sysutils/schilyutils/schily-2021-09-18/cdda2wav/
H A Daiff.c82 Ulong expected_bytes));
130 InitSound(audio, channels, rate, nBitsPerSample, expected_bytes) in InitSound() argument
135 Ulong expected_bytes;
141 AiffHdr.formChk.dwSize = cpu_to_be32(expected_bytes +
152 tmp = cpu_to_be32(expected_bytes/(channels * (nBitsPerSample/8)));
161 tmp = cpu_to_be32(expected_bytes + offsetof(AIFFHDR, blocksize) +

12345678910>>...19