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 callBind = require('call-bind');4var callBound = require('call-bound');5var GetIntrinsic = require('get-intrinsic');6 7var $ArrayBuffer = GetIntrinsic('%ArrayBuffer%', true);8/** @type {undefined | ((receiver: ArrayBuffer) => number) | ((receiver: unknown) => never)} */9var $byteLength = callBound('ArrayBuffer.prototype.byteLength', true);10var $toString = callBound('Object.prototype.toString');11 12// in node 0.10, ArrayBuffers have no prototype methods, but have an own slot-checking `slice` method13var abSlice = !!$ArrayBuffer && !$byteLength && new $ArrayBuffer(0).slice;14var $abSlice = !!abSlice && callBind(abSlice);15 16/** @type {import('.')} */17module.exports = $byteLength || $abSlice18 ? function isArrayBuffer(obj) {19 if (!obj || typeof obj !== 'object') {20 return false;21 }22 try {23 if ($byteLength) {24 // @ts-expect-error no idea why TS can't handle the overload25 $byteLength(obj);26 } else {27 // @ts-expect-error TS chooses not to type-narrow inside a closure28 $abSlice(obj, 0);29 }30 return true;31 } catch (e) {32 return false;33 }34 }35 : $ArrayBuffer36 // in node 0.8, ArrayBuffers have no prototype or own methods, but also no Symbol.toStringTag37 ? function isArrayBuffer(obj) {38 return $toString(obj) === '[object ArrayBuffer]';39 }40 // @ts-expect-error41 : function isArrayBuffer(obj) { // eslint-disable-line no-unused-vars42 return false;43 };44 