Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/FuzzAnything/PromptFuzz
/ get_global_rng
Function
get_global_rng
src/program/rand.rs:15–17 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
13
});
14
15
pub fn get_global_rng() -> std::sync::MutexGuard<'static, StdRng> {
16
GLOBAL_RNG.lock().unwrap()
17
}
18
19
pub fn random_select<T>(seq: &[T]) -> &T {
20
let len = seq.len();
Callers
6
prompt_insertion
Function · 0.85
prompt_crossover
Function · 0.85
random_select
Function · 0.85
random_sample
Function · 0.85
weighted_choose
Function · 0.85
prob_coin
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected