MCPcopy 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
237def 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
245def random_large_primitive_array():

Callers 6

random_valueFunction · 0.85
random_in_predicateFunction · 0.85
random_nin_predicateFunction · 0.85

Calls 2

random_elementFunction · 0.85
appendMethod · 0.80

Tested by

no test coverage detected