Searched refs:encoded_chunk_id (Results 1 – 1 of 1) sorted by relevance
104 int GetListIdBit(const int encoded_chunk_id) { in GetListIdBit() argument105 return encoded_chunk_id & 1; in GetListIdBit()107 int DecodeChunkId(int encoded_chunk_id) { in DecodeChunkId() argument108 return encoded_chunk_id >> 1; in DecodeChunkId()821 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id); in InsertAddChunk() local822 if (store->CheckAddChunk(encoded_chunk_id)) in InsertAddChunk()825 store->SetAddChunk(encoded_chunk_id); in InsertAddChunk()830 store->WriteAddPrefix(encoded_chunk_id, chunk_data.PrefixAt(i)); in InsertAddChunk()836 store->WriteAddHash(encoded_chunk_id, chunk_data.FullHashAt(i)); in InsertAddChunk()852 const int encoded_chunk_id = EncodeChunkId(chunk_id, list_id); in InsertSubChunk() local[all …]