Searched refs:hash_info (Results 1 – 25 of 29) sorted by relevance
12
/third_party/python/Modules/_decimal/tests/ |
D | bignum.py | 12 _PyHASH_MODULUS = sys.hash_info.modulus 14 _PyHASH_INF = sys.hash_info.inf 15 _PyHASH_NAN = sys.hash_info.nan
|
/third_party/python/Lib/test/ |
D | test_sys.py | 499 self.assertEqual(len(sys.hash_info), 9) 500 self.assertLess(sys.hash_info.modulus, 2**sys.hash_info.width) 506 pow(x, sys.hash_info.modulus-1, sys.hash_info.modulus), 509 sys.hash_info.modulus) 511 self.assertIsInstance(sys.hash_info.inf, int) 512 self.assertIsInstance(sys.hash_info.nan, int) 513 self.assertIsInstance(sys.hash_info.imag, int) 515 if sys.hash_info.algorithm in {"fnv", "siphash24"}: 516 self.assertIn(sys.hash_info.hash_bits, {32, 64}) 517 self.assertIn(sys.hash_info.seed_bits, {32, 64, 128}) [all …]
|
D | test_hash.py | 45 ok = sys.hash_info.algorithm in {"fnv", "siphash24"} 242 if length < sys.hash_info.cutoff: 245 algorithm = sys.hash_info.algorithm
|
D | test_numeric_tower.py | 14 _PyHASH_MODULUS = sys.hash_info.modulus 15 _PyHASH_INF = sys.hash_info.inf
|
D | test_fractions.py | 654 hmod = sys.hash_info.modulus 655 hinf = sys.hash_info.inf
|
D | test_float.py | 572 self.assertEqual(hash(float('inf')), sys.hash_info.inf) 573 self.assertEqual(hash(float('-inf')), -sys.hash_info.inf)
|
D | test_pydoc.py | 1213 self.assertEqual(self._get_summary_line(type(sys.hash_info).width),
|
/third_party/python/Python/ |
D | sysmodule.c | 1396 PyObject *hash_info; in get_hash_info() local 1399 hash_info = PyStructSequence_New(&Hash_InfoType); in get_hash_info() 1400 if (hash_info == NULL) in get_hash_info() 1403 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 1405 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 1407 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 1409 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 1411 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 1413 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() 1415 PyStructSequence_SET_ITEM(hash_info, field++, in get_hash_info() [all …]
|
/third_party/python/Lib/ |
D | fractions.py | 18 _PyHASH_MODULUS = sys.hash_info.modulus 21 _PyHASH_INF = sys.hash_info.inf
|
D | _pydecimal.py | 6403 _PyHASH_MODULUS = sys.hash_info.modulus 6405 _PyHASH_INF = sys.hash_info.inf 6406 _PyHASH_NAN = sys.hash_info.nan
|
/third_party/mbedtls/tests/suites/ |
D | test_suite_constant_time_hmac.function | 7 #include <hash_info.h>
|
D | test_suite_ecdsa.function | 3 #include "hash_info.h"
|
D | test_suite_x509write.function | 11 #include "hash_info.h"
|
D | test_suite_pk.function | 10 #include "hash_info.h"
|
/third_party/mbedtls/ |
D | mbedtls.gni | 70 "$MBEDTLSDIR/library/hash_info.c",
|
/third_party/mbedtls/library/ |
D | Makefile | 110 hash_info.o \
|
D | CMakeLists.txt | 45 hash_info.c
|
/third_party/mbedtls/docs/architecture/psa-migration/ |
D | md-cipher-dispatch.md | 401 …md_error_from_psa` to convert its status code. This function is currently defined in `hash_info.c`. 419 Instead of calling `hash_info.h` functions to obtain metadata, get it from `md.h`. 464 #### Get rid of the hash_info module 466 The hash_info module is redundant with MD light. Move `mbedtls_md_error_from_psa` to `md.c`, define…
|
D | strategy.md | 321 6065 in `library/hash_info.[ch]`.
|
/third_party/python/Doc/library/ |
D | stdtypes.rst | 681 :data:`sys.hash_info`. 697 ``hash(x)`` to be the constant value ``sys.hash_info.inf``. 703 - The particular values ``sys.hash_info.inf`` and ``-sys.hash_info.inf`` 709 sys.hash_info.imag * hash(z.imag)``, reduced modulo 710 ``2**sys.hash_info.width`` so that it lies in 711 ``range(-2**(sys.hash_info.width - 1), 2**(sys.hash_info.width - 729 P = sys.hash_info.modulus 735 hash_value = sys.hash_info.inf 752 return sys.hash_info.inf if x > 0 else -sys.hash_info.inf 759 hash_value = hash_float(z.real) + sys.hash_info.imag * hash_float(z.imag) [all …]
|
/third_party/openssl/engines/ |
D | e_devcrypto.c | 927 OPENSSL_strndup(siop.hash_info.cra_driver_name, in prepare_digest_methods()
|
/third_party/node/deps/openssl/openssl/engines/ |
D | e_devcrypto.c | 927 OPENSSL_strndup(siop.hash_info.cra_driver_name, in prepare_digest_methods()
|
/third_party/python/Lib/test/support/ |
D | __init__.py | 1852 NHASHBITS = sys.hash_info.width # number of bits in hash() result
|
/third_party/python/Doc/tutorial/ |
D | modules.rst | 323 'gettrace', 'hash_info', 'hexversion', 'implementation', 'int_info',
|
/third_party/python/Doc/whatsnew/ |
D | 3.2.rst | 1299 :attr:`sys.hash_info`, which describes the bit width of the hash value, the 1303 >>> sys.hash_info # doctest: +SKIP 1304 sys.hash_info(width=64, modulus=2305843009213693951, inf=314159, nan=0, imag=1000003)
|
12