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
CopyDataProperties.js70 linesDownload Raw Back to 2021
1'use strict';2 3var $TypeError = require('es-errors/type');4var isObject = require('es-object-atoms/isObject');5var callBound = require('call-bound');6var OwnPropertyKeys = require('own-keys');7 8var forEach = require('../helpers/forEach');9var every = require('../helpers/every');10var some = require('../helpers/some');11 12var $isEnumerable = callBound('Object.prototype.propertyIsEnumerable');13 14var CreateDataPropertyOrThrow = require('./CreateDataPropertyOrThrow');15var Get = require('./Get');16var IsArray = require('./IsArray');17var isPropertyKey = require('../helpers/isPropertyKey');18var SameValue = require('./SameValue');19var ToNumber = require('./ToNumber');20var ToObject = require('./ToObject');21 22var isInteger = require('math-intrinsics/isInteger');23 24// https://262.ecma-international.org/12.0/#sec-copydataproperties25 26module.exports = function CopyDataProperties(target, source, excludedItems) {27	if (!isObject(target)) {28		throw new $TypeError('Assertion failed: "target" must be an Object');29	}30 31	if (!IsArray(excludedItems) || !every(excludedItems, isPropertyKey)) {32		throw new $TypeError('Assertion failed: "excludedItems" must be a List of Property Keys');33	}34 35	if (typeof source === 'undefined' || source === null) {36		return target;37	}38 39	var from = ToObject(source);40 41	var keys = OwnPropertyKeys(from);42	forEach(keys, function (nextKey) {43		var excluded = some(excludedItems, function (e) {44			return SameValue(e, nextKey) === true;45		});46		/*47		var excluded = false;48 49		forEach(excludedItems, function (e) {50			if (SameValue(e, nextKey) === true) {51				excluded = true;52			}53		});54		*/55 56		var enumerable = $isEnumerable(from, nextKey) || (57		// this is to handle string keys being non-enumerable in older engines58			typeof source === 'string'59			&& nextKey >= 060			&& isInteger(ToNumber(nextKey))61		);62		if (excluded === false && enumerable) {63			var propValue = Get(from, nextKey);64			CreateDataPropertyOrThrow(target, nextKey, propValue);65		}66	});67 68	return target;69};70 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai