/dports/lang/spidermonkey60/firefox-60.9.0/third_party/python/rsa/tests/ |
H A D | test_common.py | 7 from rsa.common import byte_size, bit_size, _bit_size 21 self.assertEqual(byte_size(1 << 1023), 128) 23 self.assertEqual(byte_size(1 << 1024), 129) 24 self.assertEqual(byte_size(255), 1) 25 self.assertEqual(byte_size(256), 2) 26 self.assertEqual(byte_size(0xffff), 2) 27 self.assertEqual(byte_size(0xffffff), 3) 28 self.assertEqual(byte_size(0xffffffff), 4) 35 self.assertEqual(byte_size(0), 1) 38 self.assertRaises(TypeError, byte_size, []) [all …]
|
/dports/security/py-rsa/rsa-3.4.2/tests/ |
H A D | test_common.py | 21 from rsa.common import byte_size, bit_size, _bit_size 36 self.assertEqual(byte_size(1 << 1023), 128) 38 self.assertEqual(byte_size(1 << 1024), 129) 39 self.assertEqual(byte_size(255), 1) 40 self.assertEqual(byte_size(256), 2) 41 self.assertEqual(byte_size(0xffff), 2) 42 self.assertEqual(byte_size(0xffffff), 3) 43 self.assertEqual(byte_size(0xffffffff), 4) 50 self.assertEqual(byte_size(0), 1) 53 self.assertRaises(TypeError, byte_size, []) [all …]
|
/dports/mail/thunderbird/thunderbird-91.8.0/third_party/python/rsa/tests/ |
H A D | test_common.py | 7 from rsa.common import byte_size, bit_size, _bit_size 21 self.assertEqual(byte_size(1 << 1023), 128) 23 self.assertEqual(byte_size(1 << 1024), 129) 24 self.assertEqual(byte_size(255), 1) 25 self.assertEqual(byte_size(256), 2) 26 self.assertEqual(byte_size(0xffff), 2) 27 self.assertEqual(byte_size(0xffffff), 3) 28 self.assertEqual(byte_size(0xffffffff), 4) 35 self.assertEqual(byte_size(0), 1) 38 self.assertRaises(TypeError, byte_size, []) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/catapult/third_party/gsutil/third_party/rsa/tests/ |
H A D | test_common.py | 21 from rsa.common import byte_size, bit_size, _bit_size 36 self.assertEqual(byte_size(1 << 1023), 128) 38 self.assertEqual(byte_size(1 << 1024), 129) 39 self.assertEqual(byte_size(255), 1) 40 self.assertEqual(byte_size(256), 2) 41 self.assertEqual(byte_size(0xffff), 2) 42 self.assertEqual(byte_size(0xffffff), 3) 43 self.assertEqual(byte_size(0xffffffff), 4) 50 self.assertEqual(byte_size(0), 1) 53 self.assertRaises(TypeError, byte_size, []) [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/depot_tools/external_bin/gsutil/gsutil_4.28/gsutil/third_party/rsa/tests/ |
H A D | test_common.py | 7 from rsa.common import byte_size, bit_size, _bit_size 21 self.assertEqual(byte_size(1 << 1023), 128) 23 self.assertEqual(byte_size(1 << 1024), 129) 24 self.assertEqual(byte_size(255), 1) 25 self.assertEqual(byte_size(256), 2) 26 self.assertEqual(byte_size(0xffff), 2) 27 self.assertEqual(byte_size(0xffffff), 3) 28 self.assertEqual(byte_size(0xffffffff), 4) 35 self.assertEqual(byte_size(0), 1) 38 self.assertRaises(TypeError, byte_size, []) [all …]
|
/dports/www/firefox-legacy/firefox-52.8.0esr/python/rsa/tests/ |
H A D | test_common.py | 7 from rsa.common import byte_size, bit_size, _bit_size 21 self.assertEqual(byte_size(1 << 1023), 128) 23 self.assertEqual(byte_size(1 << 1024), 129) 24 self.assertEqual(byte_size(255), 1) 25 self.assertEqual(byte_size(256), 2) 26 self.assertEqual(byte_size(0xffff), 2) 27 self.assertEqual(byte_size(0xffffff), 3) 28 self.assertEqual(byte_size(0xffffffff), 4) 35 self.assertEqual(byte_size(0), 1) 38 self.assertRaises(TypeError, byte_size, []) [all …]
|
/dports/www/firefox-esr/firefox-91.8.0/third_party/python/rsa/tests/ |
H A D | test_common.py | 7 from rsa.common import byte_size, bit_size, _bit_size 21 self.assertEqual(byte_size(1 << 1023), 128) 23 self.assertEqual(byte_size(1 << 1024), 129) 24 self.assertEqual(byte_size(255), 1) 25 self.assertEqual(byte_size(256), 2) 26 self.assertEqual(byte_size(0xffff), 2) 27 self.assertEqual(byte_size(0xffffff), 3) 28 self.assertEqual(byte_size(0xffffffff), 4) 35 self.assertEqual(byte_size(0), 1) 38 self.assertRaises(TypeError, byte_size, []) [all …]
|
/dports/lang/spidermonkey78/firefox-78.9.0/third_party/python/rsa/tests/ |
H A D | test_common.py | 7 from rsa.common import byte_size, bit_size, _bit_size 21 self.assertEqual(byte_size(1 << 1023), 128) 23 self.assertEqual(byte_size(1 << 1024), 129) 24 self.assertEqual(byte_size(255), 1) 25 self.assertEqual(byte_size(256), 2) 26 self.assertEqual(byte_size(0xffff), 2) 27 self.assertEqual(byte_size(0xffffff), 3) 28 self.assertEqual(byte_size(0xffffffff), 4) 35 self.assertEqual(byte_size(0), 1) 38 self.assertRaises(TypeError, byte_size, []) [all …]
|
/dports/java/openjdk16/jdk16u-jdk-16.0.2-7-1/src/hotspot/share/memory/metaspace/ |
H A D | metaspaceCommon.cpp | 74 if (byte_size == 0) { in print_human_readable_size() 78 if (byte_size >= G) { in print_human_readable_size() 80 } else if (byte_size >= M) { in print_human_readable_size() 82 } else if (byte_size >= K) { in print_human_readable_size() 102 st->print(SIZE_FORMAT " bytes", byte_size); in print_human_readable_size() 109 if (byte_size > 0 && display_value < 0.01f) { in print_human_readable_size() 126 if (byte_size > 0 && display_value < 0.01f) { in print_human_readable_size() 176 size_t byte_size = word_size * BytesPerWord; in get_raw_word_size_for_requested_word_size() local 180 byte_size = MAX2(byte_size, FreeBlocks::MinWordSize * BytesPerWord); in get_raw_word_size_for_requested_word_size() 183 byte_size = align_up(byte_size, AllocationAlignmentByteSize); in get_raw_word_size_for_requested_word_size() [all …]
|
/dports/java/openjdk17/jdk17u-jdk-17.0.1-12-1/src/hotspot/share/memory/metaspace/ |
H A D | metaspaceCommon.cpp | 74 if (byte_size == 0) { in print_human_readable_size() 78 if (byte_size >= G) { in print_human_readable_size() 80 } else if (byte_size >= M) { in print_human_readable_size() 82 } else if (byte_size >= K) { in print_human_readable_size() 102 st->print(SIZE_FORMAT " bytes", byte_size); in print_human_readable_size() 109 if (byte_size > 0 && display_value < 0.01f) { in print_human_readable_size() 126 if (byte_size > 0 && display_value < 0.01f) { in print_human_readable_size() 176 size_t byte_size = word_size * BytesPerWord; in get_raw_word_size_for_requested_word_size() local 180 byte_size = MAX2(byte_size, FreeBlocks::MinWordSize * BytesPerWord); in get_raw_word_size_for_requested_word_size() 183 byte_size = align_up(byte_size, AllocationAlignmentByteSize); in get_raw_word_size_for_requested_word_size() [all …]
|
/dports/devel/py-dtfabric/dtfabric-20200621/tests/ |
H A D | data_types.py | 55 self.assertIsNone(byte_size) 59 self.assertEqual(byte_size, 4) 125 self.assertIsNone(byte_size) 133 self.assertIsNone(byte_size) 172 self.assertIsNone(byte_size) 180 self.assertIsNone(byte_size) 231 self.assertIsNone(byte_size) 239 self.assertIsNone(byte_size) 285 self.assertIsNone(byte_size) 326 self.assertIsNone(byte_size) [all …]
|
/dports/math/octave/octave-6.4.0/libinterp/corefcn/ |
H A D | typecast.cc | 56 octave_idx_type& byte_size, in get_data_and_bytesize() argument 65 byte_size = array.byte_size (); in get_data_and_bytesize() 72 reinterpret_copy (const void *data, octave_idx_type byte_size, in reinterpret_copy() argument 76 octave_idx_type n = byte_size / sizeof (T); in reinterpret_copy() 78 if (n * static_cast<int> (sizeof (T)) != byte_size) in reinterpret_copy() 90 reinterpret_int_copy (const void *data, octave_idx_type byte_size, in reinterpret_int_copy() argument 95 octave_idx_type n = byte_size / sizeof (T); in reinterpret_int_copy() 97 if (n * static_cast<int> (sizeof (T)) != byte_size) in reinterpret_int_copy() 170 octave_idx_type byte_size = 0; variable 214 byte_size, old_dims, frame); [all …]
|
/dports/devel/libevtx/libevtx-20210525/libregf/ |
H A D | libregf_checksum.c | 111 while( byte_size != 0 ) in libregf_checksum_calculate_little_endian_xor32() 116 if( byte_size >= 4 ) in libregf_checksum_calculate_little_endian_xor32() 123 if( byte_size >= 3 ) in libregf_checksum_calculate_little_endian_xor32() 130 if( byte_size >= 2 ) in libregf_checksum_calculate_little_endian_xor32() 204 while( byte_size != 0 ) in libregf_checksum_calculate_little_endian_xor32() 225 byte_size -= 4; in libregf_checksum_calculate_little_endian_xor32() 235 if( byte_size != 4 ) in libregf_checksum_calculate_little_endian_xor32() 240 if( byte_size >= 2 ) in libregf_checksum_calculate_little_endian_xor32() 246 if( byte_size >= 3 ) in libregf_checksum_calculate_little_endian_xor32() 252 buffer_iterator += byte_size; in libregf_checksum_calculate_little_endian_xor32() [all …]
|
/dports/devel/libevt/libevt-20210424/libregf/ |
H A D | libregf_checksum.c | 111 while( byte_size != 0 ) in libregf_checksum_calculate_little_endian_xor32() 116 if( byte_size >= 4 ) in libregf_checksum_calculate_little_endian_xor32() 123 if( byte_size >= 3 ) in libregf_checksum_calculate_little_endian_xor32() 130 if( byte_size >= 2 ) in libregf_checksum_calculate_little_endian_xor32() 204 while( byte_size != 0 ) in libregf_checksum_calculate_little_endian_xor32() 225 byte_size -= 4; in libregf_checksum_calculate_little_endian_xor32() 235 if( byte_size != 4 ) in libregf_checksum_calculate_little_endian_xor32() 240 if( byte_size >= 2 ) in libregf_checksum_calculate_little_endian_xor32() 246 if( byte_size >= 3 ) in libregf_checksum_calculate_little_endian_xor32() 252 buffer_iterator += byte_size; in libregf_checksum_calculate_little_endian_xor32() [all …]
|
/dports/devel/libregf/libregf-20210615/libregf/ |
H A D | libregf_checksum.c | 111 while( byte_size != 0 ) in libregf_checksum_calculate_little_endian_xor32() 116 if( byte_size >= 4 ) in libregf_checksum_calculate_little_endian_xor32() 123 if( byte_size >= 3 ) in libregf_checksum_calculate_little_endian_xor32() 130 if( byte_size >= 2 ) in libregf_checksum_calculate_little_endian_xor32() 204 while( byte_size != 0 ) in libregf_checksum_calculate_little_endian_xor32() 225 byte_size -= 4; in libregf_checksum_calculate_little_endian_xor32() 235 if( byte_size != 4 ) in libregf_checksum_calculate_little_endian_xor32() 240 if( byte_size >= 2 ) in libregf_checksum_calculate_little_endian_xor32() 246 if( byte_size >= 3 ) in libregf_checksum_calculate_little_endian_xor32() 252 buffer_iterator += byte_size; in libregf_checksum_calculate_little_endian_xor32() [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/os_cpu/bsd_aarch64/ |
H A D | atomic_bsd_aarch64.hpp | 35 template<size_t byte_size> 37 : Atomic::AddAndFetch<Atomic::PlatformAdd<byte_size> > 47 template<size_t byte_size> 52 STATIC_ASSERT(byte_size == sizeof(T)); in operator ()() 58 template<size_t byte_size> 64 STATIC_ASSERT(byte_size == sizeof(T)); in operator ()() 80 template<size_t byte_size> 81 struct Atomic::PlatformOrderedLoad<byte_size, X_ACQUIRE> 87 template<size_t byte_size> 88 struct Atomic::PlatformOrderedStore<byte_size, RELEASE_X> [all …]
|
/dports/java/openjdk14/jdk14u-jdk-14.0.2-12-1/src/hotspot/os_cpu/linux_aarch64/ |
H A D | atomic_linux_aarch64.hpp | 35 template<size_t byte_size> 37 : Atomic::AddAndFetch<Atomic::PlatformAdd<byte_size> > 47 template<size_t byte_size> 52 STATIC_ASSERT(byte_size == sizeof(T)); in operator ()() 58 template<size_t byte_size> 64 STATIC_ASSERT(byte_size == sizeof(T)); in operator ()() 80 template<size_t byte_size> 81 struct Atomic::PlatformOrderedLoad<byte_size, X_ACQUIRE> 87 template<size_t byte_size> 88 struct Atomic::PlatformOrderedStore<byte_size, RELEASE_X> [all …]
|
/dports/www/chromium-legacy/chromium-88.0.4324.182/third_party/llvm/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 27 uint32_t byte_size) { in GetMaxU64() argument 29 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64() 39 if (!GetMaxU64(data, offset, value, byte_size)) { in GetMaxU64() 49 uint32_t byte_size) { in GetMaxS64() argument 51 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64() 61 if (!GetMaxS64(data, offset, value, byte_size)) { in GetMaxS64() 120 const unsigned byte_size = Is32Bit() ? 4 : 8; in Parse() local 122 data.SetAddressByteSize(byte_size); in Parse() 231 if (!GetMaxU64(data, offset, &sh_flags, byte_size)) in Parse() 322 const bool parsing_32 = byte_size == 4; in Parse() [all …]
|
/dports/devel/wasi-libcxx/llvm-project-13.0.1.src/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 27 uint32_t byte_size) { in GetMaxU64() argument 29 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64() 39 if (!GetMaxU64(data, offset, value, byte_size)) { in GetMaxU64() 49 uint32_t byte_size) { in GetMaxS64() argument 51 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64() 61 if (!GetMaxS64(data, offset, value, byte_size)) { in GetMaxS64() 120 const unsigned byte_size = Is32Bit() ? 4 : 8; in Parse() local 122 data.SetAddressByteSize(byte_size); in Parse() 231 if (!GetMaxU64(data, offset, &sh_flags, byte_size)) in Parse() 322 const bool parsing_32 = byte_size == 4; in Parse() [all …]
|
/dports/devel/llvm-cheri/llvm-project-37c49ff00e3eadce5d8703fdc4497f28458c64a8/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 27 uint32_t byte_size) { in GetMaxU64() argument 29 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64() 39 if (!GetMaxU64(data, offset, value, byte_size)) { in GetMaxU64() 49 uint32_t byte_size) { in GetMaxS64() argument 51 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64() 61 if (!GetMaxS64(data, offset, value, byte_size)) { in GetMaxS64() 120 const unsigned byte_size = Is32Bit() ? 4 : 8; in Parse() local 122 data.SetAddressByteSize(byte_size); in Parse() 231 if (!GetMaxU64(data, offset, &sh_flags, byte_size)) in Parse() 322 const bool parsing_32 = byte_size == 4; in Parse() [all …]
|
/dports/devel/llvm12/llvm-project-12.0.1.src/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 27 uint32_t byte_size) { in GetMaxU64() argument 29 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64() 39 if (!GetMaxU64(data, offset, value, byte_size)) { in GetMaxU64() 49 uint32_t byte_size) { in GetMaxS64() argument 51 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64() 61 if (!GetMaxS64(data, offset, value, byte_size)) { in GetMaxS64() 120 const unsigned byte_size = Is32Bit() ? 4 : 8; in Parse() local 122 data.SetAddressByteSize(byte_size); in Parse() 231 if (!GetMaxU64(data, offset, &sh_flags, byte_size)) in Parse() 322 const bool parsing_32 = byte_size == 4; in Parse() [all …]
|
/dports/lang/rust/rustc-1.58.1-src/src/llvm-project/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 27 uint32_t byte_size) { in GetMaxU64() argument 29 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64() 39 if (!GetMaxU64(data, offset, value, byte_size)) { in GetMaxU64() 49 uint32_t byte_size) { in GetMaxS64() argument 51 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64() 61 if (!GetMaxS64(data, offset, value, byte_size)) { in GetMaxS64() 120 const unsigned byte_size = Is32Bit() ? 4 : 8; in Parse() local 122 data.SetAddressByteSize(byte_size); in Parse() 231 if (!GetMaxU64(data, offset, &sh_flags, byte_size)) in Parse() 322 const bool parsing_32 = byte_size == 4; in Parse() [all …]
|
/dports/devel/llvm-devel/llvm-project-f05c95f10fc1d8171071735af8ad3a9e87633120/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 27 uint32_t byte_size) { in GetMaxU64() argument 29 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64() 39 if (!GetMaxU64(data, offset, value, byte_size)) { in GetMaxU64() 49 uint32_t byte_size) { in GetMaxS64() argument 51 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64() 61 if (!GetMaxS64(data, offset, value, byte_size)) { in GetMaxS64() 120 const unsigned byte_size = Is32Bit() ? 4 : 8; in Parse() local 122 data.SetAddressByteSize(byte_size); in Parse() 231 if (!GetMaxU64(data, offset, &sh_flags, byte_size)) in Parse() 322 const bool parsing_32 = byte_size == 4; in Parse() [all …]
|
/dports/devel/wasi-compiler-rt13/llvm-project-13.0.1.src/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 27 uint32_t byte_size) { in GetMaxU64() argument 29 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64() 39 if (!GetMaxU64(data, offset, value, byte_size)) { in GetMaxU64() 49 uint32_t byte_size) { in GetMaxS64() argument 51 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64() 61 if (!GetMaxS64(data, offset, value, byte_size)) { in GetMaxS64() 120 const unsigned byte_size = Is32Bit() ? 4 : 8; in Parse() local 122 data.SetAddressByteSize(byte_size); in Parse() 231 if (!GetMaxU64(data, offset, &sh_flags, byte_size)) in Parse() 322 const bool parsing_32 = byte_size == 4; in Parse() [all …]
|
/dports/devel/wasi-compiler-rt12/llvm-project-12.0.1.src/lldb/source/Plugins/ObjectFile/ELF/ |
H A D | ELFHeader.cpp | 27 uint32_t byte_size) { in GetMaxU64() argument 29 *value = data.GetMaxU64(offset, byte_size); in GetMaxU64() 39 if (!GetMaxU64(data, offset, value, byte_size)) { in GetMaxU64() 49 uint32_t byte_size) { in GetMaxS64() argument 51 *value = data.GetMaxS64(offset, byte_size); in GetMaxS64() 61 if (!GetMaxS64(data, offset, value, byte_size)) { in GetMaxS64() 120 const unsigned byte_size = Is32Bit() ? 4 : 8; in Parse() local 122 data.SetAddressByteSize(byte_size); in Parse() 231 if (!GetMaxU64(data, offset, &sh_flags, byte_size)) in Parse() 322 const bool parsing_32 = byte_size == 4; in Parse() [all …]
|