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');4 5var isMatchRecord = require('../helpers/records/match-record');6 7// https://262.ecma-international.org/13.0/#sec-getmatchindexpair8 9module.exports = function GetMatchIndexPair(S, match) {10 if (typeof S !== 'string') {11 throw new $TypeError('Assertion failed: `S` must be a String');12 }13 if (!isMatchRecord(match)) {14 throw new $TypeError('Assertion failed: `match` must be a Match Record');15 }16 17 if (!(match['[[StartIndex]]'] <= S.length)) {18 throw new $TypeError('`match` [[StartIndex]] must be a non-negative integer <= the length of S');19 }20 if (!(match['[[EndIndex]]'] <= S.length)) {21 throw new $TypeError('`match` [[EndIndex]] must be an integer between [[StartIndex]] and the length of S, inclusive');22 }23 return [match['[[StartIndex]]'], match['[[EndIndex]]']];24};25 