MCPcopy Create free account
hub / github.com/alibaba/zvec / TEST_P

Function TEST_P

tests/core/algorithm/flat/flat_memory_lifetime_test.cc:93–96  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

91};
92
93TEST_P(FlatMemoryLifetimeTest, LegacyPointerSurvivesTemporaryProvider) {
94 check_vector(searcher_->get_vector(key(3)), 3);
95 check_vector(searcher_->get_vector(key(kCount - 1)), kCount - 1);
96}
97
98TEST_P(FlatMemoryLifetimeTest, CallerBlocksSurviveProviderAndLaterReads) {
99 IndexStorage::MemoryBlock first, tail, copy;

Callers

nothing calls this directly

Calls 15

push_backMethod · 0.80
to_stringFunction · 0.50
get_vectorMethod · 0.45
create_providerMethod · 0.45
resetMethod · 0.45
dataMethod · 0.45
create_contextMethod · 0.45
set_group_paramsMethod · 0.45
set_group_byMethod · 0.45
set_fetch_vectorMethod · 0.45
search_implMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected