MCPcopy Index your code
hub / github.com/dataease/SQLBot / hashString

Function hashString

frontend/public/swagger-ui-bundle.js:2115–2118  ·  view source on GitHub ↗
(s)

Source from the content-addressed store, hash-verified

2113 )
2114 }
2115 function hashString(s) {
2116 for (var o = 0, i = 0; i < s.length; i++) o = (31 * o + s.charCodeAt(i)) | 0
2117 return smi(o)
2118 }
2119 function hashJSObj(s) {
2120 var o
2121 if (ye && void 0 !== (o = fe.get(s))) return o

Callers 2

hashFunction · 0.85
cachedHashStringFunction · 0.85

Calls 1

smiFunction · 0.85

Tested by

no test coverage detected