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
ArraySpeciesCreate.js47 linesDownload Raw Back to 2017
1'use strict';2 3var GetIntrinsic = require('get-intrinsic');4 5var $Array = GetIntrinsic('%Array%');6var $species = GetIntrinsic('%Symbol.species%', true);7var $TypeError = require('es-errors/type');8var isInteger = require('math-intrinsics/isInteger');9var isObject = require('es-object-atoms/isObject');10 11var Get = require('./Get');12var IsArray = require('./IsArray');13var IsConstructor = require('./IsConstructor');14 15// https://262.ecma-international.org/6.0/#sec-arrayspeciescreate16 17module.exports = function ArraySpeciesCreate(originalArray, length) {18	if (!isInteger(length) || length < 0) {19		throw new $TypeError('Assertion failed: length must be an integer >= 0');20	}21	var len = length === 0 ? 0 : length;22	var C;23	var isArray = IsArray(originalArray);24	if (isArray) {25		C = Get(originalArray, 'constructor');26		// TODO: figure out how to make a cross-realm normal Array, a same-realm Array27		// if (IsConstructor(C)) {28		// 	if C is another realm's Array, C = undefined29		// 	Object.getPrototypeOf(Object.getPrototypeOf(Object.getPrototypeOf(Array))) === null ?30		// }31		if ($species && isObject(C)) {32			C = Get(C, $species);33			if (C === null) {34				C = void 0;35			}36		}37	}38	if (typeof C === 'undefined') {39		return $Array(len);40	}41	if (!IsConstructor(C)) {42		throw new $TypeError('C must be a constructor');43	}44	return new C(len); // Construct(C, len);45};46 47 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai