Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/PacktPublishing/Hands-On-Data-Structures-and-Algorithms-in-Rust
/ functions
Functions
110 in github.com/PacktPublishing/Hands-On-Data-Structures-and-Algorithms-in-Rust
⨍
Functions
110
◇
Types & classes
39
↓ 35 callers
Method
len
(&self)
code/d5-hashmap/src/lib.rs:139
↓ 26 callers
Method
insert
(&mut self, k: K, v: V)
code/d5-hashmap/src/lib.rs:99
↓ 26 callers
Method
push
requires a precheck elsewhere that the item is not in the list
code/d5-hashmap/src/lib.rs:29
↓ 14 callers
Method
insert
(&mut self, dt: T)
code/d3-linklists/v1-ll/src/v5_skip.rs:26
↓ 12 callers
Function
write_u64
(w: &mut W, dat: u64)
code/d7-persist/src/blob.rs:10
↓ 10 callers
Method
add_edge
(&mut self, ed_id: ID, from: ID, to: ID, ed: E)
code/d4-graphs/v1-graphoptions/src/main.rs:56
↓ 10 callers
Method
height
(&self)
code/d3-linklists/v1-ll/src/v4_redblack.rs:46
↓ 10 callers
Function
read_u64
(r: &mut R)
code/d7-persist/src/blob.rs:4
↓ 9 callers
Method
add_sorted
(&mut self ,data:T)
code/d3-linklists/v1-ll/src/v3_bintree.rs:63
↓ 9 callers
Method
len
(&self)
code/d7-persist/src/blob.rs:59
↓ 6 callers
Function
hash
(seed: u64, t: T)
code/d5-hashmap/src/hasher.rs:22
↓ 5 callers
Method
for_each
(&self, mut f: F)
code/d6-ecs/src/store.rs:55
↓ 5 callers
Method
get
(&self, g: GenData)
code/d6-ecs/src/store.rs:30
↓ 5 callers
Method
get_mut
(&mut self, g: GenData)
code/d6-ecs/src/store.rs:39
↓ 5 callers
Method
next
(&mut self)
code/d2-sorting/v1-sort/src/b_rand.rs:36
↓ 5 callers
Function
rcc
(t: T)
code/d3-linklists/v1-ll/src/v5_skip.rs:6
↓ 5 callers
Method
set_height
(&mut self)
code/d3-linklists/v1-ll/src/v4_redblack.rs:53
↓ 4 callers
Method
drop
(&mut self, g:GenData)
code/d6-ecs/src/gen.rs:42
↓ 4 callers
Method
get
(&mut self, k: &K)
code/d7-persist/src/blobstore.rs:118
↓ 4 callers
Method
push_front
(&mut self,data:T)
code/d3-linklists/v1-ll/src/v2_dbl.rs:27
↓ 4 callers
Method
shortest_path_r
(&self, sofar: Rc<Route<ID>>, to: ID)
code/d4-graphs/v1-graphoptions/src/main.rs:113
↓ 3 callers
Method
add
(&mut self, g: GenData, t: T)
code/d6-ecs/src/store.rs:23
↓ 3 callers
Method
contains
(&self, id: &ID)
code/d4-graphs/v1-graphoptions/src/main.rs:88
↓ 3 callers
Method
get_v
(&'a self)
code/d7-persist/src/blob.rs:55
↓ 3 callers
Method
insert_only
Does not remove prior keys
code/d7-persist/src/blobstore.rs:80
↓ 3 callers
Method
k_hash
Note added [lib] name="d5_hashmap" and made hash pub
code/d7-persist/src/blob.rs:64
↓ 3 callers
Method
push_front
(&mut self, data: T)
code/d3-linklists/v1-ll/src/main.rs:8
↓ 3 callers
Method
remove
(&mut self, k: &K)
code/d7-persist/src/blobstore.rs:137
↓ 3 callers
Method
write
(&mut self, dt: &[u8])
code/d5-hashmap/src/hasher.rs:9
↓ 2 callers
Method
add_sorted
(&mut self, data: T)
code/d3-linklists/v1-ll/src/v4_redblack.rs:81
↓ 2 callers
Method
closest
return list of edges
code/d4-graphs/v1-graphoptions/src/main.rs:120
↓ 2 callers
Method
complete_path
(&self, path: &[ID])
code/d4-graphs/v1-graphoptions/src/main.rs:186
↓ 2 callers
Method
for_each_mut
(&mut self, mut f: F)
code/d6-ecs/src/store.rs:63
↓ 2 callers
Method
get_mut
(&mut self, k: &KB)
code/d5-hashmap/src/lib.rs:49
↓ 2 callers
Method
key_match
(&self, rhs: &Self)
code/d7-persist/src/blob.rs:68
↓ 2 callers
Method
lfirst_print
(&self,depth:i32)
code/d3-linklists/v1-ll/src/v3_bintree.rs:49
↓ 2 callers
Method
loop_up
(&mut self, ch: Rcc<SkipNode<T>>, n: usize)
code/d3-linklists/v1-ll/src/v5_skip.rs:104
↓ 2 callers
Method
move_bucket
(&mut self)
code/d5-hashmap/src/lib.rs:143
↓ 2 callers
Method
open
(fname: &str)
code/d7-persist/src/blobstore.rs:52
↓ 2 callers
Method
out
(&self, w: &mut W)
code/d7-persist/src/blob.rs:30
↓ 2 callers
Method
push_back
(&mut self,data:T)
code/d3-linklists/v1-ll/src/v2_dbl.rs:50
↓ 2 callers
Method
read
(r: &mut R)
code/d7-persist/src/blob.rs:42
↓ 1 callers
Method
add_node
(&mut self, id: ID, dt: T)
code/d4-graphs/v1-graphoptions/src/main.rs:52
↓ 1 callers
Method
bucket
(&mut self, n: usize)
code/d5-hashmap/src/lib.rs:63
↓ 1 callers
Function
build_tree
(s: &str)
code/d3-linklists/v1-ll/src/v6-huff.rs:69
↓ 1 callers
Function
collision_sys
(pp: &P, ss: &mut S)
code/d6-ecs/src/systems.rs:48
↓ 1 callers
Function
death_sys
( g: &mut crate::gen::GenManager, ss: &mut S, pp: &mut P, dd: &mut D, )
code/d6-ecs/src/systems.rs:107
↓ 1 callers
Function
dir_sys
(dd: &mut D, pp: &P)
code/d6-ecs/src/systems.rs:15
↓ 1 callers
Method
encode_char
could be bool,or num, but char is easier to print and show the sequence
code/d3-linklists/v1-ll/src/v6-huff.rs:37
↓ 1 callers
Method
finish
(&self)
code/d5-hashmap/src/hasher.rs:17
↓ 1 callers
Method
lfirst_print
(&self, depth: i32)
code/d3-linklists/v1-ll/src/v4_redblack.rs:67
↓ 1 callers
Method
lfirst_print
(&self,depth:i32,dir:char)
code/d3-linklists/v1-ll/src/v6-huff.rs:15
↓ 1 callers
Function
move_sys
(dd: &D, pp: &mut P)
code/d6-ecs/src/systems.rs:6
↓ 1 callers
Method
next
(&mut self)
code/d6-ecs/src/gen.rs:25
↓ 1 callers
Function
pivot
(v: &mut [T])
code/d2-sorting/v1-sort/src/main.rs:88
↓ 1 callers
Method
print_row
(&self, w: &mut W)
code/d3-linklists/v1-ll/src/v5_skip.rs:62
↓ 1 callers
Method
push_back
(&mut self, data: T)
code/d3-linklists/v1-ll/src/main.rs:13
↓ 1 callers
Function
rand
(max:usize)
code/d2-sorting/v1-sort/src/b_rand.rs:12
↓ 1 callers
Function
render_sys
( t: &mut RawTerminal<T>, pp: &P, ss: &S, )
code/d6-ecs/src/systems.rs:84
↓ 1 callers
Method
rot_left
(mut self)
code/d3-linklists/v1-ll/src/v3_bintree.rs:15
↓ 1 callers
Method
rot_left
(mut self)
code/d3-linklists/v1-ll/src/v4_redblack.rs:15
↓ 1 callers
Method
rot_right
(mut self)
code/d3-linklists/v1-ll/src/v4_redblack.rs:27
↓ 1 callers
Method
set_buckets
(&mut self, n: usize)
code/d5-hashmap/src/lib.rs:73
↓ 1 callers
Method
weight
(&self)
code/d4-graphs/v1-graphoptions/src/main.rs:26
Function
bubble_sort
(v: &mut [T])
code/d2-sorting/v1-sort/src/main.rs:31
Method
drop
(&mut self, g: GenData)
code/d6-ecs/src/store.rs:47
Method
encode_str
(&self,s:&str)
code/d3-linklists/v1-ll/src/v6-huff.rs:59
Method
fmt
(&self, f: &mut fmt::Formatter<'_>)
code/d3-linklists/v1-ll/src/v5_skip.rs:127
Method
fmt
(&self, f: &mut fmt::Formatter)
code/d4-graphs/v1-graphoptions/src/main.rs:100
Method
from
(k: &K, v: &V)
code/d7-persist/src/blob.rs:23
Method
from
(fe: anyhow::Error)
code/d7-persist/src/error.rs:20
Method
get
(&self, k: &KB)
code/d5-hashmap/src/lib.rs:36
Method
greedy_salesman
(&self, start: ID)
code/d4-graphs/v1-graphoptions/src/main.rs:174
Function
insert_sort
(v: &mut [T])
code/d2-sorting/v1-sort/src/main.rs:18
Method
iter_salesman
(&self, start: ID)
code/d4-graphs/v1-graphoptions/src/main.rs:202
Function
main
()
code/d3-linklists/v1-ll/src/main.rs:21
Function
main
()
code/d3-linklists/v1-ll/src/v3_bintree.rs:82
Function
main
()
code/d3-linklists/v1-ll/src/v5_skip.rs:140
Function
main
()
code/d3-linklists/v1-ll/src/v4_redblack.rs:118
Function
main
()
code/d3-linklists/v1-ll/src/v2_dbl.rs:77
Function
main
()
code/d3-linklists/v1-ll/src/v6-huff.rs:104
Function
main
()
code/d6-ecs/src/main.rs:13
Function
main
()
code/d4-graphs/v1-graphoptions/src/main.rs:234
Function
main
()
code/d2-sorting/v1-sort/src/main.rs:3
Function
merge_sort
(mut v: Vec<T>)
code/d2-sorting/v1-sort/src/main.rs:47
Method
n_elems
(&self)
code/d7-persist/src/blobstore.rs:71
Method
new
()
code/d5-hashmap/src/lib.rs:21
Method
new
(fname: &str, block_size: u64, nblocks: u64)
code/d7-persist/src/blobstore.rs:21
Method
new
()
code/d3-linklists/v1-ll/src/main.rs:5
Method
new
()
code/d3-linklists/v1-ll/src/v3_bintree.rs:36
Method
new
(t: T)
code/d3-linklists/v1-ll/src/v5_skip.rs:18
Method
new
()
code/d3-linklists/v1-ll/src/v4_redblack.rs:42
Method
new
()
code/d3-linklists/v1-ll/src/v2_dbl.rs:20
Method
new
()
code/d6-ecs/src/store.rs:17
Method
new
()
code/d6-ecs/src/gen.rs:18
Method
new
(s: &str)
code/d4-graphs/v1-graphoptions/src/main.rs:14
Method
new
(curr: usize, mul: usize, inc: usize, modulo: usize)
code/d2-sorting/v1-sort/src/b_rand.rs:24
Method
new_or_open
(fname: &str, bsize: u64, nblocks: u64)
code/d7-persist/src/blobstore.rs:75
Function
quick_sort
(v: &mut [T])
code/d2-sorting/v1-sort/src/main.rs:104
Function
rcc
(t: T)
code/d4-graphs/v1-graphoptions/src/options.rs:12
next →
1–100 of 110, ranked by callers