mldonkey-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonSwarming.


From: mldonkey-commits
Subject: [Mldonkey-commits] Changes to mldonkey/src/daemon/common/commonSwarming.ml
Date: Sat, 12 Nov 2005 06:20:24 -0500

Index: mldonkey/src/daemon/common/commonSwarming.ml
diff -u mldonkey/src/daemon/common/commonSwarming.ml:1.28 
mldonkey/src/daemon/common/commonSwarming.ml:1.29
--- mldonkey/src/daemon/common/commonSwarming.ml:1.28   Thu Oct  6 10:19:29 2005
+++ mldonkey/src/daemon/common/commonSwarming.ml        Sat Nov 12 11:20:19 2005
@@ -80,10 +80,10 @@
 
 type chunks =
   AvailableRanges of (int64 * int64) list
-(* 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 *)
 | AvailableCharBitmap of string 
-(* A bitmap encoded as an array of boolean *)
-| AvailableBoolBitmap of bool array
+(* A bitmap encoded as a bit vector *)
+| AvailableBitv of Bitv.t
 
 type verification =
   NoVerification
@@ -136,7 +136,7 @@
   val present_chunks : t -> (int64 * int64) list
   val partition_size : t -> int
   val compute_bitmap : t -> unit
-  val is_interesting : uploader -> bool        
+  val is_interesting : uploader -> bool 
   val print_uploader : uploader -> unit
 
 (* In these two function, the 'bool' is if verification should take place




reply via email to

[Prev in Thread] Current Thread [Next in Thread]