Home
last modified time | relevance | path

Searched refs:max_key_ (Results 1 – 25 of 32) sorted by relevance

12

/dports/databases/percona57-server/percona-server-5.7.36-39/storage/rocksdb/rocksdb/db_stress_tool/
H A Ddb_stress_shared_state.h64 max_key_(FLAGS_max_key), in SharedState()
89 int64_t* permutation = new int64_t[max_key_]; in SharedState()
90 for (int64_t i = 0; i < max_key_; i++) { in SharedState()
98 int64_t rand_index = i + rnd.Next() % (max_key_ - i); in SharedState()
110 sizeof(std::atomic<uint32_t>) * FLAGS_column_families * max_key_; in SharedState()
156 new std::atomic<uint32_t>[FLAGS_column_families * max_key_]); in SharedState()
163 for (int j = 0; j < max_key_; ++j) { in SharedState()
175 if (max_key_ & ((1 << log2_keys_per_lock_) - 1)) { in SharedState()
219 int64_t GetMaxKey() const { return max_key_; } in GetMaxKey()
272 return values_[cf * max_key_ + key]; in Value()
[all …]
/dports/textproc/sonic/sonic-1.3.0/cargo-crates/librocksdb-sys-6.7.4/rocksdb/db_stress_tool/
H A Ddb_stress_shared_state.h43 max_key_(FLAGS_max_key), in SharedState()
68 int64_t* permutation = new int64_t[max_key_]; in SharedState()
69 for (int64_t i = 0; i < max_key_; i++) { in SharedState()
77 int64_t rand_index = i + rnd.Next() % (max_key_ - i); in SharedState()
89 sizeof(std::atomic<uint32_t>) * FLAGS_column_families * max_key_; in SharedState()
135 new std::atomic<uint32_t>[FLAGS_column_families * max_key_]); in SharedState()
142 for (int j = 0; j < max_key_; ++j) { in SharedState()
154 if (max_key_ & ((1 << log2_keys_per_lock_) - 1)) { in SharedState()
184 int64_t GetMaxKey() const { return max_key_; } in GetMaxKey()
237 return values_[cf * max_key_ + key]; in Value()
[all …]
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/rocksdb/rocksdb/db_stress_tool/
H A Ddb_stress_shared_state.h64 max_key_(FLAGS_max_key), in SharedState()
89 int64_t* permutation = new int64_t[max_key_]; in SharedState()
90 for (int64_t i = 0; i < max_key_; i++) { in SharedState()
98 int64_t rand_index = i + rnd.Next() % (max_key_ - i); in SharedState()
110 sizeof(std::atomic<uint32_t>) * FLAGS_column_families * max_key_; in SharedState()
156 new std::atomic<uint32_t>[FLAGS_column_families * max_key_]); in SharedState()
163 for (int j = 0; j < max_key_; ++j) { in SharedState()
175 if (max_key_ & ((1 << log2_keys_per_lock_) - 1)) { in SharedState()
219 int64_t GetMaxKey() const { return max_key_; } in GetMaxKey()
272 return values_[cf * max_key_ + key]; in Value()
[all …]
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/rocksdb/rocksdb/db_stress_tool/
H A Ddb_stress_shared_state.h64 max_key_(FLAGS_max_key), in SharedState()
89 int64_t* permutation = new int64_t[max_key_]; in SharedState()
90 for (int64_t i = 0; i < max_key_; i++) { in SharedState()
98 int64_t rand_index = i + rnd.Next() % (max_key_ - i); in SharedState()
110 sizeof(std::atomic<uint32_t>) * FLAGS_column_families * max_key_; in SharedState()
156 new std::atomic<uint32_t>[FLAGS_column_families * max_key_]); in SharedState()
163 for (int j = 0; j < max_key_; ++j) { in SharedState()
175 if (max_key_ & ((1 << log2_keys_per_lock_) - 1)) { in SharedState()
219 int64_t GetMaxKey() const { return max_key_; } in GetMaxKey()
272 return values_[cf * max_key_ + key]; in Value()
[all …]
/dports/databases/mariadb104-server/mariadb-10.4.24/storage/rocksdb/rocksdb/db_stress_tool/
H A Ddb_stress_shared_state.h43 max_key_(FLAGS_max_key), in SharedState()
68 int64_t* permutation = new int64_t[max_key_]; in SharedState()
69 for (int64_t i = 0; i < max_key_; i++) { in SharedState()
77 int64_t rand_index = i + rnd.Next() % (max_key_ - i); in SharedState()
89 sizeof(std::atomic<uint32_t>) * FLAGS_column_families * max_key_; in SharedState()
135 new std::atomic<uint32_t>[FLAGS_column_families * max_key_]); in SharedState()
142 for (int j = 0; j < max_key_; ++j) { in SharedState()
154 if (max_key_ & ((1 << log2_keys_per_lock_) - 1)) { in SharedState()
184 int64_t GetMaxKey() const { return max_key_; } in GetMaxKey()
237 return values_[cf * max_key_ + key]; in Value()
[all …]
/dports/databases/mariadb104-client/mariadb-10.4.24/storage/rocksdb/rocksdb/db_stress_tool/
H A Ddb_stress_shared_state.h43 max_key_(FLAGS_max_key), in SharedState()
68 int64_t* permutation = new int64_t[max_key_]; in SharedState()
69 for (int64_t i = 0; i < max_key_; i++) { in SharedState()
77 int64_t rand_index = i + rnd.Next() % (max_key_ - i); in SharedState()
89 sizeof(std::atomic<uint32_t>) * FLAGS_column_families * max_key_; in SharedState()
135 new std::atomic<uint32_t>[FLAGS_column_families * max_key_]); in SharedState()
142 for (int j = 0; j < max_key_; ++j) { in SharedState()
154 if (max_key_ & ((1 << log2_keys_per_lock_) - 1)) { in SharedState()
184 int64_t GetMaxKey() const { return max_key_; } in GetMaxKey()
237 return values_[cf * max_key_ + key]; in Value()
[all …]
/dports/databases/mariadb103-client/mariadb-10.3.34/storage/rocksdb/rocksdb/db_stress_tool/
H A Ddb_stress_shared_state.h43 max_key_(FLAGS_max_key), in SharedState()
68 int64_t* permutation = new int64_t[max_key_]; in SharedState()
69 for (int64_t i = 0; i < max_key_; i++) { in SharedState()
77 int64_t rand_index = i + rnd.Next() % (max_key_ - i); in SharedState()
89 sizeof(std::atomic<uint32_t>) * FLAGS_column_families * max_key_; in SharedState()
135 new std::atomic<uint32_t>[FLAGS_column_families * max_key_]); in SharedState()
142 for (int j = 0; j < max_key_; ++j) { in SharedState()
154 if (max_key_ & ((1 << log2_keys_per_lock_) - 1)) { in SharedState()
184 int64_t GetMaxKey() const { return max_key_; } in GetMaxKey()
237 return values_[cf * max_key_ + key]; in Value()
[all …]
/dports/databases/mariadb103-server/mariadb-10.3.34/storage/rocksdb/rocksdb/db_stress_tool/
H A Ddb_stress_shared_state.h43 max_key_(FLAGS_max_key), in SharedState()
68 int64_t* permutation = new int64_t[max_key_]; in SharedState()
69 for (int64_t i = 0; i < max_key_; i++) { in SharedState()
77 int64_t rand_index = i + rnd.Next() % (max_key_ - i); in SharedState()
89 sizeof(std::atomic<uint32_t>) * FLAGS_column_families * max_key_; in SharedState()
135 new std::atomic<uint32_t>[FLAGS_column_families * max_key_]); in SharedState()
142 for (int j = 0; j < max_key_; ++j) { in SharedState()
154 if (max_key_ & ((1 << log2_keys_per_lock_) - 1)) { in SharedState()
184 int64_t GetMaxKey() const { return max_key_; } in GetMaxKey()
237 return values_[cf * max_key_ + key]; in Value()
[all …]
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/rocksdb/rocksdb/db_stress_tool/
H A Ddb_stress_shared_state.h43 max_key_(FLAGS_max_key), in SharedState()
68 int64_t* permutation = new int64_t[max_key_]; in SharedState()
69 for (int64_t i = 0; i < max_key_; i++) { in SharedState()
77 int64_t rand_index = i + rnd.Next() % (max_key_ - i); in SharedState()
89 sizeof(std::atomic<uint32_t>) * FLAGS_column_families * max_key_; in SharedState()
135 new std::atomic<uint32_t>[FLAGS_column_families * max_key_]); in SharedState()
142 for (int j = 0; j < max_key_; ++j) { in SharedState()
154 if (max_key_ & ((1 << log2_keys_per_lock_) - 1)) { in SharedState()
184 int64_t GetMaxKey() const { return max_key_; } in GetMaxKey()
237 return values_[cf * max_key_ + key]; in Value()
[all …]
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/rocksdb/rocksdb/db_stress_tool/
H A Ddb_stress_shared_state.h43 max_key_(FLAGS_max_key), in SharedState()
68 int64_t* permutation = new int64_t[max_key_]; in SharedState()
69 for (int64_t i = 0; i < max_key_; i++) { in SharedState()
77 int64_t rand_index = i + rnd.Next() % (max_key_ - i); in SharedState()
89 sizeof(std::atomic<uint32_t>) * FLAGS_column_families * max_key_; in SharedState()
135 new std::atomic<uint32_t>[FLAGS_column_families * max_key_]); in SharedState()
142 for (int j = 0; j < max_key_; ++j) { in SharedState()
154 if (max_key_ & ((1 << log2_keys_per_lock_) - 1)) { in SharedState()
184 int64_t GetMaxKey() const { return max_key_; } in GetMaxKey()
237 return values_[cf * max_key_ + key]; in Value()
[all …]
/dports/textproc/regex2dfa/regex2dfa-0.1.6/third_party/openfst/src/include/fst/
H A Dutil.h428 max_key_(NoKey) { } in CompactSet()
433 max_key_(compact_set.max_key_) { } in CompactSet()
439 if (max_key_ == NoKey || max_key_ < key) in Insert()
440 max_key_ = key; in Insert()
446 min_key_ = max_key_ = NoKey; in Erase()
449 } else if (key == max_key_) { in Erase()
450 --max_key_; in Erase()
456 min_key_ = max_key_ = NoKey; in Clear()
461 key < min_key_ || max_key_ < key) in Find()
485 Key UpperBound() const { return max_key_; } in UpperBound()
[all …]
/dports/net/ooni-probe-cli/probe-cli-3.10.1/vendor/github.com/ooni/psiphon/oopsi/github.com/redjack/marionette/third_party/openfst/src/include/fst/
H A Dutil.h428 max_key_(NoKey) { } in CompactSet()
433 max_key_(compact_set.max_key_) { } in CompactSet()
439 if (max_key_ == NoKey || max_key_ < key) in Insert()
440 max_key_ = key; in Insert()
446 min_key_ = max_key_ = NoKey; in Erase()
449 } else if (key == max_key_) { in Erase()
450 --max_key_; in Erase()
456 min_key_ = max_key_ = NoKey; in Clear()
461 key < min_key_ || max_key_ < key) in Find()
485 Key UpperBound() const { return max_key_; } in UpperBound()
[all …]
/dports/net/ooni-mini/probe-engine-0.23.0/vendor/github.com/ooni/psiphon/oopsi/github.com/redjack/marionette/third_party/openfst/src/include/fst/
H A Dutil.h428 max_key_(NoKey) { } in CompactSet()
433 max_key_(compact_set.max_key_) { } in CompactSet()
439 if (max_key_ == NoKey || max_key_ < key) in Insert()
440 max_key_ = key; in Insert()
446 min_key_ = max_key_ = NoKey; in Erase()
449 } else if (key == max_key_) { in Erase()
450 --max_key_; in Erase()
456 min_key_ = max_key_ = NoKey; in Clear()
461 key < min_key_ || max_key_ < key) in Find()
485 Key UpperBound() const { return max_key_; } in UpperBound()
[all …]
/dports/databases/rocksdb-lite/rocksdb-6.26.1/db_stress_tool/
H A Ddb_stress_shared_state.h69 max_key_(FLAGS_max_key), in SharedState()
94 int64_t* permutation = new int64_t[max_key_]; in SharedState()
95 for (int64_t i = 0; i < max_key_; i++) { in SharedState()
99 int64_t num_no_overwrite_keys = (max_key_ * FLAGS_nooverwritepercent) / 100; in SharedState()
103 int64_t rand_index = i + rnd.Next() % (max_key_ - i); in SharedState()
153 long num_locks = static_cast<long>(max_key_ >> log2_keys_per_lock_); in SharedState()
154 if (max_key_ & ((1 << log2_keys_per_lock_) - 1)) { in SharedState()
198 int64_t GetMaxKey() const { return max_key_; } in GetMaxKey()
340 const int64_t max_key_; variable
H A Dexpected_state.cc15 : max_key_(max_key), in ExpectedState()
77 for (size_t j = 0; j < max_key_; ++j) { in Reset()
142 : max_key_(max_key), in Open()
181 max_key_, num_column_families_); in Open()
193 max_key_, num_column_families_)); in Open()
238 latest_.reset(new AnonExpectedState(max_key_, num_column_families_)); in Open()
H A Dexpected_state.h69 return values_[cf * max_key_ + key]; in Value()
72 const size_t max_key_; variable
77 return sizeof(std::atomic<uint32_t>) * num_column_families_ * max_key_; in GetValuesLen()
172 const size_t max_key_;
/dports/databases/rocksdb/rocksdb-6.26.1/db_stress_tool/
H A Ddb_stress_shared_state.h69 max_key_(FLAGS_max_key), in SharedState()
94 int64_t* permutation = new int64_t[max_key_]; in SharedState()
95 for (int64_t i = 0; i < max_key_; i++) { in SharedState()
99 int64_t num_no_overwrite_keys = (max_key_ * FLAGS_nooverwritepercent) / 100; in SharedState()
103 int64_t rand_index = i + rnd.Next() % (max_key_ - i); in SharedState()
153 long num_locks = static_cast<long>(max_key_ >> log2_keys_per_lock_); in SharedState()
154 if (max_key_ & ((1 << log2_keys_per_lock_) - 1)) { in SharedState()
198 int64_t GetMaxKey() const { return max_key_; } in GetMaxKey()
340 const int64_t max_key_; variable
H A Dexpected_state.cc15 : max_key_(max_key), in ExpectedState()
77 for (size_t j = 0; j < max_key_; ++j) { in Reset()
142 : max_key_(max_key), in Open()
181 max_key_, num_column_families_); in Open()
193 max_key_, num_column_families_)); in Open()
238 latest_.reset(new AnonExpectedState(max_key_, num_column_families_)); in Open()
H A Dexpected_state.h69 return values_[cf * max_key_ + key]; in Value()
72 const size_t max_key_; variable
77 return sizeof(std::atomic<uint32_t>) * num_column_families_ * max_key_; in GetValuesLen()
172 const size_t max_key_;
/dports/math/openfst/openfst-1.8.1/src/include/fst/
H A Dutil.h403 CompactSet() : min_key_(NoKey), max_key_(NoKey) {} in CompactSet()
410 if (max_key_ == NoKey || max_key_ < key) max_key_ = key; in Insert()
416 min_key_ = max_key_ = NoKey; in Erase()
419 } else if (key == max_key_) { in Erase()
420 --max_key_; in Erase()
426 min_key_ = max_key_ = NoKey; in Clear()
430 if (min_key_ == NoKey || key < min_key_ || max_key_ < key) { in Find()
438 if (min_key_ == NoKey || key < min_key_ || max_key_ < key) { in Member()
440 } else if (min_key_ != NoKey && max_key_ + 1 == min_key_ + set_.size()) { in Member()
455 Key UpperBound() const { return max_key_; } in UpperBound()
[all …]
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/octree/include/pcl/octree/impl/
H A Doctree_pointcloud_adjacency.hpp174 if (key_arg.x > this->max_key_.x || key_arg.y > this->max_key_.y || in computeNeighbors()
175 key_arg.z > this->max_key_.z) { in computeNeighbors()
185 int dx_max = (key_arg.x == this->max_key_.x) ? 0 : 1; in computeNeighbors()
186 int dy_max = (key_arg.y == this->max_key_.y) ? 0 : 1; in computeNeighbors()
187 int dz_max = (key_arg.z == this->max_key_.z) ? 0 : 1; in computeNeighbors()
/dports/graphics/pcl-pointclouds/pcl-pcl-1.12.0/octree/include/pcl/octree/
H A Doctree_base.h96 OctreeKey max_key_; variable
230 , max_key_(source.max_key_) in OctreeBase()
243 max_key_ = source.max_key_;
426 if (key_arg <= max_key_) in removeLeaf()
H A Doctree2buf_base.h330 , max_key_(source.max_key_) in Octree2BufBase()
345 max_key_ = source.max_key_;
583 if (key_arg <= max_key_) { in removeLeaf()
982 OctreeKey max_key_; variable
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/rocksdb/rocksdb/cache/
H A Dcache_bench_tool.cc203 : max_key_(static_cast<uint64_t>(FLAGS_cache_size / FLAGS_resident_ratio / in CacheBench()
221 uint64_t max_key = max_key_; in CacheBench()
260 cache_->Insert(keygen.GetRand(rnd, max_key_, max_log_), createValue(rnd), in PopulateCache()
340 const uint64_t max_key_; member in ROCKSDB_NAMESPACE::CacheBench
455 Slice key = gen.GetRand(thread->rnd, max_key_, max_log_); in OperateCache()
531 printf("Max key : %" PRIu64 "\n", max_key_); in PrintEnv()
/dports/databases/rocksdb-lite/rocksdb-6.26.1/cache/
H A Dcache_bench_tool.cc203 : max_key_(static_cast<uint64_t>(FLAGS_cache_size / FLAGS_resident_ratio / in CacheBench()
221 uint64_t max_key = max_key_; in CacheBench()
259 cache_->Insert(keygen.GetRand(rnd, max_key_, max_log_), createValue(rnd), in PopulateCache()
339 const uint64_t max_key_; member in ROCKSDB_NAMESPACE::CacheBench
454 Slice key = gen.GetRand(thread->rnd, max_key_, max_log_); in OperateCache()
530 printf("Max key : %" PRIu64 "\n", max_key_); in PrintEnv()

12