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 CodePointAt = require('./CodePointAt');4 5var $TypeError = require('es-errors/type');6var isInteger = require('math-intrinsics/isInteger');7var MAX_SAFE_INTEGER = require('math-intrinsics/constants/maxSafeInteger');8 9// https://262.ecma-international.org/12.0/#sec-advancestringindex10 11module.exports = function AdvanceStringIndex(S, index, unicode) {12 if (typeof S !== 'string') {13 throw new $TypeError('Assertion failed: `S` must be a String');14 }15 if (!isInteger(index) || index < 0 || index > MAX_SAFE_INTEGER) {16 throw new $TypeError('Assertion failed: `length` must be an integer >= 0 and <= 2**53');17 }18 if (typeof unicode !== 'boolean') {19 throw new $TypeError('Assertion failed: `unicode` must be a Boolean');20 }21 if (!unicode) {22 return index + 1;23 }24 var length = S.length;25 if ((index + 1) >= length) {26 return index + 1;27 }28 var cp = CodePointAt(S, index);29 return index + cp['[[CodeUnitCount]]'];30};31 