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
setCacheNameDetails.ts70 linesDownload Raw Back to src
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 9import {assert} from './_private/assert.js';10import {cacheNames, PartialCacheNameDetails} from './_private/cacheNames.js';11import {WorkboxError} from './_private/WorkboxError.js';12import './_version.js';13 14/**15 * Modifies the default cache names used by the Workbox packages.16 * Cache names are generated as `<prefix>-<Cache Name>-<suffix>`.17 *18 * @param {Object} details19 * @param {Object} [details.prefix] The string to add to the beginning of20 *     the precache and runtime cache names.21 * @param {Object} [details.suffix] The string to add to the end of22 *     the precache and runtime cache names.23 * @param {Object} [details.precache] The cache name to use for precache24 *     caching.25 * @param {Object} [details.runtime] The cache name to use for runtime caching.26 * @param {Object} [details.googleAnalytics] The cache name to use for27 *     `workbox-google-analytics` caching.28 *29 * @memberof workbox-core30 */31function setCacheNameDetails(details: PartialCacheNameDetails): void {32  if (process.env.NODE_ENV !== 'production') {33    Object.keys(details).forEach((key) => {34      assert!.isType(details[key], 'string', {35        moduleName: 'workbox-core',36        funcName: 'setCacheNameDetails',37        paramName: `details.${key}`,38      });39    });40 41    if ('precache' in details && details['precache']!.length === 0) {42      throw new WorkboxError('invalid-cache-name', {43        cacheNameId: 'precache',44        value: details['precache'],45      });46    }47 48    if ('runtime' in details && details['runtime']!.length === 0) {49      throw new WorkboxError('invalid-cache-name', {50        cacheNameId: 'runtime',51        value: details['runtime'],52      });53    }54 55    if (56      'googleAnalytics' in details &&57      details['googleAnalytics'].length === 058    ) {59      throw new WorkboxError('invalid-cache-name', {60        cacheNameId: 'googleAnalytics',61        value: details['googleAnalytics'],62      });63    }64  }65 66  cacheNames.updateDetails(details);67}68 69export {setCacheNameDetails};70 
Brunobkr/llama.cpp_AlgMor24_github · Team Ai