To focus the search input from anywhere on the page, press the 'S' key.
in-package search v0.1.0
Library
Module
Module type
Parameter
Class
Class type
option_shards_to_shards_bytes shards
shards_to_option_shards_bytes shards
option_shards_to_shards_str shards
shards_to_option_shards_str shards
option_shards_to_shards_bigstr shards
Transforms an array of shards into an array of option shards.
This is mainly useful when you want to repair an array of shards using reconstruct
functions.
Remarks
Shards are copied - the returned array of shards do not share ownership with provided shards.
shards_to_option_shards_bigstr shards
Transforms array of shards to array of option shards.
This is mainly useful when you want to repair an array of shards using reconstruct
functions.
Remarks
Shards are copied - the returned array of shards do not share ownership with provided shards.
make_blank_shards_str ~count ~size_per_shard
Creates an string array
of size count
, each string is filled with zeros and of size size_per_shard
.
make_blank_shards_bytes ~count ~size_per_shard
Creates an bytes array
of size count
, each bytes is filled with zeros and of size size_per_shard
.
val make_blank_shards_bigstr :
count:int ->
size_per_shard:int ->
bigstring array
make_blank_shards_bigstr ~count ~size_per_shard
Creates an bigstring array
of size count
, each bigstring is filled with zeros and of size size_per_shard
.