Allocates an entry of size and clears the entry.
Counts the number of trailing zeroes in DIR direction in mask.
Frees ptr, self explanatory.
Allocates an entry of size
Finds the index of elem in src within 0..len using SIMD intrinsics.
Reallocates ptr with size Tries to avoid actually doing a new allocation if possible.
Creates a reference to V instance data.
Zeroes the entry pointed to by ptr.
Swaps all bytes at src from 0..len.
Copies all data from src to dst within range 0..len.
Zeroes all bytes at src within range 0..len.
General-purpose memory optimized memory utilities. For memory management, see tern.typecons.automem.