/third_party/rust/crates/minimal-lexical/tests/ |
D | vec_tests.rs | 18 let mut x = VecType::from_u64(1); in simple_test() 52 assert_eq!(VecType::from_u64(U64_MAX).hi64(), (U64_MAX, false)); in simple_test() 57 assert_eq!(VecType::from_u64(0xA).hi64(), (0xA000000000000000, false)); in hi64_test() 58 assert_eq!(VecType::from_u64(0xAB).hi64(), (0xAB00000000000000, false)); in hi64_test() 59 assert_eq!(VecType::from_u64(0xAB00000000).hi64(), (0xAB00000000000000, false)); in hi64_test() 60 assert_eq!(VecType::from_u64(0xA23456789A).hi64(), (0xA23456789A000000, false)); in hi64_test() 66 let x = VecType::from_u64(1); in cmp_test() 67 let y = VecType::from_u64(2); in cmp_test() 74 let y = VecType::from_u64(2); in cmp_test() 117 let mut x = VecType::from_u64(0xFFFFFFFF); in math_test() [all …]
|
D | integration_tests.rs | 180 return (F::from_u64(0), bytes); in parse_float()
|
/third_party/rust/crates/tracing/tracing-subscriber/src/registry/ |
D | stack.rs | 62 let id = Id::from_u64(1); in pop_last_span() 71 stack.push(Id::from_u64(1)); in pop_first_span() 72 stack.push(Id::from_u64(2)); in pop_first_span() 74 let id = Id::from_u64(1); in pop_first_span()
|
/third_party/rust/crates/num-traits/src/ |
D | cast.rs | 461 n.to_u64().and_then(FromPrimitive::from_u64) in from_usize() 468 FromPrimitive::from_u64(From::from(n)) in from_u8() 475 FromPrimitive::from_u64(From::from(n)) in from_u16() 482 FromPrimitive::from_u64(From::from(n)) in from_u32() 487 fn from_u64(n: u64) -> Option<Self>; in from_u64() method 499 n.to_u64().and_then(FromPrimitive::from_u64) in from_u128() 519 None => n.to_u64().and_then(FromPrimitive::from_u64), in from_f64() 571 fn from_u64(n: u64) -> Option<$T> { 666 fn from_u64(u64);
|
/third_party/rust/crates/tracing/tracing-core/tests/common/ |
D | mod.rs | 9 span::Id::from_u64(1) in new_span() 23 span::Id::from_u64(1) in new_span()
|
/third_party/rust/crates/minimal-lexical/src/ |
D | number.rs | 59 let value = F::from_u64(self.mantissa); in try_fast_path() 77 F::from_u64(mantissa) * unsafe { F::pow_fast_path(max_exponent as _) } in try_fast_path()
|
D | num.rs | 141 fn from_u64(u: u64) -> Self; in from_u64() method 235 fn from_u64(u: u64) -> f32 { in from_u64() method 283 fn from_u64(u: u64) -> f64 { in from_u64() method
|
D | heapvec.rs | 113 pub fn from_u64(x: u64) -> Self { in from_u64() method 114 bigint::from_u64(x) in from_u64()
|
D | stackvec.rs | 221 pub fn from_u64(x: u64) -> Self { in from_u64() method 222 bigint::from_u64(x) in from_u64()
|
D | bigint.rs | 71 pub fn from_u64(value: u64) -> Self { in from_u64() method 73 data: VecType::from_u64(value), in from_u64() 188 pub fn from_u64(x: u64) -> VecType { in from_u64() function
|
D | slow.rs | 137 let mut theor_digits = Bigint::from_u64(theor.mant); in negative_digit_comp()
|
/third_party/rust/crates/tracing/tracing/benches/ |
D | shared.rs | 96 Id::from_u64(0xDEAD_FACE) in new_span() 133 Id::from_u64(0xDEAD_FACE) in new_span()
|
/third_party/rust/crates/tracing/tracing/tests/ |
D | register_callsite_deadlock.rs | 23 span::Id::from_u64(1) in register_callsite_doesnt_deadlock()
|
D | subscriber.rs | 37 Id::from_u64(0xAAAA) in event_macros_dont_infinite_loop()
|
/third_party/rust/crates/tracing/tracing-core/src/ |
D | dispatcher.rs | 898 span::Id::from_u64(0xAAAA) in events_dont_infinite_loop() 954 span::Id::from_u64(0xAAAA) in spans_dont_infinite_loop() 987 span::Id::from_u64(0xAAAA) in default_dispatch()
|
D | span.rs | 69 pub fn from_u64(u: u64) -> Self { in from_u64() method
|
/third_party/rust/crates/num-traits/tests/ |
D | cast.rs | 334 fn from_u64(n: u64) -> Option<Self> { in newtype_from_primitive() method 335 T::from_u64(n).map(New) in newtype_from_primitive() 350 assert_eq_from!(from_u8 from_u16 from_u32 from_u64 from_usize); in newtype_from_primitive()
|
/third_party/rust/crates/tracing/examples/examples/ |
D | serde-yak-shave.rs | 33 let id = Id::from_u64(id as u64); in new_span()
|
D | counters.rs | 82 Id::from_u64(id as u64) in new_span()
|
/third_party/rust/crates/tracing/tracing/test-log-support/tests/ |
D | log_with_trace.rs | 13 tracing::span::Id::from_u64(NEXT.fetch_add(1, Relaxed)) in new_span()
|
/third_party/rust/crates/tracing/tracing-log/tests/ |
D | log_tracer.rs | 34 span::Id::from_u64(42) in new_span()
|
/third_party/rust/crates/tracing/tracing/test_static_max_level_features/tests/ |
D | test.rs | 28 span::Id::from_u64(42) in new_span()
|
/third_party/rust/crates/minimal-lexical/fuzz/fuzz_targets/ |
D | parse.rs | 180 return (F::from_u64(0), bytes); in parse_float()
|
/third_party/rust/crates/tracing/tracing-subscriber/tests/ |
D | reload.rs | 25 Id::from_u64(1) in new_span()
|
/third_party/rust/crates/tracing/examples/examples/sloggish/ |
D | sloggish_subscriber.rs | 203 let id = tracing::Id::from_u64(next); in new_span()
|