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

Function toHexU32

packages/compiler/src/i18n/digest.ts:179–182  ·  view source on GitHub ↗

* Convert and format a number as a string representing a 32-bit unsigned hexadecimal number. * @param value The value to format as a string. * @returns A hexadecimal string representing the value.

(value: number)

Source from the content-addressed store, hash-verified

177 * @returns A hexadecimal string representing the value.
178 */
179function toHexU32(value: number): string {
180 // unsigned right shift of zero ensures an unsigned 32-bit number
181 return (value >>> 0).toString(16).padStart(8, '0');
182}
183
184function fk(index: number, b: number, c: number, d: number): [number, number] {
185 if (index < 20) {

Callers 1

sha1Function · 0.85

Calls 1

toStringMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…