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
UTF16Decode.js22 linesDownload Raw Back to 2018
1'use strict';2 3var GetIntrinsic = require('get-intrinsic');4 5var $TypeError = require('es-errors/type');6var $fromCharCode = GetIntrinsic('%String.fromCharCode%');7 8// https://262.ecma-international.org/7.0/#sec-utf16decode9 10var isLeadingSurrogate = require('../helpers/isLeadingSurrogate');11var isTrailingSurrogate = require('../helpers/isTrailingSurrogate');12 13// https://262.ecma-international.org/11.0/#sec-utf16decodesurrogatepair14 15module.exports = function UTF16Decode(lead, trail) {16	if (!isLeadingSurrogate(lead) || !isTrailingSurrogate(trail)) {17		throw new $TypeError('Assertion failed: `lead` must be a leading surrogate char code, and `trail` must be a trailing surrogate char code');18	}19	// var cp = (lead - 0xD800) * 0x400 + (trail - 0xDC00) + 0x10000;20	return $fromCharCode(lead) + $fromCharCode(trail);21};22