Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
35
def
_multiplicate_sequence(base, target_size):
36
q, r = divmod(target_size, len(base))
37
return
[base] * q + [base[:r]]
38
39
40
def
get_random_bytes(n, seed=42):
Callers
1
get_random_bytes
Function · 0.85
Calls
1
len
Function · 0.85
Tested by
no test coverage detected