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
1'use strict';2 3var $RangeError = require('es-errors/range');4var $TypeError = require('es-errors/type');5 6var ToIndex = require('./ToIndex');7var TypedArrayElementSize = require('./TypedArrayElementSize');8 9var isTypedArray = require('is-typed-array');10var typedArrayByteOffset = require('typed-array-byte-offset');11var typedArrayLength = require('typed-array-length');12 13// https://262.ecma-international.org/13.0/#sec-validateatomicaccess14 15module.exports = function ValidateAtomicAccess(typedArray, requestIndex) {16 if (!isTypedArray(typedArray)) {17 throw new $TypeError('Assertion failed: `typedArray` must be a TypedArray');18 }19 20 var length = typedArrayLength(typedArray); // step 121 22 var accessIndex = ToIndex(requestIndex); // step 223 24 /*25 // this assertion can never be reached26 if (!(accessIndex >= 0)) {27 throw new $TypeError('Assertion failed: accessIndex >= 0'); // step 428 }29 */30 31 if (accessIndex >= length) {32 throw new $RangeError('index out of range'); // step 433 }34 35 var elementSize = TypedArrayElementSize(typedArray); // step 536 37 var offset = typedArrayByteOffset(typedArray); // step 638 39 return (accessIndex * elementSize) + offset; // step 740};41 