Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_byte
Method · 0.80
follow_epsilons
Method · 0.80
add_step
Method · 0.80
fmt
Method · 0.80
Calls
1
get
Method · 0.45
Tested by
no test coverage detected