Home | History | Annotate | Download | only in safe_browsing

Lines Matching refs:deltas

68       // consecutive deltas have been encoded.
76 // Continue the run of deltas.
100 std::vector<uint16> *deltas) {
101 DCHECK(index && deltas);
103 deltas_.swap(*deltas);
122 // Capture the upper bound of our target entry's deltas.
133 // Scan forward accumulating deltas while a match is possible.
143 // The deltas for this |index_| entry run to the next index entry,
144 // or the end of the deltas.
180 std::vector<uint16> deltas;
181 const size_t deltas_bytes = sizeof(deltas[0]) * header.deltas_size;
203 // Read vector of deltas.
204 deltas.resize(header.deltas_size);
205 read = fread(&(deltas[0]), sizeof(deltas[0]), deltas.size(), file.get());
206 if (read != deltas.size())
208 MD5Update(&context, &(deltas[0]), deltas_bytes);
221 // Steals contents of |index| and |deltas| via swap().
222 return new PrefixSet(&index, &deltas);
282 // item in |index_| plus the count of deltas between the items.