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

Method generate_fixed_binary_list

python/benchmarks/common.py:202–207  ·  view source on GitHub ↗

Generate a list of bytestrings with a fixed *size*.

(self, n, size, none_prob=DEFAULT_NONE_PROB)

Source from the content-addressed store, hash-verified

200 return data
201
202 def generate_fixed_binary_list(self, n, size, none_prob=DEFAULT_NONE_PROB):
203 """
204 Generate a list of bytestrings with a fixed *size*.
205 """
206 return self._generate_varying_sequences(get_random_bytes, n,
207 size, size, none_prob)
208
209 def generate_varying_binary_list(self, n, min_size, max_size,
210 none_prob=DEFAULT_NONE_PROB):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected