Home
last modified time | relevance | path

Searched refs:last_few (Results 1 – 11 of 11) sorted by relevance

/dports/net-p2p/bitcoin-utils/bitcoin-22.0/src/test/
H A Dcuckoocache_tests.cpp336 std::deque<block_activity> last_few;
343 if (last_few.size() == WINDOW_SIZE)
344 last_few.pop_front();
345 last_few.emplace_back(BLOCK_SIZE, set);
347 for (auto& act : last_few)
355 double hit = (double(count)) / (last_few.size() * POP_AMOUNT);
/dports/net-p2p/bitcoin/bitcoin-22.0/src/test/
H A Dcuckoocache_tests.cpp336 std::deque<block_activity> last_few; in test_cache_generations() local
343 if (last_few.size() == WINDOW_SIZE) in test_cache_generations()
344 last_few.pop_front(); in test_cache_generations()
345 last_few.emplace_back(BLOCK_SIZE, set); in test_cache_generations()
347 for (auto& act : last_few) in test_cache_generations()
355 double hit = (double(count)) / (last_few.size() * POP_AMOUNT); in test_cache_generations()
/dports/net-p2p/bitcoin-daemon/bitcoin-22.0/src/test/
H A Dcuckoocache_tests.cpp336 std::deque<block_activity> last_few; in test_cache_generations() local
343 if (last_few.size() == WINDOW_SIZE) in test_cache_generations()
344 last_few.pop_front(); in test_cache_generations()
345 last_few.emplace_back(BLOCK_SIZE, set); in test_cache_generations()
347 for (auto& act : last_few) in test_cache_generations()
355 double hit = (double(count)) / (last_few.size() * POP_AMOUNT); in test_cache_generations()
/dports/net-p2p/litecoin-daemon/litecoin-0.18.1/src/test/
H A Dcuckoocache_tests.cpp330 std::deque<block_activity> last_few; in test_cache_generations() local
337 if (last_few.size() == WINDOW_SIZE) in test_cache_generations()
338 last_few.pop_front(); in test_cache_generations()
339 last_few.emplace_back(BLOCK_SIZE, set); in test_cache_generations()
341 for (auto& act : last_few) in test_cache_generations()
349 double hit = (double(count)) / (last_few.size() * POP_AMOUNT); in test_cache_generations()
/dports/net-p2p/litecoin/litecoin-0.18.1/src/test/
H A Dcuckoocache_tests.cpp330 std::deque<block_activity> last_few; in test_cache_generations() local
337 if (last_few.size() == WINDOW_SIZE) in test_cache_generations()
338 last_few.pop_front(); in test_cache_generations()
339 last_few.emplace_back(BLOCK_SIZE, set); in test_cache_generations()
341 for (auto& act : last_few) in test_cache_generations()
349 double hit = (double(count)) / (last_few.size() * POP_AMOUNT); in test_cache_generations()
/dports/net-p2p/litecoin-utils/litecoin-0.18.1/src/test/
H A Dcuckoocache_tests.cpp330 std::deque<block_activity> last_few; in test_cache_generations() local
337 if (last_few.size() == WINDOW_SIZE) in test_cache_generations()
338 last_few.pop_front(); in test_cache_generations()
339 last_few.emplace_back(BLOCK_SIZE, set); in test_cache_generations()
341 for (auto& act : last_few) in test_cache_generations()
349 double hit = (double(count)) / (last_few.size() * POP_AMOUNT); in test_cache_generations()
/dports/net-p2p/namecoin/namecoin-core-nc0.21.0.1/src/test/
H A Dcuckoocache_tests.cpp331 std::deque<block_activity> last_few; in test_cache_generations() local
338 if (last_few.size() == WINDOW_SIZE) in test_cache_generations()
339 last_few.pop_front(); in test_cache_generations()
340 last_few.emplace_back(BLOCK_SIZE, set); in test_cache_generations()
342 for (auto& act : last_few) in test_cache_generations()
350 double hit = (double(count)) / (last_few.size() * POP_AMOUNT); in test_cache_generations()
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/test/
H A Dcuckoocache_tests.cpp331 std::deque<block_activity> last_few; in test_cache_generations() local
338 if (last_few.size() == WINDOW_SIZE) in test_cache_generations()
339 last_few.pop_front(); in test_cache_generations()
340 last_few.emplace_back(BLOCK_SIZE, set); in test_cache_generations()
342 for (auto& act : last_few) in test_cache_generations()
350 double hit = (double(count)) / (last_few.size() * POP_AMOUNT); in test_cache_generations()
/dports/net-p2p/namecoin-daemon/namecoin-core-nc0.21.0.1/src/test/
H A Dcuckoocache_tests.cpp331 std::deque<block_activity> last_few; in test_cache_generations() local
338 if (last_few.size() == WINDOW_SIZE) in test_cache_generations()
339 last_few.pop_front(); in test_cache_generations()
340 last_few.emplace_back(BLOCK_SIZE, set); in test_cache_generations()
342 for (auto& act : last_few) in test_cache_generations()
350 double hit = (double(count)) / (last_few.size() * POP_AMOUNT); in test_cache_generations()
/dports/net-p2p/namecoin-utils/namecoin-core-nc0.21.0.1/src/test/
H A Dcuckoocache_tests.cpp331 std::deque<block_activity> last_few; in test_cache_generations() local
338 if (last_few.size() == WINDOW_SIZE) in test_cache_generations()
339 last_few.pop_front(); in test_cache_generations()
340 last_few.emplace_back(BLOCK_SIZE, set); in test_cache_generations()
342 for (auto& act : last_few) in test_cache_generations()
350 double hit = (double(count)) / (last_few.size() * POP_AMOUNT); in test_cache_generations()
/dports/math/gap/gap-4.11.0/pkg/ferret-1.0.2/YAPB++/source/constraints/
H A Dstabchain_perm_group.hpp60 vec1<Permutation> last_few(v.end() - TUNABLE_STABCHAIN_MERGE_DIST, v.end()); in complete_transversal() local
63 D_ASSERT(check_transversal(last_few, new_place, base_value)); in complete_transversal()
64 transversal[new_place] = mergePermutations(last_few); in complete_transversal()