MCPcopy Create free account
hub / github.com/argumentcomputer/ix / get_index_of

Method get_index_of

crates/aiur/src/querymap.rs:91–98  ·  view source on GitHub ↗
(&self, key: &[G])

Source from the content-addressed store, hash-verified

89 fn with_capacity(cap: usize) -> Self {
90 Self { inner: Vec::with_capacity(cap) }
91 }
92
93 #[cfg(target_os = "linux")]
94 #[inline]
95 fn extend_from_slice(&mut self, vals: &[T]) {
96 debug_assert!(self.len + vals.len() <= self.cap);
97 unsafe {
98 std::ptr::copy_nonoverlapping(
99 vals.as_ptr(),
100 self.ptr.add(self.len),
101 vals.len(),

Callers 3

getMethod · 0.80
get_mutMethod · 0.80
populate_rowMethod · 0.80

Calls 3

hash_g_sliceFunction · 0.85
key_atMethod · 0.80
findMethod · 0.45

Tested by

no test coverage detected