Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
t1
Function · 0.80
t2
Function · 0.80
t3
Function · 0.80
t4
Function · 0.80
t5
Function · 0.80
t6
Function · 0.80
t7
Function · 0.80
th_inc
Function · 0.80
worker
Function · 0.80
test_memoize_not_thread_safe_concurrent
Function · 0.80
Calls
1
getattr
Function · 0.85
Tested by
no test coverage detected