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 callBound = require('call-bound');4 5var $TypeError = require('es-errors/type');6var isInteger = require('math-intrinsics/isInteger');7 8var $charAt = callBound('String.prototype.charAt');9 10// https://262.ecma-international.org/6.0/#sec-splitmatch11 12module.exports = function SplitMatch(S, q, R) {13 if (typeof S !== 'string') {14 throw new $TypeError('Assertion failed: `S` must be a String');15 }16 if (!isInteger(q)) {17 throw new $TypeError('Assertion failed: `q` must be an integer');18 }19 if (typeof R !== 'string') {20 throw new $TypeError('Assertion failed: `R` must be a String');21 }22 var r = R.length;23 var s = S.length;24 if (q + r > s) {25 return false;26 }27 28 for (var i = 0; i < r; i += 1) {29 if ($charAt(S, q + i) !== $charAt(R, i)) {30 return false;31 }32 }33 34 return q + r;35};36 