Brunobkr/llama.cpp_AlgMor24_github
ΩFFFΣLLIa • llama.cpp • AlgMor24 ██████╗ ███████╗███████╗███████╗██╗ ██╗ ██╗ █████╗ ██╔═══██╗██╔════╝██╔════╝██╔════╝██║ ██║ ██║██╔══██╗ ██║ ██║█████╗ █████╗ █████╗ ██║ ██║ ██║███████║ ██║ ██║██╔══╝ ██╔══╝ ██╔══╝ ██║ ██║ ██║██╔══██║ ╚██████╔╝██║ ██║ ███████╗███████╗███████╗██║██║ ██║ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚══════╝╚══════╝╚═╝╚═╝ ╚═╝ High-Performance LLM / VLM Inference & Autonomous Agentic Ecosystem… See the full description on the dataset page: https://huggingface.co/datasets/Brunobkr/llama.cpp_AlgMor24_github.
03.1k
1import native from './native.js';2import rng from './rng.js';3import { unsafeStringify } from './stringify.js';4function _v4(options, buf, offset) {5 options = options || {};6 const rnds = options.random ?? options.rng?.() ?? rng();7 if (rnds.length < 16) {8 throw new Error('Random bytes length must be >= 16');9 }10 rnds[6] = (rnds[6] & 0x0f) | 0x40;11 rnds[8] = (rnds[8] & 0x3f) | 0x80;12 if (buf) {13 offset = offset || 0;14 if (offset < 0 || offset + 16 > buf.length) {15 throw new RangeError(`UUID byte range ${offset}:${offset + 15} is out of buffer bounds`);16 }17 for (let i = 0; i < 16; ++i) {18 buf[offset + i] = rnds[i];19 }20 return buf;21 }22 return unsafeStringify(rnds);23}24function v4(options, buf, offset) {25 if (native.randomUUID && !buf && !options) {26 return native.randomUUID();27 }28 return _v4(options, buf, offset);29}30export default v4;31 