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
ArrayCreate.js43 linesDownload Raw Back to 2017
1'use strict';2 3var GetIntrinsic = require('get-intrinsic');4 5var $ArrayPrototype = GetIntrinsic('%Array.prototype%');6var $RangeError = require('es-errors/range');7var $SyntaxError = require('es-errors/syntax');8var $TypeError = require('es-errors/type');9var isInteger = require('math-intrinsics/isInteger');10var MAX_ARRAY_LENGTH = require('math-intrinsics/constants/maxArrayLength');11var $setProto = require('set-proto');12 13// https://262.ecma-international.org/6.0/#sec-arraycreate14 15module.exports = function ArrayCreate(length) {16	if (!isInteger(length) || length < 0) {17		throw new $TypeError('Assertion failed: `length` must be an integer Number >= 0');18	}19	if (length > MAX_ARRAY_LENGTH) {20		throw new $RangeError('length is greater than (2**32 - 1)');21	}22	var proto = arguments.length > 1 ? arguments[1] : $ArrayPrototype;23	var A = []; // steps 5 - 7, and 924	if (proto !== $ArrayPrototype) { // step 825		if (!$setProto) {26			throw new $SyntaxError('ArrayCreate: a `proto` argument that is not `Array.prototype` is not supported in an environment that does not support setting the [[Prototype]]');27		}28		$setProto(A, proto);29	}30	if (length !== 0) { // bypasses the need for step 231		A.length = length;32	}33	/* step 10, the above as a shortcut for the below34	OrdinaryDefineOwnProperty(A, 'length', {35		'[[Configurable]]': false,36		'[[Enumerable]]': false,37		'[[Value]]': length,38		'[[Writable]]': true39	});40	*/41	return A;42};43 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai