Searched refs:sparse_value (Results 1 – 1 of 1) sorted by relevance
668 bool sparse_value) { in EncodeUint16SparseBitVector() argument670 EncodeUnsignedLeb128(out, std::count(vector.begin(), vector.end(), sparse_value)); in EncodeUint16SparseBitVector()672 if (vector[idx] == sparse_value) { in EncodeUint16SparseBitVector()681 bool sparse_value) { in DecodeUint16SparseBitVector() argument683 std::fill(vector->begin(), vector->end(), !sparse_value); in DecodeUint16SparseBitVector()688 (*vector)[idx] = sparse_value; in DecodeUint16SparseBitVector()