MCPcopy Create free account
hub / github.com/DeusData/codebase-memory-mcp / rotl

Function rotl

graph-ui/src/core/hash.ts:60–60  ·  view source on GitHub ↗
(value: number, by: number)

Source from the content-addressed store, hash-verified

58}
59
60const rotl = (value: number, by: number): number => (value << by) | (value >>> (32 - by));
61const rotr = (value: number, by: number): number => (value >>> by) | (value << (32 - by));
62
63/** sha1 einer Bytefolge, synchron. */

Callers 1

sha1BytesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected