MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / init

Function init

IceFireDB-Redis-Proxy/pkg/router/mapper.go:24–36  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22var charmap [256]byte
23
24func init() {
25 for i := range charmap {
26 c := byte(i)
27 switch {
28 case c >= 'A' && c <= 'Z':
29 charmap[i] = c
30 case c >= 'a' && c <= 'z':
31 charmap[i] = c - 'a' + 'A'
32 case c == ':':
33 charmap[i] = ':'
34 }
35 }
36}
37
38type OpFlag uint32
39

Callers

nothing calls this directly

Calls 3

equalFunction · 0.70
greaterFunction · 0.70
modulosFunction · 0.70

Tested by

no test coverage detected