108 |
#[allow(clippy::suspicious_operation_groupings)]
|
109 |
fn from_bies_matrix_1a(
|
162 |
#[allow(clippy::suspicious_operation_groupings)]
|
163 |
#[must_use]
|
679 |
let site1 = *it_first.get_k()?.left_site();
|
680 |
#[allow(clippy::suspicious_operation_groupings)]
|
681 |
let site3 = if !site1.is_segment() && site3.is_segment() && site3.point1() == site1.point0()
|
86 |
) -> bool {
|
87 |
#[allow(clippy::suspicious_operation_groupings)]
|
88 |
if segment_index != SiteIndex::Two {
|
500 |
#[allow(clippy::many_single_char_names)]
|
501 |
#[allow(clippy::suspicious_operation_groupings)]
|
502 |
pub(crate) fn sss<I: InputType, F: OutputType>(
|
263 |
);
|
264 |
#[allow(clippy::suspicious_operation_groupings)]
|
265 |
let dot = (v_3_c.0 * v_3.0 + v_3_c.1 * v_3.1) / (v_3.0 * v_3.0 + v_3.1 * v_3.1);
|
339 |
// re-calculating it again with lossy floats.
|
340 |
#[allow(clippy::suspicious_operation_groupings)]
|
341 |
if (point1 == site2.point0() || point1 == site2.point1())
|
459 |
// Avoid subtraction while computing k.
|
460 |
#[allow(clippy::suspicious_operation_groupings)]
|
461 |
if !b1.is_sign_negative() {
|
360 |
#[allow(unknown_lints)]
|
361 |
#[allow(clippy::suspicious_operation_groupings)]
|
362 |
pub fn is_primary_edge(site1: &SiteEvent<I, F>, site2: &SiteEvent<I, F>) -> bool {
|
102 |
let mut dist = (new_y - cur_y) * (mid_x - cur_x) - (new_x - cur_x) * (mid_y - cur_y);
|
103 |
#[allow(clippy::suspicious_operation_groupings)]
|
104 |
{
|
131 |
#[inline(always)]
|
132 |
#[allow(clippy::suspicious_operation_groupings)]
|
133 |
fn parabola_y<I: InputType, F: OutputType>(x: F, a: F, b: F) -> F {
|
24 |
pub fn get_movement_mappings(&mut self) {
|
25 |
#[allow(clippy::suspicious_operation_groupings)] // Have to enable this, clippy really doesn't like me doing this with tuples...
|
26 |
fn is_intersecting(a: LineSegment, b: LineSegment) -> bool {
|
222 |
#[allow(clippy::suspicious_operation_groupings)] // clippy false positive
|
223 |
while !buff.is_empty() && !wild.is_empty() && (wild.first() != self.ascii(b'*')) {
|
145 |
#[inline(always)]
|
146 |
#[allow(clippy::suspicious_operation_groupings)]
|
147 |
pub fn is_start_within(self, other: Span) -> bool {
|
153 |
#[inline(always)]
|
154 |
#[allow(clippy::suspicious_operation_groupings)]
|
155 |
pub fn is_end_within(self, other: Span) -> bool {
|
239 |
// `structure_local_id` refers to the `local_id`. This is correct.
|
240 |
#[allow(clippy::suspicious_operation_groupings)]
|
241 |
if copied_artifact_ids.site_id == core_item.site_id
|
251 |
// `structure_local_id` refers to the `local_id`. This is correct.
|
252 |
#[allow(clippy::suspicious_operation_groupings)]
|
253 |
if structure_inhabitant_hf_ids.site_id == core_item.site_id
|
628 |
// We want to compare `hfid` with `hf_id_other` as `other.hfid` refers to the main hfid.
|
629 |
#[allow(clippy::suspicious_operation_groupings)]
|
630 |
impl PartialEq<df_st_core::HFLink> for HFLink {
|
119 |
// `self.id` refers to the `type_id`. This is correct.
|
120 |
#[allow(clippy::suspicious_operation_groupings)]
|
121 |
impl PartialEq<df_st_core::WCReference> for Reference {
|
51 |
/// Returns whether `self` is a response for the `req`.
|
52 |
#[allow(clippy::suspicious_operation_groupings)]
|
53 |
pub fn is_response_for(&self, req: &ElPacket) -> bool {
|
375 |
}
|
376 |
#[allow(clippy::suspicious_operation_groupings)]
|
377 |
if ptnm.start() > text.len() || ptn[..ptnm.start()] != text[..ptnm.start()]
|
118 |
/// Estimate gradient along the given direction.
|
119 |
#[allow(clippy::suspicious_operation_groupings)]
|
120 |
pub fn estimate_gradient<T, F>(
|
131 |
// false positives for this overzealous clippy https://github.com/rust-lang/rust-clippy/issues/6747
|
132 |
#[allow(clippy::suspicious_operation_groupings)]
|
133 |
if p.start == q.start || p.start == q.end {
|
240 |
pub fn mul_vec2(&self, rhs: Vec2) -> Vec2 {
|
241 |
#[allow(clippy::suspicious_operation_groupings)]
|
242 |
Vec2::new(
|
230 |
pub fn mul_vec2(&self, rhs: DVec2) -> DVec2 {
|
231 |
#[allow(clippy::suspicious_operation_groupings)]
|
232 |
DVec2::new(
|
432 |
#[allow(clippy::suspicious_operation_groupings)]
|
433 |
let d = (b * b + a * c_neg).sqrt();
|
96 |
// Clamped to 3 as higher values tend to rapidly drag the estimate to zero.
|
97 |
#[allow(clippy::suspicious_operation_groupings)] // False positive.
|
98 |
let area = (diagonal * diagonal) / (length / width);
|
180 |
{
|
181 |
#[allow(clippy::suspicious_operation_groupings)]
|
182 |
{
|
186 |
// ```
|
187 |
#[allow(clippy::suspicious_operation_groupings)]
|
188 |
if child.start <= range.end && child.end >= range.end {
|
83 |
let mut new_end = new_items.len();
|
84 |
#[allow(clippy::suspicious_operation_groupings)]
|
85 |
// FIXME: make code clearer so that clippy won't complain
|
262 |
#[allow(unknown_lints)]
|
263 |
#[allow(clippy::suspicious_operation_groupings)]
|
264 |
fn luks_luks_compatible(info_1: &LLuksInfo, info_2: &LuksInfo) -> bool {
|
83 |
#[allow(clippy::many_single_char_names)]
|
84 |
#[allow(clippy::suspicious_operation_groupings)]
|
85 |
pub fn intersection_point(self, other: Self) -> Option<Intersection<T>> {
|
357 |
let mut dist = (new_y - cur_y) * (mid_x - cur_x) - (new_x - cur_x) * (mid_y - cur_y);
|
358 |
#[allow(clippy::suspicious_operation_groupings)]
|
359 |
{
|
463 |
let mut dist = (new_y - cur_y) * (mid_x - cur_x) - (new_x - cur_x) * (mid_y - cur_y);
|
464 |
#[allow(clippy::suspicious_operation_groupings)]
|
465 |
{
|
492 |
#[inline(always)]
|
493 |
#[allow(clippy::suspicious_operation_groupings)]
|
494 |
fn parabola_y(x: T, a: T, b: T) -> T {
|
1520 |
#[inline(always)]
|
1521 |
#[allow(clippy::suspicious_operation_groupings)]
|
1522 |
/// The distance between the line a->b to the point p is the same as
|
214 |
/// at the corresponding value.
|
215 |
#[allow(clippy::suspicious_operation_groupings)]
|
216 |
pub fn intersection_t(&self, other: &Self) -> Option<(S, S)> {
|
79 |
// From https://en.wikipedia.org/wiki/Algorithms_for_calculating_variance
|
80 |
#[allow(clippy::suspicious_operation_groupings)]
|
81 |
pub fn moment_stats<I: Iterator>(xs: I) -> MomentStats
|
677 |
#[allow(clippy::suspicious_operation_groupings)]
|
678 |
fn pop_double_truncated_geometric_dist_2_mean(b: f64, a: f64, unadjusted_mean: f64) -> f64 {
|
641 |
/// codecs' RTCP feedback and header extensions, and also enables or disabled RTX.
|
642 |
#[allow(clippy::suspicious_operation_groupings)]
|
643 |
pub(crate) fn get_consumer_rtp_parameters(
|
54 |
let eps: T = crate::convert(0.95);
|
55 |
#[allow(clippy::suspicious_operation_groupings)]
|
56 |
if n_col.clone() * n_col + n_row.clone() * n_row < eps * s {
|
33 |
#[allow(clippy::suspicious_operation_groupings)]
|
34 |
impl DerivedConstants {
|
468 |
fn approx_eq(&self, other: &Dense<f64>, tolerance: Self::Check) -> bool {
|
469 |
#[allow(clippy::suspicious_operation_groupings)]
|
470 |
if self.n != other.n || self.n != other.m {
|
485 |
// note symmetric does not have a self.m field as n=m in a symmetric matrix
|
486 |
#[allow(clippy::suspicious_operation_groupings)]
|
487 |
if self.n != other.n || self.n != other.m {
|
521 |
fn approx_eq(&self, other: &Symmetric<f64>, tolerance: Self::Check) -> bool {
|
522 |
#[allow(clippy::suspicious_operation_groupings)]
|
523 |
if self.n != other.n || self.m != other.n {
|
537 |
fn assert_approx_eq(&self, other: &Symmetric<f64>, tolerance: Self::Check) {
|
538 |
#[allow(clippy::suspicious_operation_groupings)]
|
539 |
if self.n != other.n || self.m != other.n {
|
562 |
impl PartialEq for Formatter {
|
563 |
#[allow(clippy::suspicious_operation_groupings)]
|
564 |
fn eq(&self, other: &Self) -> bool {
|
159 |
#[allow(clippy::suspicious_operation_groupings)]
|
160 |
while before
|
170 |
#[allow(clippy::suspicious_operation_groupings)]
|
171 |
while after
|
81 |
let c = (1.0 / 2.0) * (x1 * f_x0_dx_dx - x0 * f_x1_dx_dx) / dx;
|
82 |
#[allow(clippy::suspicious_operation_groupings)]
|
83 |
let b = slope - c * (x1 + x0) - d * (x1 * x1 + x1 * x0 + x0x0);
|
123 |
// TODO: return a union of two intervals?
|
124 |
#[allow(clippy::suspicious_operation_groupings)]
|
125 |
if !self.singleton() && !rhs.singleton() && self.upper < rhs.lower {
|
1478 |
#[allow(clippy::suspicious_operation_groupings)]
|
1479 |
fn peer_completed_address_validation(&self) -> bool {
|
803 |
// I didn't mean `Traits::MAX_TICK_COUNT == UTicks::MAX_TICK_COUNT`
|
804 |
#[allow(clippy::suspicious_operation_groupings)]
|
805 |
fn duration_since_last_tick<Traits: KernelTraits>(
|
242 |
// then we don't want to keep looping forever trying to find more!
|
243 |
#[allow(clippy::suspicious_operation_groupings)]
|
244 |
if stored_start_wrapper.end_wrapper.range.start
|
50 |
fn is_continuous(&self, other: &Self) -> bool {
|
51 |
#[allow(clippy::suspicious_operation_groupings)]
|
52 |
match (self, other) {
|
174 |
/// and `other` are of the correct type and the operation is supported.
|
175 |
#[allow(clippy::suspicious_operation_groupings)]
|
176 |
pub fn set(&self, this: &mut Value<'_>, other: Value<'static>) -> Result<(), Error> {
|
77 |
/// reading the field may require the union content be read as a value of the type being set.
|
78 |
#[allow(clippy::suspicious_operation_groupings)]
|
79 |
pub unsafe fn set(&self, this: &mut Value<'_>, other: Value<'static>) -> Result<(), Error> {
|
95 |
#[allow(clippy::suspicious_operation_groupings)]
|
96 |
fn squared_euclidean_distance<S2>(&self, other: ArrayBase<S2, Ix1>) -> A
|
23 |
/// Returns the matrix product `self * other`.
|
24 |
#[allow(clippy::suspicious_operation_groupings)]
|
25 |
#[must_use]
|
350 |
impl KlDivergence for Gaussian {
|
351 |
#[allow(clippy::suspicious_operation_groupings)]
|
352 |
fn kl(&self, other: &Self) -> f64 {
|
957 |
#[allow(clippy::suspicious_operation_groupings)]
|
958 |
fn combine(a: &Transform, b: &Transform) -> Self {
|
702 |
}
|
703 |
#[allow(clippy::suspicious_operation_groupings)]
|
704 |
if (curr_st.arrival_time > curr_st.departure_time)
|
208 |
{
|
209 |
#[allow(clippy::suspicious_operation_groupings)]
|
210 |
fn ast_eq(&self, other: &Self) -> bool {
|
2058 |
// No clippy, we really mean j.exclusive(k) || k.exclusive(j)...
|
2059 |
clippy::suspicious_operation_groupings,
|
2060 |
// also what is wrong with you clippy ...
|
381 |
// standard evaluation, it's an any type or it's the requested type and the search_name matches
|
382 |
#[allow(clippy::suspicious_operation_groupings)]
|
383 |
if (query.query_type().is_any() || query.query_type() == r.rr_type())
|
2240 |
/// ```
|
2241 |
#[allow(clippy::result_unit_err, clippy::suspicious_operation_groupings)]
|
2242 |
pub fn set_scheme(&mut self, scheme: &str) -> Result<(), ()> {
|
201 |
// then we don't want to keep looping forever trying to find more!
|
202 |
#[allow(clippy::suspicious_operation_groupings)]
|
203 |
if stored_range_start_wrapper.range.start == new_range_start_wrapper.range.end
|
70 |
#![allow(clippy::all)]
|
71 |
#[allow(clippy::suspicious_operation_groupings)] // s_x * s_x looks suspicious, but it's not
|
72 |
match length {
|
170 |
#[allow(clippy::suspicious_operation_groupings)]
|
171 |
// s_x * s_x looks suspicious, but it's not
|
92 |
clippy::float_cmp,
|
93 |
clippy::suspicious_operation_groupings,
|
94 |
)]
|
10 |
#![allow(clippy::many_single_char_names)]
|
11 |
#![allow(clippy::suspicious_operation_groupings)]
|
1 |
#![warn(clippy::all)]
|
2 |
#![allow(clippy::suspicious_operation_groupings)]
|
3 |
#![allow(clippy::too_many_arguments)]
|
3 |
#![allow(clippy::many_single_char_names)]
|
4 |
#![allow(clippy::suspicious_operation_groupings)]
|
1 |
#![allow(clippy::suspicious_operation_groupings)]
|
2 |
#[cfg(feature = "serde-serialize-no-std")]
|
1 |
#![allow(clippy::suspicious_operation_groupings)]
|