#malloc #memory #memory-block #allocate #block

walloc

Malloc's Wario - allocates unusable, arbitrarily-sized blocks of memory on-command. Great for, uh, testing purposes?

2 releases

0.1.1 Feb 5, 2023
0.1.0 Feb 5, 2023

#568 in Memory management

Download history 1/week @ 2024-02-19 22/week @ 2024-02-26 27/week @ 2024-04-01 87/week @ 2024-04-22

114 downloads per month

MIT/Apache

7KB

walloc

Malloc's evil twin - allocates unusable, arbitrarily-sized blocks of memory on-command. Great for, uh, testing purposes?

Licensed under either of the license files included in this repository, LICENSE-APACHE (Apache-2.0 license) or LICENSE-MIT (MIT license).


lib.rs:

This crate provides a simple interface for creating arbitrarily-sized memory blocks. This can be used for testing, benchmarking, or just for fun. The crate is named "walloc" because it is malloc's Wario.

Dependencies

~0.3–0.8MB
~19K SLoC