/third_party/python/Lib/idlelib/idle_test/ |
D | test_delegator.py | 20 bl = mydel.bit_length 21 self.assertIs(bl, int.bit_length) 22 self.assertIs(mydel.__dict__['bit_length'], int.bit_length)
|
/third_party/python/Lib/test/ |
D | test_strtod.py | 50 d = a.bit_length() - b.bit_length() 59 if q.bit_length() == mant_dig+1: 64 assert q.bit_length() <= mant_dig and e >= min_exp - mant_dig 65 assert q.bit_length() == mant_dig or e == min_exp - mant_dig 68 if e + q.bit_length() > max_exp:
|
D | test_long.py | 62 shift = n.bit_length() - PRECISION 97 d = a.bit_length() - b.bit_length() 988 k = x.bit_length() 1005 self.assertEqual((0).bit_length(), 0) 1006 self.assertEqual((1).bit_length(), 1) 1007 self.assertEqual((-1).bit_length(), 1) 1008 self.assertEqual((2).bit_length(), 2) 1009 self.assertEqual((-2).bit_length(), 2) 1012 self.assertEqual((a-1).bit_length(), i) 1013 self.assertEqual((1-a).bit_length(), i) [all …]
|
/third_party/node/deps/openssl/openssl/crypto/modes/asm/ |
D | aes-gcm-armv8_64.pl | 162 $bit_length="x1"; 284 lsr $main_end_input_ptr, $bit_length, #3 @ byte_len 288 add $end_input_ptr, $input_ptr, $bit_length, lsr #3 @ end_input_ptr 1039 and $bit_length, $bit_length, #127 @ bit_length %= 128 1043 sub $bit_length, $bit_length, #128 @ bit_length -= 128 1045 …neg $bit_length, $bit_length @ bit_length = 128 - #bits in input (in … 1047 and $bit_length, $bit_length, #127 @ bit_length %= 128 1049 …lsr $rk10_h, $rk10_h, $bit_length @ rk10_h is mask for top 64b of last blo… 1050 cmp $bit_length, #64 1156 lsr $main_end_input_ptr, $bit_length, #3 @ byte_len [all …]
|
/third_party/openssl/crypto/modes/asm/ |
D | aes-gcm-armv8_64.pl | 162 $bit_length="x1"; 284 lsr $main_end_input_ptr, $bit_length, #3 @ byte_len 288 add $end_input_ptr, $input_ptr, $bit_length, lsr #3 @ end_input_ptr 1039 and $bit_length, $bit_length, #127 @ bit_length %= 128 1043 sub $bit_length, $bit_length, #128 @ bit_length -= 128 1045 …neg $bit_length, $bit_length @ bit_length = 128 - #bits in input (in … 1047 and $bit_length, $bit_length, #127 @ bit_length %= 128 1049 …lsr $rk10_h, $rk10_h, $bit_length @ rk10_h is mask for top 64b of last blo… 1050 cmp $bit_length, #64 1156 lsr $main_end_input_ptr, $bit_length, #3 @ byte_len [all …]
|
/third_party/node/deps/npm/node_modules/@tufjs/models/dist/ |
D | role.js | 271 bit_length: this.bitLength, property 277 const { keyids, threshold, bit_length, name_prefix, ...rest } = data; 284 if (typeof bit_length !== 'number') { 293 bitLength: bit_length,
|
/third_party/ffmpeg/libavcodec/ |
D | sbc.c | 58 int bit_length = len & 7; in ff_sbc_crc8() local 63 if (bit_length) { in ff_sbc_crc8() 65 while (bit_length--) { in ff_sbc_crc8()
|
D | h264_ps.h | 165 H264ParamSets *ps, int bit_length);
|
D | cbs_h265_syntax_template.c | 72 current->bit_length = k; in FUNC() 75 allocate(current->data, (current->bit_length + 7) / 8); in FUNC() 76 for (k = 0; k < current->bit_length; k++) { in FUNC() 82 for (k = 0; k < current->bit_length; k++) in FUNC()
|
D | h264_ps.c | 750 H264ParamSets *ps, int bit_length) in ff_h264_decode_picture_parameter_set() argument 852 bits_left = bit_length - get_bits_count(gb); in ff_h264_decode_picture_parameter_set()
|
D | cbs_h265.h | 180 size_t bit_length; member
|
/third_party/rust/crates/minimal-lexical/tests/ |
D | vec_tests.rs | 337 assert_eq!(bigint::bit_length(&x), 97); in bit_length_test() 340 assert_eq!(bigint::bit_length(&x), 98); in bit_length_test() 343 assert_eq!(bigint::bit_length(&x), 32); in bit_length_test()
|
/third_party/rust/crates/minimal-lexical/src/ |
D | bigint.rs | 97 pub fn bit_length(&self) -> u32 { in bit_length() method 98 bit_length(&self.data) in bit_length() 699 pub fn bit_length(x: &[Limb]) -> u32 { in bit_length() function
|
D | slow.rs | 80 let exp = bigmant.bit_length() as i32 - 64 + F::EXPONENT_BIAS; in positive_digit_comp()
|
/third_party/node/deps/v8/src/bigint/ |
D | tostring.cc | 588 const int bit_length = BitLength(X); in ToStringResultLength() local 592 result = DIV_CEIL(bit_length, bits_per_char) + sign; in ToStringResultLength() 600 uint64_t chars_required = bit_length; in ToStringResultLength()
|
/third_party/python/Lib/ |
D | crypt.py | 52 log_rounds = int.bit_length(rounds-1)
|
D | ipaddress.py | 200 return min(bits, (~number & (number-1)).bit_length()) 250 (last_int - first_int + 1).bit_length() - 1)
|
D | random.py | 245 k = n.bit_length() # don't use (n-1) here because n can be 1
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
D | gen_vk_internal_shaders.py | 278 return (1 << (len(enum) - 1).bit_length()) / float(len(enum)) 288 enum_bits = [(len(enum[1]) - 1).bit_length() for enum in enums]
|
/third_party/python/Doc/whatsnew/ |
D | 3.1.rst | 126 * The :func:`int` type gained a ``bit_length`` method that returns the 132 >>> n.bit_length() 135 >>> n.bit_length() 137 >>> (n+1).bit_length()
|
/third_party/skia/third_party/externals/libwebp/src/enc/ |
D | vp8l_enc.c | 727 const int bit_length = huffman_codes[i].num_symbols; in GetHuffBitLengthsAndCodes() local 730 codes += bit_length; in GetHuffBitLengthsAndCodes() 731 lengths += bit_length; in GetHuffBitLengthsAndCodes() 732 if (max_num_symbols < bit_length) { in GetHuffBitLengthsAndCodes() 733 max_num_symbols = bit_length; in GetHuffBitLengthsAndCodes()
|
/third_party/mbedtls/scripts/mbedtls_dev/ |
D | bignum_common.py | 71 return (val.bit_length() + bits_in_limb - 1) // bits_in_limb
|
/third_party/pcre2/pcre2/src/sljit/ |
D | sljitNativeRISCV_common.c | 1843 sljit_sw bit_length = (op & SLJIT_32) ? 32 : 64; in sljit_emit_shift_into() local 1846 sljit_sw bit_length = 32; in sljit_emit_shift_into() local 1865 src2w &= bit_length - 1; in sljit_emit_shift_into() 1885 src2w = bit_length - src2w; in sljit_emit_shift_into() 1889 src2w = bit_length - src2w; in sljit_emit_shift_into() 1912 FAIL_IF(push_inst(compiler, XORI | RD(TMP_REG2) | RS1(src2) | IMM_I((sljit_ins)bit_length - 1))); in sljit_emit_shift_into()
|
/third_party/node/tools/gyp/pylib/gyp/ |
D | mac_tool.py | 693 return 2 ** (x).bit_length()
|
/third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
D | mac_tool.py | 693 return 2 ** (x).bit_length()
|