Home
last modified time | relevance | path

Searched defs:buf (Results 1 – 25 of 89) sorted by relevance

1234

/rocksdb-6.9/utilities/persistent_cache/
Dblock_cache_tier_file_buffer.h32 void Append(const char* buf, const size_t size) { in Append()
70 auto* buf = new CacheWriteBuffer(buffer_size_); in CacheWriteBufferAllocator() local
83 delete buf; in ~CacheWriteBufferAllocator() local
95 CacheWriteBuffer* const buf = bufs_.front(); in Allocate() local
100 void Deallocate(CacheWriteBuffer* const buf) { in Deallocate()
Dblock_cache_tier_file.cc144 CacheWriteBuffer* buf = (*bufs)[*woff]; in Append() local
373 CacheWriteBuffer* const buf = alloc_->Allocate(); in ExpandBuffer() local
409 auto* buf = bufs_[buf_doff_]; in DispatchBuffer() local
483 auto* buf = bufs_[i]; in ReadBuffer() local
561 void ThreadedWriter::Write(WritableFile* const file, CacheWriteBuffer* buf, in Write()
/rocksdb-6.9/util/
Dcoding.h209 char buf[sizeof(value)]; in PutFixed16() local
220 char buf[sizeof(value)]; in PutFixed32() local
231 char buf[sizeof(value)]; in PutFixed64() local
238 char buf[5]; in PutVarint32() local
244 char buf[10]; in PutVarint32Varint32() local
252 char buf[15]; in PutVarint32Varint32Varint32() local
271 char buf[kMaxVarint64Length]; in PutVarint64() local
277 char buf[kMaxVarint64Length]; in PutVarsignedint64() local
284 char buf[20]; in PutVarint64Varint64() local
291 char buf[15]; in PutVarint32Varint64() local
[all …]
Dcrc32c.cc360 uint32_t ExtendImpl(uint32_t crc, const char* buf, size_t size) { in ExtendImpl()
448 uint32_t ExtendPPCImpl(uint32_t crc, const char *buf, size_t size) { in ExtendPPCImpl()
474 uint32_t ExtendARMImpl(uint32_t crc, const char *buf, size_t size) { in ExtendARMImpl()
546 #define CRCtriplet(crc, buf, offset) \ argument
551 #define CRCduplet(crc, buf, offset) \ argument
555 #define CRCsinglet(crc, buf, offset) \ argument
687 uint32_t crc32c_3way(uint32_t crc, const char* buf, size_t len) { in crc32c_3way()
1251 uint32_t Extend(uint32_t crc, const char* buf, size_t size) { in Extend()
Dfile_checksum_helper.h41 char buf[sizeof(v)]; in Uint32ToString() local
74 const char* buf = s.c_str(); in StringToUint32() local
Dcrc32c_test.cc70 char buf[32]; in TEST() local
145 inline uint64_t fnv64_buf(const void* buf, in fnv64_buf()
Dstring_util.cc83 char buf[30]; in AppendNumberTo() local
94 char buf[10]; in AppendEscapedStringTo() local
109 char buf[19]; in NumberToHumanString() local
137 char buf[20]; in BytesToHumanString() local
/rocksdb-6.9/java/rocksjni/
Dcomparatorjnicallback.cc82 void* buf = _env->GetDirectBufferAddress(tlb->jbuf); in ComparatorJniCallback() local
174 void* buf = env->GetDirectBufferAddress(m_jcompare_buf_a); in ~ComparatorJniCallback() local
182 void* buf = env->GetDirectBufferAddress(m_jcompare_buf_b); in ~ComparatorJniCallback() local
190 void* buf = env->GetDirectBufferAddress(m_jshortest_buf_start); in ~ComparatorJniCallback() local
198 void* buf = env->GetDirectBufferAddress(m_jshortest_buf_limit); in ~ComparatorJniCallback() local
206 void* buf = env->GetDirectBufferAddress(m_jshort_buf_key); in ~ComparatorJniCallback() local
595 void* buf = env->GetDirectBufferAddress(jreuse_buffer); in ReuseBuffer() local
Dslice.cc41 char* buf = new char[len + 1]; in Java_org_rocksdb_AbstractSlice_createNewSliceFromString() local
139 jbyte* buf = new jbyte[len]; in Java_org_rocksdb_Slice_createNewSlice0() local
166 char* buf = new char[len]; in Java_org_rocksdb_Slice_createNewSlice1() local
214 const char* buf = slice->data_ - internalBufferOffset; in Java_org_rocksdb_Slice_clear0() local
240 const char* buf = slice->data_ - internalBufferOffset; in Java_org_rocksdb_Slice_disposeInternalBuf() local
329 const char* buf = slice->data_ - internalBufferOffset; in Java_org_rocksdb_DirectSlice_clear0() local
356 const char* buf = slice->data_ - internalBufferOffset; in Java_org_rocksdb_DirectSlice_disposeInternalBuf() local
/rocksdb-6.9/java/src/test/java/org/rocksdb/util/
DJNIComparatorTest.java76 final ByteBuffer buf = ByteBuffer.allocate(4); in storeWithJavaComparator() local
101 final ByteBuffer buf = ByteBuffer.allocate(4); in storeWithCppComparator() local
124 final ByteBuffer buf = ByteBuffer.allocate(4); in readAllWithJavaComparator() local
155 final ByteBuffer buf = ByteBuffer.allocate(4); in readAllWithCppComparator() local
/rocksdb-6.9/tools/
Dldb_cmd_test.cc90 char buf[16]; in TEST_F() local
273 char buf[16]; in TEST_F() local
281 char buf[16]; in TEST_F() local
289 char buf[16]; in TEST_F() local
297 char buf[16]; in TEST_F() local
360 char buf[16]; in TEST_F() local
368 char buf[16]; in TEST_F() local
376 char buf[16]; in TEST_F() local
384 char buf[16]; in TEST_F() local
/rocksdb-6.9/utilities/blob_db/
Dblob_log_writer.cc85 std::string buf; in AddRecord() local
97 std::string buf; in AddRecord() local
104 void Writer::ConstructBlobHeader(std::string* buf, const Slice& key, in ConstructBlobHeader()
Dblob_log_reader.cc27 Status Reader::ReadSlice(uint64_t size, Slice* slice, char* buf) { in ReadSlice()
/rocksdb-6.9/table/block_based/
Dreader_common.cc21 Status VerifyChecksum(const ChecksumType type, const char* buf, size_t len, in VerifyChecksum()
/rocksdb-6.9/table/
Dmock_table.cc108 char buf[4]; in GetAndWriteNextID() local
115 char buf[4]; in GetIDFromFile() local
/rocksdb-6.9/file/
Dfilename.cc61 char buf[100]; in MakeFileName() local
156 char buf[100]; in DescriptorFileName() local
200 char buf[50]; in OldInfoLogFileName() local
227 char buf[100]; in MetaDatabaseName() local
Drandom_access_file_reader.cc44 AlignedBuffer buf; in Read() local
226 AlignedBuffer buf; in MultiRead() local
Dfilename.h118 char buf[260]; member
/rocksdb-6.9/db/
Dmalloc_stats.cc44 std::unique_ptr<char[]> buf{new char[kMallocStatusLen + 1]}; in DumpMallocStats() local
Dcuckoo_table_db_test.cc100 char buf[100]; in FilesPerLevel() local
194 char buf[100]; in Key() local
Dlog_reader.cc187 char buf[40]; in ReadRecord() local
486 char buf[40]; in ReadRecord() local
Ddb_tailing_iter_test.cc54 char buf[32]; in TEST_F() local
277 char buf[32]; in TEST_F() local
363 char buf[100]; in TEST_F() local
/rocksdb-6.9/options/
Dcf_options.cc180 char buf[10]; in Dump() local
/rocksdb-6.9/examples/
Dmulti_processes_example.cc79 char buf[sizeof(k)]; in Key() local
115 const char* buf = key.c_str(); in Key() local
/rocksdb-6.9/memtable/
Dinlineskiplist_test.cc67 char* buf = list->AllocateKey(sizeof(Key)); in Insert() local
74 char* buf = list->AllocateKey(sizeof(Key)); in InsertWithHint() local
137 char* buf = list.AllocateKey(sizeof(Key)); in TEST_F() local
408 char* buf = list_.AllocateKey(sizeof(Key)); in WriteStep() local
418 char* buf = list_.AllocateKey(sizeof(Key)); in ConcurrentWriteStep() local

1234