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
RegExpHasFlag.js39 linesDownload Raw Back to 2022
1'use strict';2 3var GetIntrinsic = require('get-intrinsic');4var callBound = require('call-bound');5 6var $TypeError = require('es-errors/type');7var isObject = require('es-object-atoms/isObject');8var $RegExpPrototype = GetIntrinsic('%RegExp.prototype%');9 10var SameValue = require('./SameValue');11 12var $indexOf = callBound('String.prototype.indexOf');13 14var hasRegExpMatcher = require('is-regex');15var getFlags = require('regexp.prototype.flags');16 17// https://262.ecma-international.org/13.0/#sec-regexphasflag18 19module.exports = function RegExpHasFlag(R, codeUnit) {20	if (typeof codeUnit !== 'string' || codeUnit.length !== 1) {21		throw new $TypeError('Assertion failed: `string` must be a code unit - a String of length 1');22	}23 24	if (!isObject(R)) {25		throw new $TypeError('Assertion failed: Type(R) is not Object');26	}27 28	if (!hasRegExpMatcher(R)) { // step 229		if (SameValue(R, $RegExpPrototype)) {30			return void undefined; // step 2.a31		}32		throw new $TypeError('`R` must be a RegExp object'); // step 2.b33	}34 35	var flags = getFlags(R); // step 336 37	return $indexOf(flags, codeUnit) > -1; // steps 4-538};39 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai