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

Method inc

library/python/func/ut/test_func.py:29–31  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

27 class Counter(object):
28 @staticmethod
29 def inc():
30 Counter._qty = getattr(Counter, '_qty', 0) + 1
31 return Counter._qty
32
33 @func.memoize()
34 def t1(a):

Callers 10

t1Function · 0.80
t2Function · 0.80
t3Function · 0.80
t4Function · 0.80
t5Function · 0.80
t6Function · 0.80
t7Function · 0.80
th_incFunction · 0.80
workerFunction · 0.80

Calls 1

getattrFunction · 0.85

Tested by

no test coverage detected