Home
last modified time | relevance | path

Searched refs:s_cache (Results 1 – 25 of 70) sorted by relevance

123

/dports/lang/mono/mono-5.10.1.57/external/corefx/src/System.Linq.Expressions/src/System/Linq/Expressions/Interpreter/
H A DControlFlowInstructions.cs51 private static Instruction[] s_cache; field in System.Linq.Expressions.Interpreter.BranchFalseInstruction
57 if (s_cache == null)
61 return s_cache;
83 private static Instruction[] s_cache; field in System.Linq.Expressions.Interpreter.BranchTrueInstruction
89 if (s_cache == null)
93 return s_cache;
115 private static Instruction[] s_cache; field in System.Linq.Expressions.Interpreter.CoalescingBranchInstruction
121 if (s_cache == null)
125 return s_cache;
534 … return s_cache[labelIndex] ?? (s_cache[labelIndex] = new EnterFinallyInstruction(labelIndex)); in Create()
[all …]
/dports/lang/mono/mono-5.10.1.57/external/corert/src/System.Private.CoreLib/src/System/Runtime/
H A DTypeLoaderExports.cs54 Entry entry = LookupInCache(s_cache, pEETypePtr, pEETypePtr); in ActivatorCreateInstanceAny()
85 private static Entry[] s_cache; field in System.Runtime.TypeLoaderExports
92 s_cache = new Entry[1]; in Initialize()
100 Entry entry = LookupInCache(s_cache, context, signature); in GenericLookup()
113 Entry entry = LookupInCache(s_cache, context, signature); in GenericLookupAndCallCtor()
126 Entry entry = LookupInCache(s_cache, context, signature); in GenericLookupAndAllocObject()
139 Entry entry = LookupInCache(s_cache, context, signature); in GenericLookupAndAllocArray()
152 Entry entry = LookupInCache(s_cache, context, signature); in GenericLookupAndCheckArrayElemType()
165 Entry entry = LookupInCache(s_cache, context, signature); in GenericLookupAndCast()
338 Entry[] cache = s_cache; in ResizeCacheForNewEntryAsNecessary()
[all …]
/dports/print/qpdfview/qpdfview-0.4.18/sources/
H A Dtileitem.cpp44 QCache< TileItem::CacheKey, TileItem::CacheObject > TileItem::s_cache; member in qpdfview::TileItem
61 s_cache.setMaxCost(s_settings->pageItem().cacheSize()); in TileItem()
87 foreach(const CacheKey& key, s_cache.keys()) in dropCachedPixmaps()
91 s_cache.remove(key); in dropCachedPixmaps()
146 if(const CacheObject* object = s_cache.object(cacheKey())) in refresh()
171 if(m_pixmapError || m_renderTask.isRunning() || (prefetch && s_cache.contains(cacheKey()))) in startRender()
227 s_cache.insert(cacheKey(), new CacheObject(pixmap, cropRect), cacheCost(pixmap)); in on_finished()
272 if(const CacheObject* object = s_cache.object(key)) in takePixmap()
284 s_cache.insert(key, new CacheObject(m_pixmap, m_cropRect), cacheCost(m_pixmap)); in takePixmap()
/dports/print/gutenprint/gutenprint-5.3.3/src/main/
H A Dcurve-cache.c47 cache->s_cache = NULL; in stp_curve_free_curve_cache()
56 cache->s_cache = stp_curve_get_ushort_data(cache->curve, &(cache->count)); in stp_curve_cache_curve_data()
71 cache->s_cache = NULL; in stp_curve_cache_curve_invalidate()
107 if (!cache->s_cache) in stp_curve_cache_get_ushort_data()
108 cache->s_cache = in stp_curve_cache_get_ushort_data()
110 return cache->s_cache; in stp_curve_cache_get_ushort_data()
/dports/print/gimp-gutenprint/gutenprint-5.3.3/src/main/
H A Dcurve-cache.c47 cache->s_cache = NULL; in stp_curve_free_curve_cache()
56 cache->s_cache = stp_curve_get_ushort_data(cache->curve, &(cache->count)); in stp_curve_cache_curve_data()
71 cache->s_cache = NULL; in stp_curve_cache_curve_invalidate()
107 if (!cache->s_cache) in stp_curve_cache_get_ushort_data()
108 cache->s_cache = in stp_curve_cache_get_ushort_data()
110 return cache->s_cache; in stp_curve_cache_get_ushort_data()
/dports/x11-fm/dolphin/dolphin-21.12.3/src/kitemviews/private/
H A Dkdirectorycontentscounter.cpp19 static QHash<QString, QPair<int, long>> *s_cache; variable
39 if (s_cache == nullptr) { in KDirectoryContentsCounter()
40 s_cache = new QHash<QString, QPair<int, long>>(); in KDirectoryContentsCounter()
103 if (s_cache->contains(resolvedPath)) { in slotResult()
104 const auto pair = s_cache->value(resolvedPath); in slotResult()
114 s_cache->insert(resolvedPath, QPair<int, long>(count, size)); in slotResult()
164 const bool alreadyInCache = s_cache->contains(resolvedPath); in startWorker()
168 const auto pair = s_cache->value(resolvedPath); in startWorker()
/dports/emulators/mess/mame-mame0226/src/lib/util/
H A Dun7z.cpp111 for (std::size_t cachenum = 0; cachenum < s_cache.size(); cachenum++) in find_cached()
114 if (s_cache[cachenum] && (filename == s_cache[cachenum]->m_filename)) in find_cached()
117 std::swap(s_cache[cachenum], result); in find_cached()
129 for (std::size_t cachenum = 0; cachenum < s_cache.size(); s_cache[cachenum++].reset()) { } in cache_clear()
175 static std::array<ptr, CACHE_SIZE> s_cache; member in util::__anon400390310111::m7z_file_impl
356 for (cachenum = 0; cachenum < s_cache.size(); cachenum++) in close()
357 if (!s_cache[cachenum]) in close()
361 if (cachenum == s_cache.size()) in close()
365 s_cache[cachenum].reset(); in close()
370 s_cache[cachenum] = std::move(s_cache[cachenum - 1]); in close()
[all …]
H A Dunzip.cpp63 for (std::size_t cachenum = 0; cachenum < s_cache.size(); cachenum++) in find_cached()
66 if (s_cache[cachenum] && (filename == s_cache[cachenum]->m_filename)) in find_cached()
69 std::swap(s_cache[cachenum], result); in find_cached()
81 for (std::size_t cachenum = 0; cachenum < s_cache.size(); s_cache[cachenum++].reset()) { } in cache_clear()
269 static std::array<ptr, CACHE_SIZE> s_cache; member in util::__anon42d8d4730111::zip_file_impl
676 for (cachenum = 0; cachenum < s_cache.size(); cachenum++) in close()
677 if (!s_cache[cachenum]) in close()
681 if (cachenum == s_cache.size()) in close()
685 s_cache[cachenum].reset(); in close()
690 s_cache[cachenum] = std::move(s_cache[cachenum - 1]); in close()
[all …]
/dports/emulators/mame/mame-mame0226/src/lib/util/
H A Dun7z.cpp111 for (std::size_t cachenum = 0; cachenum < s_cache.size(); cachenum++) in find_cached()
114 if (s_cache[cachenum] && (filename == s_cache[cachenum]->m_filename)) in find_cached()
117 std::swap(s_cache[cachenum], result); in find_cached()
129 for (std::size_t cachenum = 0; cachenum < s_cache.size(); s_cache[cachenum++].reset()) { } in cache_clear()
175 static std::array<ptr, CACHE_SIZE> s_cache; member in util::__anond85cf2590111::m7z_file_impl
356 for (cachenum = 0; cachenum < s_cache.size(); cachenum++) in close()
357 if (!s_cache[cachenum]) in close()
361 if (cachenum == s_cache.size()) in close()
365 s_cache[cachenum].reset(); in close()
370 s_cache[cachenum] = std::move(s_cache[cachenum - 1]); in close()
[all …]
H A Dunzip.cpp63 for (std::size_t cachenum = 0; cachenum < s_cache.size(); cachenum++) in find_cached()
66 if (s_cache[cachenum] && (filename == s_cache[cachenum]->m_filename)) in find_cached()
69 std::swap(s_cache[cachenum], result); in find_cached()
81 for (std::size_t cachenum = 0; cachenum < s_cache.size(); s_cache[cachenum++].reset()) { } in cache_clear()
269 static std::array<ptr, CACHE_SIZE> s_cache; member in util::__anone65e7b9b0111::zip_file_impl
676 for (cachenum = 0; cachenum < s_cache.size(); cachenum++) in close()
677 if (!s_cache[cachenum]) in close()
681 if (cachenum == s_cache.size()) in close()
685 s_cache[cachenum].reset(); in close()
690 s_cache[cachenum] = std::move(s_cache[cachenum - 1]); in close()
[all …]
/dports/graphics/krita/krita-4.4.8/libs/widgetutils/
H A Dkis_icon_utils.cpp35 static QMap<QString, QIcon> s_cache; variable
40 QMap<QString, QIcon>::const_iterator cached = s_cache.constFind(name); in loadIcon()
41 if (cached != s_cache.constEnd()) { in loadIcon()
70 s_cache.insert(name, icon); in loadIcon()
109 s_cache.insert(name, icon); in loadIcon()
116 s_cache.insert(name, icon); in loadIcon()
177 s_cache.clear(); in clearIconCache()
/dports/sysutils/calamares/calamares-3.2.44.2/src/libcalamaresui/utils/
H A DImageRegistry.cpp15 static QHash< QString, QHash< int, QHash< qint64, QPixmap > > > s_cache; variable
55 if ( s_cache.contains( image ) ) in pixmap()
57 subcache = s_cache.value( image ); in pixmap()
129 if ( s_cache.contains( image ) ) in putInCache()
131 subcache = s_cache.value( image ); in putInCache()
140 s_cache.insert( image, subcache ); in putInCache()
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/osgEarthDrivers/kml/
H A DKMZArchive.cpp41 static URIContext s_cache; in downloadToCache() local
42 if ( s_cache.empty() ) in downloadToCache()
45 if ( s_cache.empty() ) in downloadToCache()
49 s_cache = URIContext(std::string(osgCacheDir) + "/"); in downloadToCache()
51 s_cache = URIContext("osgearth_kmz_cache/"); in downloadToCache()
55 URI cachedFile( osgDB::getSimpleFileName(uri.full()), s_cache); in downloadToCache()
/dports/multimedia/mkvtoolnix/mkvtoolnix-65.0.0/src/common/
H A Debml.cpp114 auto itr = s_cache.find(id.GetValue()); in find_ebml_callbacks()
115 if (itr != s_cache.end()) in find_ebml_callbacks()
119 s_cache[id.GetValue()] = result; in find_ebml_callbacks()
154 auto itr = s_cache.find(debug_name); in find_ebml_callbacks()
155 if (itr != s_cache.end()) in find_ebml_callbacks()
159 s_cache[debug_name] = result; in find_ebml_callbacks()
191 auto itr = s_cache.find(id.GetValue()); in find_ebml_parent_callbacks()
192 if (itr != s_cache.end()) in find_ebml_parent_callbacks()
196 s_cache[id.GetValue()] = result; in find_ebml_parent_callbacks()
229 if (itr != s_cache.end()) in find_ebml_semantic()
[all …]
/dports/audio/festival/festival/src/modules/donovan/
H A Dmakewav.c52 short u_cache, s_cache = 0; in makewave() local
111 ptbuf[NCOEFFS-1] = s_cache; in makewave()
115 s_cache = ptbuf[zz-1]; in makewave()
123 ptbuf[NCOEFFS-1] = s_cache; in makewave()
/dports/games/flightgear/flightgear-2020.3.11/utils/fgpanel/
H A DFGCroppedTexture.cxx26 map <string, GLuint> FGCroppedTexture::s_cache; member in FGCroppedTexture
96 if (s_cache.count (m_path) > 0 ) { in bind()
97 m_texture = s_cache[m_path]; in bind()
117 s_cache[m_path] = m_texture; in bind()
/dports/x11-toolkits/libXaw/libXaw-1.0.14/src/
H A DPixmap.c478 s_cache = _XawFindCache(xaw, in _XawGetCache()
480 if (!s_cache) in _XawGetCache()
509 if (!s_cache->num_elems) in _XawGetCache()
511 s_cache->num_elems = 1; in _XawGetCache()
516 ++s_cache->num_elems; in _XawGetCache()
517 s_cache->elems = (XtPointer*) in _XawGetCache()
518 XtRealloc((char *)s_cache->elems, in _XawGetCache()
524 s_cache->elems[s_cache->num_elems - 1] = (XtPointer)pcache; in _XawGetCache()
525 c_cache = (XawCache *)s_cache->elems[s_cache->num_elems - 1]; in _XawGetCache()
526 if (s_cache->num_elems > 1) in _XawGetCache()
[all …]
/dports/deskutils/kdepim-addons/kdepim-addons-21.12.3/korganizer/plugins/picoftheday/
H A Dpicoftheday.cpp29 Q_GLOBAL_STATIC_WITH_ARGS(Cache, s_cache, (cacheElementMaxSize))
57 auto data = s_cache->take(date); in createDayElements()
77 s_cache->insert(date, data); in cacheData()
/dports/print/lyx/lyx-2.3.4.2/src/frontends/qt4/
H A DGuiFontMetrics.cpp242 docstring const s_cache = in getTextLayout() local
244 if (auto ptl = qtextlayout_cache_[s_cache]) in getTextLayout()
273 qtextlayout_cache_.insert(s_cache, ptl); in getTextLayout()
456 docstring const s_cache = in breakAt() local
460 if (breakat_cache_.contains(s_cache)) in breakAt()
461 pp = breakat_cache_[s_cache]; in breakAt()
465 breakat_cache_.insert(s_cache, pp, s_cache.size() * sizeof(char_type)); in breakAt()
/dports/audio/schismtracker/schismtracker-20211116/schism/
H A Dfakemem.c78 static unsigned int s_cache;
82 if (_cache_ok & 8) return s_cache;
93 return s_cache = q;
/dports/graphics/osgearth/osgearth-osgearth-2.10.1/src/osgEarth/
H A DFileUtils.cpp180 static PathCache s_cache; in getFullPath() local
189 PathCache::const_iterator i = s_cache.find(cacheKey); in getFullPath()
190 if (i != s_cache.end()) in getFullPath()
198 if (s_cache.size() >= 20000) in getFullPath()
199 s_cache.clear(); in getFullPath()
268 s_cache[cacheKey] = result; in getFullPath()
/dports/editors/texmaker/texmaker-5.0.3/
H A Dpageitem.cpp35 QCache< PageItem*, QImage > PageItem::s_cache(32 * 1024 * 1024); member in PageItem
44 return s_cache.totalCost(); in cacheSize()
49 s_cache.setMaxCost(cacheSize); in setCacheSize()
124 s_cache.remove(this); in ~PageItem()
172 if(s_cache.contains(this)) in paint()
174 image = *s_cache.object(this); in paint()
183 s_cache.insert(this, new QImage(image), image.byteCount()); in paint()
379 s_cache.remove(this); in refresh()
420 s_cache.insert(this, new QImage(image), image.byteCount()); in on_imageReady()
/dports/print/gimp-gutenprint/gutenprint-5.3.3/include/gutenprint/
H A Dcurve-cache.h44 const unsigned short *s_cache; member
71 #define CURVE_CACHE_FAST_USHORT(cache) ((cache)->s_cache)
/dports/print/gutenprint/gutenprint-5.3.3/include/gutenprint/
H A Dcurve-cache.h44 const unsigned short *s_cache; member
71 #define CURVE_CACHE_FAST_USHORT(cache) ((cache)->s_cache)
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/svg/properties/
H A DSVGAnimatedProperty.h94 static Cache* s_cache = new Cache; in animatedPropertyCache() local
95 return s_cache; in animatedPropertyCache()

123