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/**2 * @typedef {import('unist').Node} Node3 * @typedef {import('unist').Point} Point4 * @typedef {import('unist').Position} Position5 */6 7/**8 * @typedef NodeLike9 * @property {string} type10 * @property {PositionLike | null | undefined} [position]11 *12 * @typedef PositionLike13 * @property {PointLike | null | undefined} [start]14 * @property {PointLike | null | undefined} [end]15 *16 * @typedef PointLike17 * @property {number | null | undefined} [line]18 * @property {number | null | undefined} [column]19 * @property {number | null | undefined} [offset]20 */21 22/**23 * Get the ending point of `node`.24 *25 * @param node26 * Node.27 * @returns28 * Point.29 */30export const pointEnd = point('end')31 32/**33 * Get the starting point of `node`.34 *35 * @param node36 * Node.37 * @returns38 * Point.39 */40export const pointStart = point('start')41 42/**43 * Get the positional info of `node`.44 *45 * @param {'end' | 'start'} type46 * Side.47 * @returns48 * Getter.49 */50function point(type) {51 return point52 53 /**54 * Get the point info of `node` at a bound side.55 *56 * @param {Node | NodeLike | null | undefined} [node]57 * @returns {Point | undefined}58 */59 function point(node) {60 const point = (node && node.position && node.position[type]) || {}61 62 if (63 typeof point.line === 'number' &&64 point.line > 0 &&65 typeof point.column === 'number' &&66 point.column > 067 ) {68 return {69 line: point.line,70 column: point.column,71 offset:72 typeof point.offset === 'number' && point.offset > -173 ? point.offset74 : undefined75 }76 }77 }78}79 80/**81 * Get the positional info of `node`.82 *83 * @param {Node | NodeLike | null | undefined} [node]84 * Node.85 * @returns {Position | undefined}86 * Position.87 */88export function position(node) {89 const start = pointStart(node)90 const end = pointEnd(node)91 92 if (start && end) {93 return {start, end}94 }95}96 