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
window.js67 linesDownload Raw Back to bindings
1import { effect, render_effect, teardown } from '../../../reactivity/effects.js';2import { listen, without_reactive_context } from './shared.js';3 4/**5 * @param {'x' | 'y'} type6 * @param {() => number} get7 * @param {(value: number) => void} set8 * @returns {void}9 */10export function bind_window_scroll(type, get, set = get) {11	var is_scrolling_x = type === 'x';12 13	var target_handler = () =>14		without_reactive_context(() => {15			scrolling = true;16			clearTimeout(timeout);17			timeout = setTimeout(clear, 100); // TODO use scrollend event if supported (or when supported everywhere?)18 19			set(window[is_scrolling_x ? 'scrollX' : 'scrollY']);20		});21 22	addEventListener('scroll', target_handler, {23		passive: true24	});25 26	var scrolling = false;27 28	/** @type {ReturnType<typeof setTimeout>} */29	var timeout;30	var clear = () => {31		scrolling = false;32	};33	var first = true;34 35	render_effect(() => {36		var latest_value = get();37		// Don't scroll to the initial value for accessibility reasons38		if (first) {39			first = false;40		} else if (!scrolling && latest_value != null) {41			scrolling = true;42			clearTimeout(timeout);43			if (is_scrolling_x) {44				scrollTo(latest_value, window.scrollY);45			} else {46				scrollTo(window.scrollX, latest_value);47			}48			timeout = setTimeout(clear, 100);49		}50	});51 52	// Browsers don't fire the scroll event for the initial scroll position when scroll style isn't set to smooth53	effect(target_handler);54 55	teardown(() => {56		removeEventListener('scroll', target_handler);57	});58}59 60/**61 * @param {'innerWidth' | 'innerHeight' | 'outerWidth' | 'outerHeight'} type62 * @param {(size: number) => void} set63 */64export function bind_window_size(type, set) {65	listen(window, ['resize'], () => without_reactive_context(() => set(window[type])));66}67 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai