Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • Tommoa/ralloc
  • stratact/ralloc
  • bitemyapp/ralloc
  • brson/ralloc
  • mati865/ralloc
  • ayf/ralloc
6 results
Show changes
Commits on Source (2)
......@@ -3,6 +3,9 @@
extern crate ralloc;
extern crate test;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
#[bench]
fn bench_box(b: &mut test::Bencher) {
b.iter(|| {
......
......@@ -3,6 +3,9 @@
extern crate ralloc;
extern crate test;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
use std::sync::mpsc;
use std::thread;
......
......@@ -5,5 +5,5 @@ extern crate test;
#[bench]
fn bench_sbrk(b: &mut test::Bencher) {
b.iter(|| ralloc::sbrk(200).unwrap());
b.iter(|| unsafe { ralloc::sbrk(200) });
}
#![feature(test)]
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
extern crate ralloc;
extern crate test;
......
#![feature(test)]
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
extern crate ralloc;
extern crate test;
......
......@@ -3,6 +3,9 @@
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
use std::sync::Arc;
use std::thread;
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
mod util;
#[inline(never)]
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
mod util;
use std::collections::BTreeMap;
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
mod util;
use std::thread;
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
mod util;
use std::thread;
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
mod util;
use std::ptr;
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
mod util;
#[test]
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
#[test]
fn minimal() {
let a = Box::new(1);
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
mod util;
use std::sync::mpsc;
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
mod util;
use std::ptr;
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
mod util;
use std::ptr;
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
mod util;
#[test]
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
mod util;
#[test]
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
mod util;
#[test]
......
extern crate ralloc;
#[global_allocator]
static ALLOCATOR: ralloc::Allocator = ralloc::Allocator;
mod util;
use std::thread;
......