Lines Matching defs:num_words
642 Chunk::Chunk(const uint64_t* begin, size_t num_words)
643 : begin_(begin), current_(begin), end_(begin_ + num_words) {}
669 bool Chunk::ReadChunk(size_t num_words, Chunk* out_chunk) {
670 if (current_ + num_words > end_)
673 *out_chunk = Chunk(current_, num_words);
674 current_ += num_words;
679 auto num_words = BytesToWords(length);
680 if (current_ + num_words > end_)
685 current_ += num_words;
689 bool Chunk::ReadInPlace(size_t num_words, const void** out_ptr) {
690 if (current_ + num_words > end_)
693 current_ += num_words;