Home
last modified time | relevance | path

Searched refs:bucketsCount (Results 1 – 7 of 7) sorted by relevance

/dports/multimedia/opentoonz/opentoonz-1.5.0/toonz/sources/include/tcg/
H A Dhash.h52 if (itemsCount > bucketsCount) { in createItem()
54 bucketsCount = in createItem()
56 while (itemsCount > bucketsCount); in createItem()
58 rehash(bucketsCount); in createItem()
107 : m_bucketsIdx(bucketsCount, _neg), m_hash(func) {} in m_bucketsIdx() argument
111 size_t bucketsCount = 89)
113 for (size_t nCount = m_items.nodesCount(); bucketsCount < nCount; in m_items()
114 bucketsCount = 2 * bucketsCount + 1) in m_items()
116 rehash(bucketsCount); in m_items()
125 bucketsCount = 2 * bucketsCount + 1) in m_items()
[all …]
/dports/net-p2p/go-ethereum/go-ethereum-1.10.14/vendor/github.com/VictoriaMetrics/fastcache/
H A Dfastcache.go14 const bucketsCount = 512 const
109 buckets [bucketsCount]bucket
125 maxBucketBytes := uint64((maxBytes + bucketsCount - 1) / bucketsCount)
147 idx := h % bucketsCount
160 idx := h % bucketsCount
170 idx := h % bucketsCount
177 idx := h % bucketsCount
187 idx := h % bucketsCount
H A Dfile.go134 maxBucketBytes := uint64((maxBytes + bucketsCount - 1) / bucketsCount)
137 …%s contains maxBytes=%d; want %d", filePath, maxBytes, expectedBucketChunks*chunkSize*bucketsCount)
H A Dfile_timing_test.go85 const benchCacheSize = bucketsCount * chunkSize
H A Dfile_test.go66 const maxBytes = bucketsCount * chunkSize * 2
H A Dfastcache_test.go72 c := New(bucketsCount * chunkSize * 1.5)
/dports/textproc/sablotron/Sablot-1.0.3/src/engine/
H A Dhash.cpp67 int i, bucketsCount = TWO_TO( logSize ); in initialize() local
68 for (i = 0; i < bucketsCount; i++) in initialize()