MCPcopy Create free account
hub / github.com/bytedance/bolt / isHashBuildMemoryPool

Function isHashBuildMemoryPool

bolt/exec/HashJoinBridge.cpp:227–229  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

225}
226
227bool isHashBuildMemoryPool(const memory::MemoryPool& pool) {
228 return folly::StringPiece(pool.name()).endsWith("HashBuild");
229}
230
231bool isHashProbeMemoryPool(const memory::MemoryPool& pool) {
232 return folly::StringPiece(pool.name()).endsWith("HashProbe");

Callers 3

reclaimMethod · 0.85
DEBUG_ONLY_TEST_FFunction · 0.85
TEST_PFunction · 0.85

Calls 2

endsWithMethod · 0.80
nameMethod · 0.45

Tested by 2

DEBUG_ONLY_TEST_FFunction · 0.68
TEST_PFunction · 0.68