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

Method testingOverrideMemoryPool

bolt/core/QueryCtx.h:150–152  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

148 void updateTracedBytesAndCheckLimit(uint64_t bytes);
149
150 void testingOverrideMemoryPool(std::shared_ptr<memory::MemoryPool> pool) {
151 pool_ = std::move(pool);
152 }
153
154 /// Indicates if the query is under memory arbitration or not.
155 bool testingUnderArbitration() const {

Callers 11

makeTaskMethod · 0.80
runTestMethod · 0.80
makeTaskMethod · 0.80
TEST_PFunction · 0.80
DEBUG_ONLY_TEST_PFunction · 0.80
DEBUG_ONLY_TEST_PFunction · 0.80
TEST_PFunction · 0.80
makeTaskMethod · 0.80
makeTaskMethod · 0.80
makeTaskFunction · 0.80
TEST_PFunction · 0.80

Calls

no outgoing calls

Tested by 10

makeTaskMethod · 0.64
runTestMethod · 0.64
makeTaskMethod · 0.64
TEST_PFunction · 0.64
DEBUG_ONLY_TEST_PFunction · 0.64
DEBUG_ONLY_TEST_PFunction · 0.64
TEST_PFunction · 0.64
makeTaskMethod · 0.64
makeTaskMethod · 0.64
TEST_PFunction · 0.64