80 |
|
|
81 |
type chunks = |
type chunks = |
82 |
AvailableRanges of (int64 * int64) list |
AvailableRanges of (int64 * int64) list |
83 |
(* A bitmap is encoded with '0' for empty, '1' for present *) |
(* A bitmap is encoded with '0' for empty, '1' for present '2' complete '3' verified *) |
84 |
| AvailableCharBitmap of string |
| AvailableCharBitmap of string |
85 |
(* A bitmap encoded as an array of boolean *) |
(* A bitmap encoded as a bit vector *) |
86 |
| AvailableBoolBitmap of bool array |
| AvailableBitv of Bitv.t |
87 |
|
|
88 |
type verification = |
type verification = |
89 |
NoVerification |
NoVerification |
136 |
val present_chunks : t -> (int64 * int64) list |
val present_chunks : t -> (int64 * int64) list |
137 |
val partition_size : t -> int |
val partition_size : t -> int |
138 |
val compute_bitmap : t -> unit |
val compute_bitmap : t -> unit |
139 |
val is_interesting : uploader -> bool |
val is_interesting : uploader -> bool |
140 |
val print_uploader : uploader -> unit |
val print_uploader : uploader -> unit |
141 |
|
|
142 |
(* In these two function, the 'bool' is if verification should take place |
(* In these two function, the 'bool' is if verification should take place |