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/*2 Copyright 2019 Google LLC3 4 Use of this source code is governed by an MIT-style5 license that can be found in the LICENSE file or at6 https://opensource.org/licenses/MIT.7*/8/**9 * A minimal `EventTarget` shim.10 * This is necessary because not all browsers support constructable11 * `EventTarget`, so using a real `EventTarget` will error.12 * @private13 */14export class WorkboxEventTarget {15 constructor() {16 this._eventListenerRegistry = new Map();17 }18 /**19 * @param {string} type20 * @param {Function} listener21 * @private22 */23 addEventListener(type, listener) {24 const foo = this._getEventListenersByType(type);25 foo.add(listener);26 }27 /**28 * @param {string} type29 * @param {Function} listener30 * @private31 */32 removeEventListener(type, listener) {33 this._getEventListenersByType(type).delete(listener);34 }35 /**36 * @param {Object} event37 * @private38 */39 dispatchEvent(event) {40 event.target = this;41 const listeners = this._getEventListenersByType(event.type);42 for (const listener of listeners) {43 listener(event);44 }45 }46 /**47 * Returns a Set of listeners associated with the passed event type.48 * If no handlers have been registered, an empty Set is returned.49 *50 * @param {string} type The event type.51 * @return {Set<ListenerCallback>} An array of handler functions.52 * @private53 */54 _getEventListenersByType(type) {55 if (!this._eventListenerRegistry.has(type)) {56 this._eventListenerRegistry.set(type, new Set());57 }58 return this._eventListenerRegistry.get(type);59 }60}61 