Home
last modified time | relevance | path

Searched refs:can_not_overflow (Results 1 – 2 of 2) sorted by relevance

/third_party/rust/rust/library/core/src/num/
Dmod.rs1427 pub fn can_not_overflow<T>(radix: u32, is_signed_ty: bool, digits: &[u8]) -> bool { in can_not_overflow() function
1464 if can_not_overflow::<T>(radix, is_signed_ty, digits) { in from_str_radix()
/third_party/rust/rust/library/core/tests/num/
Dmod.rs5 use core::num::{can_not_overflow, IntErrorKind, ParseIntError, TryFromIntError};
129 !can_not_overflow::<T>(radix, T::try_from(-1_i8).is_ok(), input.as_bytes()) in test_can_not_overflow()