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

Class X

util/system/tls_ut.cpp:7–23  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6Y_UNIT_TEST_SUITE(TTestTLS) {
7 struct X {
8 inline X()
9 : V(0)
10 {
11 }
12
13 inline void Do() {
14 ++TlsRef(V);
15 }
16
17 inline int Get() {
18 return TlsRef(V);
19 }
20
21 Y_THREAD(int)
22 V;
23 };
24
25 Y_UNIT_TEST(TestHugeSetup) {
26 TArrayHolder<X> x(new X[100000]);

Callers 1

x2cFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected