100 |
///
|
101 |
#[allow(clippy::absurd_extreme_comparisons)]
|
102 |
pub fn get_cpu() -> Cpu {
|
205 |
// we turn off the clippy warning.
|
206 |
#[allow(clippy::absurd_extreme_comparisons)]
|
207 |
let below_min_bound =
|
659 |
#[inline]
|
660 |
#[allow(unused_braces, clippy::absurd_extreme_comparisons)]
|
661 |
fn square_in_place(a: &mut Fp<Self, N>) {
|
170 |
// allow absurd comparison while current version is 0
|
171 |
#[allow(clippy::absurd_extreme_comparisons)]
|
172 |
if version < CURRENT_VERSION {
|
154 |
#[allow(clippy::absurd_extreme_comparisons)]
|
155 |
fn len_64_to_max_len(len_64: usize) -> usize {
|
2519 |
#[allow(clippy::absurd_extreme_comparisons)]
|
2520 |
if (last_sector_number as u64) > MAX_SECTOR_NUMBER {
|
371 |
/// * `matches` - argument matches.
|
372 |
#[allow(clippy::absurd_extreme_comparisons)]
|
373 |
pub fn is_stdin(matches: ArgMatches) -> Result<bool, Box<dyn Error>> {
|
85 |
#[allow(clippy::absurd_extreme_comparisons)]
|
86 |
fn len_64_to_max_len(len_64: usize) -> usize {
|
189 |
/// Returns `true` if the specified signal is a valid real-time signal value, `false` otherwise.
|
190 |
#[allow(clippy::absurd_extreme_comparisons)] // For systems where there are no realtime signals
|
191 |
pub const fn is_valid_rtsignal(rtsignal: u32) -> bool {
|
113 |
#[allow(clippy::absurd_extreme_comparisons)]
|
114 |
#[inline(always)]
|
142 |
#[allow(clippy::absurd_extreme_comparisons)]
|
143 |
#[inline(always)]
|
143 |
#[allow(clippy::absurd_extreme_comparisons)]
|
144 |
#[inline(always)]
|
413 |
#[allow(unused_comparisons)]
|
414 |
#[allow(clippy::absurd_extreme_comparisons)] //for testing
|
415 |
fn check_all_commands_have_byte_counts() {
|
74 |
#[allow(clippy::absurd_extreme_comparisons)]
|
75 |
fn limbs_pos_eq_neg_limb_mod_helper(xs: &[Limb], y: Limb, ms: &[Limb]) -> Option<bool> {
|
137 |
#[allow(clippy::absurd_extreme_comparisons)]
|
138 |
fn limbs_eq_limb_mod_helper(xs: &[Limb], y: Limb, ms: &[Limb]) -> Option<bool> {
|
224 |
// Constant time and additional memory.
|
225 |
#[allow(clippy::absurd_extreme_comparisons, clippy::type_complexity)]
|
226 |
fn select_fns(
|
689 |
#[cfg(feature = "test_build")]
|
690 |
#[allow(clippy::absurd_extreme_comparisons)]
|
691 |
pub const TOOM33_MAYBE_MUL_TOOM33: bool =
|
693 |
#[cfg(not(feature = "test_build"))]
|
694 |
#[allow(clippy::absurd_extreme_comparisons)]
|
695 |
const TOOM33_MAYBE_MUL_TOOM33: bool =
|
15 |
/// non-negative.
|
16 |
#[allow(clippy::absurd_extreme_comparisons)]
|
17 |
pub fn combined_limbs_divisible_by_limb(ns: &[Limb], d: Limb) -> bool {
|
69 |
#[allow(clippy::unnecessary_cast)]
|
70 |
#[allow(clippy::absurd_extreme_comparisons)]
|
71 |
pub fn process_deprecated_populate_participation_printing_account<'a>(
|
233 |
#[allow(clippy::unnecessary_cast)]
|
234 |
#[allow(clippy::absurd_extreme_comparisons)]
|
235 |
pub fn process_redeem_participation_bid<'a>(
|
124 |
#[allow(clippy::absurd_extreme_comparisons)]
|
125 |
pub fn place_bid<'r, 'b: 'r>(
|
124 |
#[allow(clippy::absurd_extreme_comparisons)]
|
125 |
pub fn place_bid<'r, 'b: 'r>(
|
68 |
#[allow(clippy::unnecessary_cast)]
|
69 |
#[allow(clippy::absurd_extreme_comparisons)]
|
70 |
pub fn process_deprecated_populate_participation_printing_account<'a>(
|
228 |
#[allow(clippy::unnecessary_cast)]
|
229 |
#[allow(clippy::absurd_extreme_comparisons)]
|
230 |
pub fn process_redeem_participation_bid<'a>(
|
241 |
// some day be less than `u64::MAX`.
|
242 |
#[allow(clippy::absurd_extreme_comparisons)]
|
243 |
fn is_abusive(&self) -> bool {
|
70 |
#[cfg_attr(target_os = "android", allow(unused_comparisons))]
|
71 |
#[allow(clippy::absurd_extreme_comparisons)] // Not absurd on all OSes
|
72 |
fn assert_lstat_results(stat_result: Result<FileStat>) {
|
17 |
/// edge pixels are duplicated when necessary
|
18 |
#[allow(clippy::many_single_char_names, clippy::absurd_extreme_comparisons)]
|
19 |
fn new(x: u32, y: u32, img: &GrayImage) -> Self {
|
120 |
#[allow(clippy::absurd_extreme_comparisons)]
|
121 |
pub fn to_rad(self) -> f64 {
|
134 |
#[allow(clippy::absurd_extreme_comparisons)]
|
135 |
pub fn to_deg(self) -> f64 {
|
246 |
#[allow(clippy::absurd_extreme_comparisons)]
|
247 |
pub fn to_rad(self) -> f64 {
|
260 |
#[allow(clippy::absurd_extreme_comparisons)]
|
261 |
pub fn to_deg(self) -> f64 {
|
182 |
let ad = ad.unwrap_or(&[0u8; 0]);
|
183 |
#[allow(clippy::absurd_extreme_comparisons)]
|
184 |
if u64::try_from(ad.len()).map_err(|_| UnknownCryptoError)? > A_MAX {
|
274 |
let ad = ad.unwrap_or(&[0u8; 0]);
|
275 |
#[allow(clippy::absurd_extreme_comparisons)]
|
276 |
if u64::try_from(ad.len()).map_err(|_| UnknownCryptoError)? > A_MAX {
|
9 |
// https://www.graphviz.org/doc/info/lang.html
|
10 |
#[allow(clippy::absurd_extreme_comparisons)]
|
11 |
pub fn acceptable_char(term: char) -> bool {
|
119 |
/// are actual status indications and only evaluate those.
|
120 |
#[allow(clippy::absurd_extreme_comparisons, clippy::single_match)]
|
121 |
fn check_responses(
|
202 |
}
|
203 |
#[allow(clippy::absurd_extreme_comparisons)]
|
204 |
if PROTOCOL_VERSION < info.min_protocol_version
|
273 |
let (ch, offset) = if index >= 0 {
|
274 |
#[allow(clippy::absurd_extreme_comparisons)]
|
275 |
if index >= crate::MAX_USIZE_INT {
|
551 |
#[cfg(not(feature = "unchecked"))]
|
552 |
#[allow(clippy::absurd_extreme_comparisons)]
|
553 |
if index_value > crate::MAX_USIZE_INT {
|
19 |
clippy::cast_sign_loss,
|
20 |
clippy::absurd_extreme_comparisons,
|
21 |
clippy::cast_possible_truncation
|
57 |
clippy::cast_possible_truncation,
|
58 |
clippy::absurd_extreme_comparisons
|
59 |
)]
|
435 |
#[test]
|
436 |
#[allow(clippy::absurd_extreme_comparisons)] // Generated code
|
437 |
fn test_from_uint_proptest() {
|
217 |
#[test]
|
218 |
#[allow(clippy::absurd_extreme_comparisons)] // Generated code
|
219 |
fn test_gcd() {
|
232 |
#[test]
|
233 |
#[allow(clippy::absurd_extreme_comparisons)] // Generated code
|
234 |
fn test_gcd_extended() {
|
56 |
#[test]
|
57 |
#[allow(clippy::absurd_extreme_comparisons)] // Generated code
|
58 |
fn test_gcd_identities() {
|
96 |
#[test]
|
97 |
#[allow(clippy::absurd_extreme_comparisons)] // From macro.
|
98 |
fn test_root() {
|
116 |
#[test]
|
117 |
#[allow(clippy::absurd_extreme_comparisons)] // From macro.
|
118 |
#[allow(clippy::reversed_empty_ranges)] // From macro.
|
22 |
// here as well as these comments is better.
|
23 |
#[allow(clippy::absurd_extreme_comparisons)]
|
24 |
#[no_mangle]
|
50 |
self.history.push_front(act);
|
51 |
#[allow(clippy::absurd_extreme_comparisons)]
|
52 |
while self.history.len() > HISTORY_SIZE {
|
67 |
self.undone.push_front(to_undo.clone());
|
68 |
#[allow(clippy::absurd_extreme_comparisons)]
|
69 |
while self.undone.len() > UNDO_SIZE {
|
264 |
// we turn off the clippy warning.
|
265 |
#[allow(clippy::absurd_extreme_comparisons)]
|
266 |
let below_min_bound = txn.gas_unit_price() < gas_schedule::MIN_PRICE_PER_GAS_UNIT.get();
|
29 |
#[inline]
|
30 |
#[allow(clippy::absurd_extreme_comparisons)]
|
31 |
pub fn new(ptr: usize, discriminant: Discriminant) -> Self {
|
140 |
#[inline]
|
141 |
#[allow(clippy::absurd_extreme_comparisons)]
|
142 |
pub fn store_discriminant(pointer: usize, discriminant: Discriminant) -> usize {
|
36 |
let revision = u32::from_le_bytes(bytes[0..4].try_into().unwrap());
|
37 |
#[allow(clippy::absurd_extreme_comparisons)]
|
38 |
if revision > CURRENT_REVISION {
|
40 |
}
|
41 |
#[allow(clippy::absurd_extreme_comparisons)]
|
42 |
if revision < MIN_SUPPORTED_REVISION {
|
54 |
match n_bins_across_all_features {
|
55 |
#[allow(clippy::absurd_extreme_comparisons)]
|
56 |
n_bins_across_all_features if n_bins_across_all_features <= 65535 => BinnedFeaturesRowMajor::U16(
|
58 |
),
|
59 |
#[allow(clippy::absurd_extreme_comparisons)]
|
60 |
n_bins_across_all_features if n_bins_across_all_features <= 4294967295 => {
|
91 |
// let this indicated for possible changes in constant values
|
92 |
#[allow(clippy::absurd_extreme_comparisons)]
|
93 |
if BEEP_DELAY - SOUND_START_DELAY > 0 {
|
124 |
#[allow(clippy::absurd_extreme_comparisons)]
|
125 |
pub fn place_bid<'r, 'b: 'r>(
|
67 |
#[allow(clippy::unnecessary_cast)]
|
68 |
#[allow(clippy::absurd_extreme_comparisons)]
|
69 |
pub fn process_deprecated_populate_participation_printing_account<'a>(
|
228 |
#[allow(clippy::unnecessary_cast)]
|
229 |
#[allow(clippy::absurd_extreme_comparisons)]
|
230 |
pub fn process_redeem_participation_bid<'a>(
|
566 |
pub fn next_prime_i32(v: i32) -> Option<i32> {
|
567 |
#![allow(clippy::absurd_extreme_comparisons)]
|
568 |
const BIGGEST_PRIME_I32: i32 = 2_147_483_647;
|
1 |
#![recursion_limit = "128"]
|
2 |
#![allow(clippy::absurd_extreme_comparisons)]
|
3 |
#![allow(clippy::assertions_on_constants)]
|
17 |
// are not properly cleaned up.
|
18 |
#![allow(clippy::absurd_extreme_comparisons)]
|
19 |
#![allow(clippy::identity_op)]
|
17 |
// are not properly cleaned up.
|
18 |
#![allow(clippy::absurd_extreme_comparisons)]
|
19 |
#![allow(clippy::identity_op)]
|
1 |
#![allow(clippy::absurd_extreme_comparisons)]
|
7 |
//
|
8 |
#![allow(clippy::absurd_extreme_comparisons)] // To support the const_assert below.
|
9 |
#![allow(clippy::if_same_then_else)]
|
10 |
#![allow(clippy::absurd_extreme_comparisons)] // FIXME
|
11 |
#![allow(clippy::needless_return)]
|