Home
last modified time | relevance | path

Searched refs:_64K (Results 1 – 1 of 1) sorted by relevance

/linux/rust/zerocopy/src/util/
H A Dmacro_util.rs86 const _64K: usize = 1 << 16; constant
93 struct Aligned64kAllocation([u8; _64K]);
106 const REF: &Aligned64kAllocation = &Aligned64kAllocation([0; _64K]);
108 let ptr: *const [u8] = ptr::slice_from_raw_parts(ptr.cast(), _64K);
166 assert!(min_size <= _64K);
965 assert_eq!(mem::align_of::<Aligned64kAllocation>(), _64K); in test_trailing_field_offset()