Home
last modified time | relevance | path

Searched refs:MemoryCache (Results 1 – 25 of 36) sorted by relevance

12

/external/tensorflow/tensorflow/core/kernels/data/
Dcache_ops.cc36 void MemoryCache::Complete(std::vector<std::vector<Tensor>>&& cache) { in Complete()
44 bool MemoryCache::IsCompleted() { in IsCompleted()
49 void MemoryCache::Reset() { in Reset()
55 const std::vector<Tensor>& MemoryCache::at(int64 index) { in at()
61 size_t MemoryCache::size() { in size()
66 const std::vector<std::vector<Tensor>>& MemoryCache::data() { in data()
103 DummyResourceOp<MemoryCache>);
Dcache_ops.h30 class MemoryCache {
32 MemoryCache() = default;
63 MemoryCacheManager() : cache_(std::make_shared<MemoryCache>()) {} in MemoryCacheManager()
67 std::shared_ptr<MemoryCache> get() { return cache_; } in get()
70 std::shared_ptr<MemoryCache> cache_;
Dcache_dataset_ops.cc664 std::shared_ptr<MemoryCache> cache) in MemoryDatasetBase()
711 explicit MemoryIterator(const Params& params, MemoryCache* cache) in MemoryIterator()
762 explicit MemoryWriterIterator(const Params& params, MemoryCache* cache) in MemoryWriterIterator()
831 MemoryCache* const cache_ TF_GUARDED_BY(mu_); // not owned.
837 explicit MemoryReaderIterator(const Params& params, MemoryCache* cache) in MemoryReaderIterator()
899 MemoryCache* const cache_ TF_GUARDED_BY(mu_); // not owned.
921 MemoryCache* cache_ TF_GUARDED_BY(mu_); // not owned.
926 const std::shared_ptr<MemoryCache> cache_;
/external/skqp/tools/gpu/
DMemoryCache.h25 class MemoryCache : public GrContextOptions::PersistentCache {
27 MemoryCache() = default;
28 MemoryCache(const MemoryCache&) = delete;
29 MemoryCache& operator=(const MemoryCache&) = delete;
DMemoryCache.cpp32 sk_sp<SkData> MemoryCache::load(const SkData& key) { in load()
48 void MemoryCache::store(const SkData& key, const SkData& data) { in store()
/external/llvm-project/lldb/include/lldb/Target/
DMemory.h21 class MemoryCache {
24 MemoryCache(Process &process);
26 ~MemoryCache();
62 MemoryCache(const MemoryCache &) = delete;
63 const MemoryCache &operator=(const MemoryCache &) = delete;
/external/skia/tools/gpu/
DMemoryCache.h25 class MemoryCache : public GrContextOptions::PersistentCache {
27 MemoryCache() = default;
28 MemoryCache(const MemoryCache&) = delete;
29 MemoryCache& operator=(const MemoryCache&) = delete;
DMemoryCache.cpp39 sk_sp<SkData> MemoryCache::load(const SkData& key) { in load()
56 void MemoryCache::store(const SkData& key, const SkData& data, const SkString& description) { in store()
65 void MemoryCache::writeShadersToDisk(const char* path, GrBackendApi api) { in writeShadersToDisk()
/external/llvm-project/lldb/source/Target/
DMemory.cpp23 MemoryCache::MemoryCache(Process &process) in MemoryCache() function in MemoryCache
29 MemoryCache::~MemoryCache() {} in ~MemoryCache()
31 void MemoryCache::Clear(bool clear_invalid_ranges) { in Clear()
40 void MemoryCache::AddL1CacheData(lldb::addr_t addr, const void *src, in AddL1CacheData()
46 void MemoryCache::AddL1CacheData(lldb::addr_t addr, in AddL1CacheData()
52 void MemoryCache::Flush(addr_t addr, size_t size) { in Flush()
100 void MemoryCache::AddInvalidRange(lldb::addr_t base_addr, in AddInvalidRange()
110 bool MemoryCache::RemoveInvalidRange(lldb::addr_t base_addr, in RemoveInvalidRange()
125 size_t MemoryCache::Read(addr_t addr, void *dst, size_t dst_len, in Read()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/prefill/
DBitmapPreFillRunner.java11 import com.bumptech.glide.load.engine.cache.MemoryCache;
57 private final MemoryCache memoryCache;
66 …public BitmapPreFillRunner(BitmapPool bitmapPool, MemoryCache memoryCache, PreFillQueue allocation… in BitmapPreFillRunner()
71 …BitmapPreFillRunner(BitmapPool bitmapPool, MemoryCache memoryCache, PreFillQueue allocationOrder, … in BitmapPreFillRunner()
DBitmapPreFiller.java9 import com.bumptech.glide.load.engine.cache.MemoryCache;
21 private final MemoryCache memoryCache;
28 …public BitmapPreFiller(MemoryCache memoryCache, BitmapPool bitmapPool, DecodeFormat defaultFormat)… in BitmapPreFiller()
/external/glide/library/src/main/java/com/bumptech/glide/
DGlideBuilder.java15 import com.bumptech.glide.load.engine.cache.MemoryCache;
30 private MemoryCache memoryCache;
59 public GlideBuilder setMemoryCache(MemoryCache memoryCache) { in setMemoryCache()
DGlide.java22 import com.bumptech.glide.load.engine.cache.MemoryCache;
89 private final MemoryCache memoryCache;
187 …Glide(Engine engine, MemoryCache memoryCache, BitmapPool bitmapPool, Context context, DecodeFormat… in Glide()
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/
DEngine.java12 import com.bumptech.glide.load.engine.cache.MemoryCache;
28 public class Engine implements EngineJobListener, MemoryCache.ResourceRemovedListener, EngineResour…
32 private final MemoryCache cache;
56 public Engine(MemoryCache memoryCache, DiskCache diskCache, ExecutorService diskCacheService, in Engine()
62 …Engine(MemoryCache cache, DiskCache diskCache, ExecutorService diskCacheService, ExecutorService s… in Engine()
/external/ImageMagick/MagickCore/
Dthread-private.h60 if (((GetImagePixelCacheType(source) != MemoryCache) && in GetMagickNumberThreads()
62 ((GetImagePixelCacheType(destination) != MemoryCache) && in GetMagickNumberThreads()
Dcache.h33 MemoryCache, enumerator
Dcache.c331 if ((cache_info->type != MemoryCache) && (cache_info->type != MapCache)) in AcquirePixelCachePixels()
667 (((source)->type != MemoryCache) && ((source)->type != MapCache)) || \ in ClonePixelCacheRepository()
668 (((destination)->type != MemoryCache) && ((destination)->type != MapCache)) ? \ in ClonePixelCacheRepository()
705 if (((cache_info->type == MemoryCache) || in ClonePixelCacheRepository()
707 ((clone_info->type == MemoryCache) || (clone_info->type == MapCache))) in ClonePixelCacheRepository()
980 case MemoryCache: in RelinquishPixelCachePixels()
1272 if ((cache_info->type != MemoryCache) || (cache_info->mapped != MagickFalse)) in GetAuthenticOpenCLBuffer()
2336 if ((cache_info->type != MemoryCache) && (cache_info->type != MapCache)) in GetPixelCachePixels()
3742 (cache_info->type == MemoryCache))) in OpenPixelCache()
3770 cache_info->type=MemoryCache; in OpenPixelCache()
[all …]
Dmatrix.c235 matrix_info->type=MemoryCache; in AcquireMatrixInfo()
377 case MemoryCache: in DestroyMatrixInfo()
/external/python/oauth2client/oauth2client/
Dtransport.py32 class MemoryCache(object): class
245 _CACHED_HTTP = httplib2.Http(MemoryCache())
/external/python/oauth2client/tests/
Dtest_transport.py26 cache = transport.MemoryCache()
40 self.assertIsInstance(cached_http.cache, transport.MemoryCache)
/external/glide/library/src/main/java/com/bumptech/glide/load/engine/cache/
DMemoryCache.java9 public interface MemoryCache { interface
DMemoryCacheAdapter.java9 public class MemoryCacheAdapter implements MemoryCache {
DLruResourceCache.java12 public class LruResourceCache extends LruCache<Key, Resource<?>> implements MemoryCache {
/external/ImageMagick/filters/
Danalyze.c107 if (((GetImagePixelCacheType(source) != MemoryCache) && in GetMagickNumberThreads()
109 ((GetImagePixelCacheType(destination) != MemoryCache) && in GetMagickNumberThreads()
/external/skia/tools/viewer/
DViewer.h231 sk_gpu_test::MemoryCache fPersistentCache;

12