Home
last modified time | relevance | path

Searched refs:choose_multiple_weighted (Results 1 – 2 of 2) sorted by relevance

/external/rust/crates/rand/src/seq/
Dmod.rs220 fn choose_multiple_weighted<R, F, X>( in choose_multiple_weighted() method
564 fn choose_multiple_weighted<R, F, X>( in choose_multiple_weighted() method
1245 .choose_multiple_weighted(&mut rng, 2, |item| item.1) in test_multiple_weighted_edge_cases()
1256 .choose_multiple_weighted(&mut rng, 2, |item| item.1) in test_multiple_weighted_edge_cases()
1265 .choose_multiple_weighted(&mut rng, 2, |item| item.1) in test_multiple_weighted_edge_cases()
1273 .choose_multiple_weighted(&mut rng, 0, |_: &()| 0) in test_multiple_weighted_edge_cases()
1282 .choose_multiple_weighted(&mut rng, 2, |item| item.1) in test_multiple_weighted_edge_cases()
1291 .choose_multiple_weighted(&mut rng, 2, |item| item.1) in test_multiple_weighted_edge_cases()
1302 .choose_multiple_weighted(&mut rng, 2, |item| item.1) in test_multiple_weighted_edge_cases()
1310 .choose_multiple_weighted(&mut rng, 2, |item| item.1) in test_multiple_weighted_edge_cases()
[all …]
/external/rust/crates/rand/
DCHANGELOG.md13 - Fix `no-std` + `alloc` build by gating `choose_multiple_weighted` on `std` (#1088)