MCPcopy Create free account
hub / github.com/davidblewett/rure-python / contains

Method contains

regex/src/sparse.rs:53–56  ·  view source on GitHub ↗
(&self, value: usize)

Source from the content-addressed store, hash-verified

51 }
52
53 pub fn contains(&self, value: usize) -> bool {
54 let i = self.sparse[value];
55 self.dense.get(i) == Some(&value)
56 }
57
58 pub fn clear(&mut self) {
59 self.dense.clear();

Callers 4

exec_byteMethod · 0.80
follow_epsilonsMethod · 0.80
add_stepMethod · 0.80
fmtMethod · 0.80

Calls 1

getMethod · 0.45

Tested by

no test coverage detected