about summary refs log tree commit diff
path: root/src/libstd/rand.rs
AgeCommit message (Expand)AuthorLines
2013-08-19Add externfn macro and correctly label fixed_stack_segmentsNiko Matsakis-0/+6
2013-08-18auto merge of #8558 : kballard/rust/xorshift-seed, r=cmrbors-6/+15
2013-08-16Give XorShiftRng::new() a random seedKevin Ballard-6/+15
2013-08-16doc: correct spelling in documentation.Huon Wilson-1/+1
2013-08-15auto merge of #8491 : robertknight/rust/7722-reservoir_sampling, r=graydonbors-0/+56
2013-08-13Add RngUtils::sample() method for reservoir sampling from iteratorsRobert Knight-0/+56
2013-08-12Forbid pub/priv where it has no effectAlex Crichton-2/+2
2013-08-07Add weak_rng to get a random algo that puts more emphasis on speed than securityJordi Boggiano-0/+10
2013-08-07Document rand module with more emphasis on cryptographic securityJordi Boggiano-2/+12
2013-08-05Updated std::Option, std::Either and std::ResultMarvin Löbel-2/+2
2013-08-03remove obsolete `foreach` keywordDaniel Micay-6/+6
2013-08-03replace all remaining `for` with `foreach` or `do`Daniel Micay-6/+9
2013-08-02librustc: Disallow "unsafe" for external functionsPatrick Walton-6/+5
2013-08-02replace `range` with an external iteratorDaniel Micay-1/+2
2013-08-01std: Change `Times` trait to use `do` instead of `for`blake2-ppc-3/+3
2013-08-01migrate many `for` loops to `foreach`Daniel Micay-7/+6
2013-07-24Change 'print(fmt!(...))' to printf!/printfln! in src/lib*Birunthan Mohanathas-11/+11
2013-07-22std: add #[bench] benchmarks for rand.Graydon Hoare-1/+35
2013-07-22new snapshotDaniel Micay-3/+0
2013-07-20librustc: Remove `pub extern` and `priv extern` from the language.Patrick Walton-7/+8
2013-07-20auto merge of #7894 : pcwalton/rust/and-pointers-in-at-boxes, r=brsonbors-1/+1
2013-07-18librustc: Forbid `&` pointers (other than `&'static`) inside `@` boxes.Patrick Walton-1/+1
2013-07-18Fix warnings in libstd and librusti testsblake2-ppc-1/+0
2013-07-17librustc: Remove all uses of the `Copy` bound.Patrick Walton-6/+6
2013-07-17librustc: Remove all uses of "copy".Patrick Walton-16/+17
2013-07-14Make TLS keys actually take up spaceAlex Crichton-1/+1
2013-07-14Purge the last remnants of the old TLS apiAlex Crichton-9/+7
2013-07-12Remove the global 'vec::to_owned' functionAlex Crichton-1/+1
2013-07-11auto merge of #7677 : alexcrichton/rust/tls-gc, r=pcwaltonbors-2/+2
2013-07-11Remove all external requirements of `@` from TLSAlex Crichton-1/+1
2013-07-10Fixed exampleskorenchkin-19/+31
2013-07-09Rename local_data methods/types for less keystrokesAlex Crichton-2/+2
2013-07-08 Replaces the free-standing functions in f32, &c.Jens Nockert-1/+2
2013-07-04Convert vec::{as_imm_buf, as_mut_buf} to methods.Huon Wilson-2/+2
2013-07-01rustc: add a lint to enforce uppercase statics.Huon Wilson-5/+5
2013-06-30Convert vec::{reverse, swap} to methods.Huon Wilson-1/+1
2013-06-28Rewrite each_path to allow performance improvements in the future.Patrick Walton-0/+1
2013-06-28librustc: Disallow "mut" from distributing over bindings.Patrick Walton-1/+2
2013-06-26auto merge of #7216 : kballard/rust/task_rng, r=brsonbors-10/+6
2013-06-23vec: remove BaseIter implementationDaniel Micay-4/+5
2013-06-20Make task_rng() return @mut R instead of @@mut RKevin Ballard-10/+6
2013-06-18replace #[inline(always)] with #[inline]. r=burningtree.Graydon Hoare-3/+3
2013-06-16Add copies to type params with Copy boundNiko Matsakis-3/+3
2013-06-13Revert "std: convert {vec,str}::to_owned to methods."Brian Anderson-1/+1
2013-06-12std: convert {vec,str}::to_owned to methods.Huon Wilson-1/+1
2013-06-09std: remove each_char* fns and methods from str, replaced by iterators.Huon Wilson-1/+2
2013-06-05rand example fixupJohn Clements-1/+1
2013-06-04librustc: Disallow multiple patterns from appearing in a "let" declaration.Patrick Walton-9/+10
2013-06-01Remove all uses of `pub impl`. rs=stylePatrick Walton-11/+11
2013-05-30Require documentation by default for libstdAlex Crichton-0/+5