Team Ai
Datasetpublic

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.

sourceHugging Faceupdated 2mo agoView on Hugging Face
0likes3.1kdownloads
GetStringIndex.js28 linesDownload Raw Back to 2022
1'use strict';2 3var callBound = require('call-bound');4var $TypeError = require('es-errors/type');5var isInteger = require('math-intrinsics/isInteger');6 7var StringToCodePoints = require('./StringToCodePoints');8 9var $indexOf = callBound('String.prototype.indexOf');10 11// https://262.ecma-international.org/13.0/#sec-getstringindex12 13module.exports = function GetStringIndex(S, e) {14	if (typeof S !== 'string') {15		throw new $TypeError('Assertion failed: `S` must be a String');16	}17	if (!isInteger(e) || e < 0) {18		throw new $TypeError('Assertion failed: `e` must be a non-negative integer');19	}20 21	if (S === '') {22		return 0;23	}24	var codepoints = StringToCodePoints(S);25	var eUTF = e >= codepoints.length ? S.length : $indexOf(S, codepoints[e]);26	return eUTF;27};28 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai