Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/TeXitoi/benchmarksgame-rs
/ functions
Functions
129 in github.com/TeXitoi/benchmarksgame-rs
⨍
Functions
129
◇
Types & classes
24
↓ 40 callers
Method
iter
(&'a self)
src/meteor_contest.rs:41
↓ 12 callers
Method
push
(&mut self, c: u8, mask: u64)
src/k_nucleotide.rs:43
↓ 5 callers
Method
mul_from_ui
self *= a
src/pidigits.rs:103
↓ 5 callers
Method
split_off_left
Split the left `n` items from self and return them as a separate slice.
src/reverse_complement.rs:163
↓ 5 callers
Method
split_off_right
Split the right `n` items from self and return them as a separate slice.
src/reverse_complement.rs:171
↓ 5 callers
Method
sum
(self)
src/n_body.rs:33
↓ 4 callers
Method
next
(&mut self)
src/pidigits.rs:70
↓ 3 callers
Function
a
(i: [usize; 2], j: [usize; 2])
src/spectralnorm.rs:100
↓ 3 callers
Function
bottom_up_tree
(arena: &'r Arena<Tree<'r>>, depth: i32)
src/binary_trees.rs:27
↓ 3 callers
Method
sqrt
(self)
src/n_body.rs:23
↓ 3 callers
Method
sum
(self)
src/spectralnorm.rs:24
↓ 2 callers
Method
advance
(&mut self, iterations: usize)
src/mandelbrot.rs:93
↓ 2 callers
Function
dot
(v: &[F64x2], u: &[F64x2])
src/spectralnorm.rs:105
↓ 2 callers
Function
energy
(bodies: &[Body; N_BODIES])
src/n_body.rs:166
↓ 2 callers
Method
extract_digit
(&mut self, nth: c_ulong)
src/pidigits.rs:48
↓ 2 callers
Function
gen_freq
(input: &[u8], frame: usize)
src/k_nucleotide.rs:111
↓ 2 callers
Function
iterate
returns an infinite iterator of repeated applications of f to x, i.e. [x, f(x), f(f(x)), ...], as haskell iterate function.
src/meteor_contest.rs:18
↓ 2 callers
Function
make_fasta
(header: &str, rng: Arc<Mutex<MyRandom>>, data: Vec<(u32, u8)>, num_threads: u16
src/fasta.rs:157
↓ 2 callers
Function
make_random
(data: &[(char, f32)])
src/fasta.rs:92
↓ 2 callers
Function
mult
(v: &[F64x2], out: &mut [F64x2], a: F)
src/spectralnorm.rs:78
↓ 2 callers
Function
mult_at_av
(v: &[F64x2], out: &mut [F64x2], tmp: &mut [F64x2])
src/spectralnorm.rs:73
↓ 2 callers
Function
print_sol
Prints a solution in Vec<u8> form.
src/meteor_contest.rs:194
↓ 2 callers
Function
rendezvous
(nn: usize, set: Vec<Color>)
src/chameneos_redux.rs:139
↓ 2 callers
Function
reverse_chunks
Compute the reverse complement for two contiguous chunks without line breaks.
src/reverse_complement.rs:150
↓ 2 callers
Function
reverse_complement
Compute the reverse complement of one sequence.
src/reverse_complement.rs:81
↓ 2 callers
Function
rotate
(perm: u64, n: usize)
src/fannkuch_redux.rs:42
↓ 2 callers
Function
roundtrip
(id: i32, tx: Sender<i32>, rx: Receiver<i32>)
src/thread_ring.rs:23
↓ 2 callers
Function
show_digit
(nn: usize)
src/chameneos_redux.rs:54
↓ 1 callers
Method
add
self = a + b
src/pidigits.rs:111
↓ 1 callers
Method
addmul_ui
self += a * b
src/pidigits.rs:115
↓ 1 callers
Function
advance
(bodies: &mut [Body; N_BODIES], dt: f64)
src/n_body.rs:179
↓ 1 callers
Method
all_diverged
(&self)
src/mandelbrot.rs:102
↓ 1 callers
Method
as_ui
(&self)
src/pidigits.rs:122
↓ 1 callers
Function
bodies
()
src/n_body.rs:82
↓ 1 callers
Function
build_table
Lookup table to find the complement of a single FASTA code.
src/reverse_complement.rs:24
↓ 1 callers
Method
cmp
(&self, other: &Mpz)
src/pidigits.rs:133
↓ 1 callers
Function
creature
( name: usize, mut color: Color, from_rendezvous: Receiver<CreatureInfo>, to_rendezvous: Sende
src/chameneos_redux.rs:105
↓ 1 callers
Function
div_and_add
(x: F64x2, a0: F64x2, a1: F64x2, s0: &mut F64x2, s
src/spectralnorm.rs:119
↓ 1 callers
Function
do_fasta
(thread_num: u16, rng: Arc<Mutex<MyRandom>>, wr: Arc<Mutex<MyStdOut>>, data: Vec<(u32, u8)>)
src/fasta.rs:119
↓ 1 callers
Method
eliminate_digit
(&mut self, d: c_ulong)
src/pidigits.rs:54
↓ 1 callers
Function
fannkuch
(n: i32)
src/fannkuch_redux.rs:54
↓ 1 callers
Function
filter_masks
Filter the masks that we can prove to result to unfeasible board.
src/meteor_contest.rs:162
↓ 1 callers
Function
flips
(perm: u64)
src/fannkuch_redux.rs:17
↓ 1 callers
Method
gen
(&mut self, buf: &mut [u32], cur_thread: u16)
src/fasta.rs:49
↓ 1 callers
Method
gen_freq
(&self, input: &[u8])
src/k_nucleotide.rs:139
↓ 1 callers
Function
get_id
Gets the identifier of a mask.
src/meteor_contest.rs:174
↓ 1 callers
Function
get_seq
(mut r: R, key: &[u8])
src/k_nucleotide.rs:157
↓ 1 callers
Function
get_sequences
Read each sequence from stdin, process it, and return it.
src/reverse_complement.rs:51
↓ 1 callers
Function
handle_sol
Records a new found solution. Returns false if the search must be stopped.
src/meteor_contest.rs:226
↓ 1 callers
Function
inner
(depth: i32, iterations: i32)
src/binary_trees.rs:38
↓ 1 callers
Function
is_board_unfeasible
Check if all coordinates can be covered by an unused piece and that all unused piece can be placed on the board.
src/meteor_contest.rs:142
↓ 1 callers
Function
item_check
(tree: &Tree)
src/binary_trees.rs:19
↓ 1 callers
Function
make_fasta2
(header: &str, mut it: I, mut n: usize)
src/fasta.rs:102
↓ 1 callers
Function
make_masks
Makes every possible masks. masks[i][id] correspond to every possible masks for piece with identifier id with minimum coordinate (i/5, i%5).
src/meteor_contest.rs:112
↓ 1 callers
Function
mask
Takes a piece with minimum coordinate (0, 0) (as generated by transform). Returns the corresponding mask if p translated by (dy, dx) is on the board.
src/meteor_contest.rs:97
↓ 1 callers
Method
mul_ui
self = a * b
src/pidigits.rs:99
↓ 1 callers
Method
next_term
(&mut self)
src/pidigits.rs:59
↓ 1 callers
Function
offset_momentum
(bodies: &mut [Body; N_BODIES])
src/n_body.rs:157
↓ 1 callers
Function
pack
(perm: &[u8; 16])
src/fannkuch_redux.rs:14
↓ 1 callers
Function
par_search
(masks: Vec<Vec<Vec<u64>>>)
src/meteor_contest.rs:269
↓ 1 callers
Function
permute
(perm: u64, count: &mut [u8; 16])
src/fannkuch_redux.rs:30
↓ 1 callers
Method
print
(&self, freq: &Map)
src/k_nucleotide.rs:125
↓ 1 callers
Function
print_complements
()
src/chameneos_redux.rs:12
↓ 1 callers
Method
reduce_from
(&mut self, other: Data)
src/meteor_contest.rs:216
↓ 1 callers
Method
reset
(&mut self, count: usize)
src/fasta.rs:44
↓ 1 callers
Function
reverse_complement_left_right
Compute the reverse complement on chunks from opposite ends of a sequence. `left` must start at the beginning of a line. If there are an odd number o
src/reverse_complement.rs:99
↓ 1 callers
Function
run
(n: usize)
src/n_body.rs:217
↓ 1 callers
Method
run
(&mut self, cr: Vecf64, cr2: Vecf64)
src/mandelbrot.rs:76
↓ 1 callers
Function
search
( masks: &Vec<Vec<Vec<u64>>>, board: u64, mut i: usize, cur: List<u64>, data: &mut Data)
src/meteor_contest.rs:245
↓ 1 callers
Function
spectralnorm
(n: usize)
src/spectralnorm.rs:58
↓ 1 callers
Function
start
(n_tasks: i32, token: i32)
src/thread_ring.rs:10
↓ 1 callers
Method
submul_ui
self -= a * b
src/pidigits.rs:107
↓ 1 callers
Method
tdiv_q
self = a / b
src/pidigits.rs:119
↓ 1 callers
Method
to_byte
(&self)
src/mandelbrot.rs:106
↓ 1 callers
Method
to_string
(&self, frame: usize)
src/k_nucleotide.rs:56
↓ 1 callers
Function
to_vec
Converts a list of mask to a Vec<u8>.
src/meteor_contest.rs:182
↓ 1 callers
Function
transform
Takes a pieces p on the form [(y1, x1), (y2, x2), ...] and returns every possible transformations (the 6 rotations with their corresponding mirrored p
src/meteor_contest.rs:68
↓ 1 callers
Function
transform
(aa: Color, bb: Color)
src/chameneos_redux.rs:91
↓ 1 callers
Method
write
(&mut self, data: &[u8], cur_thread: u16)
src/fasta.rs:78
↓ 1 callers
Method
write_to_slice_unaligned
(self, slice: &mut [f64])
src/n_body.rs:24
↓ 1 callers
Method
write_to_slice_unaligned
(self, slice: &mut [f64])
src/spectralnorm.rs:20
Method
add
(mut self, other: Vecf64)
src/mandelbrot.rs:38
Method
add
(self, rhs: Self)
src/n_body.rs:53
Method
add
(self, rhs: Self)
src/spectralnorm.rs:33
Method
default
()
src/k_nucleotide.rs:21
Method
div
(self, rhs: Self)
src/n_body.rs:46
Method
div
(self, rhs: Self)
src/spectralnorm.rs:45
Method
drop
(&mut self)
src/pidigits.rs:88
Method
encode
(c: u8)
src/k_nucleotide.rs:76
Method
eq
(&self, other: &Mpz)
src/pidigits.rs:128
Method
finish
(&self)
src/k_nucleotide.rs:26
Method
fmt
(&self, f: &mut fmt::Formatter)
src/chameneos_redux.rs:29
Method
from_str
(s: &str)
src/k_nucleotide.rs:48
Method
from_ui
(i: c_ulong)
src/pidigits.rs:91
Function
main
()
src/meteor_contest.rs:292
Function
main
()
src/fannkuch_redux.rs:129
Function
main
()
src/mandelbrot.rs:117
Function
main
()
src/reverse_complement.rs:15
Function
main
()
src/thread_ring.rs:33
Function
main
()
src/binary_trees.rs:47
next →
1–100 of 129, ranked by callers