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

Method debugString

bolt/common/memory/tests/MockSharedArbitratorTest.cpp:1039–1048  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1037 std::string debugString() const {
1038 return fmt::format(
1039 "capacity: {}, reclaimable: {}, allocateBytes: {}, expectedCapacityAfterShrink: {}, expectedUsagedAfterShrink: {}, expectedAbortAfterShrink: {}",
1040 succinctBytes(capacity),
1041 reclaimable,
1042 succinctBytes(allocateBytes),
1043 succinctBytes(expectedCapacityAfterShrink),
1044 succinctBytes(expectedUsagedAfterShrink),
1045 expectedAbortAfterShrink);
1046 }
1047 };
1048
1049 struct {
1050 std::string testName;
1051 std::vector<TestTask> testTasks;

Callers 13

TEST_FFunction · 0.45
debugStringFunction · 0.45
TEST_FFunction · 0.45
debugStringMethod · 0.45
DEBUG_ONLY_TEST_FFunction · 0.45
TEST_FFunction · 0.45
TEST_PFunction · 0.45
TEST_PFunction · 0.45
TEST_FFunction · 0.45
TEST_PFunction · 0.45
TEST_FFunction · 0.45
TEST_FFunction · 0.45

Calls 1

succinctBytesFunction · 0.85

Tested by

no test coverage detected