Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Stranger6667/css-inline
/ insert_hash
Method
insert_hash
css-inline/src/html/attributes.rs:35–37 ·
view source on GitHub ↗
(&mut self, hash: u64)
Source
from the content-addressed store, hash-verified
33
34
#[inline]
35
fn insert_hash(&mut self, hash: u64) {
36
self.0 |= (1u64 << (hash & 63)) | (1u64 << ((hash >> KEY_SIZE) & 63));
37
}
38
39
#[inline]
40
fn might_contain_hash(self, hash: u64) -> bool {
Callers
1
new
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected