Searched refs:b2 (Results 1 – 7 of 7) sorted by relevance
| /rocksdb-6.9/db/ |
| D | write_batch_test.cc | 171 WriteBatch b1, b2; in TEST_F() local 178 b2.Put("a", "va"); in TEST_F() 183 b2.Clear(); in TEST_F() 184 b2.Put("b", "vb"); in TEST_F() 190 b2.Delete("foo"); in TEST_F() 198 b2.Clear(); in TEST_F() 199 b2.Put("c", "cc"); in TEST_F() 200 b2.Put("d", "dd"); in TEST_F() 202 b2.Put("e", "ee"); in TEST_F() 217 PrintContents(&b2)); in TEST_F() [all …]
|
| D | comparator_db_test.cc | 240 Slice b2 = Slice(b.data() + 2 + size_b1, size_b2); in Compare() local 245 return a2.compare(b2); in Compare()
|
| /rocksdb-6.9/java/src/test/java/org/rocksdb/ |
| D | WriteBatchTest.java | 123 final WriteBatch b2 = new WriteBatch()) { in testAppendOperation() 125 WriteBatchTestInternalHelper.setSequence(b2, 300); in testAppendOperation() 126 WriteBatchTestInternalHelper.append(b1, b2); in testAppendOperation() 129 b2.put("a".getBytes(UTF_8), "va".getBytes(UTF_8)); in testAppendOperation() 130 WriteBatchTestInternalHelper.append(b1, b2); in testAppendOperation() 134 b2.clear(); in testAppendOperation() 135 b2.put("b".getBytes(UTF_8), "vb".getBytes(UTF_8)); in testAppendOperation() 136 WriteBatchTestInternalHelper.append(b1, b2); in testAppendOperation() 141 b2.delete("foo".getBytes(UTF_8)); in testAppendOperation() 142 WriteBatchTestInternalHelper.append(b1, b2); in testAppendOperation()
|
| D | ColumnFamilyTest.java | 663 final byte[] b2 = new byte[]{(byte) 0x02}; in testByteCreateFolumnFamily() 671 cf3 = db.createColumnFamily(new ColumnFamilyDescriptor(b2)); in testByteCreateFolumnFamily()
|
| /rocksdb-6.9/tools/block_cache_analyzer/ |
| D | block_cache_pysim.py | 1373 self.b2 = Deque() # B2: ghost entries recently evicted from the T2 cache 1377 if self.t1 and ((key in self.b2) or (len(self.t1) > self.p)): 1383 self.b2.appendleft(old) 1408 self.p = min(self.c, self.p + max(len(self.b2) / len(self.b1), 1)) 1416 if key in self.b2: 1417 self.p = max(0, self.p - max(len(self.b1) / len(self.b2), 1)) 1419 self.b2.remove(key) 1428 total = len(self.t1) + len(self.b1) + len(self.t2) + len(self.b2) 1429 while total >= (2 * self.c) and self.b2: 1430 self.b2.pop()
|
| /rocksdb-6.9/utilities/transactions/ |
| D | write_prepared_transaction_test.cc | 416 SequenceNumber& version, size_t a1, size_t a2, size_t b1, size_t b2) { in SnapshotConcurrentAccessTestInternal() argument 432 {"WritePreparedTxnDB::UpdateSnapshots:p:" + std::to_string(b2), in SnapshotConcurrentAccessTestInternal() 435 "WritePreparedTxnDB::UpdateSnapshots:s:" + std::to_string(b2)}, in SnapshotConcurrentAccessTestInternal() 461 {"WritePreparedTxnDB::CheckAgainstSnapshots:p:" + std::to_string(b2), in SnapshotConcurrentAccessTestInternal() 464 "WritePreparedTxnDB::CheckAgainstSnapshots:s:" + std::to_string(b2)}, in SnapshotConcurrentAccessTestInternal() 1241 for (size_t b2 = b1 + 1; b2 <= b_range; b2++) { in TEST_P() local 1244 a1, a2, b1, b2); in TEST_P()
|
| /rocksdb-6.9/utilities/blob_db/ |
| D | blob_db_impl.cc | 761 bool b2 = (*finditr)->expiration_range_.second <= expiration; in FindBlobFileLocked() local 764 return (b1 || b2) ? nullptr : (*finditr); in FindBlobFileLocked()
|