Home
last modified time | relevance | path

Searched refs:num_buckets_ (Results 1 – 14 of 14) 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/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 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 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 num_buckets_;
Dlookup_table_op.cc430 const int64 bit_mask = num_buckets_ - 1; in Find()
465 if (num_probes >= num_buckets_) { in Find()
490 if (pending_num_entries > num_buckets_ * max_load_factor_) { in Insert()
491 int64 new_num_buckets = num_buckets_; in Insert()
516 num_buckets_ = keys.dim_size(0); in ImportValues()
531 for (int64 i = 0; i < num_buckets_; ++i) { in ImportValues()
606 const int64 bit_mask = num_buckets_ - 1; in DoInsert()
652 if (num_probes >= num_buckets_) { in DoInsert()
675 const int64 bit_mask = num_buckets_ - 1; in DoRemove()
705 if (num_probes >= num_buckets_) { in DoRemove()
[all …]
Dragged_cross_op.cc181 num_buckets_(num_buckets), in OutputWriterImpl()
226 if (num_buckets_ > 0) { in WriteCombination()
227 *out = hashed_output % num_buckets_; in WriteCombination()
251 const int64 num_buckets_; member in tensorflow::__anond24415750111::OutputWriterImpl
291 OP_REQUIRES_OK(context, context->GetAttr("num_buckets", &num_buckets_)); in RaggedCrossOp()
361 features, num_buckets_, hash_key_, row_splits_out, values_out); in Compute()
590 int64 num_buckets_; member in tensorflow::__anond24415750111::RaggedCrossOp
Dsparse_cross_op.cc320 : columns_(columns), num_buckets_(num_buckets), hash_key_(hash_key) {} in HashCrosser()
331 if (num_buckets_ > 0) { in Generate()
332 return hashed_output % num_buckets_; in Generate()
341 const int64 num_buckets_; member in tensorflow::__anona2d379f90111::HashCrosser
352 : columns_(columns), num_buckets_(num_buckets) {} in HashCrosserV2()
365 if (num_buckets_ > 0) { in Generate()
366 return hashed_output % num_buckets_; in Generate()
375 const int64 num_buckets_; member in tensorflow::__anona2d379f90111::HashCrosserV2
695 OP_REQUIRES_OK(context, context->GetAttr("num_buckets", &num_buckets_)); in SparseCrossOp()
723 columns, num_buckets_, hash_key_, k_feature_separator); in Compute()
[all …]
/external/protobuf/src/google/protobuf/
Dmap.h346 num_buckets_ = index_of_first_non_null_ = n; in InnerMap()
352 Dealloc<void*>(table_, num_buckets_); in ~InnerMap()
422 GOOGLE_DCHECK(m_->index_of_first_non_null_ == m_->num_buckets_ || in SearchFrom()
425 for (bucket_index_ = start_bucket; bucket_index_ < m_->num_buckets_; in SearchFrom()
483 bucket_index_ &= (m_->num_buckets_ - 1); in revalidate_if_necessary()
520 for (size_type b = 0; b < num_buckets_; b++) { in clear()
547 index_of_first_non_null_ = num_buckets_; in clear()
631 while (index_of_first_non_null_ < num_buckets_ && in erase()
676 GOOGLE_DCHECK(index_of_first_non_null_ == num_buckets_ || in InsertUnique()
736 const size_type hi_cutoff = num_buckets_ * kMaxMapLoadTimes16 / 16; in ResizeIfLoadIsOutOfRange()
[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/tensorflow/tensorflow/core/kernels/boosted_trees/
Dstats_ops.cc1247 OP_REQUIRES_OK(context, context->GetAttr("num_buckets", &num_buckets_)); in BoostedTreesMakeStatsSummaryOp()
1275 {num_features_, max_splits_, num_buckets_, 2}, in Compute()
1302 int num_buckets_; member in tensorflow::BoostedTreesMakeStatsSummaryOp
1315 OP_REQUIRES_OK(context, context->GetAttr("num_buckets", &num_buckets_)); in BoostedTreesAggregateStatsOp()
1352 {max_splits_, feature_dims, num_buckets_ + 1, stats_dims}, in Compute()
1362 (feature_value == -1) ? num_buckets_ : feature_value; in Compute()
1385 int num_buckets_; member in tensorflow::BoostedTreesAggregateStatsOp
1520 OP_REQUIRES_OK(context, context->GetAttr("num_buckets", &num_buckets_)); in BoostedTreesSparseAggregateStatsOp()
1587 DCHECK_LE(bucket_id, num_buckets_); in Compute()
1591 const int missing_entry_bucket = num_buckets_; in Compute()
[all …]
/external/libabigail/tests/data/test-annotate/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi1256 <!-- MemoryRegionMap::num_buckets_ -->
3555 <!-- static int MemoryRegionMap::num_buckets_ -->
3556 …<var-decl name='num_buckets_' type-id='type-id-1' mangled-name='_ZN15MemoryRegionMap12num_buckets_…
4150 <!-- int HeapProfileTable::num_buckets_ -->
4151 …<var-decl name='num_buckets_' type-id='type-id-1' visibility='default' filepath='src/heap-profile-…
/external/libabigail/tests/data/test-read-dwarf/
Dtest19-pr19023-libtcmalloc_and_profiler.so.abi2090 …<var-decl name='num_buckets_' type-id='type-id-1' mangled-name='_ZN15MemoryRegionMap12num_buckets_…
2497 …<var-decl name='num_buckets_' type-id='type-id-1' visibility='default' filepath='src/heap-profile-…