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
1/** @import { SourceLocation } from '#client' */2import { COMMENT_NODE, DOCUMENT_FRAGMENT_NODE, ELEMENT_NODE } from '#client/constants';3import { HYDRATION_END, HYDRATION_START } from '../../../constants.js';4import { hydrating } from '../dom/hydration.js';5import { dev_stack } from '../context.js';6 7/**8 * @param {any} fn9 * @param {string} filename10 * @param {SourceLocation[]} locations11 * @returns {any}12 */13export function add_locations(fn, filename, locations) {14 return (/** @type {any[]} */ ...args) => {15 const dom = fn(...args);16 17 var node = hydrating ? dom : dom.nodeType === DOCUMENT_FRAGMENT_NODE ? dom.firstChild : dom;18 assign_locations(node, filename, locations);19 20 return dom;21 };22}23 24/**25 * @param {Element} element26 * @param {string} filename27 * @param {SourceLocation} location28 */29function assign_location(element, filename, location) {30 // @ts-expect-error31 element.__svelte_meta = {32 parent: dev_stack,33 loc: { file: filename, line: location[0], column: location[1] }34 };35 36 if (location[2]) {37 assign_locations(element.firstChild, filename, location[2]);38 }39}40 41/**42 * @param {Node | null} node43 * @param {string} filename44 * @param {SourceLocation[]} locations45 */46function assign_locations(node, filename, locations) {47 var i = 0;48 var depth = 0;49 50 while (node && i < locations.length) {51 if (hydrating && node.nodeType === COMMENT_NODE) {52 var comment = /** @type {Comment} */ (node);53 if (comment.data[0] === HYDRATION_START) depth += 1;54 else if (comment.data[0] === HYDRATION_END) depth -= 1;55 }56 57 if (depth === 0 && node.nodeType === ELEMENT_NODE) {58 assign_location(/** @type {Element} */ (node), filename, locations[i++]);59 }60 61 node = node.nextSibling;62 }63}64 