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'use strict';2 3var $TypeError = require('es-errors/type');4 5var callBound = require('call-bound');6var forEach = require('../helpers/forEach');7 8var $charCodeAt = callBound('String.prototype.charCodeAt');9var $strSplit = callBound('String.prototype.split');10 11var UnicodeEscape = require('./UnicodeEscape');12 13var hasOwn = require('hasown');14 15// https://262.ecma-international.org/9.0/#sec-quotejsonstring16 17var escapes = {18 '\u0008': '\\b',19 '\u0009': '\\t',20 '\u000A': '\\n',21 '\u000C': '\\f',22 '\u000D': '\\r',23 '\u0022': '\\"',24 '\u005c': '\\\\'25};26 27module.exports = function QuoteJSONString(value) {28 if (typeof value !== 'string') {29 throw new $TypeError('Assertion failed: `value` must be a String');30 }31 var product = '"';32 if (value) {33 forEach($strSplit(value, ''), function (C) {34 if (hasOwn(escapes, C)) {35 product += escapes[C];36 } else if ($charCodeAt(C, 0) < 0x20) {37 product += UnicodeEscape(C);38 } else {39 product += C;40 }41 });42 }43 product += '"';44 return product;45};46 