Searched refs:BytesFromDisk (Results 1 – 1 of 1) sorted by relevance
231 size_t BytesFromDisk = std::min(static_cast<uint64_t>(BytesNum), NumOfFlushedBytes - ByteNo); in BackpatchByte() local232 size_t BytesFromBuffer = BytesNum - BytesFromDisk; in BackpatchByte()243 ssize_t BytesRead = fdStream()->read(Bytes, BytesFromDisk); in BackpatchByte()245 assert(BytesRead >= 0 && static_cast<size_t>(BytesRead) == BytesFromDisk); in BackpatchByte()247 Bytes[BytesFromDisk + i] = Buffer[i]; in BackpatchByte()259 fdStream()->write(Bytes, BytesFromDisk); in BackpatchByte()261 Buffer[i] = Bytes[BytesFromDisk + i]; in BackpatchByte()