Home
last modified time | relevance | path

Searched refs:diff (Results 1 – 17 of 17) sorted by relevance

/rocksdb-6.9/tools/advisor/advisor/
Ddb_options_parser.py89 diff = {}
91 diff[opt] = {}
95 diff[opt][col_fam] = (None, opt_new[opt][col_fam])
98 diff[opt][col_fam] = (opt_old[opt][col_fam], None)
103 diff[opt][col_fam] = (
108 diff[opt][col_fam] = (opt_old[opt][col_fam], None)
112 diff[opt][col_fam] = (
117 diff[opt][col_fam] = (None, opt_new[opt][col_fam])
118 if not diff[opt]:
119 diff.pop(opt)
[all …]
Ddb_timeseries_parser.py80 diff = last_val - first_val
82 diff = diff * 100 / first_val
83 rate = (diff * self.duration_sec) / (last_ts - first_ts)
Ddb_config_optimizer.py188 diff = DatabaseOptions.get_options_diff(curr_config, updated_config)
190 for option in diff:
192 for col_fam in diff[option]:
193 bt_config[option][col_fam] = diff[option][col_fam][0]
Ddb_stats_fetcher.py195 diff = int(time.time() - int(start_time))
196 stime = str(diff) + '_s'
Drules.ini125 …nges in the time series, so the rate_threshold should be bigger; when it's 60, then same as diff(%)
/rocksdb-6.9/build_tools/
Dformat-diff.sh61 uncommitted_code=`git diff HEAD`
80 diffs=$(git diff -U0 "$FORMAT_UPSTREAM_MERGE_BASE" | $CLANG_FORMAT_DIFF -p 1)
83 diffs=$(git diff -U0 HEAD | $CLANG_FORMAT_DIFF -p 1)
122 git diff -U0 "$FORMAT_UPSTREAM_MERGE_BASE" | $CLANG_FORMAT_DIFF -i -p 1
124 git diff -U0 HEAD^ | $CLANG_FORMAT_DIFF -i -p 1
Dupdate_dependencies.sh102 git diff $OUTPUT
142 git diff $OUTPUT
182 git diff $OUTPUT
/rocksdb-6.9/java/src/main/java/org/rocksdb/util/
DIntComparator.java56 final long diff = (long)iA - iB; in compareIntKeys() local
58 if (diff < Integer.MIN_VALUE) { in compareIntKeys()
60 } else if(diff > Integer.MAX_VALUE) { in compareIntKeys()
63 result = (int)diff; in compareIntKeys()
/rocksdb-6.9/db/
Dfile_indexer_test.cc26 int64_t diff = *reinterpret_cast<const int64_t*>(a.data()) - in Compare() local
28 if (diff < 0) { in Compare()
30 } else if (diff == 0) { in Compare()
Dcomparator_db_test.cc564 int diff = static_cast<int>(rnd.Uniform(5)) - 2; in TEST_P() local
565 int tmp_size2 = static_cast<int>(size1) + diff; in TEST_P()
600 int diff = static_cast<int>(rnd.Uniform(5)) - 2; in TEST_P() local
603 int s2_char = s1_char + diff; in TEST_P()
Dversion_set_test.cc50 int diff = 0; in Compare() local
53 diff++; in Compare()
56 return diff; in Compare()
/rocksdb-6.9/tools/advisor/test/
Dtest_db_options_parser.py52 diff = DatabaseOptions.get_options_diff(old_opt, new_opt)
64 self.assertDictEqual(diff, expected_diff)
/rocksdb-6.9/tools/
Dverify_random_db.sh39 diff $db_dump $base_db_dir
/rocksdb-6.9/util/
Dautovector_test.cc199 size_t diff = static_cast<size_t>(pos - vec.begin()); in TEST_F() local
200 ASSERT_EQ(i + 2, diff); in TEST_F()
/rocksdb-6.9/tools/block_cache_analyzer/
Dblock_cache_pysim.py578 diff = (float(e1.value.num_hits) / (float(e1_duration))) - (
581 if diff == 0:
583 elif diff > 0:
631 diff = (float(e1_hits) / float(e1_density)) - (
634 if diff == 0:
636 elif diff > 0:
/rocksdb-6.9/docs/_posts/
D2015-01-16-migrating-from-leveldb-to-rocksdb-2.markdown64 ```diff
/rocksdb-6.9/third-party/gtest-1.8.1/fused-src/gtest/
Dgtest-all.cc2869 const double diff = fabs(val1 - val2); in DoubleNearPredFormat() local
2870 if (diff <= abs_error) return AssertionSuccess(); in DoubleNearPredFormat()
2876 << " is " << diff << ", which exceeds " << abs_error_expr << ", where\n" in DoubleNearPredFormat()