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

Method index

src/graph/util/symbol_graph.rs:52–54  ·  view source on GitHub ↗

index associated with key

(&self, key: &str)

Source from the content-addressed store, hash-verified

50
51 /// index associated with key
52 pub fn index(&self, key: &str) -> Option<usize> {
53 self.st.get(key).cloned()
54 }
55
56 /// key associated with index v
57 pub fn name(&self, v: usize) -> Option<&str> {

Callers 2

symbol_graphFunction · 0.80
degree_of_separationFunction · 0.80

Calls 1

getMethod · 0.45

Tested by 2

symbol_graphFunction · 0.64
degree_of_separationFunction · 0.64