MCPcopy Create free account
hub / github.com/apple/foundationdb / key

Method key

tests/python_tests/python_performance.py:83–84  ·  view source on GitHub ↗
(self, num)

Source from the content-addressed store, hash-verified

81 return self.key(random.randint(0, self.key_count - 1))
82
83 def key(self, num):
84 return "%0*d" % (self.key_size, num)
85
86 def value(self, key):
87 return self.value_str

Callers 5

random_keyMethod · 0.95
insert_dataMethod · 0.95
run_clear_rangeMethod · 0.95
run_get_rangeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected