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
TestIntegrityLevel.js41 linesDownload Raw Back to 2024
1'use strict';2 3var $gOPD = require('gopd');4var $TypeError = require('es-errors/type');5 6var every = require('../helpers/every');7var OwnPropertyKeys = require('own-keys');8var isObject = require('es-object-atoms/isObject');9 10var IsDataDescriptor = require('./IsDataDescriptor');11var IsExtensible = require('./IsExtensible');12var ToPropertyDescriptor = require('./ToPropertyDescriptor');13 14// https://262.ecma-international.org/6.0/#sec-testintegritylevel15 16module.exports = function TestIntegrityLevel(O, level) {17	if (!isObject(O)) {18		throw new $TypeError('Assertion failed: Type(O) is not Object');19	}20	if (level !== 'sealed' && level !== 'frozen') {21		throw new $TypeError('Assertion failed: `level` must be `"sealed"` or `"frozen"`');22	}23	var status = IsExtensible(O);24	if (status || !$gOPD) {25		return false;26	}27	var theKeys = OwnPropertyKeys(O);28	return theKeys.length === 0 || every(theKeys, function (k) {29		var currentDesc = $gOPD(O, k);30		if (typeof currentDesc !== 'undefined') {31			if (currentDesc.configurable) {32				return false;33			}34			if (level === 'frozen' && IsDataDescriptor(ToPropertyDescriptor(currentDesc)) && currentDesc.writable) {35				return false;36			}37		}38		return true;39	});40};41 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai