Home | History | Annotate | Download | only in disk_cache

Lines Matching refs:num_bits

20   Bitmap(int num_bits, bool clear_bits);
23 // has to be valid until this object destruction. |num_bits| is the number of
25 Bitmap(uint32* map, int num_bits, int num_words);
30 // If |num_bits| < Size(), the extra bits will be discarded.
31 // If |num_bits| > Size(), the extra bits will be filled with zeros if
34 void Resize(int num_bits, bool clear_bits);
109 // Returns number of allocated words required for a bitmap of size |num_bits|.
110 static int RequiredArraySize(int num_bits) {
112 if (num_bits <= kIntBits)
115 return (num_bits + kIntBits - 1) >> kLogIntBits;