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
StringPad.js42 linesDownload Raw Back to 2022
1'use strict';2 3var $TypeError = require('es-errors/type');4 5var callBound = require('call-bound');6 7var ToLength = require('./ToLength');8var ToString = require('./ToString');9 10var $strSlice = callBound('String.prototype.slice');11 12// https://262.ecma-international.org/11.0/#sec-stringpad13 14module.exports = function StringPad(O, maxLength, fillString, placement) {15	if (placement !== 'start' && placement !== 'end') {16		throw new $TypeError('Assertion failed: `placement` must be "start" or "end"');17	}18	var S = ToString(O);19	var intMaxLength = ToLength(maxLength);20	var stringLength = S.length;21	if (intMaxLength <= stringLength) {22		return S;23	}24	var filler = typeof fillString === 'undefined' ? ' ' : ToString(fillString);25	if (filler === '') {26		return S;27	}28	var fillLen = intMaxLength - stringLength;29 30	// the String value consisting of repeated concatenations of filler truncated to length fillLen.31	var truncatedStringFiller = '';32	while (truncatedStringFiller.length < fillLen) {33		truncatedStringFiller += filler;34	}35	truncatedStringFiller = $strSlice(truncatedStringFiller, 0, fillLen);36 37	if (placement === 'start') {38		return truncatedStringFiller + S;39	}40	return S + truncatedStringFiller;41};42 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai