MCPcopy Index your code
hub / github.com/nodejs/node / getUnbufferedUUID

Function getUnbufferedUUID

lib/internal/crypto/random.js:398–404  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

396}
397
398function getUnbufferedUUID() {
399 uuidNotBuffered ??= secureBuffer(16);
400 if (uuidNotBuffered === undefined)
401 throw new ERR_OPERATION_FAILED('Out of memory');
402 randomFillSync(uuidNotBuffered);
403 return serializeUUID(uuidNotBuffered, 0x40, 0x80);
404}
405
406function randomUUID(options) {
407 if (options !== undefined)

Callers 1

randomUUIDFunction · 0.85

Calls 2

randomFillSyncFunction · 0.85
serializeUUIDFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…