MCPcopy Create free account
hub / github.com/catboost/catboost / with_lock

Function with_lock

library/cpp/testing/unittest/registar.cpp:328–330  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

326
327void NUnitTest::TTestBase::RunAfterTest(std::function<void()> f) {
328 with_lock (AfterTestFunctionsLock_) {
329 AfterTestFunctions_.emplace_back(std::move(f));
330 }
331}
332
333bool NUnitTest::TTestBase::CheckAccessTest(const char* test) {

Callers

nothing calls this directly

Calls 3

moveFunction · 0.50
emplace_backMethod · 0.45
swapMethod · 0.45

Tested by

no test coverage detected