/[mldonkey]/mldonkey/src/daemon/common/commonSwarming.ml
ViewVC logotype

Diff of /mldonkey/src/daemon/common/commonSwarming.ml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.28 by spiralvoice, Thu Oct 6 10:19:29 2005 UTC revision 1.29 by spiralvoice, Sat Nov 12 11:20:19 2005 UTC
# Line 80  exception VerifierNotReady Line 80  exception VerifierNotReady
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
# Line 136  module type Maker = functor (M : CommonE Line 136  module type Maker = functor (M : CommonE
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

Legend:
Removed from v.1.28  
changed lines
  Added in v.1.29

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26