Home
last modified time | relevance | path

Searched +full:cache +full:- +full:to (Results 1 – 25 of 1226) sorted by relevance

12345678910>>...50

/external/libnl/lib/
Dcache.c1 /* SPDX-License-Identifier: LGPL-2.1-only */
3 * Copyright (c) 2003-2012 Thomas Graf <tgraf@suug.ch>
8 * @defgroup cache Cache
11 * Cache Management | | Type Specific Cache Operations
13 * | | +----------------+ +------------+
15 * | | +----------------+ +------------+
16 * +- - - - -^- - - - - - - -^- -|- - - -
18 * 1) --------- co_request_update ------+ | |
20 * 2) destroy old cache +----------- pp_cb ---------|---+
22 * 3) ---------- nl_recvmsgs ----------+ +- cb_valid -+
[all …]
Dcache_mngr.c1 /* SPDX-License-Identifier: LGPL-2.1-only */
3 * Copyright (c) 2003-2012 Thomas Graf <tgraf@suug.ch>
9 * @brief Manager keeping caches up to date automatically.
11 * The cache manager keeps caches up to date automatically by listening to
13 * existing cache.
18 * - @core_doc{_cache_manager,Cache Manager}
23 * ------
25 * #include <netlink/cache.h>
29 #include "nl-default.h"
32 #include <netlink/cache.h>
[all …]
Dcache_mngt.c1 /* SPDX-License-Identifier: LGPL-2.1-only */
3 * Copyright (c) 2003-2012 Thomas Graf <tgraf@suug.ch>
11 * - @core_doc{core_cache, Caching System}
16 * ------
18 * #include <netlink/cache.h>
22 #include "nl-default.h"
25 #include <netlink/cache.h>
28 #include "nl-priv-dynamic-core/nl-core.h"
29 #include "nl-priv-dynamic-core/object-api.h"
30 #include "nl-priv-dynamic-core/cache-api.h"
[all …]
/external/libwebsockets/include/libwebsockets/
Dlws-cache-ttl.h2 * libwebsockets - small server side websockets and web server implementation
4 * Copyright (C) 2010 - 2021 Andy Green <andy@warmcat.com>
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 * sell copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25 /** \defgroup lws_cache_ttl Cache supporting expiry
26 * ##Cache supporting expiry
[all …]
Dlws-diskcache.h2 * libwebsockets - small server side websockets and web server implementation
4 * Copyright (C) 2010 - 2019 Andy Green <andy@warmcat.com>
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 * sell copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25 /*! \defgroup diskcache LWS disk cache
26 * ## Disk cache API
[all …]
/external/squashfs-tools/kernel/fs/squashfs/
Dcache.c2 * Squashfs - a compressed read only filesystem for Linux
18 * along with this program; if not, write to the Free Software
19 * Foundation, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
21 * cache.c
25 * Blocks in Squashfs are compressed. To avoid repeatedly decompressing
28 * This file implements a generic cache implementation used for both caches,
29 * plus functions layered ontop of the generic cache implementation to
32 * To avoid out of memory and fragmentation isssues with vmalloc the cache
35 * It should be noted that the cache is not used for file datablocks, these
36 * are decompressed and cached in the page-cache in the normal way. The
[all …]
/external/XNNPACK/src/
Dcache.c3 // This source code is licensed under the BSD-style license found in the
6 #include "xnnpack/cache.h"
50 for (; len >= sizeof(uint32_t); len -= sizeof(uint32_t)) { in murmur_hash3()
85 // This function is only used by an assert, so do not include it in non-debug
87 static inline size_t cache_size(struct xnn_cache* cache) { in cache_size() argument
88 switch (cache->type) { in cache_size()
90 return cache->code.size; in cache_size()
92 return cache->weights.size; in cache_size()
100 static inline void* cache_start(struct xnn_cache* cache) { in cache_start() argument
101 switch (cache->type) { in cache_start()
[all …]
/external/icu/icu4c/source/test/intltest/
Dunifiedcachetest.cpp47 cacheContext->get(LocaleCacheKey<UCTItem>(fLoc.getLanguage()), item, status); in createObject()
55 result->addRef(); in createObject()
99 const UnifiedCache *cache = UnifiedCache::getInstance(status); in TestEvictionUnderStress() local
100 int64_t evictedCountBefore = cache->autoEvictedCount(); in TestEvictionUnderStress()
104 int64_t evictedCountAfter = cache->autoEvictedCount(); in TestEvictionUnderStress()
106 dataerrln("%s:%d Items should have been evicted from cache", in TestEvictionUnderStress()
115 // We have to call this first or else calling the UnifiedCache in TestEvictionPolicy()
116 // ctor will fail. This is by design to deter clients from using the in TestEvictionPolicy()
117 // cache API incorrectly by creating their own cache instances. in TestEvictionPolicy()
120 // We create our own local UnifiedCache instance to ensure we have in TestEvictionPolicy()
[all …]
/external/cronet/third_party/icu/source/test/intltest/
Dunifiedcachetest.cpp47 cacheContext->get(LocaleCacheKey<UCTItem>(fLoc.getLanguage()), item, status); in createObject()
55 result->addRef(); in createObject()
98 const UnifiedCache *cache = UnifiedCache::getInstance(status); in TestEvictionUnderStress() local
99 int64_t evictedCountBefore = cache->autoEvictedCount(); in TestEvictionUnderStress()
103 int64_t evictedCountAfter = cache->autoEvictedCount(); in TestEvictionUnderStress()
105 dataerrln("%s:%d Items should have been evicted from cache", in TestEvictionUnderStress()
114 // We have to call this first or else calling the UnifiedCache in TestEvictionPolicy()
115 // ctor will fail. This is by design to deter clients from using the in TestEvictionPolicy()
116 // cache API incorrectly by creating their own cache instances. in TestEvictionPolicy()
119 // We create our own local UnifiedCache instance to ensure we have in TestEvictionPolicy()
[all …]
/external/squashfs-tools/squashfs-tools/
Dcaches-queues-lists.c19 * along with this program; if not, write to the Free Software
20 * Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
22 * caches-queues-lists.c
31 #include "caches-queues-lists.h"
50 queue->data = malloc(sizeof(void *) * (size + 1)); in queue_init()
51 if(queue->data == NULL) in queue_init()
54 queue->size = size + 1; in queue_init()
55 queue->readp = queue->writep = 0; in queue_init()
56 pthread_mutex_init(&queue->mutex, NULL); in queue_init()
57 pthread_cond_init(&queue->empty, NULL); in queue_init()
[all …]
/external/mesa3d/src/util/
Ddisk_cache.c4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
45 #include "util/mesa-sha1.h"
53 /* The cache version should be bumped whenever a change is made to the
54 * structure of cache entries or the index. This will give any 3rd party
55 * applications reading the cache entries a chance to adjust to the changes.
[all …]
/external/libwebsockets/lib/misc/cache-ttl/
Dheap.c2 * libwebsockets - small server side websockets and web server implementation
4 * Copyright (C) 2010 - 2021 Andy Green <andy@warmcat.com>
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 * sell copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25 #include <private-lib-core.h>
26 #include "private-lib-misc-cache-ttl.h"
[all …]
Dlws-cache-ttl.c2 * libwebsockets - small server side websockets and web server implementation
4 * Copyright (C) 2010 - 2021 Andy Green <andy@warmcat.com>
6 * Permission is hereby granted, free of charge, to any person obtaining a copy
7 * of this software and associated documentation files (the "Software"), to
9 * rights to use, copy, modify, merge, publish, distribute, sublicense, and/or
10 * sell copies of the Software, and to permit persons to whom the Software is
11 * furnished to do so, subject to the following conditions:
17 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
25 #include <private-lib-core.h>
26 #include "private-lib-misc-cache-ttl.h"
[all …]
/external/freetype/src/cache/
Dftccache.c5 * The FreeType internal cache interface (body).
7 * Copyright (C) 2000-2023 by
12 * license, LICENSE.TXT. By continuing to use, modify, or distribute
27 #define FT_COMPONENT cache
32 #define FTC_HASH_SUB_LOAD ( FTC_HASH_MAX_LOAD - FTC_HASH_MIN_LOAD )
41 /***** CACHE NODE DEFINITIONS *****/
46 /* add a new node to the head of the manager's circular MRU list */
51 void *nl = &manager->nodes_list; in ftc_node_mru_link()
56 manager->num_nodes++; in ftc_node_mru_link()
65 void *nl = &manager->nodes_list; in ftc_node_mru_unlink()
[all …]
/external/cronet/net/http/
Dhttp_cache_unittest.cc2 // Use of this source code is governed by a BSD-style license that can be
78 #include "third_party/abseil-cpp/absl/types/optional.h"
154 explicit DeleteCacheCompletionCallback(std::unique_ptr<MockHttpCache> cache) in DeleteCacheCompletionCallback() argument
155 : cache_(std::move(cache)) {} in DeleteCacheCompletionCallback()
175 //-----------------------------------------------------------------------------
199 void RunTransactionTestBase(HttpCache* cache, in RunTransactionTestBase() argument
210 // write to the cache in RunTransactionTestBase()
213 int rv = cache->CreateTransaction(DEFAULT_PRIORITY, &trans); in RunTransactionTestBase()
217 rv = trans->Start(&request, callback.callback(), net_log); in RunTransactionTestBase()
225 const HttpResponseInfo* response = trans->GetResponseInfo(); in RunTransactionTestBase()
[all …]
/external/mesa3d/src/gallium/auxiliary/util/
Du_cache.c6 * Permission is hereby granted, free of charge, to any person obtaining a
8 * "Software"), to deal in the Software without restriction, including
9 * without limitation the rights to use, copy, modify, merge, publish,
10 * distribute, sub license, and/or sell copies of the Software, and to
11 * permit persons to whom the Software is furnished to do so, subject to
19 * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
20 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
30 * Improved cache implementation.
74 /** Max entries in the cache */
80 /** Number of entries in the cache */
[all …]
/external/mesa3d/src/broadcom/vulkan/
Dv3dv_pipeline_cache.c4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
55 cache_dump_stats(struct v3dv_pipeline_cache *cache) in cache_dump_stats() argument
57 fprintf(stderr, " NIR cache entries: %d\n", cache->nir_stats.count); in cache_dump_stats()
58 fprintf(stderr, " NIR cache miss count: %d\n", cache->nir_stats.miss); in cache_dump_stats()
59 fprintf(stderr, " NIR cache hit count: %d\n", cache->nir_stats.hit); in cache_dump_stats()
[all …]
/external/python/mako/doc/build/
Dcaching.rst7 Any template or component can be cached using the ``cache``
8 argument to the ``<%page>``, ``<%def>`` or ``<%block>`` directives:
17 store its content within a cache that by default is scoped
18 within memory. Subsequent calls to the template's :meth:`~.Template.render`
19 method will return content directly from the cache. When the
21 cache is garbage collected along with the template.
23 The caching system requires that a cache backend be installed; this
25 or the `dogpile.cache <http://dogpilecache.readthedocs.org>`_, as well as
26 any other third-party caching libraries that feature Mako integration.
28 By default, caching will attempt to make use of Beaker.
[all …]
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_screen_cache.c2 * Copyright 2008-2009 VMware, Inc. All rights reserved.
4 * Permission is hereby granted, free of charge, to any person
6 * files (the "Software"), to deal in the Software without
7 * restriction, including without limitation the rights to use, copy,
9 * of the Software, and to permit persons to whom the Software is
10 * furnished to do so, subject to the following conditions:
16 * EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
49 assert(key->numMipLevels > 0); in svga_surface_size()
50 assert(key->numFaces > 0); in svga_surface_size()
51 assert(key->arraySize > 0); in svga_surface_size()
[all …]
/external/mesa3d/src/util/tests/
Dcache_test.cpp4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
24 /* A collection of unit tests for cache.c */
41 #include "util/mesa-sha1.h"
66 * This is equivalent to "rm -rf <dir>" with one bit of protection
67 * that the directory name must begin with "." to ensure we don't
[all …]
/external/python/cachetools/docs/
Dindex.rst2 :mod:`cachetools` --- Extensible memoizing collections and decorators
11 For the purpose of this module, a *cache* is a mutable_ mapping_ of a
12 fixed maximum size. When the cache is full, i.e. by adding another
13 item the cache would exceed its maximum size, the cache must choose
14 which item(s) to discard based on a suitable `cache algorithm`_. In
15 general, a cache's size is the total size of its items, and an item's
18 item counts as :const:`1`, a cache's size is equal to the number of
19 its items, or ``len(cache)``.
21 Multiple cache classes based on different caching algorithms are
35 Cache implementations
[all …]
/external/ot-br-posix/third_party/openthread/
DCMakeLists.txt13 # names of its contributors may be used to endorse or promote products
17 # AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
21 # CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
29 set(OT_15_4 ON CACHE STRING "enable 802.15.4 radio link" FORCE)
30 set(OT_ANYCAST_LOCATOR ON CACHE STRING "enable anycast locator" FORCE)
31 set(OT_BACKBONE_ROUTER ${OTBR_BACKBONE_ROUTER} CACHE STRING "Enable Backbone Router feature in Open…
32 set(OT_BACKBONE_ROUTER_DUA_NDPROXYING ${OTBR_DUA_ROUTING} CACHE STRING "Configure DUA ND Proxy feat…
33 set(OT_BORDER_AGENT ON CACHE STRING "enable border agent" FORCE)
34 set(OT_BORDER_AGENT_ID ON CACHE STRING "enable border agent ID" FORCE)
35 set(OT_BORDER_ROUTER ON CACHE STRING "enable border router feature" FORCE)
[all …]
/external/mesa3d/src/freedreno/drm/
Dfreedreno_bo_cache.c2 * Copyright (C) 2012-2018 Rob Clark <robclark@freedesktop.org>
4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
32 #define BO_CACHE_LOG(cache, fmt, ...) do { \ argument
34 mesa_logi("%s: "fmt, (cache)->name, ##__VA_ARGS__); \
41 list_delinit(&bo->node); in bo_remove_from_bucket()
[all …]
/external/mesa3d/src/vulkan/runtime/
Dvk_pipeline_cache.c4 * Permission is hereby granted, free of charge, to any person obtaining a
6 * to deal in the Software without restriction, including without limitation
7 * the rights to use, copy, modify, merge, publish, distribute, sublicense,
8 * and/or sell copies of the Software, and to permit persons to whom the
9 * Software is furnished to do so, subject to the following conditions:
16 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
40 #define vk_pipeline_cache_log(cache, ...) \ argument
41 if (cache->base.client_visible) \
42 vk_logw(VK_LOG_OBJS(cache), __VA_ARGS__)
51 blob_write_bytes(blob, data_obj->data, data_obj->data_size); in vk_raw_data_cache_object_serialize()
[all …]
/external/angle/extensions/
DEGL_ANGLE_program_cache_control.txt38 that have access to an internal binary program cache. It also allows for
39 querying and populating the contents of the binary cache.
86 Accepted as an attribute name in the <*attrib_list> argument to
91 Additions to the EGL 1.5 Specification
93 Add the following to section 3.7.1 "Creating Rendering Contexts":
97 initialized to GL_TRUE or GL_FALSE. The default value of
99 for details on the program binary cache.
101 Add a section 3.13 to the end of section 3 "EGL Program Binary Cache":
103 Each display has an associated program binary cache. This cache stores
104 compiled programs for re-use on subsequent calls to glLinkProgram. The
[all …]

12345678910>>...50