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
normalizeHandler.ts44 linesDownload Raw Back to utils
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*/8 9import {assert} from 'workbox-core/_private/assert.js';10import {RouteHandler, RouteHandlerObject} from 'workbox-core/types.js';11 12import '../_version.js';13 14/**15 * @param {function()|Object} handler Either a function, or an object with a16 * 'handle' method.17 * @return {Object} An object with a handle method.18 *19 * @private20 */21export const normalizeHandler = (handler: RouteHandler): RouteHandlerObject => {22  if (handler && typeof handler === 'object') {23    if (process.env.NODE_ENV !== 'production') {24      assert!.hasMethod(handler, 'handle', {25        moduleName: 'workbox-routing',26        className: 'Route',27        funcName: 'constructor',28        paramName: 'handler',29      });30    }31    return handler;32  } else {33    if (process.env.NODE_ENV !== 'production') {34      assert!.isType(handler, 'function', {35        moduleName: 'workbox-routing',36        className: 'Route',37        funcName: 'constructor',38        paramName: 'handler',39      });40    }41    return {handle: handler};42  }43};44 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai