Home | History | Annotate | Download | only in flip_server

Lines Matching defs:buffer

14 // The ring buffer is a circular buffer, that is, reads or writes may wrap
19 // What is the penalty for using this over a normal, linear buffer?
23 // In the proxy, this class is used as a fixed size buffer between
31 // Resize the buffer to the size specified here. If the buffer_size passed
32 // in here is smaller than the amount of data in the buffer, then the oldest
34 // This means: If the buffer size is increasing, all data that was resident
35 // in the buffer prior to this call will be resident after this call.
52 // Stores a pointer into the ring buffer in *ptr, and stores the number of
57 // Stores a pointer into the ring buffer in *ptr, and stores the number of
65 // Removes all data from the ring buffer.
68 // Reserves contiguous writable empty space in the buffer of size bytes.
69 // Since the point of this class is to have a fixed size buffer, be careful
70 // not to inadvertently resize the buffer using Reserve(). If the reserve
71 // size is <= BytesFree(), it is guaranteed that the buffer size will not
73 // This can be an expensive operation, it may new a buffer copy all existing
74 // data and delete the old data. Even if the existing buffer does not need
77 // or equal to BytesFree(), it is guaranteed that the buffer size will not
94 const char* buffer() const { return buffer_.get(); }