| /rocksdb-6.9/table/block_based/ |
| D | block_based_table_factory.cc | 305 snprintf(buffer, kBufferSize, in GetPrintableTableOptions() 309 snprintf(buffer, kBufferSize, in GetPrintableTableOptions() 316 snprintf(buffer, kBufferSize, " index_type: %d\n", in GetPrintableTableOptions() 322 snprintf(buffer, kBufferSize, " index_shortening: %d\n", in GetPrintableTableOptions() 333 snprintf(buffer, kBufferSize, " no_block_cache: %d\n", in GetPrintableTableOptions() 336 snprintf(buffer, kBufferSize, " block_cache: %p\n", in GetPrintableTableOptions() 363 snprintf(buffer, kBufferSize, " persistent_cache: %p\n", in GetPrintableTableOptions() 386 snprintf(buffer, kBufferSize, " partition_filters: %d\n", in GetPrintableTableOptions() 392 snprintf(buffer, kBufferSize, " filter_policy: %s\n", in GetPrintableTableOptions() 406 snprintf(buffer, kBufferSize, " format_version: %d\n", in GetPrintableTableOptions() [all …]
|
| /rocksdb-6.9/utilities/persistent_cache/ |
| D | persistent_cache_tier.cc | 22 snprintf(buffer, kBufferSize, " path: %s\n", path.c_str()); in ToString() 24 snprintf(buffer, kBufferSize, " enable_direct_reads: %d\n", in ToString() 27 snprintf(buffer, kBufferSize, " enable_direct_writes: %d\n", in ToString() 30 snprintf(buffer, kBufferSize, " cache_size: %" PRIu64 "\n", cache_size); in ToString() 32 snprintf(buffer, kBufferSize, " cache_file_size: %" PRIu32 "\n", in ToString() 35 snprintf(buffer, kBufferSize, " writer_qdepth: %" PRIu32 "\n", in ToString() 38 snprintf(buffer, kBufferSize, " pipeline_writes: %d\n", pipeline_writes); in ToString() 40 snprintf(buffer, kBufferSize, in ToString() 44 snprintf(buffer, kBufferSize, " write_buffer_size: %" PRIu32 "\n", in ToString() 47 snprintf(buffer, kBufferSize, " writer_dispatch_size: %" PRIu64 "\n", in ToString() [all …]
|
| /rocksdb-6.9/util/ |
| D | string_util.cc | 45 return snprintf(output, len, "%" PRIu64 " us", micros); in AppendHumanMicros() 47 return snprintf(output, len, "%.3lf ms", in AppendHumanMicros() 50 return snprintf(output, len, "%.3lf sec", in AppendHumanMicros() 53 return snprintf(output, len, "%02" PRIu64 ":%05.3f M:S", in AppendHumanMicros() 70 return snprintf(output, len, "%" PRIu64 "TB", bytes >> 40); in AppendHumanBytes() 72 return snprintf(output, len, "%" PRIu64 "GB", bytes >> 30); in AppendHumanBytes() 78 return snprintf(output, len, "%" PRIu64 "B", bytes); in AppendHumanBytes() 84 snprintf(buf, sizeof(buf), "%" PRIu64, num); in AppendNumberTo() 95 snprintf(buf, sizeof(buf), "\\x%02x", in AppendEscapedStringTo() 112 snprintf(buf, sizeof(buf), "%" PRIi64, num); in NumberToHumanString() [all …]
|
| /rocksdb-6.9/tools/ |
| D | ldb_cmd_test.cc | 91 snprintf(buf, sizeof(buf), "%08d", i); in TEST_F() 274 snprintf(buf, sizeof(buf), "%08d", i); in TEST_F() 282 snprintf(buf, sizeof(buf), "%08d", i); in TEST_F() 290 snprintf(buf, sizeof(buf), "%08d", i); in TEST_F() 298 snprintf(buf, sizeof(buf), "%08d", i); in TEST_F() 320 snprintf(b_buf, sizeof(b_buf), "%08d", 0); in TEST_F() 361 snprintf(buf, sizeof(buf), "%08d", i); in TEST_F() 369 snprintf(buf, sizeof(buf), "%08d", i); in TEST_F() 377 snprintf(buf, sizeof(buf), "%08d", i); in TEST_F() 385 snprintf(buf, sizeof(buf), "%08d", i); in TEST_F() [all …]
|
| D | sst_dump_test.cc | 30 snprintf(buf, sizeof(buf), "k_%04d", i); in MakeKey() 37 snprintf(buf, sizeof(buf), "v_%04d", i); in MakeValue() 126 snprintf(usage[0], optLength, "./sst_dump"); in PopulateCommandArgs() 127 snprintf(usage[1], optLength, "%s", command); in PopulateCommandArgs() 128 snprintf(usage[2], optLength, "--file=%s", file_path.c_str()); in PopulateCommandArgs()
|
| D | trace_analyzer_tool.cc | 577 ret = snprintf(buffer_, sizeof(buffer_), in MakeStatistics() 630 ret = snprintf(buffer_, sizeof(buffer_), in MakeStatistics() 681 ret = snprintf(buffer_, sizeof(buffer_), in MakeStatisticKeyStatsOrPrefix() 712 snprintf(buffer_, sizeof(buffer_), in MakeStatisticKeyStatsOrPrefix() 819 ret = snprintf(buffer_, sizeof(buffer_), "%u\n", 0); in MakeStatisticQPS() 831 ret = snprintf(buffer_, sizeof(buffer_), "%u\n", time_it.second); in MakeStatisticQPS() 880 ret = snprintf(buffer_, sizeof(buffer_), "%" PRIu64 " %.12f\n", in MakeStatisticQPS() 917 ret = snprintf(buffer_, sizeof(buffer_), in MakeStatisticQPS() 971 ret = snprintf(buffer_, sizeof(buffer_), "%u ", v); in MakeStatisticQPS() 973 ret = snprintf(buffer_, sizeof(buffer_), "%u\n", v); in MakeStatisticQPS() [all …]
|
| /rocksdb-6.9/db/ |
| D | db_tailing_iter_test.cc | 55 snprintf(buf, sizeof(buf), "%016d", i); in TEST_F() 79 snprintf(buf1, sizeof(buf1), "00a0%016d", i * 5); in TEST_F() 88 snprintf(buf2, sizeof(buf2), "00a0%016d", i * 5 - 2); in TEST_F() 106 snprintf(buf1, sizeof(buf1), "00a0%016d", i * 5); in TEST_F() 115 snprintf(buf2, sizeof(buf2), "00a0%016d", i * 5 - 2); in TEST_F() 136 snprintf(bufe, sizeof(bufe), "00b0%016d", 0); in TEST_F() 171 snprintf(buf1, sizeof(buf1), "00a0%016d", i * 5); in TEST_F() 172 snprintf(buf3, sizeof(buf3), "00b0%016d", i * 5); in TEST_F() 241 snprintf(buf1, sizeof(buf1), "00a0%016d", i * 5); in TEST_F() 278 snprintf(buf, sizeof(buf), "1%015d", i); in TEST_F() [all …]
|
| D | internal_stats.cc | 66 int line_size = snprintf( in PrintLevelStatsHeader() 123 snprintf( in PrintLevelStats() 565 snprintf(buf, sizeof(buf), in HandleLevelStats() 963 snprintf(buf, sizeof(buf), in DumpDBStats() 992 snprintf(buf, sizeof(buf), in DumpDBStats() 1002 snprintf(buf, sizeof(buf), in DumpDBStats() 1023 snprintf( in DumpDBStats() 1042 snprintf( in DumpDBStats() 1298 snprintf(buf, sizeof(buf), in DumpCFStatsNoFileHistogram() 1306 snprintf(buf, sizeof(buf), in DumpCFStatsNoFileHistogram() [all …]
|
| D | db_compaction_filter_test.cc | 116 snprintf(key_str, sizeof(key_str), "%010d", i / 10 * 10 + 10); in FilterV2() 307 snprintf(key, sizeof(key), "B%010d", i); in TEST_F() 359 snprintf(key, sizeof(key), "B%010d", i); in TEST_F() 387 snprintf(key, sizeof(key), "B%010d", i); in TEST_F() 492 snprintf(key, sizeof(key), "B%010d", i); in TEST_P() 510 snprintf(key, sizeof(key), "B%010d", i); in TEST_P() 530 snprintf(key, sizeof(key), "B%010d", i); in TEST_P() 619 snprintf(key, sizeof(key), "B%08d%02d", i, j); in TEST_F() 682 snprintf(key, sizeof(key), "B%08d%02d", i, j); in TEST_F() 768 snprintf(key, sizeof(key), "%010d", table * 100 + i); in TEST_F() [all …]
|
| D | db_info_dumper.cc | 60 snprintf(str, sizeof(str), "%" PRIu64, file_size); in DumpDBFileSummary() 113 snprintf(str, sizeof(str), "%" PRIu64, file_size); in DumpDBFileSummary()
|
| D | c_test.c | 37 #define snprintf _snprintf macro 450 snprintf(dbname, sizeof(dbname), in main() 455 snprintf(dbbackupname, sizeof(dbbackupname), in main() 460 snprintf(dbcheckpointname, sizeof(dbcheckpointname), in main() 465 snprintf(sstfilename, sizeof(sstfilename), in main() 470 snprintf(dbpathname, sizeof(dbpathname), in main() 981 snprintf(keybuf, sizeof(keybuf), "k%020d", i); in main() 982 snprintf(valbuf, sizeof(valbuf), "v%020d", i); in main() 1070 snprintf(keybuf, sizeof(keybuf), "yes%020d", i); in main() 1103 snprintf(keybuf, sizeof(keybuf), "no%020d", i); in main() [all …]
|
| /rocksdb-6.9/table/plain/ |
| D | plain_table_factory.cc | 58 snprintf(buffer, kBufferSize, " user_key_len: %u\n", in GetPrintableTableOptions() 61 snprintf(buffer, kBufferSize, " bloom_bits_per_key: %d\n", in GetPrintableTableOptions() 64 snprintf(buffer, kBufferSize, " hash_table_ratio: %lf\n", in GetPrintableTableOptions() 67 snprintf(buffer, kBufferSize, " index_sparseness: %" ROCKSDB_PRIszt "\n", in GetPrintableTableOptions() 70 snprintf(buffer, kBufferSize, " huge_page_tlb_size: %" ROCKSDB_PRIszt "\n", in GetPrintableTableOptions() 73 snprintf(buffer, kBufferSize, " encoding_type: %d\n", in GetPrintableTableOptions() 76 snprintf(buffer, kBufferSize, " full_scan_mode: %d\n", in GetPrintableTableOptions() 79 snprintf(buffer, kBufferSize, " store_index_in_file: %d\n", in GetPrintableTableOptions()
|
| /rocksdb-6.9/utilities/ |
| D | env_librados_test.cc | 397 snprintf(key, in TEST_F() 401 snprintf(value, in TEST_F() 433 snprintf(key, in TEST_F() 437 snprintf(value, in TEST_F() 477 snprintf(key, in TEST_F() 516 snprintf(key, in TEST_F() 561 snprintf(key, in TEST_F() 600 snprintf(key, in TEST_F() 645 snprintf(key, in TEST_F() 664 snprintf(key, in TEST_F() [all …]
|
| /rocksdb-6.9/file/ |
| D | filename.cc | 55 snprintf(dest + write_idx, len - write_idx, suffix); in GetInfoLogPrefix() 62 snprintf(buf, sizeof(buf), "%06llu.%s", in MakeFileName() 145 snprintf(out_buf, out_buf_size, "%" PRIu64, number); in FormatFileNumber() 147 snprintf(out_buf, out_buf_size, "%" PRIu64 in FormatFileNumber() 157 snprintf(buf, sizeof(buf), "/MANIFEST-%06llu", in DescriptorFileName() 179 snprintf(buf, sizeof(buf), kInfoLogPrefix); in InfoLogPrefix() 201 snprintf(buf, sizeof(buf), "%llu", static_cast<unsigned long long>(ts)); in OldInfoLogFileName() 213 snprintf(buffer, sizeof(buffer), "%s%06" PRIu64, in OptionsFileName() 220 snprintf(buffer, sizeof(buffer), "%s%06" PRIu64 ".%s", in TempOptionsFileName() 228 snprintf(buf, sizeof(buf), "/METADB-%llu", in MetaDatabaseName()
|
| /rocksdb-6.9/table/cuckoo/ |
| D | cuckoo_table_factory.cc | 52 snprintf(buffer, kBufferSize, " hash_table_ratio: %lf\n", in GetPrintableTableOptions() 55 snprintf(buffer, kBufferSize, " max_search_depth: %u\n", in GetPrintableTableOptions() 58 snprintf(buffer, kBufferSize, " cuckoo_block_size: %u\n", in GetPrintableTableOptions() 61 snprintf(buffer, kBufferSize, " identity_as_first_hash: %d\n", in GetPrintableTableOptions()
|
| /rocksdb-6.9/table/adaptive/ |
| D | adaptive_table_factory.cc | 85 snprintf(buffer, kBufferSize, " write factory (%s) options:\n%s\n", in GetPrintableTableOptions() 92 snprintf(buffer, kBufferSize, " %s options:\n%s\n", in GetPrintableTableOptions() 98 snprintf( in GetPrintableTableOptions() 106 snprintf(buffer, kBufferSize, " %s options:\n%s\n", in GetPrintableTableOptions()
|
| /rocksdb-6.9/cache/ |
| D | sharded_cache.cc | 134 snprintf(buffer, kBufferSize, " capacity : %" ROCKSDB_PRIszt "\n", in GetPrintableOptions() 137 snprintf(buffer, kBufferSize, " num_shard_bits : %d\n", num_shard_bits_); in GetPrintableOptions() 139 snprintf(buffer, kBufferSize, " strict_capacity_limit : %d\n", in GetPrintableOptions() 143 snprintf(buffer, kBufferSize, " memory_allocator : %s\n", in GetPrintableOptions()
|
| /rocksdb-6.9/db/compaction/ |
| D | compaction.cc | 412 snprintf(scratch->buffer + len, sizeof(scratch->buffer) - len, " + "); in InputLevelSummary() 417 len += snprintf(scratch->buffer + len, sizeof(scratch->buffer) - len, in InputLevelSummary() 422 snprintf(scratch->buffer + len, sizeof(scratch->buffer) - len, in InputLevelSummary() 458 ret = snprintf(output + write, sz, "%" PRIu64 "(%s) ", in InputSummary() 470 snprintf(output, len, "Base version %" PRIu64 " Base level %d, inputs: [", in Summary() 478 write += snprintf(output + write, len - write, "], ["); in Summary() 490 snprintf(output + write, len - write, "]"); in Summary()
|
| D | compaction_job_stats_test.cc | 78 snprintf(buf, kBufSize, "%0*" PRIu64, length, key); in Key() 292 snprintf(buf, sizeof(buf), "%s%d", (level ? "," : ""), f); in FilesPerLevel() 674 snprintf(buf, kBufSize, "%d", ++num_L0_files); in TEST_P() 698 snprintf(buf, kBufSize, "%d,%d", num_L0_files - count, count); in TEST_P() 719 snprintf(buf, kBufSize, "%d,%d", num_L0_files, num_L1_files); in TEST_P() 732 snprintf(buf, kBufSize, "%d,%d", ++num_L0_files, num_L1_files); in TEST_P() 762 snprintf(buf, kBufSize, "%d,%d", --num_L0_files, num_L1_files); in TEST_P() 784 snprintf(L1_buf, sizeof(L1_buf), "0,%d", num_L1_files); in TEST_P()
|
| /rocksdb-6.9/port/ |
| D | stack_trace.cc | 40 snprintf(link, sizeof(link), "/proc/%d/exe", getpid()); in GetExecutableName() 59 snprintf(cmd, kLineMax, "addr2line %p -e %s -f -C 2>&1", frame, executable); in PrintStackTraceLine() 82 snprintf(cmd, kLineMax, "xcrun atos %p -p %d 2>&1", frame, pid);
|
| /rocksdb-6.9/monitoring/ |
| D | persistent_stats_history.cc | 62 snprintf(timestamp, sizeof(timestamp), "%010d", in EncodePersistentStatsKey() 65 return snprintf(buf, size, "%s#%s", timestamp, key.c_str()); in EncodePersistentStatsKey() 130 snprintf(timestamp, sizeof(timestamp), "%010d", in AdvanceIteratorByTime()
|
| D | histogram.cc | 186 snprintf(buf, sizeof(buf), in ToString() 190 snprintf(buf, sizeof(buf), in ToString() 194 snprintf(buf, sizeof(buf), in ToString() 208 snprintf(buf, sizeof(buf), in ToString()
|
| /rocksdb-6.9/options/ |
| D | options_parser.cc | 339 snprintf(buffer, sizeof(buffer) - 1, in ParseVersionNumber() 345 snprintf(buffer, sizeof(buffer) - 1, in ParseVersionNumber() 358 snprintf(buffer, sizeof(buffer) - 1, in ParseVersionNumber() 366 snprintf(buffer, sizeof(buffer) - 1, in ParseVersionNumber() 762 snprintf(buffer, sizeof(buffer), in VerifyDBOptions() 800 snprintf(buffer, sizeof(buffer), in VerifyCFOptions()
|
| /rocksdb-6.9/utilities/blob_db/ |
| D | blob_dump_tool.cc | 253 snprintf(buf + j * 3 + 15, 2, "%x", c >> 4); in DumpSlice() 254 snprintf(buf + j * 3 + 16, 2, "%x", c & 0xf); in DumpSlice() 255 snprintf(buf + j + 65, 2, "%c", (0x20 <= c && c <= 0x7e) ? c : '.'); in DumpSlice()
|
| /rocksdb-6.9/test_util/ |
| D | transaction_test_util.cc | 56 snprintf(name, 64, "txn%" ROCKSDB_PRIszt "-%" PRIu64, in TransactionDBInsert() 97 snprintf(prefix_buf, sizeof(prefix_buf), "%.4u", set_i + 1); in DBGet() 307 snprintf(prefix_buf, sizeof(prefix_buf), "%.4u", set_i + 1); in Verify()
|