Searched refs:can_not_overflow (Results 1 – 2 of 2) sorted by relevance
1427 pub fn can_not_overflow<T>(radix: u32, is_signed_ty: bool, digits: &[u8]) -> bool { in can_not_overflow() function1464 if can_not_overflow::<T>(radix, is_signed_ty, digits) { in from_str_radix()
5 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()