MCPcopy Create free account
hub / github.com/douchuan/algorithm / len

Method len

src/strings/tst.rs:18–20  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

16
17impl<T> TST<T> {
18 pub fn len(&self) -> usize {
19 self.n
20 }
21
22 pub fn is_empty(&self) -> bool {
23 self.n == 0

Callers 15

sort_str_LSD_radixFunction · 0.45
MSD_best_caseFunction · 0.45
longest_prefix_ofMethod · 0.45
get_dthFunction · 0.45
put_dthFunction · 0.45
collect_matchFunction · 0.45
sortMethod · 0.45
sort_i32Method · 0.45
sortMethod · 0.45
searchMethod · 0.45
fromMethod · 0.45
search1Function · 0.45

Calls

no outgoing calls

Tested by 10

min_pqFunction · 0.36
max_pqFunction · 0.36
index_min_pqFunction · 0.36
index_max_pqFunction · 0.36
insert_sort_dthFunction · 0.36
bfs_pathsFunction · 0.36
LSD_radix_sortFunction · 0.36
sorted_dataFunction · 0.36
bfs_pathsFunction · 0.36
cpmFunction · 0.36