Searched refs:cond (Results 1 – 11 of 11) sorted by relevance
| /rocksdb-6.9/tools/advisor/test/ |
| D | test_rule_parser.py | 64 for cond in conditions_dict.values(): 65 self.assertFalse(cond.is_triggered(), repr(cond)) 81 for cond in conditions_dict.values(): 82 if cond.get_data_source() is DataSource.Type.TIME_SERIES: 84 self.assertTrue(cond.is_triggered(), repr(cond)) 121 for cond in conditions_dict.values(): 122 self.assertFalse(cond.is_triggered(), repr(cond)) 135 for cond in conds_triggered: 136 self.assertTrue(conditions_dict[cond].is_triggered(), repr(cond)) 137 for cond in conds_not_triggered: [all …]
|
| /rocksdb-6.9/tools/advisor/advisor/ |
| D | rule_parser.py | 164 cond = conditions_dict[cond_name] 165 if not cond.get_trigger(): 198 for cond in self.conditions: 200 rule_string += cond 203 rule_string += (" AND " + cond) 442 for cond in self.conditions_dict.values(): 443 cond.perform_checks() 464 elif element is IniParser.Element.cond: 507 cond 508 for cond in self.conditions_dict.values() [all …]
|
| D | db_timeseries_parser.py | 124 for cond in conditions: 125 complete_keys = self.get_keys_from_conditions([cond]) 140 if cond.behavior is self.Behavior.bursty: 146 cond.window_sec, 147 cond.rate_threshold, 156 cond.set_trigger(result) 157 elif cond.behavior is self.Behavior.evaluate_expression: 159 cond,
|
| D | db_options_parser.py | 292 for cond in conditions: 293 reqd_options_dict = self.get_options(cond.options) 299 for ix, option in enumerate(cond.options): 303 'skipping condition ' + cond.name + ' because it ' 321 if eval(cond.eval_expr): 322 cond.set_trigger({NO_COL_FAMILY: options}) 335 option = cond.options[ix] 342 if eval(cond.eval_expr): 358 cond.set_trigger(col_fam_options_dict)
|
| D | db_log_parser.py | 98 for cond in conditions: 99 if re.search(cond.regex, log.get_message(), re.IGNORECASE): 100 trigger = cond.get_trigger() 106 cond.set_trigger(trigger)
|
| D | db_stats_fetcher.py | 54 for cond in conditions: 55 for key in cond.keys: 162 for cond in conditions: 163 reqd_stats.extend([key.lower() for key in cond.keys]) 287 for cond in conditions: 288 for key in cond.keys:
|
| D | ini_parser.py | 12 cond = 2 variable in IniParser.Element 55 return IniParser.Element.cond
|
| /rocksdb-6.9/java/rocksjni/ |
| D | comparatorjnicallback.h | 106 const bool cond) const; 108 const bool cond) const;
|
| D | comparatorjnicallback.cc | 540 const std::unique_ptr<port::Mutex>& mutex, const bool cond) const { in MaybeLockForReuse() 543 && cond) { in MaybeLockForReuse() 549 const std::unique_ptr<port::Mutex>& mutex, const bool cond) const { in MaybeUnlockForReuse() 552 && cond) { in MaybeUnlockForReuse()
|
| /rocksdb-6.9/util/ |
| D | filter_bench.cc | 107 #define ALWAYS_ASSERT(cond) \ argument 108 ((cond) ? (void)0 : ::_always_assert_fail(__LINE__, __FILE__, #cond))
|
| /rocksdb-6.9/db/ |
| D | c_test.c | 74 #define CheckCondition(cond) \ argument 75 if (!(cond)) { \ 76 fprintf(stderr, "%s:%d: %s: %s\n", __FILE__, __LINE__, phase, #cond); \
|