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.
03.1k
1import { STATE_SYMBOL } from '#client/constants';2import { sanitize_location } from '../../../utils.js';3import { untrack } from '../runtime.js';4import * as w from '../warnings.js';5 6/**7 *8 * @param {any} a9 * @param {any} b10 * @param {string} property11 * @param {string} location12 */13function compare(a, b, property, location) {14 if (a !== b && typeof b === 'object' && STATE_SYMBOL in b) {15 w.assignment_value_stale(property, /** @type {string} */ (sanitize_location(location)));16 }17 18 return a;19}20 21/**22 * @param {any} object23 * @param {string} property24 * @param {string} operator25 * @param {any} rhs26 * @param {string} location27 */28export function assign(object, property, operator, rhs, location) {29 return compare(30 operator === '='31 ? (object[property] = rhs)32 : operator === '&&='33 ? (object[property] &&= rhs())34 : operator === '||='35 ? (object[property] ||= rhs())36 : operator === '??='37 ? (object[property] ??= rhs())38 : null,39 untrack(() => object[property]),40 property,41 location42 );43}44 45/**46 * @param {any} object47 * @param {string} property48 * @param {string} operator49 * @param {any} rhs50 * @param {string} location51 */52export async function assign_async(object, property, operator, rhs, location) {53 return compare(54 operator === '='55 ? (object[property] = await rhs)56 : operator === '&&='57 ? (object[property] &&= await rhs())58 : operator === '||='59 ? (object[property] ||= await rhs())60 : operator === '??='61 ? (object[property] ??= await rhs())62 : null,63 untrack(() => object[property]),64 property,65 location66 );67}68 