Searched refs:sparse_value (Results 1 – 1 of 1) sorted by relevance
676 bool sparse_value) { in EncodeUint16SparseBitVector() argument678 EncodeUnsignedLeb128(out, std::count(vector.begin(), vector.end(), sparse_value)); in EncodeUint16SparseBitVector()680 if (vector[idx] == sparse_value) { in EncodeUint16SparseBitVector()690 bool sparse_value, in DecodeUint16SparseBitVector() argument695 std::fill(vector->begin(), vector->end(), !sparse_value); in DecodeUint16SparseBitVector()707 (*vector)[idx] = sparse_value; in DecodeUint16SparseBitVector()