Macro scratchpad::cache_aligned_zeroed_for_markers
[−]
[src]
macro_rules! cache_aligned_zeroed_for_markers { ($marker_count:expr) => { ... }; ($marker_count:expr,) => { ... }; }
Creates an array of zeroed-out [CacheAligned
] values large enough for
storage of at least the specified number of allocation markers. The
actual supported marker count may be larger due to padding.
Examples
let zeroed = cache_aligned_zeroed_for_markers!(32); for element in &zeroed { for i in 0..element.0.len() { assert_eq!(element.0[i], 0); } }