MCPcopy Index your code
hub / github.com/angular/angular / rol32

Function rol32

packages/service-worker/cli/sha1.ts:82–84  ·  view source on GitHub ↗
(a: number, count: number)

Source from the content-addressed store, hash-verified

80
81// Rotate a 32b number left `count` position
82function rol32(a: number, count: number): number {
83 return (a << count) | (a >>> (32 - count));
84}
85
86// Rotate a 64b number left `count` position
87function rol64([hi, lo]: [number, number], count: number): [number, number] {

Callers 1

_sha1Function · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…