haz-alloc-core 0.4.0

A general-purpose allocator written in Rust, without system symbols
Documentation
1
2
3
4
5
6
7
8
use super::*;

#[test]
fn test_classes() {
    for size in SMALL_CLASSES {
        assert_eq!(SMALL_CLASSES[small_class_of(*size)], *size);
    }
}