Searched refs:hash_func (Results 1 – 12 of 12) sorted by relevance
/external/python/cpython3/Python/ |
D | hashtable.c | 134 Py_uhash_t key_hash = ht->hash_func(key); in _Py_hashtable_get_entry_generic() 176 Py_uhash_t key_hash = ht->hash_func(key); in _Py_hashtable_steal() 228 entry->key_hash = ht->hash_func(key); in _Py_hashtable_set() 298 assert(ht->hash_func(entry->key) == entry->key_hash); in hashtable_rehash() 316 _Py_hashtable_new_full(_Py_hashtable_hash_func hash_func, in _Py_hashtable_new_full() argument 348 ht->hash_func = hash_func; in _Py_hashtable_new_full() 353 if (ht->hash_func == _Py_hashtable_hash_ptr in _Py_hashtable_new_full() 363 _Py_hashtable_new(_Py_hashtable_hash_func hash_func, in _Py_hashtable_new() argument 366 return _Py_hashtable_new_full(hash_func, compare_func, in _Py_hashtable_new()
|
/external/python/cpython3/Include/internal/ |
D | pycore_hashtable.h | 66 _Py_hashtable_hash_func hash_func; member 82 _Py_hashtable_hash_func hash_func, 86 _Py_hashtable_hash_func hash_func,
|
/external/python/pycparser/examples/c_files/ |
D | hash.c | 32 static unsigned int hash_func(const char* str, unsigned int table_size) in hash_func() function 79 unsigned int index = hash_func(entry->key, hash->table_size); in HashInsert() 102 unsigned int index = hash_func(key, hash->table_size); in HashFind() 119 unsigned int index = hash_func(key, hash->table_size); in HashRemove()
|
/external/grpc-grpc/test/core/gpr/ |
D | murmur_hash_test.cc | 26 typedef uint32_t (*hash_func)(const void* key, size_t len, uint32_t seed); typedef 32 static void verification_test(hash_func hash, uint32_t expected) { in verification_test()
|
/external/tensorflow/tensorflow/core/kernels/data/ |
D | dataset_utils_test.cc | 306 auto hash_func = [hash_result](const string& str) { return hash_result; }; in TEST_P() local 314 optimizations_default, hash_func); in TEST_P() 356 auto hash_func = [](const string& str) { return 50; }; in TEST_P() local 363 optimizations_default, hash_func); in TEST_P() 422 auto hash_func = [hash_result](const string& str) { return hash_result; }; in TEST_P() local 431 optimizations_default, hash_func); in TEST_P() 474 auto hash_func = [](const string& str) { return Hash64(str); }; in TEST_P() local 477 optimizations_default, hash_func); in TEST_P()
|
D | optimize_dataset_op.cc | 90 auto hash_func = [](const string& str) { return Hash64(str); }; in MakeDataset() local 93 optimizations_disabled, optimizations_default, hash_func); in MakeDataset()
|
D | dataset_utils.h | 294 std::function<uint64(const string&)> hash_func);
|
D | dataset_utils.cc | 543 std::function<uint64(const string&)> hash_func) { in SelectOptimizations() argument 670 if (hash_func(strings::StrCat(job_name, experiment)) % 100 < pair.second) { in SelectOptimizations()
|
/external/python/cryptography/docs/development/custom-vectors/secp256k1/ |
D | generate_secp256k1.py | 53 hash_func = TruncatedHash(HASHLIB_HASH_TYPES[digest_algorithm]()) 58 signature = secret_key.sign(message, hashfunc=hash_func,
|
/external/curl/lib/ |
D | hash.h | 50 hash_function hash_func; member
|
D | hash.c | 67 h->hash_func = hfunc; in Curl_hash_init() 99 #define FETCH_LIST(x,y,z) &x->table[x->hash_func(y, z, x->slots)]
|
/external/python/cpython3/Modules/ |
D | _tracemalloc.c | 239 hashtable_new(_Py_hashtable_hash_func hash_func, in hashtable_new() argument 245 return _Py_hashtable_new_full(hash_func, compare_func, in hashtable_new()
|