/external/starlark-go/starlark/ |
D | hashtable.go | 15 type hashtable struct { struct 39 func (ht *hashtable) init(size int) { argument 55 func (ht *hashtable) freeze() { argument 72 func (ht *hashtable) insert(k, v Value) error { argument 155 func (ht *hashtable) grow() { argument 175 func (ht *hashtable) lookup(k Value) (v Value, found bool, err error) { argument 204 func (ht *hashtable) items() []Tuple { argument 217 func (ht *hashtable) first() (Value, bool) { argument 224 func (ht *hashtable) keys() []Value { argument 232 func (ht *hashtable) delete(k Value) (v Value, found bool, err error) { argument [all …]
|
D | hashtable_test.go | 73 var ht hashtable
|
/external/rust/crates/grpcio-sys/grpc/src/core/ext/transport/chttp2/transport/ |
D | hpack_encoder.cc | 124 static HpackEncoderIndex HpackIndex(const Hashtable* hashtable, in HpackIndex() argument 126 return hashtable[hash_index].index; in HpackIndex() 130 static const ValueType& GetEntry(const Hashtable* hashtable, in GetEntry() argument 132 return hashtable[hash_index].value; in GetEntry() 136 static bool TableEmptyAt(const Hashtable* hashtable, in TableEmptyAt() argument 138 return Cmp::Equals(hashtable[hash_index].value, Cmp::Null()); in TableEmptyAt() 142 static bool Matches(const Hashtable* hashtable, const ValueType& value, in Matches() argument 144 return Cmp::Equals(value, hashtable[hash_index].value); in Matches() 148 static void UpdateIndex(Hashtable* hashtable, HpackEncoderSlotHash hash_index, in UpdateIndex() argument 150 hashtable[hash_index].index = hpack_index; in UpdateIndex() [all …]
|
/external/mesa3d/src/gallium/auxiliary/util/ |
D | u_live_shader_cache.c | 56 cache->hashtable = _mesa_hash_table_create(NULL, key_hash, key_equals); in util_live_shader_cache_init() 64 if (cache->hashtable) { in util_live_shader_cache_deinit() 66 _mesa_hash_table_destroy(cache->hashtable, NULL); in util_live_shader_cache_deinit() 118 struct hash_entry *entry = _mesa_hash_table_search(cache->hashtable, sha1); in util_live_shader_cache_get() 149 struct hash_entry *entry2 = _mesa_hash_table_search(cache->hashtable, sha1); in util_live_shader_cache_get() 158 _mesa_hash_table_insert(cache->hashtable, shader->sha1, shader); in util_live_shader_cache_get() 180 struct hash_entry *entry = _mesa_hash_table_search(cache->hashtable, in util_shader_reference() 183 _mesa_hash_table_remove(cache->hashtable, entry); in util_shader_reference()
|
D | u_live_shader_cache.h | 57 struct hash_table *hashtable; member
|
/external/erofs-utils/include/erofs/ |
D | hashtable.h | 376 #define hash_init(hashtable) __hash_init(hashtable, HASH_SIZE(hashtable)) argument 384 #define hash_add(hashtable, node, key) \ argument 385 hlist_add_head(node, &hashtable[hash_min(key, HASH_BITS(hashtable))]) 414 #define hash_empty(hashtable) __hash_empty(hashtable, HASH_SIZE(hashtable)) argument
|
/external/tensorflow/tensorflow/lite/kernels/hashtable/ |
D | hashtable.cc | 29 namespace hashtable { namespace 129 hashtable::InitHashtable, hashtable::FreeHashtable, in Register_HASHTABLE() 130 hashtable::PrepareHashtable, hashtable::EvalHashtable}; in Register_HASHTABLE()
|
D | hashtable_size.cc | 26 namespace hashtable { namespace 77 hashtable::PrepareHashtableSize, in Register_HASHTABLE_SIZE() 78 hashtable::EvalHashtableSize}; in Register_HASHTABLE_SIZE()
|
D | hashtable_import.cc | 26 namespace hashtable { namespace 90 hashtable::PrepareHashtableImport, in Register_HASHTABLE_IMPORT() 91 hashtable::EvalHashtableImport}; in Register_HASHTABLE_IMPORT()
|
D | hashtable_find.cc | 26 namespace hashtable { namespace 96 hashtable::PrepareHashtableFind, in Register_HASHTABLE_FIND() 97 hashtable::EvalHashtableFind}; in Register_HASHTABLE_FIND()
|
D | hashtable_ops_test.cc | 677 auto* hashtable = resource::GetHashtableResource(&resources, resource_id); in TEST() local 678 EXPECT_TRUE(hashtable != nullptr); in TEST() 679 EXPECT_TRUE(hashtable->GetKeyType() == kTfLiteInt64); in TEST() 680 EXPECT_TRUE(hashtable->GetValueType() == kTfLiteString); in TEST() 924 auto* hashtable = resource::GetHashtableResource(&resources, kResourceId); in TEST() local 925 EXPECT_TRUE(hashtable != nullptr); in TEST() 926 EXPECT_TRUE(hashtable->GetKeyType() == kTfLiteInt64); in TEST() 927 EXPECT_TRUE(hashtable->GetValueType() == kTfLiteString); in TEST() 929 EXPECT_EQ(hashtable->Size(), 3); in TEST() 946 auto* hashtable = resource::GetHashtableResource(&resources, kResourceId); in TEST() local [all …]
|
D | README.md | 177 Currently, hashtable ops are not included in the builtin op set. You need to add 178 hashtable ops manually by including the following dependency: 180 `"//tensorflow/lite/kernels/hashtable:hashtable_op_kernels"` 186 // Add hashtable op handlers.
|
D | BUILD | 13 "hashtable.cc",
|
/external/llvm-project/clang/test/SemaCXX/ |
D | libstdcxx_pointer_return_false_hack.cpp | 14 template<typename T> struct hashtable { struct 30 auto *test1 = std::tr1::hashtable<int>().find_node(); argument
|
/external/clang/test/SemaCXX/ |
D | libstdcxx_pointer_return_false_hack.cpp | 14 template<typename T> struct hashtable { struct 30 auto *test1 = std::tr1::hashtable<int>().find_node(); argument
|
/external/rust/crates/parking_lot_core/src/ |
D | parking_lot.rs | 336 let hashtable = get_hashtable(); in lock_bucket() localVariable 338 let hash = hash(key, hashtable.hash_bits); in lock_bucket() 339 let bucket = &hashtable.entries[hash]; in lock_bucket() 346 if HASHTABLE.load(Ordering::Relaxed) == hashtable as *const _ as *mut _ { in lock_bucket() 362 let hashtable = get_hashtable(); in lock_bucket_checked() localVariable 365 let hash = hash(current_key, hashtable.hash_bits); in lock_bucket_checked() 366 let bucket = &hashtable.entries[hash]; in lock_bucket_checked() 374 if HASHTABLE.load(Ordering::Relaxed) == hashtable as *const _ as *mut _ in lock_bucket_checked() 394 let hashtable = get_hashtable(); in lock_bucket_pair() localVariable 396 let hash1 = hash(key1, hashtable.hash_bits); in lock_bucket_pair() [all …]
|
/external/libnl/lib/ |
D | cache.c | 210 cache->hashtable = nl_hash_table_alloc(hashtable_size); in nl_cache_alloc() 381 if (cache->hashtable) in __nl_cache_free() 382 nl_hash_table_free(cache->hashtable); in __nl_cache_free() 441 if (cache->hashtable) { in __cache_add() 442 ret = nl_hash_table_add(cache->hashtable, obj); in __cache_add() 560 if (cache->hashtable) { in nl_cache_remove() 561 ret = nl_hash_table_del(cache->hashtable, obj); in nl_cache_remove() 1090 obj = nl_hash_table_lookup(cache->hashtable, needle); in __cache_fast_lookup() 1119 if (cache->hashtable) in nl_cache_search() 1158 && cache->hashtable) in nl_cache_find()
|
/external/tensorflow/tensorflow/lite/experimental/resource/ |
D | static_hashtable.cc | 102 auto* hashtable = internal::CreateStaticHashtable(key_dtype, value_dtype); in CreateHashtableResourceIfNotAvailable() local 103 resources->emplace(resource_id, std::unique_ptr<LookupInterface>(hashtable)); in CreateHashtableResourceIfNotAvailable()
|
/external/capstone/bindings/powershell/Capstone/ |
D | Capstone.psd1 | 88 …specified in RootModule/ModuleToProcess. This may also contain a PSData hashtable with additional … 108 } # End of PSData hashtable 110 } # End of PrivateData hashtable
|
/external/llvm-project/clang/test/CodeGenCXX/ |
D | debug-info-use-after-free.cpp | 193 hashtable { class 209 hashtable <
|
/external/clang/test/CodeGenCXX/ |
D | debug-info-use-after-free.cpp | 191 hashtable { class 207 hashtable <
|
/external/mtools/ |
D | htable.h | 20 typedef struct hashtable T_HashTable;
|
/external/python/cpython3/Python/ |
D | marshal.c | 88 _Py_hashtable_t *hashtable; member 298 if (p->version < 3 || p->hashtable == NULL) in w_ref() 305 entry = _Py_hashtable_get_entry(p->hashtable, v); in w_ref() 315 size_t s = p->hashtable->nentries; in w_ref() 323 if (_Py_hashtable_set(p->hashtable, v, (void *)(uintptr_t)w) < 0) { in w_ref() 559 wf->hashtable = _Py_hashtable_new_full(_Py_hashtable_hash_ptr, in w_init_refs() 562 if (wf->hashtable == NULL) { in w_init_refs() 573 if (wf->hashtable != NULL) { in w_clear_refs() 574 _Py_hashtable_destroy(wf->hashtable); in w_clear_refs()
|
/external/tensorflow/tensorflow/core/api_def/base_api/ |
D | api_def_MapStage.pbtxt | 36 summary: "Stage (key, values) in the underlying container which behaves like a hashtable."
|
/external/mesa3d/src/gallium/drivers/r600/sb/ |
D | sb_valtable.cpp | 146 vt_item & vti = hashtable[hash & size_mask]; in add_value() 213 for(vt_table::iterator I = hashtable.begin(), E = hashtable.end(); in get_values()
|