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

Function iter_keys

library/python/runtime_py3/__res.py:200–205  ·  view source on GitHub ↗
(prefix)

Source from the content-addressed store, hash-verified

198
199
200def iter_keys(prefix):
201 l = len(prefix)
202 for idx in range(count()):
203 key = key_by_index(idx)
204 if key.startswith(prefix):
205 yield key, key[l:]
206
207
208def iter_py_modules(with_keys=False):

Callers 4

iterdirMethod · 0.90
iter_py_modulesFunction · 0.85
resfs_filesFunction · 0.85
__init__Method · 0.85

Calls 3

lenFunction · 0.85
rangeFunction · 0.50
countFunction · 0.50

Tested by

no test coverage detected