/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/tcg/ |
H A D | hash.h | 69 if (bucketIdx == _neg) { 78 return bucketIdx; 81 for (; bucketIdx != _neg && m_items[bucketIdx].m_key != key; 82 oldIdx = bucketIdx, bucketIdx = m_items[bucketIdx].m_next) 86 if (bucketIdx == _neg) { 98 return bucketIdx; 136 size_t bucketIdx; in rehash() local 180 if (bucketIdx == _neg) return end(); in find() 182 for (; bucketIdx != _neg && m_items[bucketIdx].m_key != key; in find() 183 bucketIdx = m_items[bucketIdx].m_next) in find() [all …]
|
/dports/security/vault/vault-1.8.2/vendor/github.com/hashicorp/nomad/vendor/github.com/zclconf/go-cty/cty/set/ |
H A D | iterator.go | 6 bucketIdx int member 15 if it.bucketIdx == -1 { 22 it.bucketIdx = 0 29 it.bucketIdx++ 31 return it.bucketIdx < len(it.bucketIds) 35 return it.vals[it.bucketIds[it.bucketIdx]]
|
/dports/net/traefik/traefik-2.6.1/vendor/github.com/codahale/hdrhistogram/ |
H A D | hdr.go | 401 bucketIdx := h.getBucketIndex(v) 402 subBucketIdx := h.getSubBucketIdx(v, bucketIdx) 403 adjustedBucket := bucketIdx 415 bucketIdx := h.getBucketIndex(v) 416 subBucketIdx := h.getSubBucketIdx(v, bucketIdx) 417 return h.valueFromIndex(bucketIdx, subBucketIdx) 453 bucketIdx := h.getBucketIndex(v) 454 subBucketIdx := h.getSubBucketIdx(v, bucketIdx) 460 bucketIdx, subBucketIdx int32 member 474 i.bucketIdx++ [all …]
|
/dports/net-im/dendrite/dendrite-0.5.1/vendor/github.com/HdrHistogram/hdrhistogram-go/ |
H A D | hdr.go | 485 bucketIdx := h.getBucketIndex(v) 486 subBucketIdx := h.getSubBucketIdx(v, bucketIdx) 487 adjustedBucket := bucketIdx 499 bucketIdx := h.getBucketIndex(v) 500 subBucketIdx := h.getSubBucketIdx(v, bucketIdx) 501 return h.valueFromIndex(bucketIdx, subBucketIdx) 546 bucketIdx := h.getBucketIndex(v) 547 subBucketIdx := h.getSubBucketIdx(v, bucketIdx) 557 bucketIdx, subBucketIdx int32 member 571 i.bucketIdx++ [all …]
|
/dports/databases/xtrabackup/percona-xtrabackup-2.4.21/storage/ndb/include/util/ |
H A D | HashMap2.hpp | 254 Uint32 bucketIdx = hashVal % tableSize; in add() local 256 KV* bucket = table[bucketIdx]; in add() 282 table[bucketIdx] = keyVal; in add() 289 table[bucketIdx] = keyVal; in add() 302 Uint32 bucketIdx = hashVal % tableSize; in remove() local 304 KV* bucket = table[bucketIdx]; in remove() 326 table[bucketIdx] = n; in remove() 360 Uint32 bucketIdx = hashVal % tableSize; in get() local 362 KV* chainElement = table[bucketIdx]; in get()
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/storage/ndb/include/util/ |
H A D | HashMap2.hpp | 255 Uint32 bucketIdx = hashVal % tableSize; in add() local 257 KV* bucket = table[bucketIdx]; in add() 283 table[bucketIdx] = keyVal; in add() 290 table[bucketIdx] = keyVal; in add() 303 Uint32 bucketIdx = hashVal % tableSize; in remove() local 305 KV* bucket = table[bucketIdx]; in remove() 327 table[bucketIdx] = n; in remove() 361 Uint32 bucketIdx = hashVal % tableSize; in get() local 363 KV* chainElement = table[bucketIdx]; in get()
|
/dports/databases/percona57-server/percona-server-5.7.36-39/storage/ndb/include/util/ |
H A D | HashMap2.hpp | 254 Uint32 bucketIdx = hashVal % tableSize; in add() local 256 KV* bucket = table[bucketIdx]; in add() 282 table[bucketIdx] = keyVal; in add() 289 table[bucketIdx] = keyVal; in add() 302 Uint32 bucketIdx = hashVal % tableSize; in remove() local 304 KV* bucket = table[bucketIdx]; in remove() 326 table[bucketIdx] = n; in remove() 360 Uint32 bucketIdx = hashVal % tableSize; in get() local 362 KV* chainElement = table[bucketIdx]; in get()
|
/dports/databases/mysqlwsrep57-server/mysql-wsrep-wsrep_5.7.35-25.27/storage/ndb/include/util/ |
H A D | HashMap2.hpp | 254 Uint32 bucketIdx = hashVal % tableSize; in add() local 256 KV* bucket = table[bucketIdx]; in add() 282 table[bucketIdx] = keyVal; in add() 289 table[bucketIdx] = keyVal; in add() 302 Uint32 bucketIdx = hashVal % tableSize; in remove() local 304 KV* bucket = table[bucketIdx]; in remove() 326 table[bucketIdx] = n; in remove() 360 Uint32 bucketIdx = hashVal % tableSize; in get() local 362 KV* chainElement = table[bucketIdx]; in get()
|
/dports/databases/percona57-client/percona-server-5.7.36-39/storage/ndb/include/util/ |
H A D | HashMap2.hpp | 254 Uint32 bucketIdx = hashVal % tableSize; in add() local 256 KV* bucket = table[bucketIdx]; in add() 282 table[bucketIdx] = keyVal; in add() 289 table[bucketIdx] = keyVal; in add() 302 Uint32 bucketIdx = hashVal % tableSize; in remove() local 304 KV* bucket = table[bucketIdx]; in remove() 326 table[bucketIdx] = n; in remove() 360 Uint32 bucketIdx = hashVal % tableSize; in get() local 362 KV* chainElement = table[bucketIdx]; in get()
|
/dports/databases/percona57-pam-for-mysql/percona-server-5.7.36-39/storage/ndb/include/util/ |
H A D | HashMap2.hpp | 254 Uint32 bucketIdx = hashVal % tableSize; in add() local 256 KV* bucket = table[bucketIdx]; in add() 282 table[bucketIdx] = keyVal; in add() 289 table[bucketIdx] = keyVal; in add() 302 Uint32 bucketIdx = hashVal % tableSize; in remove() local 304 KV* bucket = table[bucketIdx]; in remove() 326 table[bucketIdx] = n; in remove() 360 Uint32 bucketIdx = hashVal % tableSize; in get() local 362 KV* chainElement = table[bucketIdx]; in get()
|
/dports/net/librdkafka/librdkafka-1.8.2/src/ |
H A D | rdhdrhistogram.c | 166 int32_t bucketIdx, int32_t subBucketIdx) { in rd_hdr_countsIndex() argument 167 int32_t bucketBaseIdx = (bucketIdx + 1) << in rd_hdr_countsIndex() 218 ((int64_t)bucketIdx + hdr->unitMagnitude); in rd_hdr_valueFromIndex() 223 int32_t bucketIdx = rd_hdr_getBucketIndex(hdr, v); in rd_hdr_sizeOfEquivalentValueRange() local 225 int32_t adjustedBucket = bucketIdx; in rd_hdr_sizeOfEquivalentValueRange() 233 int32_t bucketIdx = rd_hdr_getBucketIndex(hdr, v); in rd_hdr_lowestEquivalentValue() local 260 int32_t bucketIdx = rd_hdr_getBucketIndex(hdr, v); in rd_hdr_countsIndexFor() local 269 int bucketIdx; member 288 it->bucketIdx++; in rd_hdr_iter_next() 291 if (unlikely(it->bucketIdx >= hdr->bucketCount)) in rd_hdr_iter_next() [all …]
|
/dports/sysutils/vector/vector-0.10.0/cargo-crates/rdkafka-sys-2.0.0+1.4.2/librdkafka/src/ |
H A D | rdhdrhistogram.c | 166 int32_t bucketIdx, int32_t subBucketIdx) { in rd_hdr_countsIndex() argument 167 int32_t bucketBaseIdx = (bucketIdx + 1) << in rd_hdr_countsIndex() 218 ((int64_t)bucketIdx + hdr->unitMagnitude); in rd_hdr_valueFromIndex() 223 int32_t bucketIdx = rd_hdr_getBucketIndex(hdr, v); in rd_hdr_sizeOfEquivalentValueRange() local 225 int32_t adjustedBucket = bucketIdx; in rd_hdr_sizeOfEquivalentValueRange() 233 int32_t bucketIdx = rd_hdr_getBucketIndex(hdr, v); in rd_hdr_lowestEquivalentValue() local 260 int32_t bucketIdx = rd_hdr_getBucketIndex(hdr, v); in rd_hdr_countsIndexFor() local 269 int bucketIdx; member 288 it->bucketIdx++; in rd_hdr_iter_next() 291 if (unlikely(it->bucketIdx >= hdr->bucketCount)) in rd_hdr_iter_next() [all …]
|
/dports/sysutils/fluent-bit/fluent-bit-1.8.11/plugins/out_kafka/librdkafka-1.7.0/src/ |
H A D | rdhdrhistogram.c | 166 int32_t bucketIdx, int32_t subBucketIdx) { in rd_hdr_countsIndex() argument 167 int32_t bucketBaseIdx = (bucketIdx + 1) << in rd_hdr_countsIndex() 218 ((int64_t)bucketIdx + hdr->unitMagnitude); in rd_hdr_valueFromIndex() 223 int32_t bucketIdx = rd_hdr_getBucketIndex(hdr, v); in rd_hdr_sizeOfEquivalentValueRange() local 225 int32_t adjustedBucket = bucketIdx; in rd_hdr_sizeOfEquivalentValueRange() 233 int32_t bucketIdx = rd_hdr_getBucketIndex(hdr, v); in rd_hdr_lowestEquivalentValue() local 260 int32_t bucketIdx = rd_hdr_getBucketIndex(hdr, v); in rd_hdr_countsIndexFor() local 269 int bucketIdx; member 288 it->bucketIdx++; in rd_hdr_iter_next() 291 if (unlikely(it->bucketIdx >= hdr->bucketCount)) in rd_hdr_iter_next() [all …]
|
/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Private.Xml.Linq/src/System/Xml/Linq/ |
H A D | XHashtable.cs | 181 for (int bucketIdx = 0; bucketIdx < _buckets.Length; bucketIdx++) in Resize() 183 int entryIdx = _buckets[bucketIdx]; in Resize() 188 … entryIdx = Interlocked.CompareExchange(ref _buckets[bucketIdx], FullList, EndOfList); in Resize() 231 for (int bucketIdx = 0; bucketIdx < _buckets.Length; bucketIdx++) in Resize() 233 int entryIdx = _buckets[bucketIdx]; in Resize()
|
/dports/devel/folly/folly-2021.12.27.00/folly/stats/ |
H A D | Histogram-inl.h | 148 size_t bucketIdx = in getPercentileEstimate() local 159 return avgFromBucket(buckets_[bucketIdx]); in getPercentileEstimate() 167 ValueType avg = avgFromBucket(buckets_[bucketIdx]); in getPercentileEstimate() 170 if (bucketIdx == 0) { in getPercentileEstimate() 183 return getBucketMin(bucketIdx); in getPercentileEstimate() 193 } else if (bucketIdx == buckets_.size() - 1) { in getPercentileEstimate() 199 return getBucketMax(bucketIdx); in getPercentileEstimate() 210 low = getBucketMin(bucketIdx); in getPercentileEstimate() 211 high = getBucketMax(bucketIdx); in getPercentileEstimate()
|
H A D | BucketedTimeSeries-inl.h | 109 size_t bucketIdx; in addValueAggregated() local 114 bucketIdx = getBucketIdx(now); in addValueAggregated() 117 bucketIdx = updateBuckets(now); in addValueAggregated() 120 bucketIdx = getBucketIdx(now); in addValueAggregated() 127 bucketIdx = getBucketIdx(now); in addValueAggregated() 131 buckets_[bucketIdx].add(total, nsamples); in addValueAggregated() 369 size_t* bucketIdx, in getBucketInfo() argument 384 *bucketIdx = size_t(scaledTime / duration_.count()); in getBucketInfo()
|
H A D | TimeseriesHistogram.h | 110 ValueType getBucketMin(size_t bucketIdx) const { in getBucketMin() argument 111 return buckets_.getBucketMin(bucketIdx); in getBucketMin() 115 const ContainerType& getBucket(size_t bucketIdx) const { in getBucket() argument 116 return buckets_.getByIndex(bucketIdx); in getBucket()
|
/dports/devel/folly/folly-2021.12.27.00/folly/stats/test/ |
H A D | HistogramTest.cpp | 44 unsigned int bucketIdx = in TEST() local 46 EXPECT_EQ(n + 1, bucketIdx); in TEST() 55 unsigned int bucketIdx = in TEST() local 57 EXPECT_EQ(n, bucketIdx); in TEST() 77 unsigned int bucketIdx = h.getPercentileBucketIdx(pct, &lowPct, &highPct); in TEST() local 78 EXPECT_EQ(1, bucketIdx); in TEST() 97 unsigned int bucketIdx = h.getPercentileBucketIdx(pct, &lowPct, &highPct); in TEST() local 98 EXPECT_EQ(43, bucketIdx); in TEST()
|
/dports/misc/py-mxnet/incubator-mxnet-1.9.0/scala-package/examples/src/main/scala/org/apache/mxnetexamples/rnn/ |
H A D | BucketIo.scala | 188 val bucketIdx = bucketPlan(iBucket) constant 189 val dataBuf = dataBuffer(bucketIdx) 190 val iIdx = bucketCurrIdx(bucketIdx) 191 val idx = bucketIdxAll(bucketIdx).slice(iIdx, iIdx + _batchSize) 192 bucketCurrIdx(bucketIdx) = bucketCurrIdx(bucketIdx) + _batchSize 194 val datas = idx.map(i => data(bucketIdx)(i)) 196 require(sentence.length == buckets(bucketIdx)) 200 val labelBuf = labelBuffer(bucketIdx) 201 val labels = idx.map(i => data(bucketIdx)(i).drop(1) :+ 0f) 214 this.buckets(bucketIdx).asInstanceOf[AnyRef],
|
/dports/misc/mxnet/incubator-mxnet-1.9.0/scala-package/examples/src/main/scala/org/apache/mxnetexamples/rnn/ |
H A D | BucketIo.scala | 188 val bucketIdx = bucketPlan(iBucket) constant 189 val dataBuf = dataBuffer(bucketIdx) 190 val iIdx = bucketCurrIdx(bucketIdx) 191 val idx = bucketIdxAll(bucketIdx).slice(iIdx, iIdx + _batchSize) 192 bucketCurrIdx(bucketIdx) = bucketCurrIdx(bucketIdx) + _batchSize 194 val datas = idx.map(i => data(bucketIdx)(i)) 196 require(sentence.length == buckets(bucketIdx)) 200 val labelBuf = labelBuffer(bucketIdx) 201 val labels = idx.map(i => data(bucketIdx)(i).drop(1) :+ 0f) 214 this.buckets(bucketIdx).asInstanceOf[AnyRef],
|
/dports/databases/mongodb36/mongodb-src-r3.6.23/src/mongo/db/storage/mmap_v1/ |
H A D | record_store_v1_test_help.cpp | 362 for (int bucketIdx = 0; bucketIdx < RecordStoreV1Base::Buckets; bucketIdx++) { in printDRecList() local 363 DiskLoc actualLoc = md->deletedListEntry(bucketIdx); in printDRecList() 370 << " size: " << actualSize << " bucket: " << bucketIdx in printDRecList() 601 for (int bucketIdx = 0; bucketIdx < RecordStoreV1Base::Buckets; bucketIdx++) { in assertStateV1RS() local 602 DiskLoc actualLoc = md->deletedListEntry(bucketIdx); in assertStateV1RS() 604 if (md->isCapped() && bucketIdx == 1) { in assertStateV1RS() 633 ASSERT_EQUALS(bucketIdx, in assertStateV1RS()
|
/dports/www/grafana8/grafana-8.3.6/packages/grafana-data/src/transformations/transformers/ |
H A D | histogram.ts | 239 for (let bucketIdx = 0; bucketIdx < hist.length; bucketIdx++) { 240 if (hist[bucketIdx] == null) { 241 hist[bucketIdx] = 0;
|
/dports/databases/mariadb105-client/mariadb-10.5.15/storage/columnstore/columnstore/dbcon/joblist/ |
H A D | largehashjoin.cpp | 197 for (uint32_t idx = 0, bucketIdx = params->startBucket; in HashJoinByBucket_thr() local 199 idx++, bucketIdx++) in HashJoinByBucket_thr() 204 << " bkt " << bucketIdx in HashJoinByBucket_thr() 211 set1Size = hjPtr->Set1()->size(bucketIdx); in HashJoinByBucket_thr() 212 set2Size = hjPtr->Set2()->size(bucketIdx); in HashJoinByBucket_thr() 244 bucketIdx, in HashJoinByBucket_thr() 261 << " bkt " << bucketIdx in HashJoinByBucket_thr() 270 int iter = hjPtr->SearchSet(thrIdx)->getIterator(bucketIdx); in HashJoinByBucket_thr() 282 for (more = hjPtr->SearchSet(thrIdx)->next(bucketIdx, iter, &e); in HashJoinByBucket_thr() 284 more = hjPtr->SearchSet(thrIdx)->next(bucketIdx, iter, &e) ) in HashJoinByBucket_thr() [all …]
|
/dports/databases/mariadb105-server/mariadb-10.5.15/storage/columnstore/columnstore/dbcon/joblist/ |
H A D | largehashjoin.cpp | 197 for (uint32_t idx = 0, bucketIdx = params->startBucket; in HashJoinByBucket_thr() local 199 idx++, bucketIdx++) in HashJoinByBucket_thr() 204 << " bkt " << bucketIdx in HashJoinByBucket_thr() 211 set1Size = hjPtr->Set1()->size(bucketIdx); in HashJoinByBucket_thr() 212 set2Size = hjPtr->Set2()->size(bucketIdx); in HashJoinByBucket_thr() 244 bucketIdx, in HashJoinByBucket_thr() 261 << " bkt " << bucketIdx in HashJoinByBucket_thr() 270 int iter = hjPtr->SearchSet(thrIdx)->getIterator(bucketIdx); in HashJoinByBucket_thr() 282 for (more = hjPtr->SearchSet(thrIdx)->next(bucketIdx, iter, &e); in HashJoinByBucket_thr() 284 more = hjPtr->SearchSet(thrIdx)->next(bucketIdx, iter, &e) ) in HashJoinByBucket_thr() [all …]
|
/dports/databases/cayley/cayley-0.7.5-2-gcf576ba/vendor/github.com/tylertreat/BoomFilters/ |
H A D | cuckoo.go | 205 bucketIdx := i % c.m 207 f, c.buckets[bucketIdx][entryIdx] = c.buckets[bucketIdx][entryIdx], f
|