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 GetIntrinsic = require('get-intrinsic');4 5var $TypeError = require('es-errors/type');6var $fromCharCode = GetIntrinsic('%String.fromCharCode%');7 8var floor = require('./floor');9var modulo = require('./modulo');10 11var isCodePoint = require('../helpers/isCodePoint');12 13// https://262.ecma-international.org/7.0/#sec-utf16encoding14 15module.exports = function UTF16Encoding(cp) {16 if (!isCodePoint(cp)) {17 throw new $TypeError('Assertion failed: `cp` must be >= 0 and <= 0x10FFFF');18 }19 if (cp <= 65535) {20 return $fromCharCode(cp);21 }22 var cu1 = $fromCharCode(floor((cp - 65536) / 1024) + 0xD800);23 var cu2 = $fromCharCode(modulo(cp - 65536, 1024) + 0xDC00);24 return cu1 + cu2;25};26 