656 |
];
|
657 |
#[allow(clippy::deref_addrof)]
|
658 |
for (key, index, val) in expected {
|
565 |
clippy::op_ref,
|
566 |
clippy::deref_addrof,
|
567 |
clippy::identity_op,
|
280 |
),
|
281 |
#[allow(clippy::deref_addrof)]
|
282 |
owner: &*(addr_of!(**self.owner.borrow())),
|
85 |
impl Operation for Conv {
|
86 |
#[allow(clippy::deref_addrof)]
|
87 |
fn eval(&self, inputs: &[ArrayViewD<f32>]) -> ArrayD<f32> {
|
996 |
#[allow(clippy::deref_addrof)]
|
997 |
#[test]
|
97 |
add_subword_embeddings(&vocab, &mut storage);
|
98 |
#[allow(clippy::deref_addrof)]
|
99 |
let norms = NdNorms::new(l2_normalize_array(
|
240 |
// ndarray#474
|
241 |
#[allow(clippy::deref_addrof)]
|
242 |
let sims = self
|
552 |
#[test]
|
553 |
#[allow(clippy::deref_addrof)] // the problem is in the `ndarray::s!` macro
|
554 |
fn f32_batching() -> Result<(), Error> {
|
535 |
#[allow(clippy::deref_addrof)]
|
536 |
let col_idx = max_spread_column(points, &idx[range.clone()]);
|
204 |
// ndarray#474
|
205 |
#[allow(clippy::deref_addrof)]
|
206 |
let sq_instances = instances.slice(s![.., offset..offset + sq_centroids.ncols()]);
|
132 |
// ndarray#474
|
133 |
#[allow(clippy::deref_addrof)]
|
134 |
let sq_instances = instances.slice(s![.., offset..offset + sq_dims]);
|
164 |
// ndarray#474
|
165 |
#[allow(clippy::deref_addrof)]
|
166 |
let sq_instances = instances.slice(s![.., offset..offset + sq_dims]);
|
40 |
// ndarray#474
|
41 |
#[allow(clippy::deref_addrof)]
|
42 |
let sub_vec = x.slice(s![offset..offset + quantizer.ncols()]);
|
94 |
// ndarray#474
|
95 |
#[allow(clippy::deref_addrof)]
|
96 |
let sub_matrix = x.slice(s![.., offset..offset + quantizer.ncols()]);
|
217 |
// ndarray#474
|
218 |
#[allow(clippy::deref_addrof)]
|
219 |
let sims = similarity(
|
89 |
#[allow(clippy::deref_addrof)]
|
90 |
self.inputs
|
95 |
if let Some(subwords) = subwords {
|
96 |
#[allow(clippy::deref_addrof)]
|
97 |
self.subwords
|
156 |
#[allow(clippy::deref_addrof)]
|
157 |
self.labels
|
109 |
#[allow(clippy::deref_addrof)]
|
110 |
self.inputs
|
157 |
#[allow(clippy::deref_addrof)]
|
158 |
self.labels
|
157 |
#[allow(clippy::deref_addrof)]
|
158 |
self.inputs
|
252 |
#[allow(clippy::deref_addrof)]
|
253 |
self.labels
|
60 |
#[cfg_attr(feature = "cargo-clippy", allow(deref_addrof))]
|
61 |
unsafe extern "C" fn event_loop_io_cb<R, T: IoCallback<R>>(_fd: i32, mask: u32, userdata: *mut libc::c_void)
|
60 |
#[cfg_attr(feature = "cargo-clippy", allow(deref_addrof))]
|
61 |
unsafe extern "C" fn event_loop_io_cb<R, T: IoCallback<R>>(_fd: i32, mask: u32, userdata: *mut libc::c_void)
|
1 |
#![allow(clippy::deref_addrof)]
|
2 |
#[macro_use]
|
91 |
// necessary to get clippy to shut up about the s! macro
|
92 |
#![allow(clippy::deref_addrof)]
|
93 |
// I really do not like the a..=b syntax
|
4 |
clippy::many_single_char_names,
|
5 |
clippy::deref_addrof,
|
6 |
clippy::unreadable_literal,
|
3 |
clippy::many_single_char_names,
|
4 |
clippy::deref_addrof,
|
5 |
clippy::unreadable_literal,
|
3 |
clippy::many_single_char_names,
|
4 |
clippy::deref_addrof,
|
5 |
clippy::unreadable_literal,
|
3 |
clippy::many_single_char_names,
|
4 |
clippy::deref_addrof,
|
5 |
clippy::unreadable_literal,
|
3 |
clippy::many_single_char_names,
|
4 |
clippy::deref_addrof,
|
5 |
clippy::unreadable_literal,
|
2 |
clippy::many_single_char_names,
|
3 |
clippy::deref_addrof,
|
4 |
clippy::unreadable_literal,
|
3 |
clippy::many_single_char_names,
|
4 |
clippy::deref_addrof,
|
5 |
clippy::unreadable_literal,
|
2 |
clippy::many_single_char_names,
|
3 |
clippy::deref_addrof,
|
4 |
clippy::unreadable_literal,
|
2 |
clippy::many_single_char_names,
|
3 |
clippy::deref_addrof,
|
4 |
clippy::unreadable_literal,
|
12 |
clippy::many_single_char_names,
|
13 |
clippy::deref_addrof,
|
14 |
clippy::unreadable_literal,
|
3 |
// deref_addrof false positive: https://github.com/rust-lang/rust-clippy/issues/8247
|
4 |
#![allow(clippy::transmute_ptr_to_ptr, clippy::deref_addrof)]
|
5 |
use std::os::raw::c_char;
|