372 |
#[cfg(test)]
|
373 |
#[allow(clippy::unusual_byte_groupings)]
|
374 |
mod tests {
|
43 |
#[allow(clippy::unusual_byte_groupings)] // I've split these like this for a reason
|
44 |
MASTER_SOUND_VOLUME_ENABLE.set(0b1111_1111_0_111_0_111);
|
187 |
#[cfg(target_arch="avr")]
|
188 |
#[allow(clippy::unusual_byte_groupings)]
|
189 |
fn route(&self) {
|
574 |
*/
|
575 |
#[allow(clippy::unusual_byte_groupings)]
|
576 |
pub fn avr_0series_ctrlc(&self) -> u8 {
|
1032 |
*/
|
1033 |
#[allow(clippy::unusual_byte_groupings)]
|
1034 |
pub fn avr_simple_ctrlc(&self) -> u8 {
|
31 |
#[rustfmt::skip]
|
32 |
#[allow(clippy::unusual_byte_groupings)]
|
33 |
const CUBE_INDICES: [u32; NUM_CUBE_INDICES_USIZE] = [
|
71 |
/// The generated UUID will be a `UUIDv4` (meaning that the bytes should be random, not e.g. derived from the system time).
|
72 |
#[allow(clippy::unusual_byte_groupings)] // unusual byte grouping is meant to signal the relevant bits
|
73 |
pub const fn generate_composite_uuid(a: Uuid, b: Uuid) -> Uuid {
|
509 |
#[test]
|
510 |
#[allow(clippy::unusual_byte_groupings)]
|
511 |
fn datetime_default() {
|
518 |
#[test]
|
519 |
#[allow(clippy::unusual_byte_groupings)]
|
520 |
fn datetime_max() {
|
321 |
#[allow(clippy::unusual_byte_groupings)]
|
322 |
#[cfg(test)]
|
36 |
}
|
37 |
#[allow(clippy::unusual_byte_groupings)]
|
38 |
pub const fn medial(&self) -> Option<Bopomofo> {
|
48 |
}
|
49 |
#[allow(clippy::unusual_byte_groupings)]
|
50 |
pub const fn rime(&self) -> Option<Bopomofo> {
|
60 |
}
|
61 |
#[allow(clippy::unusual_byte_groupings)]
|
62 |
pub const fn tone(&self) -> Option<Bopomofo> {
|
201 |
#[allow(clippy::unusual_byte_groupings)]
|
202 |
fn try_from(value: u16) -> Result<Self, Self::Error> {
|
148 |
#[allow(clippy::unusual_byte_groupings)]
|
149 |
match c {
|
1626 |
#[test]
|
1627 |
#[allow(clippy::unusual_byte_groupings)]
|
1628 |
fn test_kb_to_bytes() {
|
295 |
// 01 1 1 1101
|
296 |
#[allow(clippy::unusual_byte_groupings)]
|
297 |
let expected_arr = [
|
323 |
#[allow(clippy::unusual_byte_groupings)]
|
324 |
let expected_arr = [
|
351 |
#[allow(clippy::unusual_byte_groupings)]
|
352 |
let expected_arr = [
|
379 |
#[allow(clippy::unusual_byte_groupings)]
|
380 |
let expected_arr = [
|
76 |
// and value
|
77 |
#[allow(clippy::unusual_byte_groupings)]
|
78 |
let data = match self.typ {
|
89 |
// padding - 0=verify - data - offset
|
90 |
#[allow(clippy::unusual_byte_groupings)]
|
91 |
let mut data = 0b111_0_0000;
|
423 |
#[allow(clippy::unusual_byte_groupings)]
|
424 |
let expected_arr = &[
|
460 |
#[allow(clippy::unusual_byte_groupings)]
|
461 |
let expected_arr = &[
|
491 |
#[allow(clippy::unusual_byte_groupings)]
|
492 |
let expected_arr = &[
|
74 |
#[test]
|
75 |
#[allow(clippy::unusual_byte_groupings)]
|
76 |
#[allow(clippy::too_many_lines)]
|
28 |
// Unusual byte groupings are used for consistency with RFC.
|
29 |
#[allow(clippy::unusual_byte_groupings)]
|
30 |
pub mod cbor;
|
26 |
#[allow(clippy::unusual_byte_groupings)]
|
27 |
fn read_int_signed(i: &[u8]) -> AMFResult<'_, i32> {
|
56 |
#[allow(clippy::unusual_byte_groupings)]
|
57 |
fn read_int(i: &[u8]) -> AMFResult<'_, u32> {
|
63 |
impl AMF3Encoder {
|
64 |
#[allow(clippy::unusual_byte_groupings)]
|
65 |
pub(crate) fn write_int<'a, 'b: 'a, W: Write + 'a>(&self, i: i32) -> impl SerializeFn<W> + 'a {
|
286 |
},
|
287 |
#[allow(clippy::unusual_byte_groupings)]
|
288 |
0b101_00011,
|
295 |
},
|
296 |
#[allow(clippy::unusual_byte_groupings)]
|
297 |
0b111__00000000_00000000_00000001__01001,
|
116 |
// 0 < val <= u8::MAX
|
117 |
#[allow(clippy::unusual_byte_groupings)]
|
118 |
#[doc(hidden)]
|
140 |
// 0 < val < 100_000
|
141 |
#[allow(clippy::unusual_byte_groupings)]
|
142 |
#[doc(hidden)]
|
26 |
/// The join handle is still around
|
27 |
#[allow(clippy::unusual_byte_groupings)] // https://github.com/rust-lang/rust-clippy/issues/6556
|
28 |
const JOIN_INTEREST: usize = 0b1_000;
|
30 |
/// A join handle waker has been set
|
31 |
#[allow(clippy::unusual_byte_groupings)] // https://github.com/rust-lang/rust-clippy/issues/6556
|
32 |
const JOIN_WAKER: usize = 0b10_000;
|
58 |
67 => Self::FPCR,
|
59 |
#[allow(clippy::unusual_byte_groupings)]
|
60 |
// We configure GDB to use regnums that correspond to the architectural u16 opcode
|
71 |
#[allow(clippy::unusual_byte_groupings)]
|
72 |
impl AArch64RegId {
|
199 |
/// rotation is encoded on 3-bit, where `111` means no rotation for this face.
|
200 |
#[allow(clippy::unusual_byte_groupings)] // Grouping by 3 is more explicit here.
|
201 |
const BASE_CELL_ROTATIONS: [u64; BaseCell::count() as usize] = [
|
115 |
/// than one icosahedron face is not permitted.
|
116 |
#[allow(clippy::unusual_byte_groupings)] // Grouping by 7 is more explicit here.
|
117 |
const FAILED_DIRECTIONS: u64 =
|
1818 |
#[rustfmt::skip] // Keep constants aligned for readability.
|
1819 |
#[allow(clippy::unusual_byte_groupings)] // Grouping by 3-bit is better here.
|
1820 |
const fn has_unused_direction(dirs: u64) -> bool {
|
3 |
#[allow(clippy::unusual_byte_groupings)]
|
4 |
fn main() {
|
377 |
#[allow(clippy::identity_op)]
|
378 |
#[allow(clippy::unusual_byte_groupings)]
|
379 |
fn test_decode() {
|
262 |
#[allow(clippy::identity_op)]
|
263 |
#[allow(clippy::unusual_byte_groupings)]
|
264 |
fn test_encode() {
|
746 |
/// Testing table of banks and expected configuration mask.
|
747 |
#[allow(clippy::unusual_byte_groupings)] // Spacing delimits ITCM / DTCM / OCRAM banks.
|
748 |
const TABLE: &[(FlexRamBanks, u32)] = &[
|
7 |
#[allow(clippy::unusual_byte_groupings)]
|
8 |
if version >= 0x1_01_00_00_0 {
|
16 |
#[allow(clippy::unusual_byte_groupings)]
|
17 |
if version >= 0x2_06_01_00_0 {
|
25 |
/// The join handle is still around
|
26 |
#[allow(clippy::unusual_byte_groupings)] // https://github.com/rust-lang/rust-clippy/issues/6556
|
27 |
const JOIN_INTEREST: usize = 0b1_000;
|
29 |
/// A join handle waker has been set
|
30 |
#[allow(clippy::unusual_byte_groupings)] // https://github.com/rust-lang/rust-clippy/issues/6556
|
31 |
const JOIN_WAKER: usize = 0b10_000;
|
429 |
#[test]
|
430 |
#[allow(clippy::unusual_byte_groupings)] // Allow odd grouping for test readability.
|
431 |
fn read_vpcc_version_1() {
|
93 |
#[test]
|
94 |
#[allow(clippy::unusual_byte_groupings)]
|
95 |
fn tc_filter_u32_read() {
|
247 |
#[test]
|
248 |
#[allow(clippy::unusual_byte_groupings)]
|
249 |
fn tc_filter_u32_emit() {
|
26 |
#[allow(clippy::inconsistent_digit_grouping, clippy::unusual_byte_groupings)]
|
27 |
fn ctx(method: SslMethod) -> Result<SslContextBuilder, ErrorStack> {
|
340 |
// of page table on x86.
|
341 |
#[allow(clippy::unusual_byte_groupings)]
|
342 |
let addr = 0b1111111111_1010101010_001111000011;
|
371 |
// of page table on x86_64.
|
372 |
#[allow(clippy::unusual_byte_groupings)]
|
373 |
let addr = 0b000100000_000011111_111111111_010101010_001111000011;
|
542 |
#[inline]
|
543 |
#[allow(clippy::unusual_byte_groupings)]
|
544 |
pub fn flip_horizontal(self) -> Square {
|
557 |
#[inline]
|
558 |
#[allow(clippy::unusual_byte_groupings)]
|
559 |
pub fn flip_vertical(self) -> Square {
|
617 |
#[inline]
|
618 |
#[allow(clippy::unusual_byte_groupings)]
|
619 |
pub fn rotate_180(self) -> Square {
|
152 |
// Allow unusual bit grouping to clearly separate 3 bits parts
|
153 |
#[allow(clippy::unusual_byte_groupings)]
|
154 |
perms.set_mode(perms.mode() | 0b0_001_001_001);
|
140 |
#[allow(clippy::unusual_byte_groupings)]
|
141 |
#[inline]
|
875 |
#[cfg(test)]
|
876 |
#[allow(clippy::unusual_byte_groupings)]
|
877 |
pub mod tests {
|
112 |
#[allow(clippy::unusual_byte_groupings)]
|
113 |
fn write_u32(&mut self, mut n: u32) -> Result<()> {
|
480 |
#[allow(clippy::unusual_byte_groupings)]
|
481 |
fn write_trait(&mut self, t: &Trait) -> Result<()> {
|
2597 |
#[cfg(test)]
|
2598 |
#[allow(clippy::unusual_byte_groupings)]
|
2599 |
pub mod tests {
|
485 |
#[allow(clippy::unusual_byte_groupings)]
|
486 |
Tag::CsmTextSettings(ref settings) => {
|
2458 |
#[cfg(test)]
|
2459 |
#[allow(clippy::unusual_byte_groupings)]
|
2460 |
mod tests {
|
31 |
/// The join handle is still around.
|
32 |
#[allow(clippy::unusual_byte_groupings)] // https://github.com/rust-lang/rust-clippy/issues/6556
|
33 |
const JOIN_INTEREST: usize = 0b1_000;
|
35 |
/// A join handle waker has been set.
|
36 |
#[allow(clippy::unusual_byte_groupings)] // https://github.com/rust-lang/rust-clippy/issues/6556
|
37 |
const JOIN_WAKER: usize = 0b10_000;
|
39 |
/// The task has been forcibly cancelled.
|
40 |
#[allow(clippy::unusual_byte_groupings)] // https://github.com/rust-lang/rust-clippy/issues/6556
|
41 |
const CANCELLED: usize = 0b100_000;
|
31 |
/// The join handle is still around.
|
32 |
#[allow(clippy::unusual_byte_groupings)] // https://github.com/rust-lang/rust-clippy/issues/6556
|
33 |
const JOIN_INTEREST: usize = 0b1_000;
|
35 |
/// A join handle waker has been set.
|
36 |
#[allow(clippy::unusual_byte_groupings)] // https://github.com/rust-lang/rust-clippy/issues/6556
|
37 |
const JOIN_WAKER: usize = 0b10_000;
|
39 |
/// The task has been forcibly cancelled.
|
40 |
#[allow(clippy::unusual_byte_groupings)] // https://github.com/rust-lang/rust-clippy/issues/6556
|
41 |
const CANCELLED: usize = 0b100_000;
|
9 |
#[allow(clippy::unusual_byte_groupings)]
|
10 |
#[test]
|
460 |
#[test]
|
461 |
#[allow(clippy::unusual_byte_groupings)]
|
462 |
fn datetime_default() {
|
469 |
#[test]
|
470 |
#[allow(clippy::unusual_byte_groupings)]
|
471 |
fn datetime_max() {
|
388 |
mod tests {
|
389 |
#![allow(clippy::unusual_byte_groupings)]
|
390 |
use super::*;
|
76 |
const fn rotate(self) -> Self {
|
77 |
#![allow(clippy::unusual_byte_groupings)]
|
78 |
// ABC GDA
|
103 |
const fn flip(self) -> Self {
|
104 |
#![allow(clippy::unusual_byte_groupings)]
|
105 |
// ABC CBA
|
181 |
pub fn solve(input: &Input) -> Result<u32, String> {
|
182 |
#![allow(clippy::unusual_byte_groupings, clippy::unreadable_literal)]
|
183 |
let mut from_2_to_3 = [Tile3 { bits: 0 }; 16];
|
346 |
pub fn tile_tests() {
|
347 |
#![allow(clippy::unusual_byte_groupings)]
|
348 |
let tile = Tile2::from("##/.#");
|
106 |
const fn count_bugs_at_edge(self, coming_from: Direction) -> u32 {
|
107 |
#![allow(clippy::unusual_byte_groupings)]
|
108 |
(self.value
|
13 |
const fn has_won(&self) -> bool {
|
14 |
#![allow(clippy::unusual_byte_groupings)]
|
15 |
self.is_bitmask_set(0b00000_00000_00000_00000_11111)
|
37 |
fn enhance(&self, image: &Image, steps: usize) -> u32 {
|
38 |
#![allow(clippy::unusual_byte_groupings)]
|
39 |
const fn is_pixel_lit(
|
11 |
#![allow(missing_docs)]
|
12 |
#![allow(clippy::unusual_byte_groupings)]
|
12 |
#![allow(missing_docs)]
|
13 |
#![allow(clippy::unusual_byte_groupings)]
|
209 |
#![allow(clippy::inconsistent_digit_grouping)]
|
210 |
#![allow(clippy::unusual_byte_groupings)]
|
2 |
#![allow(clippy::too_many_arguments)]
|
3 |
#![allow(clippy::unusual_byte_groupings)]
|
4 |
#![allow(clippy::derive_hash_xor_eq)]
|
70 |
clippy::unreadable_literal,
|
71 |
clippy::unusual_byte_groupings
|
72 |
)]
|
43 |
#![allow(
|
44 |
clippy::unusual_byte_groupings,// I sometimes group into UTF-8 control part and codepoint part
|
45 |
clippy::derive_hash_xor_eq,// tested
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
6 |
#![allow(clippy::unusual_byte_groupings)] // Spacing delimits ITCM / DTCM / OCRAM banks.
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
2 |
use std::env;
|
1 |
#![allow(clippy::unusual_byte_groupings)] // FIXME: https://github.com/rust-lang/rust-clippy/issues/9183
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
23 |
#![allow(clippy::unusual_byte_groupings)]
|
24 |
#![allow(clippy::from_over_into)]
|
24 |
// by Clippy, but in this (exceptional and special) case, Clippy is wrong.
|
25 |
#![allow(clippy::inconsistent_digit_grouping, clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::inconsistent_digit_grouping, clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::inconsistent_digit_grouping, clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::inconsistent_digit_grouping, clippy::unusual_byte_groupings)]
|
3 |
#![allow(clippy::unusual_byte_groupings)]
|
8 |
#![allow(clippy::unusual_byte_groupings)]
|
9 |
pub(crate) mod affine;
|
37 |
// PIO instr grouping is 3/5/3/5
|
38 |
#![allow(clippy::unusual_byte_groupings)]
|
39 |
#![allow(clippy::upper_case_acronyms)]
|
1 |
// PIO instr grouping is 3/5/3/5
|
2 |
#![allow(clippy::unusual_byte_groupings)]
|
3 |
#![allow(clippy::upper_case_acronyms)]
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
12 |
#![allow(clippy::unusual_byte_groupings)]
|
4 |
#![allow(clippy::unusual_byte_groupings)]
|
5 |
use bitfield::bitfield;
|
9 |
// Color codes are split between flag- and color bits on purpose, such as 0x03_789060.
|
10 |
#![allow(clippy::unusual_byte_groupings)]
|
3 |
// Released under the MIT license: https://opensource.org/licenses/MIT
|
4 |
#![allow(clippy::unusual_byte_groupings)]
|
5 |
use skia_safe::{
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
2 |
/*
|
8 |
#![allow(clippy::inconsistent_digit_grouping)]
|
9 |
#![allow(clippy::unusual_byte_groupings)]
|
10 |
#[cfg(feature = "snapshot")]
|
25 |
// This lint is fairly new, so have to also enable unknown-clippy-lints.
|
26 |
#![allow(clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
2 |
#![allow(clippy::bool_assert_comparison)]
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
2 |
// Copyright 2017 Brian Langenberger
|
144 |
fn test_number() {
|
145 |
#![allow(clippy::unusual_byte_groupings)] // Verify the macro with odd formatting
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
77 |
clippy::derive_partial_eq_without_eq,
|
78 |
clippy::unusual_byte_groupings,
|
79 |
clippy::comparison_chain
|
66 |
)]
|
67 |
#![allow(clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::inconsistent_digit_grouping, clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::inconsistent_digit_grouping, clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::inconsistent_digit_grouping, clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::inconsistent_digit_grouping, clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
2 |
use crate::frame::Frame;
|
6 |
#![allow(clippy::let_and_return)]
|
7 |
#![allow(clippy::unusual_byte_groupings)]
|
8 |
#![allow(clippy::misrefactored_assign_op)]
|
8 |
#![allow(clippy::inconsistent_digit_grouping)]
|
9 |
#![allow(clippy::unusual_byte_groupings)]
|
10 |
#![allow(clippy::upper_case_acronyms)]
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::unusual_byte_groupings)]
|
2 |
#![deny(rust_2018_idioms)]
|