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
index.js52 linesDownload Raw Back to src
1/** @import { Node } from 'estree' */2 3/**4 * @param {Node} node5 * @param {Node} parent6 * @returns {boolean}7 */8export default function is_reference(node, parent) {9	if (node.type === 'MemberExpression') {10		return !node.computed && is_reference(node.object, node);11	}12 13	if (node.type !== 'Identifier') return false;14 15	switch (parent?.type) {16		// disregard `bar` in `foo.bar`17		case 'MemberExpression':18			return parent.computed || node === parent.object;19 20		// disregard the `foo` in `class {foo(){}}` but keep it in `class {[foo](){}}`21		case 'MethodDefinition':22			return parent.computed;23 24		// disregard the `meta` in `import.meta`25		case 'MetaProperty':26			return parent.meta === node;27 28		// disregard the `foo` in `class {foo=bar}` but keep it in `class {[foo]=bar}` and `class {bar=foo}`29		case 'PropertyDefinition':30			return parent.computed || node === parent.value;31 32		// disregard the `bar` in `{ bar: foo }`, but keep it in `{ [bar]: foo }`33		case 'Property':34			return parent.computed || node === parent.value;35 36		// disregard the `bar` in `export { foo as bar }` or37		// the foo in `import { foo as bar }`38		case 'ExportSpecifier':39		case 'ImportSpecifier':40			return node === parent.local;41 42		// disregard the `foo` in `foo: while (...) { ... break foo; ... continue foo;}`43		case 'LabeledStatement':44		case 'BreakStatement':45		case 'ContinueStatement':46			return false;47 48		default:49			return true;50	}51}52 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai