MCPcopy Create free account
hub / github.com/LagrangeDev/LagrangeGo / GTK

Function GTK

client/ticket.go:124–131  ·  view source on GitHub ↗
(s string)

Source from the content-addressed store, hash-verified

122}
123
124func GTK(s string) int {
125 hash := 5381
126 for _, ch := range s {
127 hash += (hash<<5)&2147483647 + int(ch)&2147483647
128 hash &= 2147483647
129 }
130 return hash
131}

Callers 2

UploadGroupAlbumPhotoMethod · 0.85
UploadGroupAlbumVideoMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected