• aptos-time-service 0.2.7/src/mock.rs
    18
    #[inline]
    19
    #[allow(clippy::integer_arithmetic)]
    20
    fn duration_max() -> Duration {
  • aptosdb 0.2.7/src/event_store/mod.rs
    380
            // overflow not possible
    381
            #[allow(clippy::integer_arithmetic)]
    382
            {
  • arranged 0.1.2/src/ranged.rs
    206
                    // to `WidenedValueType` to ensure overflow cannot happen in this case either.
    207
                    #[allow(clippy::integer_arithmetic)]
    208
                    let range_len = end.clone() - start.clone() + <TRangeLhs as IRange>::WidenedValueType::one();
    210
                    // `abs_value > end` per `match` arm ensures that `abs_value - end` cannot overflow
    211
                    #[allow(clippy::integer_arithmetic)]
    212
                    let overflow_magnitude = abs_value - end;
  • base64ct 1.5.3/src/encoding.rs
    106
        // TODO(tarcieri): explicitly checked/wrapped arithmetic
    107
        #[allow(clippy::integer_arithmetic)]
    108
        fn decode_in_place(mut buf: &mut [u8]) -> Result<&[u8], InvalidEncodingError> {
    308
        // TODO(tarcieri): explicitly checked/wrapped arithmetic
    309
        #[allow(clippy::integer_arithmetic)]
    310
        fn last_block_start(bytes: &[u8], block_size: usize) -> usize {
    346
    // TODO(tarcieri): explicitly checked/wrapped arithmetic
    347
    #[allow(clippy::integer_arithmetic)]
    348
    #[inline(always)]
    357
    // TODO(tarcieri): explicitly checked/wrapped arithmetic
    358
    #[allow(clippy::integer_arithmetic)]
    359
    #[inline(always)]
    364
    // TODO(tarcieri): explicitly checked/wrapped arithmetic
    365
    #[allow(clippy::integer_arithmetic)]
    366
    #[inline(always)]
  • bcs 0.1.4/src/de.rs
    140
        #[allow(clippy::integer_arithmetic)]
    141
        fn parse_u32_from_uleb128(&mut self) -> Result<u32> {
  • bcs-link 0.1.3/src/de.rs
    170
        #[allow(clippy::integer_arithmetic)]
    171
        fn parse_u32_from_uleb128(&mut self) -> Result<u32> {
  • binfarce 0.2.1/src/macho.rs
    228
    // so it's not hardened against malicious inputs
    229
    #[allow(clippy::integer_arithmetic)]
    230
    #[allow(clippy::indexing_slicing)]
  • binfarce 0.2.1/src/pe.rs
    136
        // so it's not hardened against malicious inputs
    137
        #[allow(clippy::integer_arithmetic)]
    138
        #[allow(clippy::cast_possible_truncation)]
  • casper-node 1.4.8/src/components/consensus/era_supervisor.rs
    157
            let auction_delay = protocol_config.auction_delay;
    158
            #[allow(clippy::integer_arithmetic)] // Block height should never reach u64::MAX.
    159
            let next_height = maybe_latest_block_header.map_or(0, |hdr| hdr.height() + 1);
    472
        /// block execution has caught up with finalization.
    473
        #[allow(clippy::integer_arithmetic)] // Block height should never reach u64::MAX.
    474
        fn executed_block(&mut self, block_header: &BlockHeader) {
    515
                #[allow(clippy::integer_arithmetic)] // Block height should never reach u64::MAX.
    516
                if era_id.is_genesis() {
    978
            let now = Timestamp::now(); // TODO: This should be passed in.
    979
            #[allow(clippy::integer_arithmetic)] // Block height should never reach u64::MAX.
    980
            let mut outcomes = self.era_supervisor.new_era(
    1061
        #[allow(clippy::integer_arithmetic)] // Block height should never reach u64::MAX.
    1062
        fn handle_consensus_outcome(
  • casper-node 1.4.8/src/components/consensus/highway_core/active_validator.rs
    656
    #[cfg(test)]
    657
    #[allow(clippy::integer_arithmetic)] // Overflows in tests panic anyway.
    658
    mod tests {
  • casper-node 1.4.8/src/components/consensus/highway_core/finality_detector/rewards.rs
    83
        // Collect the block rewards for each validator who is a member of at least one summit.
    84
        #[allow(clippy::integer_arithmetic)] // See inline comments.
    85
        max_quorum
    152
    #[allow(unused_qualifications)] // This is to suppress warnings originating in the test macros.
    153
    #[allow(clippy::integer_arithmetic)] // Overflows in tests would panic anyway.
    154
    #[cfg(test)]
  • casper-node 1.4.8/src/components/consensus/highway_core/finality_detector.rs
    127
        /// Returns the quorum required by a summit with the specified level and the required FTT.
    128
        #[allow(clippy::integer_arithmetic)] // See comments.
    129
        fn quorum_for_lvl(&self, lvl: usize, total_w: Weight) -> Weight {
    155
            // In a trillion years, we need to make block height u128.
    156
            #[allow(clippy::integer_arithmetic)]
    157
            let height_plus_1 = |bhash| state.block(bhash).height + 1;
  • casper-types 1.5.0/src/era_id.rs
    58
        /// Returns a successor to current era.
    59
        #[allow(clippy::integer_arithmetic)] // The caller must make sure this doesn't overflow.
    60
        pub fn successor(self) -> EraId {
    118
        #[allow(clippy::integer_arithmetic)] // The caller must make sure this doesn't overflow.
    119
        fn add(self, x: u64) -> EraId {
    133
        #[allow(clippy::integer_arithmetic)] // The caller must make sure this doesn't overflow.
    134
        fn sub(self, x: u64) -> EraId {
  • cbe-program 1.15.0/src/entrypoint.rs
    236
    /// other use may overflow and is thus unsupported and at one's own risk.
    237
    #[allow(clippy::integer_arithmetic)]
    238
    unsafe impl std::alloc::GlobalAlloc for BumpAllocator {
    274
    /// # Safety
    275
    #[allow(clippy::integer_arithmetic)]
    276
    #[allow(clippy::type_complexity)]
  • cbe-program 1.15.0/src/message/legacy.rs
    12
    #![allow(clippy::integer_arithmetic)]
    599
            for i in 1..self.account_keys.len() {
    600
                #[allow(clippy::integer_arithmetic)]
    601
                if self.account_keys[i..].contains(&self.account_keys[i - 1]) {
  • cbe-program 1.15.0/src/program.rs
    392
    #[doc(hidden)]
    393
    #[allow(clippy::integer_arithmetic)]
    394
    pub fn check_type_assumptions() {
  • cbe-program-runtime 1.15.0/src/invoke_context.rs
    1059
        #[allow(clippy::integer_arithmetic)]
    1060
        fn mock_process_instruction(
  • cbe_rbpf 0.2.38/src/memory_region.rs
    204
        /// Given a list of regions translate from virtual machine to host address
    205
        #[allow(clippy::integer_arithmetic)]
    206
        pub fn map(&self, access_type: AccessType, vm_addr: u64, len: u64, pc: usize) -> ProgramResult {
    451
        #[allow(clippy::integer_arithmetic)]
    452
        #[inline]
  • cbe-sdk 1.15.0/src/offchain_message.rs
    45
    #[allow(clippy::integer_arithmetic)]
    46
    pub mod v0 {
  • cbe-sdk 1.15.0/src/shred_version.rs
    22
        // Because accum[0] is a u8, 8bit left shift of the u16 can never overflow
    23
        #[allow(clippy::integer_arithmetic)]
    24
        let version = ((accum[0] as u16) << 8) | accum[1] as u16;
  • clicsv 0.1.4/src/editor.rs
    299
            let len = welcome_message.len();
    300
            #[allow(clippy::integer_arithmetic, clippy::integer_division)]
    301
            let padding = width.saturating_sub(len)/2;
    341
            #[allow(clippy::integer_arithmetic)]
    342
            let len = status.len() + line_indicator.len();
  • const-oid 0.9.1/src/arcs.rs
    74
                            // which ensure the operations will not overflow.
    75
                            #[allow(clippy::integer_arithmetic)]
    76
                            Some(byte) => {
    132
            // The checks above ensure this operation will not overflow
    133
            #[allow(clippy::integer_arithmetic)]
    134
            let byte = (first_arc * (ARC_MAX_SECOND + 1)) as u8 + second_arc as u8;
    139
        /// Get the value of the first arc
    140
        #[allow(clippy::integer_arithmetic)]
    141
        pub(crate) const fn first_arc(self) -> Arc {
    145
        /// Get the value of the second arc
    146
        #[allow(clippy::integer_arithmetic)]
    147
        pub(crate) const fn second_arc(self) -> Arc {
    155
        // Ensured not to overflow by constructor invariants
    156
        #[allow(clippy::integer_arithmetic)]
    157
        fn try_from(octet: u8) -> Result<Self> {
  • const-oid 0.9.1/src/encoder.rs
    64
                // Ensured not to overflow by `ARC_MAX_SECOND` check
    65
                #[allow(clippy::integer_arithmetic)]
    66
                State::FirstArc(first_arc) => {
    76
                // TODO(tarcieri): finer-grained overflow safety / checked arithmetic
    77
                #[allow(clippy::integer_arithmetic)]
    78
                State::Body => {
    117
            // Underflow checked by branch
    118
            #[allow(clippy::integer_arithmetic)]
    119
            if n > 0x80 {
  • const-oid 0.9.1/src/parser.rs
    52
                // TODO(tarcieri): checked arithmetic
    53
                #[allow(clippy::integer_arithmetic)]
    54
                [byte @ b'0'..=b'9', remaining @ ..] => {
  • crt0stack 0.1.0/src/builder.rs
    289
                #[allow(clippy::integer_arithmetic)]
    290
                let align_offset = (&self.stack[dst_idx] as *const _ as usize) % align_of::<Stack>();
    294
                // Align the source start index
    295
                #[allow(clippy::integer_arithmetic)]
    296
                let src_start_idx = self.items % size_of::<usize>();
    306
    #[cfg(test)]
    307
    #[allow(clippy::integer_arithmetic)]
    308
    mod tests {
  • crt0stack 0.1.0/src/reader.rs
    8
    // Convert a usize (pointer) to a string.
    9
    #[allow(clippy::integer_arithmetic)]
    10
    unsafe fn u2s<'a>(ptr: usize) -> core::result::Result<&'a str, core::str::Utf8Error> {
    81
        #[inline]
    82
        #[allow(clippy::integer_arithmetic)]
    83
        pub fn rewind(&mut self) {
    248
    #[cfg(test)]
    249
    #[allow(clippy::integer_arithmetic)]
    250
    mod tests {
  • css-inline 0.8.5/src/lib.rs
    503
                // override with the new one.
    504
                #[allow(clippy::integer_arithmetic)]
    505
                (Some(value), Some(index)) => {
  • cur 0.5.0/src/hunt.rs
    55
        unsafe fn increment(&mut self, value: ByteLen) {
    56
            #[allow(clippy::integer_arithmetic)]
    57
            {
    130
        pub const fn end(&self) -> ByteLen {
    131
            #[allow(clippy::integer_arithmetic)]
    132
            {
    150
        pub(crate) unsafe fn increment(&mut self, value: ByteLen) {
    151
            #[allow(clippy::integer_arithmetic)]
    152
            {
  • cur_macro 0.5.0/src/lib.rs
    599
                    } else {
    600
                        #[allow(clippy::integer_arithmetic)] { // False positive.
    601
                            quote! {
    606
                }
    607
                #[allow(clippy::integer_arithmetic)] // False positive.
    608
                Self::Union(ref odors) => {
  • der 0.6.1/src/asn1/bit_string.rs
    352
        #[allow(clippy::integer_arithmetic)]
    353
        fn next(&mut self) -> Option<bool> {
    389
    #[cfg(feature = "flagset")]
    390
    #[allow(clippy::integer_arithmetic)]
    391
    impl<'a, T> DecodeValue<'a> for flagset::FlagSet<T>
    415
    #[cfg(feature = "flagset")]
    416
    #[allow(clippy::integer_arithmetic)]
    417
    #[inline(always)]
    434
    #[cfg(feature = "flagset")]
    435
    #[allow(clippy::cast_possible_truncation, clippy::integer_arithmetic)]
    436
    impl<T: flagset::Flags> EncodeValue for flagset::FlagSet<T>
  • der 0.6.1/src/asn1/set_of.rs
    386
    /// sorting errors.
    387
    #[allow(clippy::integer_arithmetic)]
    388
    fn der_sort<T: DerOrd>(slice: &mut [T]) -> Result<()> {
  • der 0.6.1/src/datetime.rs
    60
        // TODO(tarcieri): checked arithmetic
    61
        #[allow(clippy::integer_arithmetic)]
    62
        pub fn new(year: u16, month: u8, day: u8, hour: u8, minutes: u8, seconds: u8) -> Result<Self> {
    128
        // TODO(tarcieri): checked arithmetic
    129
        #[allow(clippy::integer_arithmetic)]
    130
        pub fn from_unix_duration(unix_duration: Duration) -> Result<Self> {
    261
        // TODO(tarcieri): checked arithmetic
    262
        #[allow(clippy::integer_arithmetic)]
    263
        fn from_str(s: &str) -> Result<Self> {
    364
    // TODO(tarcieri): checked arithmetic
    365
    #[allow(clippy::integer_arithmetic)]
    366
    pub(crate) fn decode_decimal(tag: Tag, hi: u8, lo: u8) -> Result<u8> {
  • domino_program 0.1.2/src/entrypoint.rs
    227
    /// other use may overflow and is thus unsupported and at one's own risk.
    228
    #[allow(clippy::integer_arithmetic)]
    229
    unsafe impl std::alloc::GlobalAlloc for BumpAllocator {
    265
    /// # Safety
    266
    #[allow(clippy::integer_arithmetic)]
    267
    #[allow(clippy::type_complexity)]
  • domino_program 0.1.2/src/message/legacy.rs
    12
    #![allow(clippy::integer_arithmetic)]
    690
            for i in 1..self.account_keys.len() {
    691
                #[allow(clippy::integer_arithmetic)]
    692
                if self.account_keys[i..].contains(&self.account_keys[i - 1]) {
  • domino-program-dp 0.1.11/src/entrypoint.rs
    227
    /// other use may overflow and is thus unsupported and at one's own risk.
    228
    #[allow(clippy::integer_arithmetic)]
    229
    unsafe impl std::alloc::GlobalAlloc for BumpAllocator {
    265
    /// # Safety
    266
    #[allow(clippy::integer_arithmetic)]
    267
    #[allow(clippy::type_complexity)]
  • domino-program-dp 0.1.11/src/message/legacy.rs
    12
    #![allow(clippy::integer_arithmetic)]
    690
            for i in 1..self.account_keys.len() {
    691
                #[allow(clippy::integer_arithmetic)]
    692
                if self.account_keys[i..].contains(&self.account_keys[i - 1]) {
  • enarx-shim-kvm 0.6.3/src/addr.rs
    22
    /// 2 MiB
    23
    #[allow(clippy::integer_arithmetic)]
    24
    pub const BYTES_2_MIB: u64 = bytes![2; MiB];
    26
    /// 1 GiB
    27
    #[allow(clippy::integer_arithmetic)]
    28
    pub const BYTES_1_GIB: u64 = bytes![1; GiB];
    110
            // Safety: checked, that it is in the shim virtual address space earlier
    111
            #[allow(clippy::integer_arithmetic)]
    112
            ShimVirtAddr(unsafe {
    122
        fn try_from(value: ShimVirtAddr<U>) -> Result<Self, Self::Error> {
    123
            #[allow(clippy::integer_arithmetic)]
    124
            let value = value.0.raw();
    170
        fn try_from(value: ShimVirtAddr<U>) -> Result<Self, Self::Error> {
    171
            #[allow(clippy::integer_arithmetic)]
    172
            let value = value.0;
  • enarx-shim-kvm 0.6.3/src/allocator.rs
    39
    #[repr(C, align(0x200000))]
    40
    #[allow(clippy::integer_arithmetic)]
    41
    pub struct Page2MiB([u8; bytes![2; MiB]]);
    74
    #[inline]
    75
    #[allow(clippy::integer_arithmetic)]
    76
    fn msb(val: usize) -> u32 {
  • enarx-shim-kvm 0.6.3/src/exec.rs
    37
    /// Initial exec stack size
    38
    #[allow(clippy::integer_arithmetic)]
    39
    const EXEC_STACK_SIZE: u64 = bytes![2; MiB];
  • enarx-shim-kvm 0.6.3/src/gdt.rs
    24
    /// The size of the main kernel stack
    25
    #[allow(clippy::integer_arithmetic)]
    26
    pub const SHIM_STACK_SIZE: u64 = bytes![2; MiB];
    31
    /// The size of the main kernel stack for exceptions
    32
    #[allow(clippy::integer_arithmetic)]
    33
    pub const SHIM_EX_STACK_SIZE: u64 = {
  • enarx_test_011 0.1.0/internal/shim-sev/src/addr.rs
    23
    /// 2 MiB
    24
    #[allow(clippy::integer_arithmetic)]
    25
    pub const BYTES_2_MIB: u64 = bytes![2; MiB];
    27
    /// 1 GiB
    28
    #[allow(clippy::integer_arithmetic)]
    29
    pub const BYTES_1_GIB: u64 = bytes![1; GiB];
    148
            // Safety: checked, that it is in the shim virtual address space earlier
    149
            #[allow(clippy::integer_arithmetic)]
    150
            ShimVirtAddr(unsafe {
    160
        fn try_from(value: ShimVirtAddr<U>) -> Result<Self, Self::Error> {
    161
            #[allow(clippy::integer_arithmetic)]
    162
            let value = value.0.raw();
    208
        fn try_from(value: ShimVirtAddr<U>) -> Result<Self, Self::Error> {
    209
            #[allow(clippy::integer_arithmetic)]
    210
            let value = value.0;
  • enarx_test_011 0.1.0/internal/shim-sev/src/allocator.rs
    39
    #[repr(C, align(0x200000))]
    40
    #[allow(clippy::integer_arithmetic)]
    41
    pub struct Page2MiB([u8; bytes![2; MiB]]);
    74
    #[inline]
    75
    #[allow(clippy::integer_arithmetic)]
    76
    fn msb(val: usize) -> u32 {
  • enarx_test_011 0.1.0/internal/shim-sev/src/attestation.rs
    10
    /// The maximum size of the injected secret for SEV keeps
    11
    #[allow(clippy::integer_arithmetic)]
    12
    pub const SEV_SECRET_MAX_SIZE: usize = bytes!(16; KiB);
    30
    impl SevSecret {
    31
        #[allow(clippy::integer_arithmetic)]
    32
        unsafe fn cbor_len(data: *const u8) -> Option<usize> {
  • enarx_test_011 0.1.0/internal/shim-sev/src/gdt.rs
    24
    /// The size of the main kernel stack
    25
    #[allow(clippy::integer_arithmetic)]
    26
    pub const SHIM_STACK_SIZE: u64 = bytes![2; MiB];
  • fuel-vm 0.25.2/src/arith.rs
    40
        #[cfg(feature = "optimized")]
    41
        #[allow(clippy::integer_arithmetic)]
    42
        return Ok(a + b);
    59
        #[cfg(feature = "optimized")]
    60
        #[allow(clippy::integer_arithmetic)]
    61
        return Ok(a - b);
    71
    #[inline(always)]
    72
    #[allow(clippy::integer_arithmetic)]
    73
    pub const fn add_usize(a: usize, b: usize) -> usize {
  • gemachain-perf 1.8.0/src/sigverify.rs
    496
    #[cfg(test)]
    497
    #[allow(clippy::integer_arithmetic)]
    498
    mod tests {
  • gemachain-program 1.8.2/src/entrypoint.rs
    108
    /// other use may overflow and is thus unsupported and at one's own risk.
    109
    #[allow(clippy::integer_arithmetic)]
    110
    unsafe impl std::alloc::GlobalAlloc for BumpAllocator {
    141
    /// done at one's own risk.
    142
    #[allow(clippy::integer_arithmetic)]
    143
    ///
  • gemachain-program 1.8.2/src/message/legacy.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    //! A library for generating a message from a sequence of instructions
    498
            for i in 1..self.account_keys.len() {
    499
                #[allow(clippy::integer_arithmetic)]
    500
                if self.account_keys[i..].contains(&self.account_keys[i - 1]) {
  • gemachain-program 1.8.2/src/message/sanitized.rs
    217
        //   69..data_len - data
    218
        #[allow(clippy::integer_arithmetic)]
    219
        pub fn serialize_instructions(&self, demote_program_write_locks: bool) -> Vec<u8> {
  • gemachain-sdk 1.8.2/src/shred_version.rs
    18
        // Because accum[0] is a u8, 8bit left shift of the u16 can never overflow
    19
        #[allow(clippy::integer_arithmetic)]
    20
        let version = ((accum[0] as u16) << 8) | accum[1] as u16;
  • iqkms-types 0.0.1/src/ethereum.rs
    140
                    // Take the last 20 bytes of the digest as the address
    141
                    #[allow(clippy::integer_arithmetic)]
    142
                    digest[(Address::LENGTH - 20)..].try_into()
  • jsonschema 0.16.1/src/keywords/one_of.rs
    57
        #[allow(clippy::integer_arithmetic)]
    58
        fn are_others_valid(&self, instance: &Value, idx: usize) -> bool {
  • jsonschema 0.16.1/src/keywords/pattern.rs
    148
    #[allow(clippy::integer_arithmetic)]
    149
    fn replace_control_group(captures: &regex::Captures) -> String {
  • jsonschema 0.16.1/src/primitive_type.rs
    144
        type Item = PrimitiveType;
    145
        #[allow(clippy::integer_arithmetic)]
    146
        fn next(&mut self) -> Option<Self::Item> {
  • kmp 0.1.1/src/find.rs
    77
        #[allow(clippy::integer_arithmetic)]
    78
        for (haystack_pos, haystack_char) in haystack.iter().enumerate() {
  • kmp 0.1.1/src/match.rs
    79
        #[allow(clippy::indexing_slicing, clippy::integer_arithmetic)]
    80
        while let Some(position) = kmp_find_with_lsp_table(needle, &haystack[start..], lsp) {
  • kmp 0.1.1/src/table.rs
    23
            #[allow(clippy::integer_arithmetic)]
    24
            while distance > 0 && *needle_char != needle[distance] {
  • laminar-bcs 0.1.3/src/de.rs
    170
        #[allow(clippy::integer_arithmetic)]
    171
        fn parse_u32_from_uleb128(&mut self) -> Result<u32> {
  • lecturn 0.1.9/src/document.rs
    62
            let new_row = self.rows[at.y].split(at.x);
    63
            #[allow(clippy::integer_arithmetic)]
    64
            self.rows.insert(at.y + 1, new_row);
    84
        }
    85
        #[allow(clippy::integer_arithmetic, clippy::indexing_slicing)]
    86
        pub fn delete(&mut self, at: &Position) {
  • lecturn 0.1.9/src/editor.rs
    308
            let len = welcome_message.len();
    309
            #[allow(clippy::integer_arithmetic, clippy::integer_division)]
    310
            let padding = width.saturating_sub(len) / 2;
    318
            let start = self.offset.x;
    319
            #[allow(clippy::integer_arithmetic)]
    320
            let end = self.offset.x + width - self.terminal.size().height.to_string().len();
    323
        }
    324
        #[allow(clippy::integer_arithmetic, clippy::integer_division)]
    325
        fn draw_rows(&self) {
    370
            );
    371
            #[allow(clippy::integer_arithmetic)]
    372
            let len = status.len() + position_indicator.len();
  • lecturn 0.1.9/src/row.rs
    28
            let mut current_highlighting = &highlighting::Type::None;
    29
            #[allow(clippy::integer_arithmetic)]
    30
            for (index, grapheme) in self.string[..]
  • libra-canonical-serialization 0.1.0/src/de.rs
    140
        #[allow(clippy::integer_arithmetic)]
    141
        fn parse_u32_from_uleb128(&mut self) -> Result<u32> {
  • lmake_lines_of_code 2020.613.1337/src/main.rs
    117
    #[allow(clippy::print_stdout, clippy::integer_arithmetic)]
    118
    /// The program starts here.
  • lmake_md_to_doc_comments 0.5.6/src/bin/lmake_md_to_doc_comments.rs
    82
    #[allow(clippy::print_stdout, clippy::integer_arithmetic)]
    83
    /// The program starts here. No arguments.
  • lmake_readme 0.5.4/src/main.rs
    203
    #[allow(clippy::print_stdout, clippy::integer_arithmetic)]
    204
    /// The program starts here. No arguments.
  • lmake_readme 0.5.4/src/utilsmod.rs
    110
    #[allow(clippy::integer_arithmetic)]
    111
    /// find from_pos
  • lmake_semver 0.1.12/src/main.rs
    117
    #[allow(clippy::print_stdout, clippy::integer_arithmetic)]
    118
    /// The program starts here.
  • lmake_semver 0.1.12/src/utilsmod.rs
    40
    #[allow(clippy::integer_arithmetic)]
    41
    /// find from_pos
  • lmake_version_from_date 0.3.41/src/main.rs
    154
    #[allow(clippy::print_stdout, clippy::integer_arithmetic)]
    155
    /// The program starts here. No arguments.
    372
    #[allow(clippy::integer_arithmetic)]
    373
    /// in string find from position
  • locked-voter 0.5.8/src/locker.rs
    44
    #[cfg(test)]
    45
    #[allow(clippy::integer_arithmetic, clippy::unwrap_used)]
    46
    mod tests {
  • mecs 0.1.1/src/world/entity_id.rs
    32
    			/// Increments this id
    33
    			#[allow(clippy::integer_arithmetic)] // We need to add one to get the next id
    34
    			pub(crate) fn inc(&mut self) {
  • mecs 0.1.1/src/world/iter.rs
    55
    		#[allow(clippy::integer_arithmetic)] // We need to add one to get the next index
    56
    		fn next(&mut self) -> Option< Self::Item >
    96
    		#[allow(clippy::integer_arithmetic)] // We need to add one to get the next index
    97
    		fn next(&mut self) -> Option< Self::Item >
  • mecs 0.1.1/src/world.rs
    187
    			/// Registers a predicate to filter entities through
    188
    			#[allow(clippy::integer_arithmetic)] // We need to add one to get the next pred id
    189
    			pub fn add_pred<F>(&mut self, f: F) -> usize
  • meiosis 0.1.0/src/gene/char.rs
    102
                // some valid value which won't cause an overflow.
    103
                #[allow(clippy::arithmetic_side_effects, clippy::integer_arithmetic)]
    104
                char::from_u32(u32::from(char) + 1)
    120
                // some valid value which won't cause an underflow.
    121
                #[allow(clippy::arithmetic_side_effects, clippy::integer_arithmetic)]
    122
                char::from_u32(u32::from(char) - 1)
  • meiosis 0.1.0/src/genotype/string.rs
    14
        // this algorithm should be fine as it is
    15
        #[allow(clippy::integer_arithmetic)]
    16
        fn distance(&self, other: &Self) -> f32 {
  • ranged_type 0.1.0/src/arith_helpers.rs
    1
    #[inline]
    2
    #[allow(clippy::integer_arithmetic)]
    33
    #[inline]
    34
    #[allow(clippy::integer_arithmetic)]
    44
    #[inline]
    45
    #[allow(clippy::integer_arithmetic, clippy::checked_conversions)]
  • ranged_type 0.1.0/src/ranged_i32/add/ranged_i32.rs
    17
        // bounds are always valid, then the sum of the contained values cannot overflow.
    18
        #[allow(clippy::integer_arithmetic)]
    19
        fn add(self, rhs: RangedI32<START_RHS, END_RHS>) -> Self::Output {
  • ranged_type 0.1.0/src/ranged_i32/overflowing/overflowing_add.rs
    6
    impl<const START: i32, const END: i32> RangedI32<START, END> {
    7
        #[allow(clippy::integer_arithmetic)]
    8
        #[must_use]
  • ranged_type 0.1.0/src/ranged_i32/overflowing/overflowing_sub.rs
    3
    impl<const START: i32, const END: i32> RangedI32<START, END> {
    4
        #[allow(clippy::integer_arithmetic)]
    5
        #[must_use]
  • ranged_type 0.1.0/src/ranged_i32/sub/ranged_i32.rs
    15
        // compile time).  ∴ the sum of the contained values cannot overflow.
    16
        #[allow(clippy::integer_arithmetic)]
  • ranges 0.3.3/src/domain/char.rs
    11
        /// the returned value will be `\u{0xd7ff}`.
    12
        #[allow(clippy::as_conversions, clippy::integer_arithmetic, clippy::use_self)]
    13
        fn predecessor(&self) -> Option<Self> {
    33
        /// the returned value will be `\u{0xe000}`.
    34
        #[allow(clippy::as_conversions, clippy::integer_arithmetic, clippy::use_self)]
    35
        fn successor(&self) -> Option<Self> {
    94
        #[allow(clippy::integer_arithmetic, clippy::as_conversions)]
    95
        fn next(&self) -> Option<Self::Output> {
  • ranges 0.3.3/src/domain/i128.rs
    10
        #[must_use]
    11
        #[allow(clippy::integer_arithmetic)]
    12
        fn predecessor(&self) -> Option<Self> {
    20
        #[must_use]
    21
        #[allow(clippy::integer_arithmetic)]
    22
        fn successor(&self) -> Option<Self> {
    41
        #[must_use]
    42
        #[allow(clippy::shadow_reuse, clippy::integer_arithmetic, clippy::as_conversions)]
    43
        fn shares_neighbour_with(&self, other: &Self) -> bool {
    66
            } else {
    67
                #[allow(clippy::integer_arithmetic)]
    68
                Some(*self + 1)
  • ranges 0.3.3/src/domain/i16.rs
    10
        #[must_use]
    11
        #[allow(clippy::integer_arithmetic)]
    12
        fn predecessor(&self) -> Option<Self> {
    20
        #[must_use]
    21
        #[allow(clippy::integer_arithmetic)]
    22
        fn successor(&self) -> Option<Self> {
    41
        #[must_use]
    42
        #[allow(clippy::shadow_reuse, clippy::integer_arithmetic, clippy::as_conversions)]
    43
        fn shares_neighbour_with(&self, other: &Self) -> bool {
  • rational_extensions 0.1.0/src/lib.rs
    259
        clippy::arithmetic_side_effects,
    260
        clippy::integer_arithmetic
    261
    )]
  • reader_for_microxml 2.0.1/src/lib.rs
    236
        /// and stops the propagation of Option None.  
    237
        #[allow(clippy::integer_arithmetic, clippy::nonminimal_bool)]
    238
        fn read_token_internal(&mut self) -> Option<Result<Token<'a>, &'static str>> {
  • rim 0.1.1/src/document.rs
    53
            let new_row = current_row.split(at.x);
    54
            #[allow(clippy::integer_arithmetic)]
    55
            self.rows.insert(at.y + 1, new_row);
    81
        }
    82
        #[allow(clippy::integer_arithmetic, clippy::indexing_slicing)]
    83
        pub fn delete(&mut self, at: &Position) {
  • rim 0.1.1/src/editor.rs
    302
            let len = welcome_message.len();
    303
            #[allow(clippy::integer_arithmetic, clippy::integer_division)]
    304
            let padding = width.saturating_sub(len) / 2;
    316
        }
    317
        #[allow(clippy::integer_division, clippy::integer_arithmetic)]
    318
        fn draw_rows(&self) {
    360
            );
    361
            #[allow(clippy::integer_arithmetic)]
    362
            let len = status.len() + line_indicator.len();
  • rim 0.1.1/src/row.rs
    32
            let mut current_highlighting = &highlighting::Type::None;
    33
            #[allow(clippy::integer_arithmetic)]
    34
            for (index, grapheme) in self.string[..]
    147
            };
    148
            #[allow(clippy::integer_arithmetic)]
    149
            let substring: String = self.string[..]
    163
                    if matching_byte_index == byte_index {
    164
                        #[allow(clippy::integer_arithmetic)]
    165
                        return Some(start + grapheme_index);
    225
            if *index > 0 {
    226
                #[allow(clippy::indexing_slicing, clippy::integer_arithmetic)]
    227
                let prev_char = chars[*index - 1];
    233
                if *index < chars.len().saturating_sub(word.len()) {
    234
                    #[allow(clippy::indexing_slicing, clippy::integer_arithmetic)]
    235
                    let next_char = chars[*index + word.len()];
  • rust_wasm_websocket 0.5.5/src/websocket_mod.rs
    282
                            // this will go until 10 and cannot overflow
    283
                            #[allow(clippy::integer_arithmetic)]
    284
                            {
    297
    /// usize of time
    298
    #[allow(clippy::integer_arithmetic)]
    299
    // usize will not overflow, the minutes are max 60, so 6 mio
  • rvim 0.0.8/src/document.rs
    61
            let new_row = current_row.split(at.x);
    62
            #[allow(clippy::integer_arithmetic)]
    63
            self.rows.insert(at.y + 1, new_row);
    90
        }
    91
        #[allow(clippy::integer_arithmetic, clippy::indexing_slicing)]
    92
        pub fn delete(&mut self, at: &Position) {
  • rvim 0.0.8/src/editor.rs
    607
            let len = welcome_message.len();
    608
            #[allow(clippy::integer_arithmetic, clippy::integer_division)]
    609
            let padding = width.saturating_sub(len) / 2;
    621
        }
    622
        #[allow(clippy::integer_division, clippy::integer_arithmetic)]
    623
        fn draw_rows(&self) {
    666
            );
    667
            #[allow(clippy::integer_arithmetic)]
    668
            let len = status.len() + line_indicator.len();
  • rvim 0.0.8/src/row.rs
    33
            let mut current_highlighting = &highlighting::Type::None;
    34
            #[allow(clippy::integer_arithmetic)]
    35
            for (index, grapheme) in self.string[..]
    159
            };
    160
            #[allow(clippy::integer_arithmetic)]
    161
            let substring: String = self.string[..]
    175
                    if matching_byte_index == byte_index {
    176
                        #[allow(clippy::integer_arithmetic)]
    177
                        return Some(start + grapheme_index);
    237
            if *index > 0 {
    238
                #[allow(clippy::indexing_slicing, clippy::integer_arithmetic)]
    239
                let prev_char = chars[*index - 1];
    245
                if *index < chars.len().saturating_sub(word.len()) {
    246
                    #[allow(clippy::indexing_slicing, clippy::integer_arithmetic)]
    247
                    let next_char = chars[*index + word.len()];
  • safecoin-bpf-loader-program 1.14.3/src/syscalls/cpi.rs
    513
                } else {
    514
                    #[allow(clippy::integer_arithmetic)]
    515
                    {
    818
            } else {
    819
                #[allow(clippy::integer_arithmetic)]
    820
                {
    937
                    } else {
    938
                        #[allow(clippy::integer_arithmetic)]
    939
                        {
  • safecoin-perf 1.14.3/src/sigverify.rs
    806
    #[cfg(test)]
    807
    #[allow(clippy::integer_arithmetic)]
    808
    mod tests {
  • safecoin-program 1.14.3/src/entrypoint.rs
    233
    /// other use may overflow and is thus unsupported and at one's own risk.
    234
    #[allow(clippy::integer_arithmetic)]
    235
    unsafe impl std::alloc::GlobalAlloc for BumpAllocator {
    271
    /// # Safety
    272
    #[allow(clippy::integer_arithmetic)]
    273
    #[allow(clippy::type_complexity)]
  • safecoin-program 1.14.3/src/message/legacy.rs
    12
    #![allow(clippy::integer_arithmetic)]
    599
            for i in 1..self.account_keys.len() {
    600
                #[allow(clippy::integer_arithmetic)]
    601
                if self.account_keys[i..].contains(&self.account_keys[i - 1]) {
  • safecoin-program 1.14.3/src/program.rs
    390
    #[doc(hidden)]
    391
    #[allow(clippy::integer_arithmetic)]
    392
    pub fn check_type_assumptions() {
  • safecoin-program-runtime 1.14.3/src/invoke_context.rs
    1236
        #[allow(clippy::integer_arithmetic)]
    1237
        fn mock_process_instruction(
  • safecoin-sdk 1.14.3/src/shred_version.rs
    18
        // Because accum[0] is a u8, 8bit left shift of the u16 can never overflow
    19
        #[allow(clippy::integer_arithmetic)]
    20
        let version = ((accum[0] as u16) << 8) | accum[1] as u16;
  • safecoin-vote-program 1.14.3/src/vote_state/mod.rs
    4067
        #[allow(clippy::integer_arithmetic)]
    4068
        fn run_serde_compact_vote_state_update<R: Rng>(rng: &mut R) {
  • sallyport 0.6.3/src/guest/call/syscall/stub.rs
    36
                STDIN_FILENO | STDOUT_FILENO | STDERR_FILENO => {
    37
                    #[allow(clippy::integer_arithmetic)]
    38
                    const fn makedev(x: u64, y: u64) -> u64 {
  • sbf 0.1.6/src/data_structure.rs
    104
                    // Return cell index
    105
                    #[allow(clippy::integer_arithmetic)]
    106
                    (digest_value as usize % self.filter.len()).as_()
    128
                #[cfg(feature = "metrics")]
    129
                #[allow(clippy::integer_arithmetic)]
    130
                {
    264
                    #[cfg(feature = "metrics")]
    265
                    #[allow(clippy::integer_arithmetic)]
    266
                    {
  • sbf 0.1.6/src/metrics.rs
    109
        /// Computes posterior area-specific false positives probability (fpp)
    110
        #[allow(clippy::integer_arithmetic)]
    111
        pub fn set_area_fpp(&mut self) {
    132
        /// Computes prior area-specific false positives probability (prior_fpp)
    133
        #[allow(clippy::integer_arithmetic)]
    134
        pub fn set_prior_area_fpp(&mut self) {
    193
        /// Computes the expected number of cells for each area (expected_cells)
    194
        #[allow(clippy::integer_arithmetic)]
    195
        pub fn set_expected_area_cells(&mut self) {
  • sbf-blake3 0.2.0/src/data_structure.rs
    106
                    // Return cell index
    107
                    #[allow(clippy::integer_arithmetic)]
    108
                    (digest_value as usize % self.filter.len()).as_()
    130
                #[cfg(feature = "metrics")]
    131
                #[allow(clippy::integer_arithmetic)]
    132
                {
    266
                    #[cfg(feature = "metrics")]
    267
                    #[allow(clippy::integer_arithmetic)]
    268
                    {
  • sbf-blake3 0.2.0/src/metrics.rs
    109
        /// Computes posterior area-specific false positives probability (fpp)
    110
        #[allow(clippy::integer_arithmetic)]
    111
        pub fn set_area_fpp(&mut self) {
    132
        /// Computes prior area-specific false positives probability (prior_fpp)
    133
        #[allow(clippy::integer_arithmetic)]
    134
        pub fn set_prior_area_fpp(&mut self) {
    193
        /// Computes the expected number of cells for each area (expected_cells)
    194
        #[allow(clippy::integer_arithmetic)]
    195
        pub fn set_expected_area_cells(&mut self) {
  • short-hex-str 0.2.7/src/lib.rs
    84
    fn byte2hex(byte: u8) -> (u8, u8) {
    85
        #[allow(clippy::integer_arithmetic)] // X >> 4 is valid for all bytes
    86
        let hi = HEX_CHARS_LOWER[((byte >> 4) & 0x0f) as usize];
    92
    #[inline(always)]
    93
    #[allow(clippy::integer_arithmetic)] // debug only assertion
    94
    fn hex_encode(src: &[u8], dst: &mut [u8]) {
  • snapshots-math 0.2.8/src/lib.rs
    76
    #[cfg(test)]
    77
    #[allow(clippy::unwrap_used, clippy::integer_arithmetic)]
    78
    mod tests {
  • solana-bpf-loader-program 1.14.13/src/syscalls/cpi.rs
    530
                } else {
    531
                    #[allow(clippy::integer_arithmetic)]
    532
                    {
    851
            } else {
    852
                #[allow(clippy::integer_arithmetic)]
    853
                {
    970
                    } else {
    971
                        #[allow(clippy::integer_arithmetic)]
    972
                        {
  • solana-perf 1.14.13/src/sigverify.rs
    802
    #[cfg(test)]
    803
    #[allow(clippy::integer_arithmetic)]
    804
    mod tests {
  • solana-program 1.14.13/src/entrypoint.rs
    233
    /// other use may overflow and is thus unsupported and at one's own risk.
    234
    #[allow(clippy::integer_arithmetic)]
    235
    unsafe impl std::alloc::GlobalAlloc for BumpAllocator {
    271
    /// # Safety
    272
    #[allow(clippy::integer_arithmetic)]
    273
    #[allow(clippy::type_complexity)]
  • solana-program 1.14.13/src/message/legacy.rs
    12
    #![allow(clippy::integer_arithmetic)]
    599
            for i in 1..self.account_keys.len() {
    600
                #[allow(clippy::integer_arithmetic)]
    601
                if self.account_keys[i..].contains(&self.account_keys[i - 1]) {
  • solana-program 1.14.13/src/program.rs
    390
    #[doc(hidden)]
    391
    #[allow(clippy::integer_arithmetic)]
    392
    pub fn check_type_assumptions() {
  • solana-program-runtime 1.14.13/src/invoke_context.rs
    1164
        #[allow(clippy::integer_arithmetic)]
    1165
        fn mock_process_instruction(
  • solana_rbpf 0.2.38/src/memory_region.rs
    204
        /// Given a list of regions translate from virtual machine to host address
    205
        #[allow(clippy::integer_arithmetic)]
    206
        pub fn map(&self, access_type: AccessType, vm_addr: u64, len: u64, pc: usize) -> ProgramResult {
    451
        #[allow(clippy::integer_arithmetic)]
    452
        #[inline]
  • solana-sdk 1.14.13/src/shred_version.rs
    18
        // Because accum[0] is a u8, 8bit left shift of the u16 can never overflow
    19
        #[allow(clippy::integer_arithmetic)]
    20
        let version = ((accum[0] as u16) << 8) | accum[1] as u16;
  • solana-vote-program 1.14.13/src/vote_state/mod.rs
    4060
        #[allow(clippy::integer_arithmetic)]
    4061
        fn run_serde_compact_vote_state_update<R: Rng>(rng: &mut R) {
  • sparkle-cache 0.14.1/src/tests.rs
    459
        /// Updates the cache with the pending events for 1 second
    460
        #[allow(clippy::integer_arithmetic, clippy::arithmetic_side_effects)]
    461
        async fn update(&mut self) -> Result<(), anyhow::Error> {
  • ssh-key 0.5.1/src/cipher.rs
    71
        /// the block size.
    72
        #[allow(clippy::integer_arithmetic)]
    73
        pub fn padding_len(self, input_size: usize) -> usize {
  • ssh-key 0.5.1/src/public/ssh_format.rs
    114
        // TODO(tarcieri): checked arithmetic
    115
        #[allow(clippy::integer_arithmetic)]
    116
        ((((input_len * 4) / 3) + 3) & !3)
  • ssh-key 0.5.1/src/signature.rs
    384
            #[allow(clippy::integer_arithmetic)]
    385
            let mut data = Vec::with_capacity(FIELD_SIZE * 2 + 4 * 2 + 2);
    408
            #[allow(clippy::integer_arithmetic)]
    409
            let mut data = Vec::with_capacity(FIELD_SIZE * 2 + 4 * 2 + 2);
  • stable-swap 1.8.1/src/processor/admin.rs
    263
    #[cfg(test)]
    264
    #[allow(clippy::unwrap_used, clippy::integer_arithmetic)]
    265
    mod tests {
  • stable-swap-math 1.8.1/src/curve.rs
    403
        clippy::unwrap_used,
    404
        clippy::integer_arithmetic,
    405
        clippy::too_many_arguments
  • stable-swap-math 1.8.1/src/pool_converter.rs
    63
    #[cfg(test)]
    64
    #[allow(clippy::unwrap_used, clippy::integer_arithmetic)]
    65
    mod tests {
  • thunderdome 0.6.0/src/arena.rs
    32
        /// useful for passing to code outside of Rust.
    33
        #[allow(clippy::integer_arithmetic)]
    34
        pub const fn to_bits(self) -> u64 {
    49
        /// to work.
    50
        #[allow(clippy::integer_arithmetic)]
    51
        pub const fn from_bits(bits: u64) -> Option<Self> {
  • thunderdome 0.6.0/src/free_pointer.rs
    24
        #[must_use]
    25
        #[allow(clippy::integer_arithmetic)]
    26
        pub(crate) fn slot(self) -> u32 {
  • trace4rs-fmtorp 0.5.0/src/lib.rs
    59
                    if x == '}' {
    60
                        #[allow(clippy::integer_arithmetic)] // no overflow potential
    61
                        if strt + 1 == xi {
    66
                        // and no overflow potential
    67
                        #[allow(clippy::indexing_slicing, clippy::integer_arithmetic)]
    68
                        let ff = &fmt_str[(strt + 1)..xi];
    132
                // last may run off the end if last range
    133
                #[allow(clippy::integer_arithmetic)]
    134
                {
  • twilight-bucket 0.2.2/src/lib.rs
    175
        /// If the `id` is 0 or when the usage count is over [`u16::MAX`]
    176
        #[allow(clippy::unwrap_used, clippy::integer_arithmetic)]
    177
        pub fn register(&self, id: u64) {
  • waffles-solana-bpf-loader-program 1.15.0/src/syscalls/cpi.rs
    1074
    #[allow(clippy::indexing_slicing)]
    1075
    #[allow(clippy::integer_arithmetic)]
    1076
    #[cfg(test)]
  • waffles-solana-perf 1.15.0/src/sigverify.rs
    796
    #[cfg(test)]
    797
    #[allow(clippy::integer_arithmetic)]
    798
    mod tests {
  • waffles-solana-program 1.15.0/src/entrypoint.rs
    236
    /// other use may overflow and is thus unsupported and at one's own risk.
    237
    #[allow(clippy::integer_arithmetic)]
    238
    unsafe impl std::alloc::GlobalAlloc for BumpAllocator {
    274
    /// # Safety
    275
    #[allow(clippy::integer_arithmetic)]
    276
    #[allow(clippy::type_complexity)]
  • waffles-solana-program 1.15.0/src/message/legacy.rs
    12
    #![allow(clippy::integer_arithmetic)]
    599
            for i in 1..self.account_keys.len() {
    600
                #[allow(clippy::integer_arithmetic)]
    601
                if self.account_keys[i..].contains(&self.account_keys[i - 1]) {
  • waffles-solana-program 1.15.0/src/program.rs
    392
    #[doc(hidden)]
    393
    #[allow(clippy::integer_arithmetic)]
    394
    pub fn check_type_assumptions() {
  • waffles-solana-program-runtime 1.15.0/src/invoke_context.rs
    1059
        #[allow(clippy::integer_arithmetic)]
    1060
        fn mock_process_instruction(
  • waffles-solana-sdk 1.15.0/src/offchain_message.rs
    45
    #[allow(clippy::integer_arithmetic)]
    46
    pub mod v0 {
  • waffles-solana-sdk 1.15.0/src/shred_version.rs
    22
        // Because accum[0] is a u8, 8bit left shift of the u16 can never overflow
    23
        #[allow(clippy::integer_arithmetic)]
    24
        let version = ((accum[0] as u16) << 8) | accum[1] as u16;
  • xidlehook-core 0.3.0/src/modules/stop_at.rs
    31
        fn post_timer(&mut self, timer: TimerInfo) -> Result<Progress> {
    32
            #[allow(clippy::integer_arithmetic)] // timer list is never empty
    33
            let stop_after = self.stop_after.unwrap_or(timer.length - 1);
  • yi 0.4.0/src/state.rs
    99
    #[cfg(test)]
    100
    #[allow(clippy::unwrap_used, clippy::integer_arithmetic)]
    101
    mod tests {
  • Aetherus 0.1.1/src/lib.rs
    23
        clippy::indexing_slicing,
    24
        clippy::integer_arithmetic,
    25
        clippy::integer_division,
  • anchor-merkle-tree 1.15.1/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • aptos-crypto 0.2.7/src/hash.rs
    99
    //! ```
    100
    #![allow(clippy::integer_arithmetic)]
    101
    use bytes::Bytes;
  • aptos-crypto 0.2.7/src/noise.rs
    62
    //!
    63
    #![allow(clippy::integer_arithmetic)]
  • aptos-crypto-link 0.0.3/src/hash.rs
    99
    //! ```
    100
    #![allow(clippy::integer_arithmetic)]
    101
    use bytes::Bytes;
  • aptos-crypto-link 0.0.3/src/noise.rs
    62
    //!
    63
    #![allow(clippy::integer_arithmetic)]
  • arctk 2.0.7/src/lib.rs
    24
        clippy::indexing_slicing,
    25
        clippy::integer_arithmetic,
    26
        clippy::missing_panics_doc,
  • babbage 0.1.1/src/lib.rs
    21
        clippy::indexing_slicing,
    22
        clippy::integer_arithmetic,
    23
        clippy::integer_division,
  • backup-cli 0.2.7/src/lib.rs
    4
    #![allow(clippy::integer_arithmetic)]
  • base64ct 1.5.3/src/alphabet.rs
    3
    // TODO(tarcieri): explicitly checked/wrapped arithmetic
    4
    #![allow(clippy::integer_arithmetic)]
  • bve 0.0.1/src/lib.rs
    28
    #![allow(clippy::indexing_slicing)]
    29
    #![allow(clippy::integer_arithmetic)]
    30
    #![allow(clippy::integer_division)]
  • bve-derive 0.0.1/src/lib.rs
    30
    #![allow(clippy::indexing_slicing)] // Proc macros are error prone
    31
    #![allow(clippy::integer_arithmetic)]
    32
    #![allow(clippy::integer_division)]
  • bve-native 0.0.1/src/lib.rs
    69
    #![allow(clippy::indexing_slicing)]
    70
    #![allow(clippy::integer_arithmetic)]
    71
    #![allow(clippy::integer_division)]
  • cartograph 0.1.2/src/lib.rs
    21
        clippy::indexing_slicing,
    22
        clippy::integer_arithmetic,
    23
        clippy::integer_division,
  • cbe-config-program 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod config_instruction;
  • cbe-measure 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod macros;
  • cbe-metrics 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod counter;
  • cbe-program 1.15.0/src/borsh.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    //! Utilities for the [borsh] serialization format.
  • cbe-program 1.15.0/src/entrypoint_deprecated.rs
    10
    #![allow(clippy::integer_arithmetic)]
  • cbe-program 1.15.0/src/fee_calculator.rs
    3
    #![allow(clippy::integer_arithmetic)]
    4
    use {
  • cbe-program 1.15.0/src/instruction.rs
    14
    #![allow(clippy::integer_arithmetic)]
  • cbe-program 1.15.0/src/native_token.rs
    3
    #![allow(clippy::integer_arithmetic)]
  • cbe_rbpf 0.2.38/src/aligned_memory.rs
    217
    mod tests {
    218
        #![allow(clippy::integer_arithmetic)]
    219
        use {super::*, std::io::Write};
  • cbe_rbpf 0.2.38/src/asm_parser.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Copyright 2017 Rich Lane <lanerl@gmail.com>
  • cbe_rbpf 0.2.38/src/assembler.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Copyright 2017 Rich Lane <lanerl@gmail.com>
  • cbe_rbpf 0.2.38/src/disassembler.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Copyright 2017 6WIND S.A. <quentin.monnet@6wind.com>
  • cbe_rbpf 0.2.38/src/ebpf.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Copyright 2016 6WIND S.A. <quentin.monnet@6wind.com>
  • cbe_rbpf 0.2.38/src/insn_builder.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Copyright 2017 Alex Dukhno <alex.dukhno@icloud.com>
  • cbe_rbpf 0.2.38/src/interpreter.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Derived from uBPF <https://github.com/iovisor/ubpf>
  • cbe_rbpf 0.2.38/src/jit.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Derived from uBPF <https://github.com/iovisor/ubpf>
  • cbe-sdk 1.15.0/benches/accounts.rs
    1
    #![feature(test)]
    2
    #![allow(clippy::integer_arithmetic)]
  • consensus-types 0.2.7/src/block_test_utils.rs
    2
    // SPDX-License-Identifier: Apache-2.0
    3
    #![allow(clippy::integer_arithmetic)]
  • const-oid 0.9.1/src/db.rs
    12
    #![allow(clippy::integer_arithmetic, missing_docs)]
  • cosmic-text 0.6.0/src/lib.rs
    64
    // Overflows can produce unpredictable results and are only checked in debug builds
    65
    #![allow(clippy::integer_arithmetic)]
  • datatest-stable 0.1.3/src/runner.rs
    4
    #![allow(clippy::integer_arithmetic)]
  • der 0.6.1/src/asn1/real.rs
    6
        clippy::cast_sign_loss,
    7
        clippy::integer_arithmetic
    8
    )]
  • diem-crypto 0.0.3/src/ed25519.rs
    31
    //! testing purposes. Production code should find an alternate means for secure key generation.
    32
    #![allow(clippy::integer_arithmetic)]
  • diem-crypto 0.0.3/src/hash.rs
    100
    //! ```
    101
    #![allow(clippy::integer_arithmetic)]
    102
    use bytes::Bytes;
  • diem-crypto 0.0.3/src/noise.rs
    57
    //!
    58
    #![allow(clippy::integer_arithmetic)]
  • diem-framework-crypto 0.3.2/src/ed25519.rs
    32
    //! testing purposes. Production code should find an alternate means for secure key generation.
    33
    #![allow(clippy::integer_arithmetic)]
  • diem-framework-crypto 0.3.2/src/hash.rs
    101
    //! ```
    102
    #![allow(clippy::integer_arithmetic)]
    103
    use bytes::Bytes;
  • diem-framework-crypto 0.3.2/src/noise.rs
    58
    //!
    59
    #![allow(clippy::integer_arithmetic)]
  • diffuse 0.1.1/src/lib.rs
    21
        clippy::indexing_slicing,
    22
        clippy::integer_arithmetic,
    23
        clippy::integer_division,
  • domino_program 0.1.2/src/borsh.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    //! Borsh utils
  • domino_program 0.1.2/src/entrypoint_deprecated.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    //! Solana Rust-based BPF program entry point supported by the original
  • domino_program 0.1.2/src/fee_calculator.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • domino_program 0.1.2/src/instruction.rs
    14
    #![allow(clippy::integer_arithmetic)]
  • domino_program 0.1.2/src/native_token.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    /// There are 10^9 lamports in one SOL
  • domino_program 0.1.2/src/program_error.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • domino-program-dp 0.1.11/src/borsh.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    //! Borsh utils
  • domino-program-dp 0.1.11/src/entrypoint_deprecated.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    //! Solana Rust-based BPF program entry point supported by the original
  • domino-program-dp 0.1.11/src/fee_calculator.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • domino-program-dp 0.1.11/src/instruction.rs
    14
    #![allow(clippy::integer_arithmetic)]
  • domino-program-dp 0.1.11/src/native_token.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    /// There are 10^9 lamports in one SOL
  • domino-program-dp 0.1.11/src/program_error.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • ellipsis-client 0.1.13/src/program_test.rs
    1
    //! The solana-program-test provides a BanksClient-based test framework BPF programs
    2
    #![allow(clippy::integer_arithmetic)]
  • expecto-patronum 0.1.0/src/lib.rs
    14
    #![allow(clippy::arithmetic_side_effects)]
    15
    #![allow(clippy::integer_arithmetic)]
    16
    #![allow(clippy::pub_use)]
  • gemachain-account-decoder 1.8.2/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #[macro_use]
  • gemachain-banks-server 1.8.2/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod banks_server;
  • gemachain-bpf-loader-program 1.8.2/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod alloc;
  • gemachain-bucket-map 1.8.2/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    mod bucket;
  • gemachain-cli-output 1.8.2/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    mod cli_output;
  • gemachain-client 1.8.2/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #[macro_use]
  • gemachain-config-program 1.8.2/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod config_instruction;
  • gemachain-entry 1.8.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod entry;
  • gemachain-gossip 1.8.0/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
  • gemachain-gossip 1.8.0/tests/cluster_info.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • gemachain-gossip 1.8.0/tests/crds_gossip.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • gemachain-gossip 1.8.0/tests/gossip.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #[macro_use]
  • gemachain-ledger 1.8.0/benches/protobuf.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![feature(test)]
  • gemachain-ledger 1.8.0/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
    3
    #[macro_use]
  • gemachain-ledger 1.8.0/tests/shred.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use gemachain_entry::entry::Entry;
  • gemachain-measure 1.8.2/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod measure;
  • gemachain-merkle-tree 1.8.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • gemachain-metrics 1.8.2/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod counter;
  • gemachain-net-utils 1.8.2/src/lib.rs
    1
    //! The `net_utils` module assists with networking
    2
    #![allow(clippy::integer_arithmetic)]
    3
    use {
  • gemachain-poh 1.8.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod poh_recorder;
  • gemachain-program 1.8.2/src/borsh.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    //! Borsh utils
  • gemachain-program 1.8.2/src/entrypoint_deprecated.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    //! @brief Gemachain Rust-based BPF program entry point supported by the original
  • gemachain-program 1.8.2/src/fee_calculator.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use crate::clock::DEFAULT_MS_PER_SLOT;
  • gemachain-program 1.8.2/src/instruction.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    //! Defines a composable Instruction type and a memory-efficient CompiledInstruction.
  • gemachain-program 1.8.2/src/native_token.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    /// There are 10^9 carats in one GEMA
  • gemachain-program-runtime 1.8.2/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
  • gemachain-program-test 1.8.2/src/lib.rs
    1
    //! The gemachain-program-test provides a BanksClient-based test framework BPF programs
    2
    #![allow(clippy::integer_arithmetic)]
  • gemachain-program-test 1.8.2/tests/warp.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • gemachain-remote-wallet 1.8.2/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod ledger;
  • gemachain-replica-lib 1.8.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • gemachain-rpc 1.8.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    mod cluster_tpu_info;
  • gemachain-runtime 1.8.2/benches/accounts.rs
    1
    #![feature(test)]
    2
    #![allow(clippy::integer_arithmetic)]
  • gemachain-runtime 1.8.2/benches/bank.rs
    1
    #![feature(test)]
    2
    #![allow(clippy::integer_arithmetic)]
  • gemachain-runtime 1.8.2/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
    3
    pub mod accounts;
  • gemachain-runtime 1.8.2/tests/stake.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use gemachain_runtime::{
  • gemachain-send-transaction-service 1.8.2/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod send_transaction_service;
  • gemachain-stake-program 1.8.2/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
    3
    use gemachain_sdk::genesis_config::GenesisConfig;
  • gemachain-storage-bigtable 1.8.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • gemachain-streamer 1.8.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod packet;
  • gemachain-transaction-status 1.8.2/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #[macro_use]
  • gemachain-vote-program 1.8.2/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
  • girt-config 2.2.0/src/lib.rs
    56
    	clippy::implicit_return,
    57
    	clippy::integer_arithmetic,
    58
    	clippy::missing_docs_in_private_items,
  • girt-core 2.2.1/src/lib.rs
    56
    	clippy::implicit_return,
    57
    	clippy::integer_arithmetic,
    58
    	clippy::missing_docs_in_private_items,
  • girt-display 2.2.0/src/lib.rs
    56
    	clippy::implicit_return,
    57
    	clippy::integer_arithmetic,
    58
    	clippy::missing_docs_in_private_items,
  • girt-git 2.2.0/src/lib.rs
    56
    	clippy::implicit_return,
    57
    	clippy::integer_arithmetic,
    58
    	clippy::missing_docs_in_private_items,
  • girt-input 2.2.0/src/lib.rs
    56
    	clippy::implicit_return,
    57
    	clippy::integer_arithmetic,
    58
    	clippy::missing_docs_in_private_items,
  • girt-runtime 0.1.0/src/lib.rs
    56
    	clippy::implicit_return,
    57
    	clippy::integer_arithmetic,
    58
    	clippy::missing_docs_in_private_items,
  • girt-testutils 0.1.0/src/lib.rs
    56
    	clippy::implicit_return,
    57
    	clippy::integer_arithmetic,
    58
    	clippy::missing_docs_in_private_items,
  • girt-todo-file 2.2.0/src/lib.rs
    56
    	clippy::implicit_return,
    57
    	clippy::integer_arithmetic,
    58
    	clippy::missing_docs_in_private_items,
  • girt-view 2.2.0/src/lib.rs
    56
    	clippy::implicit_return,
    57
    	clippy::integer_arithmetic,
    58
    	clippy::missing_docs_in_private_items,
  • git-interactive-rebase-tool 2.2.1/src/main.rs
    56
    	clippy::implicit_return,
    57
    	clippy::integer_arithmetic,
    58
    	clippy::missing_docs_in_private_items,
  • gitig 0.3.0/src/main.rs
    29
        clippy::wildcard_imports,
    30
        clippy::integer_arithmetic
    31
    )]
  • goff 0.1.0/src/lib.rs
    19
             clippy::wildcard_dependencies,   // Based, but blame Serde.
    20
             clippy::integer_arithmetic,
    21
             clippy::wildcard_enum_match_arm, // Might be good to avoid if possible
  • govind-measure 1.8.1/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod measure;
  • imdl 0.1.12/src/lib.rs
    8
      clippy::indexing_slicing,
    9
      clippy::integer_arithmetic,
    10
      clippy::integer_division,
  • int-conv 0.1.4/src/lib.rs
    24
    // We need integer arithmetic to compute type sizes
    25
    #![allow(clippy::integer_arithmetic)]
    26
    // We want to explicitly use the type we're converting to in implementations
  • io-extras 0.17.1/src/os/windows/stdio.rs
    10
        clippy::integer_division,
    11
        clippy::integer_arithmetic,
    12
        clippy::indexing_slicing,
  • libpd-rs 0.1.9/src/lib.rs
    11
        clippy::as_conversions,
    12
        clippy::integer_arithmetic,
    13
        clippy::float_arithmetic,
  • libts 0.1.1/src/measure/mod.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod macros;
  • libts 0.1.1/src/serde/mod.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    mod de;
  • memcached 0.4.4/src/lib.rs
    41
        clippy::cast_possible_truncation, //
    42
        clippy::integer_arithmetic, //
    43
        trivial_casts,
  • ndsparse 0.8.1/src/coo.rs
    4
      // Serde
    5
      clippy::integer_arithmetic
    6
    )]
  • ndsparse 0.8.1/src/csl.rs
    11
      // Serde
    12
      clippy::integer_arithmetic
    13
    )]
  • ndstruct 1.0.0/src/coo.rs
    4
      // Serde
    5
      clippy::integer_arithmetic
    6
    )]
  • ndstruct 1.0.0/src/csl.rs
    11
      // Serde
    12
      clippy::integer_arithmetic
    13
    )]
  • ndstruct 1.0.0/src/dense.rs
    8
      // Serde
    9
      clippy::integer_arithmetic
    10
    )]
  • neodyn_xc 0.4.0/src/lib.rs
    70
             clippy::indexing_slicing, clippy::inline_asm_x86_intel_syntax,
    71
             clippy::integer_arithmetic, clippy::integer_division,
    72
             clippy::match_on_vec_items, clippy::missing_errors_doc,
  • plow_cli 0.4.8/src/main.rs
    9
        // Group of too restrictive lints
    10
        clippy::integer_arithmetic,
    11
        clippy::float_arithmetic,
  • plow_graphify 0.2.2/src/lib.rs
    9
        // Group of too restrictive lints
    10
        clippy::integer_arithmetic,
    11
        clippy::float_arithmetic,
  • plow_linter 0.2.8/src/lib.rs
    9
        // Group of too restrictive lints
    10
        clippy::integer_arithmetic,
    11
        clippy::float_arithmetic,
  • plow_ontology 0.2.1/src/lib.rs
    9
        // Group of too restrictive lints
    10
        clippy::integer_arithmetic,
    11
        clippy::float_arithmetic,
  • plow_package_management 0.3.1/src/lib.rs
    9
        // Group of too restrictive lints
    10
        clippy::integer_arithmetic,
    11
        clippy::float_arithmetic,
  • rdma 0.3.0/src/bindings/ibverbs.rs
    6
        clippy::undocumented_unsafe_blocks,
    7
        clippy::integer_arithmetic,
    8
        clippy::inline_always,
  • rnix-lsp 0.2.5/src/main.rs
    20
        // Most integer arithmetics are within an allocated region, so we know it's safe
    21
        clippy::integer_arithmetic,
    22
    )]
  • rtop_dev 1.1.0/src/lib.rs
    65
        clippy::cast_possible_truncation,
    66
        clippy::integer_arithmetic,
    67
        clippy::default_numeric_fallback,
  • rtop-rs 1.1.1/src/lib.rs
    24
        clippy::cast_possible_truncation,
    25
        clippy::integer_arithmetic,
    26
        clippy::default_numeric_fallback,
  • safe-token 3.5.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![deny(missing_docs)]
  • safe-token-2022 0.4.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![deny(missing_docs)]
  • safe-token-swap 3.0.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![deny(missing_docs)]
  • safe-zk-token-sdk 1.14.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic, clippy::op_ref)]
  • safecoin-account-decoder 1.14.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #[macro_use]
  • safecoin-banks-server 1.14.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod banks_server;
  • safecoin-bpf-loader-program 1.14.3/src/allocator_bump.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • safecoin-bpf-loader-program 1.14.3/src/serialization.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • safecoin-bucket-map 1.14.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    mod bucket;
  • safecoin-budget-program 1.6.18/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod budget_expr;
  • safecoin-cli-output 1.14.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    mod cli_output;
  • safecoin-client 1.14.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #[macro_use]
  • safecoin-client 1.14.3/src/transaction_executor.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • safecoin-config-program 1.14.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod config_instruction;
  • safecoin-download-utils 1.6.18/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use console::Emoji;
  • safecoin-exchange-program 1.6.16/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod exchange_instruction;
  • safecoin-ledger 1.6.16/benches/protobuf.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![feature(test)]
  • safecoin-ledger 1.6.16/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
    3
    #[macro_use]
  • safecoin-ledger 1.6.16/tests/shred.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use solana_ledger::entry::Entry;
  • safecoin-measure 1.14.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod macros;
  • safecoin-merkle-tree 1.6.18/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • safecoin-metrics 1.14.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod counter;
  • safecoin-net-utils 1.14.3/src/lib.rs
    1
    //! The `net_utils` module assists with networking
    2
    #![allow(clippy::integer_arithmetic)]
    3
    use {
  • safecoin-perf 1.14.3/benches/dedup.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![feature(test)]
  • safecoin-perf 1.14.3/benches/shrink.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![feature(test)]
  • safecoin-program 1.14.3/src/borsh.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    //! Utilities for the [borsh] serialization format.
  • safecoin-program 1.14.3/src/entrypoint_deprecated.rs
    10
    #![allow(clippy::integer_arithmetic)]
  • safecoin-program 1.14.3/src/fee_calculator.rs
    3
    #![allow(clippy::integer_arithmetic)]
    4
    use {
  • safecoin-program 1.14.3/src/instruction.rs
    14
    #![allow(clippy::integer_arithmetic)]
  • safecoin-program 1.14.3/src/native_token.rs
    3
    #![allow(clippy::integer_arithmetic)]
  • safecoin-program-test 1.14.3/src/lib.rs
    1
    //! The safecoin-program-test provides a BanksClient-based test framework BPF programs
    2
    #![allow(clippy::integer_arithmetic)]
  • safecoin-program-test 1.14.3/tests/warp.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • safecoin-remote-wallet 1.14.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![allow(dead_code)]
  • safecoin-runtime 1.14.3/benches/accounts.rs
    1
    #![feature(test)]
    2
    #![allow(clippy::integer_arithmetic)]
  • safecoin-runtime 1.14.3/benches/bank.rs
    1
    #![feature(test)]
    2
    #![allow(clippy::integer_arithmetic)]
  • safecoin-runtime 1.14.3/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
  • safecoin-runtime 1.14.3/tests/stake.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • safecoin-send-transaction-service 1.14.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod send_transaction_service;
  • safecoin-stake-program 1.14.3/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
    3
    #[deprecated(
  • safecoin-storage-bigtable 1.6.18/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • safecoin-streamer 1.14.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod nonblocking;
  • safecoin-transaction-status 1.14.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • safecoin-vest-program 1.6.16/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod vest_instruction;
  • safecoin-vote-program 1.14.3/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
  • short_vec 0.1.0/src/short_vec.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-account-decoder 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #[macro_use]
  • solana-accounts-tool 0.0.1/src/main.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-accountsdb-plugin-postgres 1.9.7/src/postgres_client.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-accountsdb-plugin-postgres 1.9.7/tests/test_postgres_plugin.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-banks-server 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod banks_server;
  • solana-bpf-loader-program 1.14.13/src/allocator_bump.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-bpf-loader-program 1.14.13/src/serialization.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-bucket-map 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    mod bucket;
  • solana-budget-program 1.7.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod budget_expr;
  • solana-cli 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    macro_rules! ACCOUNT_STRING {
  • solana-cli 1.14.13/tests/nonce.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-cli 1.14.13/tests/program.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-cli 1.14.13/tests/request_airdrop.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-cli 1.14.13/tests/stake.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![allow(clippy::redundant_closure)]
  • solana-cli 1.14.13/tests/transfer.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![allow(clippy::redundant_closure)]
  • solana-cli 1.14.13/tests/vote.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-cli-output 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    mod cli_output;
  • solana-client 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #[macro_use]
  • solana-client 1.14.13/src/transaction_executor.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-config-program 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod config_instruction;
  • solana-core 1.14.13/benches/banking_stage.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![feature(test)]
  • solana-core 1.14.13/benches/shredder.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![feature(test)]
  • solana-core 1.14.13/benches/sigverify_stage.rs
    1
    #![feature(test)]
    2
    #![allow(clippy::integer_arithmetic)]
  • solana-core 1.14.13/benches/unprocessed_packet_batches.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![feature(test)]
  • solana-core 1.14.13/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
    3
    #![recursion_limit = "2048"]
  • solana-core 1.14.13/tests/fork-selection.rs
    73
    //! ```
    74
    #![allow(clippy::integer_arithmetic)]
  • solana-core 1.14.13/tests/ledger_cleanup.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Long-running ledger_cleanup tests
  • solana-core 1.14.13/tests/snapshots.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-download-utils 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-entry 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod entry;
  • solana-exchange-program 1.8.16/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod exchange_instruction;
  • solana-genesis 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod address_generator;
  • solana-genesis 1.14.13/src/main.rs
    1
    //! A command-line executable for generating the chain's genesis config.
    2
    #![allow(clippy::integer_arithmetic)]
  • solana-geyser-plugin-bigtable 1.10.31/tests/test_bigtable_conn.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-geyser-plugin-bigtable 1.10.31/tests/test_bigtable_plugin.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-geyser-plugin-postgres 1.10.5/src/postgres_client.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-geyser-plugin-postgres 1.10.5/tests/test_postgres_plugin.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-gossip 1.14.13/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
  • solana-gossip 1.14.13/tests/cluster_info.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-gossip 1.14.13/tests/crds_gossip.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-gossip 1.14.13/tests/gossip.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #[macro_use]
  • solana-install 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #[macro_use]
  • solana-keygen 1.14.13/src/keygen.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-ledger 1.14.13/benches/blockstore.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![feature(test)]
  • solana-ledger 1.14.13/benches/protobuf.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![feature(test)]
  • solana-ledger 1.14.13/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
    3
    #[macro_use]
  • solana-ledger 1.14.13/tests/shred.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-ledger-tool 1.14.13/src/main.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-local-cluster 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod cluster;
  • solana-local-cluster 1.14.13/tests/common.rs
    1
    #![allow(clippy::integer_arithmetic, dead_code)]
    2
    use {
  • solana-local-cluster 1.14.13/tests/local_cluster.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-local-cluster 1.14.13/tests/local_cluster_flakey.rs
    2
    //! because these tests are run separately from the rest of local cluster tests.
    3
    #![allow(clippy::integer_arithmetic)]
    4
    use {
  • solana-local-cluster 1.14.13/tests/local_cluster_slow_1.rs
    2
    //! biggest improvements to CI times can be found.
    3
    #![allow(clippy::integer_arithmetic)]
    4
    use {
  • solana-local-cluster 1.14.13/tests/local_cluster_slow_2.rs
    2
    //! biggest improvements to CI times can be found.
    3
    #![allow(clippy::integer_arithmetic)]
    4
    use {
  • solana-measure 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod macros;
  • solana-merkle-tree 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-metrics 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod counter;
  • solana-net-utils 1.14.13/src/lib.rs
    1
    //! The `net_utils` module assists with networking
    2
    #![allow(clippy::integer_arithmetic)]
    3
    use {
  • solana-perf 1.14.13/benches/dedup.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![feature(test)]
  • solana-perf 1.14.13/benches/shrink.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![feature(test)]
  • solana-poh 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod poh_recorder;
  • solana-program 1.14.13/src/borsh.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    //! Utilities for the [borsh] serialization format.
  • solana-program 1.14.13/src/entrypoint_deprecated.rs
    10
    #![allow(clippy::integer_arithmetic)]
  • solana-program 1.14.13/src/fee_calculator.rs
    3
    #![allow(clippy::integer_arithmetic)]
    4
    use {
  • solana-program 1.14.13/src/instruction.rs
    14
    #![allow(clippy::integer_arithmetic)]
  • solana-program 1.14.13/src/native_token.rs
    3
    #![allow(clippy::integer_arithmetic)]
  • solana-program-test 1.14.13/src/lib.rs
    1
    //! The solana-program-test provides a BanksClient-based test framework BPF programs
    2
    #![allow(clippy::integer_arithmetic)]
  • solana-program-test 1.14.13/tests/warp.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-quic-client 0.0.1/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-ramp-tps 1.6.28/src/main.rs
    1
    //! Ramp up TPS for Tour de SOL until all validators drop out
    2
    #![allow(clippy::integer_arithmetic)]
  • solana_rbpf 0.2.38/src/aligned_memory.rs
    217
    mod tests {
    218
        #![allow(clippy::integer_arithmetic)]
    219
        use {super::*, std::io::Write};
  • solana_rbpf 0.2.38/src/asm_parser.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Copyright 2017 Rich Lane <lanerl@gmail.com>
  • solana_rbpf 0.2.38/src/assembler.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Copyright 2017 Rich Lane <lanerl@gmail.com>
  • solana_rbpf 0.2.38/src/disassembler.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Copyright 2017 6WIND S.A. <quentin.monnet@6wind.com>
  • solana_rbpf 0.2.38/src/ebpf.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Copyright 2016 6WIND S.A. <quentin.monnet@6wind.com>
  • solana_rbpf 0.2.38/src/insn_builder.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Copyright 2017 Alex Dukhno <alex.dukhno@icloud.com>
  • solana_rbpf 0.2.38/src/interpreter.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Derived from uBPF <https://github.com/iovisor/ubpf>
  • solana_rbpf 0.2.38/src/jit.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    // Derived from uBPF <https://github.com/iovisor/ubpf>
  • solana-remote-wallet 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![allow(dead_code)]
  • solana-replica-lib 1.13.6/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-replica-node 1.13.6/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-replica-node 1.13.6/src/main.rs
    4
    #![allow(clippy::integer_arithmetic)]
  • solana-replica-node 1.13.6/tests/local_replica.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-rpc 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    mod cluster_tpu_info;
  • solana-runtime 1.14.13/benches/accounts.rs
    1
    #![feature(test)]
    2
    #![allow(clippy::integer_arithmetic)]
  • solana-runtime 1.14.13/benches/bank.rs
    1
    #![feature(test)]
    2
    #![allow(clippy::integer_arithmetic)]
  • solana-runtime 1.14.13/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
  • solana-runtime 1.14.13/tests/stake.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-send-transaction-service 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod send_transaction_service;
  • solana-stake-accounts 1.14.13/src/main.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    mod arg_parser;
  • solana-stake-monitor 1.7.4/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use log::*;
  • solana-stake-o-matic 1.6.28/src/main.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-stake-program 1.14.13/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
    3
    #[deprecated(
  • solana-storage-bigtable 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-streamer 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod nonblocking;
  • solana-test-client 0.1.0/src/program_test.rs
    1
    //! The solana-program-test provides a BanksClient-based test framework BPF programs
    2
    #![allow(clippy::integer_arithmetic)]
  • solana-test-client 0.1.0/tests/warp.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-test-validator 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • solana-tokens 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod arg_parser;
  • solana-transaction-status 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-udp-client 0.0.1/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • solana-validator 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub use solana_test_validator as test_validator;
  • solana-validator 1.14.13/src/main.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #[cfg(not(target_env = "msvc"))]
  • solana-vest-program 1.6.28/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod vest_instruction;
  • solana-vote-program 1.14.13/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
  • solana-watchtower 1.14.13/src/main.rs
    1
    //! A command-line executable for monitoring the health of a cluster
    2
    #![allow(clippy::integer_arithmetic)]
  • solana-zk-token-sdk 1.14.13/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic, clippy::op_ref)]
  • sparkle-cache-postgres 0.14.1/src/backend.rs
    4
        clippy::cast_possible_wrap,
    5
        clippy::integer_arithmetic,
    6
        clippy::std_instead_of_core,
  • sparkle-cache-postgres 0.14.1/src/cache.rs
    3
        clippy::as_conversions,
    4
        clippy::integer_arithmetic,
    5
        clippy::cast_possible_wrap,
  • spl-concurrent-merkle-tree 0.1.2/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    //! # Concurrent Merkle Tree
  • spl-concurrent-merkle-tree 0.1.2/tests/tests.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use rand::thread_rng;
  • spl-governance 3.1.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![deny(missing_docs)]
  • spl-governance 3.1.0/tests/program_test/mod.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use std::str::FromStr;
  • spl-governance-test-sdk 0.1.3/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use std::borrow::Borrow;
  • spl-token-2022 0.5.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![deny(missing_docs)]
  • spl-token-cli 2.2.0/src/main.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use clap::{
  • spl-token-client 0.3.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod client;
  • sqm_parser 1.0.1/src/lib.rs
    8
    clippy::use_debug,
    9
    clippy::integer_arithmetic,
    10
    clippy::default_trait_access,
  • stable-swap-math 1.8.1/src/bn.rs
    4
    #![allow(clippy::manual_range_contains)]
    5
    #![allow(clippy::integer_arithmetic)]
  • starling 4.0.0/src/lib.rs
    8
    )]
    9
    #![allow(clippy::integer_arithmetic)]
    10
    #![allow(clippy::indexing_slicing)]
  • stringmetrics 2.2.2/src/lib.rs
    212
        clippy::implicit_return,
    213
        clippy::integer_arithmetic,
    214
        clippy::exhaustive_structs,
  • vqueue 2.0.1-rc.4/src/lib.rs
    31
    #![allow(clippy::multiple_crate_versions)]
    32
    #![allow(clippy::integer_arithmetic, clippy::arithmetic_side_effects)] // issue with strum
    33
    // restriction we ignore
  • vsmtp-protocol 2.0.1-rc.4/src/lib.rs
    39
        clippy::arithmetic_side_effects,
    40
        clippy::integer_arithmetic,
    41
        clippy::shadow_same
  • waffles-solana-account-decoder 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #[macro_use]
  • waffles-solana-bpf-loader-program 1.15.0/src/allocator_bump.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-bpf-loader-program 1.15.0/src/serialization.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-bucket-map 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    mod bucket;
  • waffles-solana-config-program 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod config_instruction;
  • waffles-solana-measure 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod macros;
  • waffles-solana-memory-management 1.15.0/src/aligned_memory.rs
    210
    mod tests {
    211
        #![allow(clippy::integer_arithmetic)]
    212
        use {super::*, std::io::Write};
  • waffles-solana-merkle-tree 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-metrics 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod counter;
  • waffles-solana-net-utils 1.15.0/src/lib.rs
    1
    //! The `net_utils` module assists with networking
    2
    #![allow(clippy::integer_arithmetic)]
    3
    use {
  • waffles-solana-perf 1.15.0/benches/dedup.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![feature(test)]
  • waffles-solana-perf 1.15.0/benches/shrink.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    #![feature(test)]
  • waffles-solana-program 1.15.0/src/borsh.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    //! Utilities for the [borsh] serialization format.
  • waffles-solana-program 1.15.0/src/entrypoint_deprecated.rs
    10
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-program 1.15.0/src/fee_calculator.rs
    3
    #![allow(clippy::integer_arithmetic)]
    4
    use {
  • waffles-solana-program 1.15.0/src/instruction.rs
    14
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-program 1.15.0/src/native_token.rs
    3
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-pubsub-client 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-quic-client 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-rpc-client 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-rpc-client-api 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-runtime 1.15.0/benches/accounts.rs
    1
    #![feature(test)]
    2
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-runtime 1.15.0/benches/bank.rs
    1
    #![feature(test)]
    2
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-runtime 1.15.0/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-runtime 1.15.0/tests/stake.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    use {
  • waffles-solana-sdk 1.15.0/benches/accounts.rs
    1
    #![feature(test)]
    2
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-stake-program 1.15.0/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
    3
    #[deprecated(
  • waffles-solana-streamer 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
    2
    pub mod nonblocking;
  • waffles-solana-tpu-client 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-transaction-status 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-vote-program 1.15.0/src/lib.rs
    1
    #![cfg_attr(RUSTC_WITH_SPECIALIZATION, feature(min_specialization))]
    2
    #![allow(clippy::integer_arithmetic)]
  • waffles-solana-zk-token-sdk 1.15.0/src/lib.rs
    1
    #![allow(clippy::integer_arithmetic, clippy::op_ref)]
  • wave-insight-lib 0.1.3/src/lib.rs
    41
        clippy::panic_in_result_fn,
    42
        clippy::integer_arithmetic, // TODO
    43
        clippy::indexing_slicing, // TODO
  • xidlehook-core 0.3.0/src/lib.rs
    24
        // allocation will fail far, far earlier than the arithmetic will fail.
    25
        clippy::integer_arithmetic,
    26
    )]