Searched refs:block_contents (Results 1 – 3 of 3) sorted by relevance
/external/tensorflow/tensorflow/core/lib/io/ |
D | table_builder.cc | 174 StringPiece block_contents; in WriteBlock() local 179 block_contents = raw; in WriteBlock() 186 block_contents = *compressed; in WriteBlock() 190 block_contents = raw; in WriteBlock() 196 WriteRawBlock(block_contents, type, handle); in WriteBlock() 201 void TableBuilder::WriteRawBlock(const StringPiece& block_contents, in WriteRawBlock() argument 205 handle->set_size(block_contents.size()); in WriteRawBlock() 206 r->status = r->file->Append(block_contents); in WriteRawBlock() 210 uint32 crc = crc32c::Value(block_contents.data(), block_contents.size()); in WriteRawBlock() 215 r->offset += block_contents.size() + kBlockTrailerSize; in WriteRawBlock()
|
/external/leveldb/table/ |
D | table_builder.cc | 150 Slice block_contents; in WriteBlock() local 155 block_contents = raw; in WriteBlock() 162 block_contents = *compressed; in WriteBlock() 166 block_contents = raw; in WriteBlock() 172 WriteRawBlock(block_contents, type, handle); in WriteBlock() 177 void TableBuilder::WriteRawBlock(const Slice& block_contents, in WriteRawBlock() argument 181 handle->set_size(block_contents.size()); in WriteRawBlock() 182 r->status = r->file->Append(block_contents); in WriteRawBlock() 186 uint32_t crc = crc32c::Value(block_contents.data(), block_contents.size()); in WriteRawBlock() 191 r->offset += block_contents.size() + kBlockTrailerSize; in WriteRawBlock()
|
/external/openscreen/discovery/mdns/ |
D | mdns_records.cc | 402 std::vector<uint8_t> block_contents; in NsecRecordRdata() local 414 if (!block_contents.empty()) { in NsecRecordRdata() 416 encoded_types_.push_back(static_cast<uint8_t>(block_contents.size())); in NsecRecordRdata() 417 encoded_types_.insert(encoded_types_.end(), block_contents.begin(), in NsecRecordRdata() 418 block_contents.end()); in NsecRecordRdata() 420 block_contents = std::vector<uint8_t>(); in NsecRecordRdata() 426 if (block_contents.size() <= byte_bit_is_at) { in NsecRecordRdata() 427 block_contents.insert(block_contents.end(), in NsecRecordRdata() 428 byte_bit_is_at - block_contents.size() + 1, 0x00); in NsecRecordRdata() 431 block_contents[byte_bit_is_at] |= byte_mask; in NsecRecordRdata() [all …]
|