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

Method testingOverrideConfigUnsafe

bolt/core/QueryConfig.cpp:54–60  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54void QueryConfig::testingOverrideConfigUnsafe(
55 std::unordered_map<std::string, std::string>&& values) {
56 config_ = std::make_unique<config::ConfigBase>(std::move(values));
57 VLOG(1) << "Morsel-driven Bolt enabled: " << this->morselDrivenEnabled()
58 << " (morselSize=" << this->morselSize()
59 << ", queueSize=" << this->morselDrivenPrimedQueueSize() << ")";
60}
61
62std::unordered_map<std::string, std::string> QueryConfig::rawConfigsCopy()
63 const {

Callers 15

TEST_FFunction · 0.45
DEBUG_ONLY_TEST_FFunction · 0.45
TEST_FFunction · 0.45
runTestMethod · 0.45
DEBUG_ONLY_TEST_FFunction · 0.45
makeCursorParametersMethod · 0.45
runTestMethod · 0.45
TEST_FFunction · 0.45
runQueryMethod · 0.45
TEST_FFunction · 0.45
runTestMethod · 0.45
TEST_PFunction · 0.45

Calls 3

morselDrivenEnabledMethod · 0.95
morselSizeMethod · 0.95

Tested by 15

TEST_FFunction · 0.36
DEBUG_ONLY_TEST_FFunction · 0.36
TEST_FFunction · 0.36
runTestMethod · 0.36
DEBUG_ONLY_TEST_FFunction · 0.36
makeCursorParametersMethod · 0.36
runTestMethod · 0.36
TEST_FFunction · 0.36
runQueryMethod · 0.36
TEST_FFunction · 0.36
runTestMethod · 0.36
TEST_PFunction · 0.36