399 |
// I purposely want to divide the bits using the ranges defined above.
|
400 |
#[allow(clippy::inconsistent_digit_grouping)]
|
401 |
fn encodingbits_construction() {
|
341 |
#[cfg(test)]
|
342 |
#[allow(clippy::identity_op, clippy::inconsistent_digit_grouping)] // this makes various examples easier to understand
|
343 |
pub mod tests {
|
471 |
#[test]
|
472 |
#[allow(clippy::inconsistent_digit_grouping)]
|
473 |
fn test_bool_container_uper() {
|
79 |
/// and a string of its units
|
80 |
#[allow(clippy::inconsistent_digit_grouping)]
|
81 |
pub static CODATA: phf::Map<&'static str, (f64, f64, &'static str)> =
|
79 |
/// and a string of its units
|
80 |
#[allow(clippy::inconsistent_digit_grouping)]
|
81 |
pub static CODATA: phf::Map<&'static str, (f64, f64, &'static str)> =
|
358 |
#[allow(clippy::inconsistent_digit_grouping)] // Use sats/bitcoin when grouping.
|
359 |
#[test]
|
372 |
#[allow(clippy::inconsistent_digit_grouping)] // Use sats/bitcoin when grouping.
|
373 |
#[test]
|
1608 |
#[test]
|
1609 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per bitcoin.
|
1610 |
fn parsing() {
|
1878 |
#[test]
|
1879 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per bitcoin.
|
1880 |
fn from_str() {
|
1917 |
#[test]
|
1918 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per bitcoin.
|
1919 |
fn to_from_string_in() {
|
2015 |
#[test]
|
2016 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per bitcoin.
|
2017 |
fn serde_as_btc() {
|
2051 |
#[test]
|
2052 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per bitcoin.
|
2053 |
fn serde_as_btc_opt() {
|
1608 |
#[test]
|
1609 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per bitcoin.
|
1610 |
fn parsing() {
|
1878 |
#[test]
|
1879 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per bitcoin.
|
1880 |
fn from_str() {
|
1917 |
#[test]
|
1918 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per bitcoin.
|
1919 |
fn to_from_string_in() {
|
2015 |
#[test]
|
2016 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per bitcoin.
|
2017 |
fn serde_as_btc() {
|
2051 |
#[test]
|
2052 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per bitcoin.
|
2053 |
fn serde_as_btc_opt() {
|
23 |
#[allow(clippy::inconsistent_digit_grouping)]
|
24 |
fn ctx(method: SslMethod) -> Result<SslContextBuilder, ErrorStack> {
|
12 |
pub const VERSION: &str = env!("CARGO_PKG_VERSION");
|
13 |
#[allow(clippy::inconsistent_digit_grouping)]
|
14 |
pub const BUILD: u64 = 2022_01_19_01;
|
698 |
#[allow(clippy::inconsistent_digit_grouping)]
|
699 |
#[test]
|
518 |
#[test]
|
519 |
#[allow(clippy::inconsistent_digit_grouping)]
|
520 |
fn make_lump_id_works() -> TestResult {
|
536 |
fn get_object_version_from_lump_id_works() -> TestResult {
|
537 |
#[allow(clippy::inconsistent_digit_grouping)]
|
538 |
let lump_id = LumpId::new(1 << 120 | 0x100_0a00_00 << 64 | 0x1234_5678_9abc_def0);
|
46 |
/// Testnet genesis block
|
47 |
#[allow(clippy::inconsistent_digit_grouping)]
|
48 |
pub fn genesis_test() -> core::Block {
|
159 |
/// Mainnet genesis block
|
160 |
#[allow(clippy::inconsistent_digit_grouping)]
|
161 |
pub fn genesis_main() -> core::Block {
|
1605 |
#[test]
|
1606 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per groestlcoin.
|
1607 |
fn parsing() {
|
1875 |
#[test]
|
1876 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per groestlcoin.
|
1877 |
fn from_str() {
|
1914 |
#[test]
|
1915 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per groestlcoin.
|
1916 |
fn to_from_string_in() {
|
2012 |
#[test]
|
2013 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per groestlcoin.
|
2014 |
fn serde_as_btc() {
|
2048 |
#[test]
|
2049 |
#[allow(clippy::inconsistent_digit_grouping)] // Group to show 100,000,000 sats per groestlcoin.
|
2050 |
fn serde_as_btc_opt() {
|
302 |
// I don't want to group digits of the decimal part.
|
303 |
#[allow(clippy::inconsistent_digit_grouping)]
|
304 |
pub const fn edge_length_m(self) -> f64 {
|
31 |
fn decode_correctly_decodes_rl_without_leading_zeros_and_ones() {
|
32 |
#[allow(clippy::inconsistent_digit_grouping)]
|
33 |
let input = [0b11000_000];
|
43 |
fn decode_correctly_decodes_rl_with_not_null_sign_bit() {
|
44 |
#[allow(clippy::inconsistent_digit_grouping)]
|
45 |
let input = [0b11100_000];
|
55 |
fn decode_correctly_decodes_rl_with_leading_zeros() {
|
56 |
#[allow(clippy::inconsistent_digit_grouping, clippy::unreadable_literal)]
|
57 |
let input = [0b00000000, 0b10011001, 0b1100_0000];
|
67 |
fn decode_correctly_decodes_rl_with_leading_ones() {
|
68 |
#[allow(clippy::inconsistent_digit_grouping, clippy::unreadable_literal)]
|
69 |
let input = [0b11011111, 0b11111101];
|
79 |
fn decode_correctly_decodes_rlgr3() {
|
80 |
#[allow(clippy::inconsistent_digit_grouping, clippy::unreadable_literal)]
|
81 |
let input = [0b110000_00];
|
59 |
fn zgfx_decopresses_only_one_literal() {
|
60 |
#[allow(clippy::inconsistent_digit_grouping)]
|
61 |
let buffer = [0b11001_000, 0x03];
|
72 |
fn zgfx_decopresses_one_literal_with_null_prefix() {
|
73 |
#[allow(clippy::inconsistent_digit_grouping)]
|
74 |
let buffer = [0b0_0110010, 0b1_0000000, 0x07];
|
85 |
fn zgfx_decopresses_only_multiple_literals() {
|
86 |
#[allow(clippy::inconsistent_digit_grouping)]
|
87 |
let buffer = [0b11001_110, 0b100_11011, 0b0_0_011001, 0b01_000000, 0x06];
|
98 |
fn zgfx_decopresses_one_literal_with_one_match_distance_1() {
|
99 |
#[allow(clippy::inconsistent_digit_grouping)]
|
100 |
let buffer = [0b0_0110010, 0b1_10001_00, 0b001_10_00_0, 0x1];
|
111 |
fn zgfx_decopresses_three_literals_with_one_match_distance_3_length_57() {
|
112 |
#[allow(clippy::inconsistent_digit_grouping)]
|
113 |
let buffer = [
|
672 |
#[allow(clippy::inconsistent_digit_grouping)]
|
673 |
pub(crate) static HEX_OFFSET_TABLE: [u8; 256] = {
|
23 |
#[allow(clippy::inconsistent_digit_grouping)]
|
24 |
fn main() {
|
46 |
/// Testnet genesis block
|
47 |
#[allow(clippy::inconsistent_digit_grouping)]
|
48 |
pub fn genesis_test() -> core::Block {
|
159 |
/// Mainnet genesis block
|
160 |
#[allow(clippy::inconsistent_digit_grouping)]
|
161 |
pub fn genesis_main() -> core::Block {
|
26 |
#[allow(clippy::inconsistent_digit_grouping, clippy::unusual_byte_groupings)]
|
27 |
fn ctx(method: SslMethod) -> Result<SslContextBuilder, ErrorStack> {
|
127 |
impl From<u32> for HeaderVersion {
|
128 |
#[allow(clippy::inconsistent_digit_grouping)]
|
129 |
fn from(v: u32) -> Self {
|
597 |
#[allow(clippy::inconsistent_digit_grouping)]
|
598 |
fn compute_period_per_point(total_ns: u64, max_points: usize, sub_daily: bool) -> Option<u64> {
|
776 |
#[allow(clippy::inconsistent_digit_grouping)]
|
777 |
fn compute_period_per_point(total_ns: u64, max_points: usize, sub_daily: bool) -> Option<u64> {
|
768 |
#[allow(clippy::inconsistent_digit_grouping)]
|
769 |
fn compute_period_per_point(total_ns: u64, max_points: usize, sub_daily: bool) -> Option<u64> {
|
435 |
if install_token_users {
|
436 |
#[allow(clippy::inconsistent_digit_grouping)]
|
437 |
let mut create_and_fund_example_users = vec![
|
384 |
#[allow(clippy::inconsistent_digit_grouping)]
|
385 |
#[test]
|
733 |
#[allow(clippy::inconsistent_digit_grouping)]
|
734 |
#[test]
|
174 |
// This code groups digits irregularly to express a specific meaning
|
175 |
#[allow(clippy::inconsistent_digit_grouping)]
|
176 |
fn ctz3_lut_nonzero(x: usize) -> u32 {
|
252 |
#[test]
|
253 |
#[allow(clippy::inconsistent_digit_grouping)]
|
254 |
fn test_key_float() {
|
329 |
#[allow(clippy::inconsistent_digit_grouping)]
|
330 |
let mut definitions = map! {
|
142 |
fn index_to_grb(index: u8) -> u8 {
|
143 |
#[allow(clippy::inconsistent_digit_grouping)]
|
144 |
match index & 15 {
|
530 |
impl<'a, P: PageTableFrameMapping> Translate for MappedPageTable<'a, P> {
|
531 |
#[allow(clippy::inconsistent_digit_grouping)]
|
532 |
fn translate(&self, addr: VirtAddr) -> TranslateResult {
|
755 |
impl<'a> Translate for RecursivePageTable<'a> {
|
756 |
#[allow(clippy::inconsistent_digit_grouping)]
|
757 |
fn translate(&self, addr: VirtAddr) -> TranslateResult {
|
520 |
impl<'a, P: PhysToVirt> MapperAllSizes for MappedPageTable<'a, P> {
|
521 |
#[allow(clippy::inconsistent_digit_grouping)]
|
522 |
fn translate(&self, addr: VirtAddr) -> TranslateResult {
|
4 |
#![allow(clippy::unreadable_literal)]
|
5 |
#![allow(clippy::inconsistent_digit_grouping)]
|
73 |
#![allow(clippy::unreadable_literal)]
|
74 |
#![allow(clippy::inconsistent_digit_grouping)]
|
209 |
#![allow(clippy::inconsistent_digit_grouping)]
|
210 |
#![allow(clippy::unusual_byte_groupings)]
|
1 |
#![allow(clippy::zero_prefixed_literal, clippy::inconsistent_digit_grouping)]
|
1 |
#![allow(clippy::zero_prefixed_literal, clippy::inconsistent_digit_grouping)]
|
1 |
#![allow(clippy::zero_prefixed_literal, clippy::inconsistent_digit_grouping)]
|
1 |
#![allow(clippy::zero_prefixed_literal, clippy::inconsistent_digit_grouping)]
|
3 |
#![cfg_attr(feature = "nightly", feature(core_intrinsics))]
|
4 |
#![allow(clippy::inconsistent_digit_grouping)]
|
5 |
#![warn(unsafe_op_in_unsafe_fn)]
|
4 |
#![allow(clippy::inconsistent_digit_grouping)]
|
3 |
#![deny(missing_docs)]
|
4 |
#![allow(clippy::inconsistent_digit_grouping)]
|
5 |
#![deny(unsafe_code)]
|
2 |
#![allow(clippy::excessive_precision)]
|
3 |
#![allow(clippy::inconsistent_digit_grouping)]
|
2 |
#![allow(clippy::excessive_precision)]
|
3 |
#![allow(clippy::inconsistent_digit_grouping)]
|
38 |
fn hash_63_bits(hash: u64) -> u64 {
|
39 |
#![allow(clippy::inconsistent_digit_grouping)] // Grouping matches 64bit IEEE 754 float
|
1 |
#![allow(clippy::inconsistent_digit_grouping, clippy::unreadable_literal)]
|
2 |
pub use error::Error;
|
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 |
// Suppress clippy warnings for date literals.
|
4 |
#![allow(clippy::inconsistent_digit_grouping)]
|
5 |
#![allow(clippy::zero_prefixed_literal)]
|
3 |
#![allow(clippy::inconsistent_digit_grouping)]
|
7 |
*/
|
8 |
#![allow(clippy::inconsistent_digit_grouping)]
|
9 |
#![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)]
|
4 |
#![allow(clippy::zero_prefixed_literal)]
|
5 |
#![allow(clippy::inconsistent_digit_grouping)]
|
7 |
//! This module contains various op-code bits parsing methods and their enum representations.
|
8 |
#![allow(clippy::inconsistent_digit_grouping)]
|
9 |
#![allow(clippy::unusual_byte_groupings)]
|