Searched refs:read_bit (Results 1 – 1 of 1) sorted by relevance
27 static inline uint8_t read_bit(const std::vector<uint8_t>& input, size_t bit) { in read_bit() function62 word |= read_bit(input, i + j * CODEWORD_BITS) << j; in EncodeKey()125 scores.push_back(1 - 2 * read_bit(encoded, i * KEY_CODEWORDS + word)); in DecodeWord()