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

Function TEST

test/concurrent/test_vector.cpp:9–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7using ::babylon::ConcurrentVector;
8
9TEST(concurrent_vector, construct_with_block_size) {
10 { ConcurrentVector<::std::string> vector; }
11 { ConcurrentVector<::std::string> vector(128); }
12 { ConcurrentVector<::std::string, 1024> vector; }
13 { ConcurrentVector<::std::string, 1024> vector(128); }
14}
15
16TEST(concurrent_vector, movable) {
17 ConcurrentVector<::std::string> vector;

Callers

nothing calls this directly

Calls 14

block_sizeMethod · 0.80
copy_nMethod · 0.80
fill_nMethod · 0.80
snapshotMethod · 0.80
reserved_snapshotMethod · 0.80
emplace_backMethod · 0.80
gcMethod · 0.80
unsafe_gcMethod · 0.80
sizeMethod · 0.45
reserveMethod · 0.45
dataMethod · 0.45
beginMethod · 0.45

Tested by

no test coverage detected