Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/catboost/catboost
/ job
Function
job
library/python/func/ut/test_func.py:266–269 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
264
def
test_memoize_not_thread_safe_stress():
265
@func.memoize(thread_safe=False)
266
def
job():
267
for
_ in range(1000):
268
hash = random.getrandbits(128)
269
return
hash
270
271
def
worker(n):
272
hash = job()
Callers
1
worker
Function · 0.70
Calls
1
range
Function · 0.50
Tested by
no test coverage detected