• arboard 3.2.0/src/platform/windows.rs
    236
    #[cfg(feature = "image-data")]
    237
    #[allow(clippy::identity_op, clippy::erasing_op)]
    238
    #[must_use]
    298
    #[cfg(feature = "image-data")]
    299
    #[allow(clippy::identity_op, clippy::erasing_op)]
    300
    #[must_use]
  • atsam4-hal 0.3.0/src/sealed.rs
    33
        /// Const assert hack
    34
        #[allow(clippy::erasing_op)]
    35
        pub const NOT_EQ: isize = 0 / (R as isize - L as isize);
  • au 0.10.0/src/polynomial/arithmetic.rs
    870
        #[test]
    871
        #[allow(clippy::erasing_op)]
    872
        fn poly_mul() {
  • bitfield 0.14.0/tests/lib.rs
    237
    #[allow(clippy::identity_op)]
    238
    #[allow(clippy::erasing_op)]
    239
    #[test]
  • dashu-int 0.3.1/tests/mul.rs
    89
    #[test]
    90
    #[allow(clippy::op_ref, clippy::erasing_op)]
    91
    fn test_mul_ubig_primitive() {
  • dll-syringe 0.15.0/src/rpc/raw.rs
    227
            clippy::identity_op,
    228
            clippy::erasing_op
    229
        )]
  • eaglesong 0.1.0/src/eaglesong.rs
    3
    #[allow(clippy::identity_op)]
    4
    #[allow(clippy::erasing_op)]
    5
    fn eaglesong_permutation(state: &mut [u32]) {
  • fuel-types 0.25.2/tests/bytes.rs
    4
    #[test]
    5
    #[allow(clippy::erasing_op)]
    6
    #[allow(clippy::identity_op)]
  • gifski 1.10.0/src/lib.rs
    281
    #[allow(clippy::identity_op)]
    282
    #[allow(clippy::erasing_op)]
    283
    fn dither_image(mut image: ImgRefMut<RGBA8>) {
  • gifski-lite 1.0.1/src/lib.rs
    207
        #[allow(clippy::identity_op)]
    208
        #[allow(clippy::erasing_op)]
    209
        fn resized_binary_alpha(
  • half 2.2.1/src/bfloat.rs
    1626
        #[test]
    1627
        #[allow(clippy::erasing_op, clippy::identity_op)]
    1628
        fn round_to_even_f32() {
    1721
        #[test]
    1722
        #[allow(clippy::erasing_op, clippy::identity_op)]
    1723
        fn round_to_even_f64() {
  • half 2.2.1/src/binary16.rs
    1697
        #[test]
    1698
        #[allow(clippy::erasing_op, clippy::identity_op)]
    1699
        fn round_to_even_f32() {
    1792
        #[test]
    1793
        #[allow(clippy::erasing_op, clippy::identity_op)]
    1794
        fn round_to_even_f64() {
  • hmmcli 0.5.2/src/entries.rs
    201
        // searching in to offsets of each line, so we allow it.
    202
        #[allow(clippy::identity_op, clippy::erasing_op)]
    203
        #[test_case(44 * 0 + 0  => Some("1".to_owned()))]
  • ibig 0.3.6/tests/mul.rs
    82
    #[test]
    83
    #[allow(clippy::op_ref, clippy::erasing_op)]
    84
    fn test_mul_ubig_primitive() {
  • jpeg-encoder 0.5.1/src/fdct.rs
    103
    #[allow(clippy::erasing_op)]
    104
    #[allow(clippy::identity_op)]
  • lzfse_rust 0.1.0/src/bits/byte_bits.rs
    74
        #[cfg(target_pointer_width = "64")]
    75
        #[allow(clippy::erasing_op)]
    76
        #[test]
    96
        #[cfg(target_pointer_width = "64")]
    97
        #[allow(clippy::erasing_op)]
    98
        #[rustfmt::skip]
    119
        #[cfg(target_pointer_width = "32")]
    120
        #[allow(clippy::erasing_op)]
    121
        #[test]
    141
        #[cfg(target_pointer_width = "32")]
    142
        #[allow(clippy::erasing_op)]
    143
        #[test]
  • lzfse_rust 0.1.0/src/ring/ring_bits.rs
    90
        #[cfg(target_pointer_width = "64")]
    91
        #[allow(clippy::erasing_op)]
    92
        #[rustfmt::skip]
    118
        #[cfg(target_pointer_width = "64")]
    119
        #[allow(clippy::erasing_op)]
    120
        #[rustfmt::skip]
    146
        #[cfg(target_pointer_width = "32")]
    147
        #[allow(clippy::erasing_op)]
    148
        #[test]
    173
        #[cfg(target_pointer_width = "32")]
    174
        #[allow(clippy::erasing_op)]
    175
        #[test]
  • noah-bulletproofs 4.0.0/src/range_proof/mod.rs
    631
        /// Returns an error if the byte slice cannot be parsed into a `RangeProof`.
    632
        #[allow(clippy::erasing_op)]
    633
        pub fn from_bytes(slice: &[u8]) -> Result<RangeProof, ProofError> {
  • nyx-space 1.1.1/src/od/ui.rs
    467
        /// WARNING: Measurements **MUST** be ordered in positive chronological time.
    468
        #[allow(clippy::erasing_op)]
    469
        pub fn process_measurements(&mut self, measurements: &[Msr]) -> Result<(), NyxError> {
  • nyx-space 1.1.1/src/propagators/propagator.rs
    177
        #[allow(clippy::erasing_op)]
    178
        fn for_duration_channel_option(
  • polynomen 1.0.0/src/arithmetic.rs
    894
        #[test]
    895
        #[allow(clippy::erasing_op)]
    896
        fn poly_mul() {
  • rav1e 0.6.3/src/asm/x86/transform/forward.rs
    333
    #[allow(clippy::identity_op, clippy::erasing_op)]
    334
    #[target_feature(enable = "avx2")]
  • rav1e 0.6.3/src/cdef.rs
    197
      #[cold_for_target_arch("x86_64")]
    198
      #[allow(clippy::erasing_op, clippy::identity_op, clippy::neg_multiply)]
    199
      pub(crate) unsafe fn cdef_filter_block<T: Pixel, U: Pixel>(
  • rav1e 0.6.3/src/dist.rs
    79
      #[inline(always)]
    80
      #[allow(clippy::identity_op, clippy::erasing_op)]
    81
      fn hadamard4_1d<
    102
      #[inline(always)]
    103
      #[allow(clippy::identity_op, clippy::erasing_op)]
    104
      fn hadamard8_1d<
  • rav1e 0.6.3/src/encoder.rs
    832
    impl<T: Pixel> FrameInvariants<T> {
    833
      #[allow(clippy::erasing_op, clippy::identity_op)]
    834
      /// # Panics
  • rayon-core 1.10.2/src/sleep/counters.rs
    63
    /// (used with `select_bits`).
    64
    #[allow(clippy::erasing_op)]
    65
    const SLEEPING_SHIFT: usize = 0 * THREADS_BITS;
  • tari_core 0.8.1/src/transactions/coinbase_builder.rs
    139
        /// memory zeroed out (by virtue of the zero_on_drop crate).
    140
        #[allow(clippy::erasing_op)] // This is for 0 * uT
    141
        pub fn build_with_reward(
  • tari_core 0.8.1/src/transactions/transaction.rs
    731
        /// This function does NOT check that inputs come from the UTXO set
    732
        #[allow(clippy::erasing_op)] // This is for 0 * uT
    733
        pub fn validate_internal_consistency(
  • tract-core 0.19.2/src/ops/cnn/deconv/deconv_sum.rs
    281
        #[inline(never)]
    282
        #[allow(clippy::erasing_op)]
    283
        #[allow(clippy::identity_op)]
  • twenty-first 0.15.0/src/shared_math/mpolynomial.rs
    2163
            #[allow(clippy::erasing_op, clippy::identity_op)]
    2164
            let expected = cmp::max(0 * 3 + 2 * 5 + 1 * 7, 0 * 3 + 0 * 5 + 1 * 7);
  • uasync 0.1.1/src/thread_pool/scheduler.rs
    88
        #[allow(clippy::erasing_op)]
    89
        const IDLE_SHIFT: u32 = Self::STATE_BITS * 0;
  • vulkano 0.32.3/src/image/sys.rs
    3448
        #[test]
    3449
        #[allow(clippy::erasing_op, clippy::identity_op)]
    3450
        fn subresource_range_iterator() {
  • vulkano 0.32.3/src/memory/allocator/mod.rs
    610
        pub fn new_default(device: Arc<Device>) -> Self {
    611
            #[allow(clippy::erasing_op, clippy::identity_op)]
    612
            let create_info = GenericMemoryAllocatorCreateInfo {
    636
        pub fn new_default(device: Arc<Device>) -> Self {
    637
            #[allow(clippy::erasing_op, clippy::identity_op)]
    638
            let create_info = GenericMemoryAllocatorCreateInfo {
  • w5500-tls 0.1.3/src/crypto/aes/cipher.rs
    84
    #[allow(clippy::erasing_op, clippy::identity_op)]
    85
    fn shift_rows(block: &mut [u8; 16]) {
  • wasmer-runtime-core-asml-fork 0.1.1/src/vm.rs
    201
        /// Offset of the `memory_grow` field.
    202
        #[allow(clippy::erasing_op)]
    203
        pub const fn offset_memory_grow() -> u8 {
    481
    impl Ctx {
    482
        #[allow(clippy::erasing_op)] // TODO
    483
        pub const fn offset_memories() -> u8 {
    572
        /// Offset to the `vmctx` field.
    573
        #[allow(clippy::erasing_op)]
    574
        pub const fn offset_vmctx() -> u8 {
    607
        /// Offset to the `func` field.
    608
        #[allow(clippy::erasing_op)] // TODO
    609
        pub const fn offset_func() -> u8 {
    640
        /// Offset to the `base` field.
    641
        #[allow(clippy::erasing_op)] // TODO
    642
        pub const fn offset_base() -> u8 {
  • wasmer-runtime-core-fl 0.17.1/src/vm.rs
    201
        /// Offset of the `memory_grow` field.
    202
        #[allow(clippy::erasing_op)]
    203
        pub const fn offset_memory_grow() -> u8 {
    481
    impl Ctx {
    482
        #[allow(clippy::erasing_op)] // TODO
    483
        pub const fn offset_memories() -> u8 {
    572
        /// Offset to the `vmctx` field.
    573
        #[allow(clippy::erasing_op)]
    574
        pub const fn offset_vmctx() -> u8 {
    607
        /// Offset to the `func` field.
    608
        #[allow(clippy::erasing_op)] // TODO
    609
        pub const fn offset_func() -> u8 {
    640
        /// Offset to the `base` field.
    641
        #[allow(clippy::erasing_op)] // TODO
    642
        pub const fn offset_base() -> u8 {
  • wasmer-runtime-core-near 0.18.3/src/vm.rs
    201
        /// Offset of the `memory_grow` field.
    202
        #[allow(clippy::erasing_op)]
    203
        pub const fn offset_memory_grow() -> u8 {
    481
    impl Ctx {
    482
        #[allow(clippy::erasing_op)] // TODO
    483
        pub const fn offset_memories() -> u8 {
    572
        /// Offset to the `vmctx` field.
    573
        #[allow(clippy::erasing_op)]
    574
        pub const fn offset_vmctx() -> u8 {
    607
        /// Offset to the `func` field.
    608
        #[allow(clippy::erasing_op)] // TODO
    609
        pub const fn offset_func() -> u8 {
    640
        /// Offset to the `base` field.
    641
        #[allow(clippy::erasing_op)] // TODO
    642
        pub const fn offset_base() -> u8 {
  • wasmer-types 3.2.0-alpha.1/src/vmoffsets.rs
    354
        /// The offset of the `body` field.
    355
        #[allow(clippy::erasing_op)]
    356
        pub const fn vmfunction_import_body(&self) -> u8 {
    379
        /// The offset of the `address` field.
    380
        #[allow(clippy::erasing_op)]
    381
        pub const fn vmdynamicfunction_import_context_address(&self) -> u8 {
    408
        /// The offset of the `definition` field.
    409
        #[allow(clippy::erasing_op)]
    410
        pub const fn vmtable_import_definition(&self) -> u8 {
    428
        /// The offset of the `base` field.
    429
        #[allow(clippy::erasing_op)]
    430
        pub const fn vmtable_definition_base(&self) -> u8 {
    453
        /// The offset of the `from` field.
    454
        #[allow(clippy::erasing_op)]
    455
        pub const fn vmmemory_import_definition(&self) -> u8 {
  • wasmer-vm-near 2.4.0/src/vmoffsets.rs
    122
        /// The offset of the `body` field.
    123
        #[allow(clippy::erasing_op)]
    124
        pub const fn vmfunction_import_body(&self) -> u8 {
    146
        /// The offset of the `address` field.
    147
        #[allow(clippy::erasing_op)]
    148
        pub const fn vmdynamicfunction_import_context_address(&self) -> u8 {
    179
        /// The offset of the `definition` field.
    180
        #[allow(clippy::erasing_op)]
    181
        pub const fn vmtable_import_definition(&self) -> u8 {
    203
        /// The offset of the `base` field.
    204
        #[allow(clippy::erasing_op)]
    205
        pub const fn vmtable_definition_base(&self) -> u8 {
    232
        /// The offset of the `from` field.
    233
        #[allow(clippy::erasing_op)]
    234
        pub const fn vmmemory_import_definition(&self) -> u8 {
  • wasmtime-environ 5.0.0/src/vmoffsets.rs
    101
        /// The offset of the `func_ptr` field.
    102
        #[allow(clippy::erasing_op)]
    103
        #[inline]
    171
        /// The offset of the `base` field.
    172
        #[allow(clippy::erasing_op)]
    173
        #[inline]
    447
        /// The offset of the `body` field.
    448
        #[allow(clippy::erasing_op)]
    449
        #[inline]
    479
        /// The offset of the `from` field.
    480
        #[allow(clippy::erasing_op)]
    481
        #[inline]
    502
        /// The offset of the `base` field.
    503
        #[allow(clippy::erasing_op)]
    504
        #[inline]
  • web-audio-api 0.28.0/src/node/audio_buffer_source.rs
    1105
        // just to make things more readable when populating expected values
    1106
        #[allow(clippy::erasing_op)]
    1107
        #[allow(clippy::identity_op)]
  • xilinx-dma 0.0.7/src/axi_dma.rs
    12
    #[allow(clippy::erasing_op)]
    13
    const MM2S_DMACR: isize = 0x0 / 4;
  • xilinx-dma 0.0.7/src/axi_dma_async.rs
    13
    #[allow(clippy::erasing_op)]
    14
    const MM2S_DMACR: isize = 0x0 / 4;
  • concrete-fft 0.1.0/src/lib.rs
    64
    #![allow(
    65
        clippy::erasing_op,
    66
        clippy::identity_op,
  • constellation-rs 0.2.0-alpha.2/src/bin/constellation/master.rs
    1
    #![allow(clippy::too_many_lines, clippy::erasing_op)]
  • jpeg-decoder 0.3.0/src/idct.rs
    8
    // Note: consistency for unrolled, scaled offset loops
    9
    #![allow(clippy::erasing_op)]
    10
    #![allow(clippy::identity_op)]
  • labrador-ldpc 1.0.1/src/codes/mod.rs
    7
    // We have a bunch of expressions with +0 for clarity of where the 0 comes from
    8
    #![allow(clippy::identity_op,clippy::erasing_op)]
  • oxygen_quark 0.0.11/src/matrix/matrix2x2.rs
    1
    #![allow(
    2
        clippy::erasing_op,
    3
        clippy::identity_op,
  • oxygen_quark 0.0.11/src/matrix/matrix3x3.rs
    1
    #![allow(
    2
        clippy::erasing_op,
    3
        clippy::identity_op,
  • oxygen_quark 0.0.11/src/matrix/matrix4x4.rs
    1
    #![allow(
    2
        clippy::erasing_op,
    3
        clippy::identity_op,
  • tor-rtcompat 0.8.0/src/timer.rs
    195
    mod test {
    196
        #![allow(clippy::erasing_op)]
    197
        use super::*;