Home
last modified time | relevance | path

Searched refs:or_insert (Results 1 – 8 of 8) sorted by relevance

/third_party/rust/crates/clap/src/parser/
Darg_matcher.rs142 let ma = self.entry(id).or_insert(MatchedArg::new_arg(arg)); in start_custom_arg()
153 let ma = self.entry(id).or_insert(MatchedArg::new_group()); in start_custom_group()
162 let ma = self.entry(id).or_insert(MatchedArg::new_external(cmd)); in start_occurrence_of_external()
/third_party/rust/crates/tracing/tracing-subscriber/tests/
Dmultiple_layer_filter_interests_cached.rs22 .or_insert(0usize) += 1; in multiple_layer_filter_interests_are_cached()
46 .or_insert(0usize) += 1; in multiple_layer_filter_interests_are_cached()
Dlayer_filter_interests_are_cached.rs21 .or_insert(0usize) += 1; in layer_filter_interests_are_cached()
Dvec_subscriber_filter_interests_cached.rs19 *seen.lock().unwrap().entry(*meta.level()).or_insert(0usize) += 1; in vec_layer_filter_interests_are_cached()
/third_party/rust/crates/clap/src/util/
Dflat_map.rs151 pub fn or_insert(self, default: V) -> &'a mut V { in or_insert() method
/third_party/rust/crates/strsim-rs/src/
Dlib.rs463 *a_bigrams.entry(bigram).or_insert(0) += 1; in sorensen_dice()
/third_party/rust/crates/bindgen/bindgen/codegen/
Dmod.rs335 let counter = self.overload_counters.entry(name.into()).or_insert(0); in overload_number()
/third_party/rust/crates/memchr/bench/data/code/
Drust-library.rs35169 pub fn or_insert(self, default: V) -> &'a mut V {