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 $TypeError = require('es-errors/type');4var callBound = require('call-bound');5var isInteger = require('math-intrinsics/isInteger');6 7var $indexOf = callBound('String.prototype.indexOf');8 9var IsArray = require('./IsArray');10var WordCharacters = require('./WordCharacters');11 12var every = require('../helpers/every');13var isRegExpRecord = require('../helpers/records/regexp-record');14 15var isChar = function isChar(c) {16 return typeof c === 'string';17};18 19// https://262.ecma-international.org/14.0/#sec-runtime-semantics-iswordchar-abstract-operation20 21module.exports = function IsWordChar(rer, Input, e) {22 if (!isRegExpRecord(rer)) {23 throw new $TypeError('Assertion failed: `rer` must be a RegExp Record');24 }25 if (!IsArray(Input) || !every(Input, isChar)) {26 throw new $TypeError('Assertion failed: `Input` must be a List of characters');27 }28 29 if (!isInteger(e)) {30 throw new $TypeError('Assertion failed: `e` must be an integer');31 }32 33 var InputLength = Input.length; // step 134 35 if (e === -1 || e === InputLength) {36 return false; // step 237 }38 39 var c = Input[e]; // step 340 41 return $indexOf(WordCharacters(rer), c) > -1; // steps 4-542};43 