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 $Date = GetIntrinsic('%Date%');6var $TypeError = require('es-errors/type');7 8var isNaN = require('math-intrinsics/isNaN');9 10var callBound = require('call-bound');11 12var $indexOf = callBound('String.prototype.indexOf');13var $slice = callBound('String.prototype.slice');14var $toTimeString = callBound('Date.prototype.toTimeString');15 16// https://262.ecma-international.org/13.0/#sec-timezoneestring17 18module.exports = function TimeZoneString(tv) {19 if (typeof tv !== 'number' || isNaN(tv)) {20 throw new $TypeError('Assertion failed: `tv` must be a non-NaN Number');21 }22 23 // 1. Let offset be LocalTZA(tv, true).24 // 2. If offset is +0𝔽 or offset > +0𝔽, then25 // a. Let offsetSign be "+".26 // b. Let absOffset be offset.27 // 3. Else,28 // a. Let offsetSign be "-".29 // b. Let absOffset be -offset.30 // 4. Let offsetMin be ToZeroPaddedDecimalString(ℝ(MinFromTime(absOffset)), 2).31 // 5. Let offsetHour be ToZeroPaddedDecimalString(ℝ(HourFromTime(absOffset)), 2).32 // 6. Let tzName be an implementation-defined string that is either the empty String or the string-concatenation of the code unit 0x0020 (SPACE), the code unit 0x0028 (LEFT PARENTHESIS), an implementation-defined timezone name, and the code unit 0x0029 (RIGHT PARENTHESIS).33 // 7. Return the string-concatenation of offsetSign, offsetHour, offsetMin, and tzName.34 35 // hack until LocalTZA, and "implementation-defined string" are available36 var ts = $toTimeString(new $Date(tv));37 return $slice(ts, $indexOf(ts, '(') + 1, $indexOf(ts, ')'));38};39 