Searched refs:ByteBuffer (Results 1 – 12 of 12) sorted by relevance
40 class ByteBuffer {42 ByteBuffer() : write_pos_(0) {} in ByteBuffer() function47 ByteBuffer<SizeBytes>& AppendOrDie(NONNULL const void* data, in AppendOrDie()
195 ByteBuffer<sizeof(TimestampHeader) + protocol::kMaxMessageSize>() in CopyCommandToLog()
24 import java.nio.ByteBuffer;88 long size = ByteBuffer.wrap(signature).order(ByteOrder.LITTLE_ENDIAN).getLong(); in extractMetadata()102 ByteBuffer buffer = mChannel.map(FileChannel.MapMode.READ_ONLY, readOffset, in findEndOfCDRecord()120 private Location findCDRecord(ByteBuffer buf) { in findCDRecord()169 ByteBuffer signature = mChannel.map(FileChannel.MapMode.READ_ONLY, signatureOffset, in getSignatureLocation()189 ByteBuffer buffer = mChannel.map(FileChannel.MapMode.READ_ONLY, loc.offset, loc.size); in readMetadata()
23 import java.nio.ByteBuffer;38 ByteBuffer buf = ByteBuffer.wrap(buffer).order(ByteOrder.LITTLE_ENDIAN); in readLELong()
38 ByteBuffer<kBufferSizeBytes> buffer_;65 ByteBuffer<kBufferSizeBytes> copy; in TEST_F()87 const ByteBuffer<kBufferSizeBytes> copy{buffer_}; in TEST_F()
96 const auto& buf = ByteBuffer<sizeof(first_message) + sizeof(second_message)>() in TEST()
58 using CommandBuffer = ByteBuffer<protocol::kMaxMessageSize * 2>;
19 import java.nio.ByteBuffer;369 byte[] bytes = ByteBuffer.allocate(4).putInt(value).array(); in writeInt()374 byte[] bytes = ByteBuffer.allocate(8).putLong(value).array(); in writeLong()
32 using ByteBuffer = std::vector<char>; variable179 using RawMetadata = ByteBuffer;180 using RawSignature = ByteBuffer;
21 import java.nio.ByteBuffer;206 ByteBuffer image = ByteBuffer.wrap(data); in getSignableImageSize()
65 import java.nio.ByteBuffer;945 ByteBuffer buffer = mImage.getPlanes()[0].getBuffer(); in run()
57 import java.nio.ByteBuffer;