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

Function get_counter

library/python/func/ut/test_func.py:175–176  ·  view source on GitHub ↗
(start)

Source from the content-addressed store, hash-verified

173
174 @func.memoize(thread_local=True)
175 def get_counter(start):
176 return Counter(start)
177
178 def th_inc():
179 assert get_counter(0).inc() == 1

Callers 1

th_incFunction · 0.85

Calls 1

CounterClass · 0.70

Tested by

no test coverage detected