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 bool expectedAbortAfterShrink{false};
1038
1039 std::string debugString() const {
1040 return fmt::format(
1041 "capacity: {}, reclaimable: {}, allocateBytes: {}, expectedCapacityAfterShrink: {}, expectedUsagedAfterShrink: {}, expectedAbortAfterShrink: {}",
1042 succinctBytes(capacity),
1043 reclaimable,
1044 succinctBytes(allocateBytes),
1045 succinctBytes(expectedCapacityAfterShrink),
1046 succinctBytes(expectedUsagedAfterShrink),
1047 expectedAbortAfterShrink);
1048 }
1049 };
1050
1051 struct {

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