Home
last modified time | relevance | path

Searched refs:num_buckets_ (Results 1 – 15 of 15) sorted by relevance

/external/parameter-framework/asio-1.10.6/include/asio/detail/
Dhash_map.hpp58 num_buckets_(0) in hash_map()
101 if (num_buckets_) in find()
103 size_t bucket = calculate_hash_value(k) % num_buckets_; in find()
122 if (num_buckets_) in find()
124 size_t bucket = calculate_hash_value(k) % num_buckets_; in find()
143 if (size_ + 1 >= num_buckets_) in insert()
145 size_t bucket = calculate_hash_value(v.first) % num_buckets_; in insert()
171 ASIO_ASSERT(num_buckets_ != 0); in erase()
173 size_t bucket = calculate_hash_value(it->first) % num_buckets_; in erase()
204 for (size_t i = 0; i < num_buckets_; ++i) in clear()
[all …]
/external/cronet/third_party/protobuf/src/google/protobuf/
Dmap.h463 num_buckets_(internal::kGlobalEmptyTableSize),
471 num_buckets_ != internal::kGlobalEmptyTableSize) {
473 Dealloc<void*>(table_, num_buckets_);
538 GOOGLE_DCHECK(m_->index_of_first_non_null_ == m_->num_buckets_ ||
541 for (bucket_index_ = start_bucket; bucket_index_ < m_->num_buckets_;
599 bucket_index_ &= (m_->num_buckets_ - 1);
634 std::swap(num_buckets_, other->num_buckets_);
647 for (size_type b = 0; b < num_buckets_; b++) {
674 index_of_first_non_null_ = num_buckets_;
757 while (index_of_first_non_null_ < num_buckets_ &&
[all …]
/external/protobuf/src/google/protobuf/
Dmap.h475 num_buckets_(internal::kGlobalEmptyTableSize),
483 num_buckets_ != internal::kGlobalEmptyTableSize) {
485 Dealloc<void*>(table_, num_buckets_);
550 GOOGLE_DCHECK(m_->index_of_first_non_null_ == m_->num_buckets_ ||
553 for (bucket_index_ = start_bucket; bucket_index_ < m_->num_buckets_;
611 bucket_index_ &= (m_->num_buckets_ - 1);
646 std::swap(num_buckets_, other->num_buckets_);
659 for (size_type b = 0; b < num_buckets_; b++) {
686 index_of_first_non_null_ = num_buckets_;
759 while (index_of_first_non_null_ < num_buckets_ &&
[all …]
/external/tensorflow/tensorflow/core/kernels/
Dstring_to_hash_bucket_op.cc29 OP_REQUIRES_OK(ctx, ctx->GetAttr("num_buckets", &num_buckets_)); in LegacyStringToHashBucketOp()
46 const uint64 bucket_id = input_hash % num_buckets_; in Compute()
55 int64_t num_buckets_; member in tensorflow::LegacyStringToHashBucketOp
Dstring_to_hash_bucket_fast_op.h33 OP_REQUIRES_OK(ctx, ctx->GetAttr("num_buckets", &num_buckets_)); in StringToHashBucketOp()
50 const uint64 bucket_id = input_hash % num_buckets_; in Compute()
59 int64_t num_buckets_;
Dstring_to_hash_bucket_op.h34 OP_REQUIRES_OK(ctx, ctx->GetAttr("num_buckets", &num_buckets_)); in StringToKeyedHashBucketOp()
57 const uint64 bucket_id = input_hash % num_buckets_; in Compute()
66 int64_t num_buckets_;
Dtensor_to_hash_bucket_op.cc30 OP_REQUIRES_OK(ctx, ctx->GetAttr("num_buckets", &num_buckets_)); in TensorToHashBucketOp()
56 context, num_buckets_, input_flat.data(), input_tensor->NumElements(), in Compute()
61 int64_t num_buckets_; member in tensorflow::TensorToHashBucketOp
Dlookup_table_op.cc522 const int64_t bit_mask = num_buckets_ - 1; in Find()
557 if (num_probes >= num_buckets_) { in Find()
582 if (pending_num_entries > num_buckets_ * max_load_factor_) { in Insert()
583 int64_t new_num_buckets = num_buckets_; in Insert()
608 num_buckets_ = keys.dim_size(0); in ImportValues()
620 for (int64_t i = 0; i < num_buckets_; ++i) { in ImportValues()
691 const int64_t bit_mask = num_buckets_ - 1; in DoInsert()
737 if (num_probes >= num_buckets_) { in DoInsert()
758 const int64_t bit_mask = num_buckets_ - 1; in DoRemove()
788 if (num_probes >= num_buckets_) { in DoRemove()
[all …]
Dragged_cross_op.cc182 num_buckets_(num_buckets), in OutputWriterImpl()
227 if (num_buckets_ > 0) { in WriteCombination()
228 *out = hashed_output % num_buckets_; in WriteCombination()
253 const int64_t num_buckets_; member in tensorflow::__anon9874aaba0111::OutputWriterImpl
293 OP_REQUIRES_OK(context, context->GetAttr("num_buckets", &num_buckets_)); in RaggedCrossOp()
363 features, num_buckets_, hash_key_, row_splits_out, values_out); in Compute()
622 int64_t num_buckets_; member in tensorflow::__anon9874aaba0111::RaggedCrossOp
Dsparse_cross_op.cc336 : columns_(columns), num_buckets_(num_buckets), hash_key_(hash_key) {} in HashCrosser()
348 if (num_buckets_ > 0) { in Generate()
349 return hashed_output % num_buckets_; in Generate()
358 const int64_t num_buckets_; member in tensorflow::__anon69040f3e0111::HashCrosser
369 : columns_(columns), num_buckets_(num_buckets) {} in HashCrosserV2()
383 if (num_buckets_ > 0) { in Generate()
384 return hashed_output % num_buckets_; in Generate()
393 const int64_t num_buckets_; member in tensorflow::__anon69040f3e0111::HashCrosserV2
743 OP_REQUIRES_OK(context, context->GetAttr("num_buckets", &num_buckets_)); in SparseCrossOp()
774 columns, num_buckets_, hash_key_, k_feature_separator); in Compute()
[all …]
/external/tensorflow/tensorflow/core/util/
Dpresized_cuckoo_map.h85 num_buckets_ = (static_cast<uint64>(n) / kSlotsPerBucket); in Clear()
89 num_buckets_ += 32; in Clear()
95 buckets_.resize(num_buckets_, empty_bucket); in Clear()
349 return presized_cuckoo_map::multiply_high_u64(x, num_buckets_); in fast_map_to_buckets()
353 uint64 num_buckets_; variable
/external/libtextclassifier/native/annotator/
Dmodel-executor.cc97 num_buckets_(num_buckets), in TFLiteEmbeddingExecutor()
166 full_num_buckets = num_buckets_; in AddEmbedding()
Dmodel-executor.h107 int num_buckets_ = -1; variable
/external/libabigail/tests/data/test-annotate/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi1256 <!-- MemoryRegionMap::num_buckets_ -->
5258 <!-- int HeapProfileTable::num_buckets_ -->
5259 …<var-decl name='num_buckets_' type-id='type-id-1' visibility='default' filepath='src/heap-profile-…
5873 <!-- static int MemoryRegionMap::num_buckets_ -->
5874 …<var-decl name='num_buckets_' type-id='type-id-1' mangled-name='_ZN15MemoryRegionMap12num_buckets_…
/external/libabigail/tests/data/test-read-dwarf/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi3214 …<var-decl name='num_buckets_' type-id='type-id-1' visibility='default' filepath='src/heap-profile-…
3616 …<var-decl name='num_buckets_' type-id='type-id-1' mangled-name='_ZN15MemoryRegionMap12num_buckets_…