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
RangeRequestsPlugin.js45 linesDownload Raw Back to workbox-range-requests
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 { createPartialResponse } from './createPartialResponse.js';9import './_version.js';10/**11 * The range request plugin makes it easy for a request with a 'Range' header to12 * be fulfilled by a cached response.13 *14 * It does this by intercepting the `cachedResponseWillBeUsed` plugin callback15 * and returning the appropriate subset of the cached response body.16 *17 * @memberof workbox-range-requests18 */19class RangeRequestsPlugin {20    constructor() {21        /**22         * @param {Object} options23         * @param {Request} options.request The original request, which may or may not24         * contain a Range: header.25         * @param {Response} options.cachedResponse The complete cached response.26         * @return {Promise<Response>} If request contains a 'Range' header, then a27         * new response with status 206 whose body is a subset of `cachedResponse` is28         * returned. Otherwise, `cachedResponse` is returned as-is.29         *30         * @private31         */32        this.cachedResponseWillBeUsed = async ({ request, cachedResponse, }) => {33            // Only return a sliced response if there's something valid in the cache,34            // and there's a Range: header in the request.35            if (cachedResponse && request.headers.has('range')) {36                return await createPartialResponse(request, cachedResponse);37            }38            // If there was no Range: header, or if cachedResponse wasn't valid, just39            // pass it through as-is.40            return cachedResponse;41        };42    }43}44export { RangeRequestsPlugin };45 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai