Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Monibuca/engine
/ getCrc32
Function
getCrc32
util/crc32.go:120–126 ·
view source on GitHub ↗
(crc uint32, data []byte)
Source
from the content-addressed store, hash-verified
118
}
119
120
func
getCrc32(crc uint32, data []byte) uint32 {
121
for
_, v :=
range
data {
122
crc = Crc32_Table[v^byte(crc)] ^ (crc >> 8)
123
}
124
125
return
crc
126
}
Callers
2
Read
Method · 0.85
Write
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected