<commit_before>//! A slab allocator implementation for small objects
//! (< architecture page size).
//!
//! The organization is as follows (top-down):
//!
//!  * A `ZoneAllocator` manages many `SCAllocator` and can
//!    satisfy requests for different allocation sizes.
//!  * A `SCAllocator` allocates objects of exactly one size.
//!    It holds its data in a ObjectPageList.
//!  * A `ObjectPage` contains allocated objects and associated meta-data.
//!  * A `PageProvider` is provided by the client and used by the
//!    SCAllocator to allocate ObjectPage.
//!
#![allow(unused_features, dead_code, unused_variables)]
#![feature(
    const_fn,
    prelude_import,
    test,
    core,
    raw,
    ptr_as_ref,
    core_prelude,
    core_slice_ext,
    libc
)]
#![feature(alloc, allocator_api)]
#![no_std]
#![crate_name = "slabmalloc"]
#![crate_type = "lib"]
#![deny(warnings)]

extern crate spin;

#[cfg(test)]
#[macro_use]
extern crate std;
#[cfg(test)]
extern crate libc;
#[cfg(test)]
extern crate rand;<commit_msg>Update format.<commit_after>//! A slab allocator implementation for small objects
//! (< architecture page size).
//!
//! The organization is as follows (top-down):
//!
//!  * A `ZoneAllocator` manages many `SCAllocator` and can
//!    satisfy requests for different allocation sizes.
//!  * A `SCAllocator` allocates objects of exactly one size.
//!    It holds its data in a ObjectPageList.
//!  * A `ObjectPage` contains allocated objects and associated meta-data.
//!  * A `PageProvider` is provided by the client and used by the
//!    SCAllocator to allocate ObjectPage.
//!
#![allow(unused_features, dead_code, unused_variables)]
#![feature(
    const_fn, prelude_import, test, core, raw, ptr_as_ref, core_prelude, core_slice_ext, libc
)]
#![feature(alloc, allocator_api)]
#![no_std]
#![crate_name = "slabmalloc"]
#![crate_type = "lib"]
#![deny(warnings)]

extern crate spin;

#[cfg(test)]
#[macro_use]
extern crate std;
#[cfg(test)]
extern crate libc;
#[cfg(test)]
extern crate rand;
{'fraction_non_alphanumeric': 0.14456035767511177, 'fraction_numerical': 0.0, 'mean_word_length': 4.177377892030848, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1110057', 'n_tokens_mistral': 676, 'n_tokens_neox': 646, 'n_words': 210}