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
Route.js61 linesDownload Raw Back to workbox-routing
1/*2  Copyright 2018 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*/8import { assert } from 'workbox-core/_private/assert.js';9import { defaultMethod, validMethods } from './utils/constants.js';10import { normalizeHandler } from './utils/normalizeHandler.js';11import './_version.js';12/**13 * A `Route` consists of a pair of callback functions, "match" and "handler".14 * The "match" callback determine if a route should be used to "handle" a15 * request by returning a non-falsy value if it can. The "handler" callback16 * is called when there is a match and should return a Promise that resolves17 * to a `Response`.18 *19 * @memberof workbox-routing20 */21class Route {22    /**23     * Constructor for Route class.24     *25     * @param {workbox-routing~matchCallback} match26     * A callback function that determines whether the route matches a given27     * `fetch` event by returning a non-falsy value.28     * @param {workbox-routing~handlerCallback} handler A callback29     * function that returns a Promise resolving to a Response.30     * @param {string} [method='GET'] The HTTP method to match the Route31     * against.32     */33    constructor(match, handler, method = defaultMethod) {34        if (process.env.NODE_ENV !== 'production') {35            assert.isType(match, 'function', {36                moduleName: 'workbox-routing',37                className: 'Route',38                funcName: 'constructor',39                paramName: 'match',40            });41            if (method) {42                assert.isOneOf(method, validMethods, { paramName: 'method' });43            }44        }45        // These values are referenced directly by Router so cannot be46        // altered by minificaton.47        this.handler = normalizeHandler(handler);48        this.match = match;49        this.method = method;50    }51    /**52     *53     * @param {workbox-routing-handlerCallback} handler A callback54     * function that returns a Promise resolving to a Response55     */56    setCatchHandler(handler) {57        this.catchHandler = normalizeHandler(handler);58    }59}60export { Route };61 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai