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 IsArray = require('./IsArray');6 7var isByteValue = require('../helpers/isByteValue');8 9// https://262.ecma-international.org/12.0/#sec-bytelistbitwiseop10 11module.exports = function ByteListBitwiseOp(op, xBytes, yBytes) {12 if (op !== '&' && op !== '^' && op !== '|') {13 throw new $TypeError('Assertion failed: `op` must be `&`, `^`, or `|`');14 }15 if (!IsArray(xBytes) || !IsArray(yBytes) || xBytes.length !== yBytes.length) {16 throw new $TypeError('Assertion failed: `xBytes` and `yBytes` must be same-length sequences of byte values (an integer 0-255, inclusive)');17 }18 19 var result = [];20 21 for (var i = 0; i < xBytes.length; i += 1) {22 var xByte = xBytes[i];23 var yByte = yBytes[i];24 if (!isByteValue(xByte) || !isByteValue(yByte)) {25 throw new $TypeError('Assertion failed: `xBytes` and `yBytes` must be same-length sequences of byte values (an integer 0-255, inclusive)');26 }27 var resultByte;28 if (op === '&') {29 resultByte = xByte & yByte;30 } else if (op === '^') {31 resultByte = xByte ^ yByte;32 } else {33 resultByte = xByte | yByte;34 }35 result[result.length] = resultByte;36 }37 38 return result;39};40 