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
StringGetOwnProperty.js47 linesDownload Raw Back to 2023
1'use strict';2 3var $TypeError = require('es-errors/type');4var isNegativeZero = require('math-intrinsics/isNegativeZero');5var isObject = require('es-object-atoms/isObject');6 7var callBound = require('call-bound');8var $charAt = callBound('String.prototype.charAt');9var $stringToString = callBound('String.prototype.toString');10 11var CanonicalNumericIndexString = require('./CanonicalNumericIndexString');12 13var isPropertyKey = require('../helpers/isPropertyKey');14var isInteger = require('math-intrinsics/isInteger');15 16// https://262.ecma-international.org/12.0/#sec-stringgetownproperty17 18module.exports = function StringGetOwnProperty(S, P) {19	var str;20	if (isObject(S)) {21		try {22			str = $stringToString(S);23		} catch (e) { /**/ }24	}25	if (typeof str !== 'string') {26		throw new $TypeError('Assertion failed: `S` must be a boxed string object');27	}28	if (!isPropertyKey(P)) {29		throw new $TypeError('Assertion failed: P is not a Property Key');30	}31	if (typeof P !== 'string') {32		return void undefined;33	}34	var index = CanonicalNumericIndexString(P);35	var len = str.length;36	if (typeof index === 'undefined' || !isInteger(index) || isNegativeZero(index) || index < 0 || len <= index) {37		return void undefined;38	}39	var resultStr = $charAt(S, index);40	return {41		'[[Configurable]]': false,42		'[[Enumerable]]': true,43		'[[Value]]': resultStr,44		'[[Writable]]': false45	};46};47