Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FoundationDB/fdb-document-layer
/ random_array
Function
random_array
test/correctness/gen.py:237–242 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
235
236
237
def
random_array():
238
arr = []
239
for
i in range(global_prng.randint(0, 6)):
240
el = random_element()
241
arr.append(el[1])
242
return
arr
243
244
245
def
random_large_primitive_array():
Callers
6
random_value
Function · 0.85
random_in_predicate
Function · 0.85
random_nin_predicate
Function · 0.85
random_update_operator_add_to_set
Function · 0.85
random_update_operator_pull_all
Function · 0.85
random_update_operator_push
Function · 0.85
Calls
2
random_element
Function · 0.85
append
Method · 0.80
Tested by
no test coverage detected