MCPcopy Create free account
hub / github.com/baidu/babylon / SetUp

Method SetUp

test/reusable/test_message.cpp:37–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

35 using Message = ::google::protobuf::Message;
36
37 void SetUp() override {
38 allocator.set_page_size(256);
39 manager.resource().set_page_allocator(allocator);
40 manager.set_recreate_interval(1);
41 }
42
43 const ::std::string long_string =
44 ::std::string(::std::string().capacity() + 10, 'x');

Callers

nothing calls this directly

Calls 4

resourceMethod · 0.80
set_recreate_intervalMethod · 0.80
set_page_sizeMethod · 0.45
set_page_allocatorMethod · 0.45

Tested by

no test coverage detected