MCPcopy Create free account
hub / github.com/apache/arrow / _multiplicate_sequence

Function _multiplicate_sequence

python/benchmarks/common.py:35–37  ·  view source on GitHub ↗
(base, target_size)

Source from the content-addressed store, hash-verified

33
34
35def _multiplicate_sequence(base, target_size):
36 q, r = divmod(target_size, len(base))
37 return [base] * q + [base[:r]]
38
39
40def get_random_bytes(n, seed=42):

Callers 1

get_random_bytesFunction · 0.85

Calls 1

lenFunction · 0.85

Tested by

no test coverage detected