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

Method generate_varying_binary_list

python/benchmarks/common.py:209–216  ·  view source on GitHub ↗

Generate a list of bytestrings with a random size between *min_size* and *max_size*.

(self, n, min_size, max_size,
                                     none_prob=DEFAULT_NONE_PROB)

Source from the content-addressed store, hash-verified

207 size, size, none_prob)
208
209 def generate_varying_binary_list(self, n, min_size, max_size,
210 none_prob=DEFAULT_NONE_PROB):
211 """
212 Generate a list of bytestrings with a random size between
213 *min_size* and *max_size*.
214 """
215 return self._generate_varying_sequences(get_random_bytes, n,
216 min_size, max_size, none_prob)
217
218 def generate_ascii_string_list(self, n, min_size, max_size,
219 none_prob=DEFAULT_NONE_PROB):

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected