Searched refs:try_fast_path (Results 1 – 5 of 5) sorted by relevance
/third_party/rust/crates/minimal-lexical/tests/ |
D | number_tests.rs | 58 assert_eq!(number.try_fast_path::<f32>(), Some(1.2345)); in try_fast_path_test() 59 assert_eq!(number.try_fast_path::<f64>(), Some(1.2345)); in try_fast_path_test() 62 assert_eq!(number.try_fast_path::<f32>(), Some(1.2345e-6)); in try_fast_path_test() 63 assert_eq!(number.try_fast_path::<f64>(), Some(1.2345e-6)); in try_fast_path_test() 66 assert_eq!(number.try_fast_path::<f32>(), None); in try_fast_path_test() 67 assert_eq!(number.try_fast_path::<f64>(), Some(1.2345e-16)); in try_fast_path_test() 70 assert_eq!(number.try_fast_path::<f32>(), None); in try_fast_path_test() 71 assert_eq!(number.try_fast_path::<f64>(), None); in try_fast_path_test() 74 assert_eq!(number.try_fast_path::<f32>(), Some(1.2345e16)); in try_fast_path_test() 75 assert_eq!(number.try_fast_path::<f64>(), Some(1.2345e16)); in try_fast_path_test() [all …]
|
/third_party/rust/crates/minimal-lexical/src/ |
D | number.rs | 46 pub fn try_fast_path<F: Float>(&self) -> Option<F> { in try_fast_path() method
|
D | parse.rs | 155 if let Some(value) = num.try_fast_path() { in parse_float()
|
/third_party/node/deps/v8/src/objects/ |
D | js-objects.h | 301 bool try_fast_path = true); 305 bool try_fast_path = true);
|
D | js-objects.cc | 2187 bool try_fast_path, in GetOwnValuesOrEntries() argument 2190 if (try_fast_path && filter == ENUMERABLE_STRINGS) { in GetOwnValuesOrEntries() 2244 bool try_fast_path) { in GetOwnValues() argument 2246 try_fast_path, false); in GetOwnValues() 2251 bool try_fast_path) { in GetOwnEntries() argument 2253 try_fast_path, true); in GetOwnEntries()
|