(&self)
| 64 | unsafe impl<T: Copy + Sync> Sync for HugeVec<T> {} |
| 65 | |
| 66 | impl<T: Copy> HugeVec<T> { |
| 67 | #[cfg(target_os = "linux")] |
| 68 | fn with_capacity(cap: usize) -> Self { |
| 69 | assert!(cap > 0, "HugeVec capacity must be positive"); |
| 70 | let bytes = cap * size_of::<T>(); |
| 71 | let ptr = unsafe { |
no outgoing calls
no test coverage detected