/dports/astro/kstars/kstars-3.5.6/Tests/auxiliary/ |
H A D | testtrixelcache.h | 17 TestCache m_cache{ 10, 5 }; 22 m_cache = { 10, 5 }; in init() 27 m_cache = { 10, 10 }; in noop() 30 m_cache.set_size(5); in noop() 33 m_cache.set_size(10); in noop() 40 m_cache.set_size(1); in resize() 43 m_cache.set_size(2); in resize() 71 m_cache.prune(); in pruning() 80 m_cache.prune(2); in pruning() 88 m_cache = { 2, 1 }; in clear() [all …]
|
/dports/databases/xtrabackup8/percona-xtrabackup-8.0.14/unittest/gunit/xplugin/xpl/ |
H A D | sha256_cache_t.cc | 43 void SetUp() { m_cache.enable(); } in SetUp() 51 ASSERT_TRUE(m_cache.size() == 0); in TEST_F() 54 ASSERT_TRUE(m_cache.size() == 2); in TEST_F() 58 ASSERT_TRUE(m_cache.size() == 0); in TEST_F() 60 ASSERT_TRUE(m_cache.size() == 1); in TEST_F() 61 m_cache.disable(); in TEST_F() 62 ASSERT_TRUE(m_cache.size() == 0); in TEST_F() 65 ASSERT_TRUE(m_cache.size() == 0); in TEST_F() 93 m_cache.disable(); in TEST_F() 109 m_cache.disable(); in TEST_F() [all …]
|
/dports/audio/rubberband/rubberband-2.0.0/src/dsp/ |
H A D | Window.h | 66 m_cache = 0; 71 deallocate(m_cache); in ~Window() 89 total += m_cache[i] * m_cache[i]; in getRMS() 104 T *R__ m_cache; variable 114 if (!m_cache) m_cache = allocate<T>(m_size); in encache() 117 v_set(m_cache, T(1.0), n); in encache() 124 m_cache[i] *= 0.5; in encache() 158 m_cache[i] *= m; in encache() 159 m_cache[N-i] *= m; in encache() 164 m_cache[i] *= m; in encache() [all …]
|
/dports/graphics/kf5-prison/prison-5.89.0/src/lib/ |
H A D | abstractbarcode.cpp | 23 QImage m_cache; member in Prison::AbstractBarcodePrivate 31 return m_cache.width() > size.width() || m_cache.height() > size.height(); in sizeTooSmall() 100 QImage out(d->m_cache.width() * scaleX, d->m_cache.height() * scaleY, d->m_cache.format()); in toImage() 103 p.drawImage(out.rect(), d->m_cache, d->m_cache.rect()); in toImage() 110 d->m_cache = QImage(); in setData() 116 d->m_cache = QImage(); in setData() 126 if (d->m_cache.isNull()) { in minimumSize() 133 return QSizeF(d->m_cache.width(), std::max(d->m_cache.height(), 10)); in minimumSize() 138 return d->m_cache.size(); in minimumSize() 145 return d->m_cache.size(); in trueMinimumSize() [all …]
|
/dports/astro/marble/marble-21.12.3/src/plugins/render/opencaching/ |
H A D | OpenCachingItem.cpp | 25 setSize( QSize( m_cache.difficulty() * 10, m_cache.difficulty() * 10 ) ); in OpenCachingItem() 48 return m_cache.id() != 0; in initialized() 89 OpenCachingCacheLog log = m_cache.log(); in infoDialog() 111 m_action->setText( m_cache.cacheName() ); in action() 119 return item ? m_cache.id() < item->m_cache.id() : false; in operator <() 142 width = m_cache.difficulty() * 10; in paint() 143 height = m_cache.difficulty() * 10; in paint() 147 if ( m_cache.difficulty() < 2.0 ) { in paint() 175 if ( m_cache.id() != 0 ) { in updateTooltip() 201 OpenCachingCacheLog log = m_cache.log(); in nextLogEntry() [all …]
|
/dports/audio/rosegarden/rosegarden-21.06.1/src/sound/ |
H A D | AudioCache.cpp | 34 return m_cache.find(index) != m_cache.end(); in has() 40 if (m_cache.find(index) == m_cache.end()) in getData() 42 CacheRec *rec = m_cache[index]; in getData() 55 if (m_cache.find(index) != m_cache.end()) { in addData() 62 m_cache[index] = new CacheRec(data, channels, nframes); in addData() 68 if (m_cache.find(index) == m_cache.end()) { in incrementReference() 73 ++m_cache[index]->refCount; in incrementReference() 85 if (i == m_cache.end()) { in decrementReference() 92 m_cache.erase(i); in decrementReference() 114 i != m_cache.end(); ++i) { in clear() [all …]
|
/dports/games/supertux2/SuperTux-v0.6.3-Source/src/video/ |
H A D | ttf_surface_manager.cpp | 38 m_cache(), in TTFSurfaceManager() 39 m_cache_iter(m_cache.end()) in TTFSurfaceManager() 47 auto it = m_cache.find(key); in create_surface() 48 if (it != m_cache.end()) in create_surface() 50 auto& entry = m_cache[key]; in create_surface() 68 m_cache[key] = ttf_surface; in create_surface() 78 auto it = m_cache.find(key); in get_cached_surface_width() 79 if (it == m_cache.end()) in get_cached_surface_width() 81 auto& entry = m_cache[key]; in get_cached_surface_width() 89 if (m_cache.empty()) in cache_cleanup_step() [all …]
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/projectexplorer/ |
H A D | toolchaincache.h | 41 Cache() { m_cache.reserve(Size); } in Cache() 50 swap(m_cache, other.m_cache); in Cache() 60 swap(m_cache, temporay); 72 if (m_cache.size() < Size) { in insert() 75 std::rotate(m_cache.begin(), std::next(m_cache.begin()), m_cache.end()); in insert() 76 m_cache.back() = runResults; in insert() 90 m_cache.clear(); in invalidate() 96 auto it = std::stable_partition(m_cache.begin(), m_cache.end(), [&](const CacheItem &ci) { in checkImpl() 99 if (it != m_cache.end()) in checkImpl() 100 return m_cache.back().second; in checkImpl() [all …]
|
/dports/audio/sonic-visualiser/sonic-visualiser-4.0.1/svcore/base/ |
H A D | Window.h | 67 breakfastquay::deallocate(m_cache); in ~Window() 79 T getValue(int i) { return m_cache[i]; } in getValue() 93 T *BQ_R__ m_cache; variable 103 if (!m_cache) m_cache = breakfastquay::allocate<T>(m_size); in encache() 113 m_cache[i] *= T(0.5); in encache() 119 m_cache[i] *= T(i) / T(n/2); in encache() 147 m_cache[i] *= m; in encache() 148 m_cache[N-i] *= m; in encache() 153 m_cache[i] *= m; in encache() 154 m_cache[N-i] *= m; in encache() [all …]
|
/dports/sysutils/fusefs-jmtpfs/jmtpfs-af0b79bc555ee60088306fdd2b78b2d51b781da3/src/ |
H A D | MtpFile.cpp | 64 m_cache.openFile(m_device, m_id); 88 m_cache.clearItem(m_id); 89 m_id = m_cache.closeFile(m_id); 90 m_cache.clearItem(parentId); 108 m_id = m_cache.closeFile(m_id); 109 m_cache.clearItem(m_id); 110 m_cache.clearItem(parentId); 119 m_cache.clearItem(parentId); 120 m_cache.clearItem(m_id); 146 m_cache.clearItem(md.self.id); [all …]
|
/dports/converters/wkhtmltopdf/qt-5db36ec/src/3rdparty/webkit/Source/WebCore/platform/text/ |
H A D | AtomicStringKeyedMRUCache.h | 43 for (size_t i = 0; i < m_cache.size(); ++i) { in get() 44 if (m_cache[i].first == key) { in get() 46 if (foundIndex + 1 < m_cache.size()) { in get() 48 m_cache.remove(foundIndex); in get() 49 foundIndex = m_cache.size(); in get() 50 m_cache.append(entry); in get() 52 return m_cache[foundIndex].second; in get() 55 if (m_cache.size() == capacity) in get() 56 m_cache.remove(0); in get() 59 return m_cache.last().second; in get() [all …]
|
/dports/security/shibboleth-sp/shibboleth-sp-3.3.0/shibsp/impl/ |
H A D | StoredSession.cpp | 161 if (m_cache->m_log.isDebugEnabled()) in unmarshallAttributes() 180 m_cache->m_log.info("session expired (ID: %s)", getID()); in validate() 189 if (!m_cache->compareAddresses(client_addr, saddr)) { in validate() 245 if (!m_cache->m_storage) in validate() 384 if (!m_cache->m_storage) in addAttributes() 467 if (!m_cache->m_storage) in getAssertion() 475 if (!m_cache->m_storage->readText(getID(), id, &tokenstr)) in getAssertion() 499 if (!m_cache->m_storage) in addAssertion() 540 m_cache->m_storage->deleteText(getID(), id.get()); in addAssertion() 551 m_cache->m_storage->deleteText(getID(), id.get()); in addAssertion() [all …]
|
/dports/graphics/openimageio/oiio-Release-2.2.16.0/src/python/ |
H A D | py_imagecache.cpp | 15 std::unique_ptr<ImageCache, ICDeleter> m_cache; member in PyOpenImageIO::ImageCacheWrap 18 : m_cache(ImageCache::create(shared)) in ImageCacheWrap() 26 ImageCache::destroy(x->m_cache.release(), teardown); in destroy() 82 if (ic.m_cache) in declare_imagecache() 83 ic.m_cache->attribute(name, val); in declare_imagecache() 87 if (ic.m_cache) in declare_imagecache() 88 ic.m_cache->attribute(name, val); in declare_imagecache() 93 if (ic.m_cache) in declare_imagecache() 94 ic.m_cache->attribute(name, val); in declare_imagecache() 99 if (ic.m_cache) in declare_imagecache() [all …]
|
/dports/graphics/py-openimageio/oiio-Release-2.2.16.0/src/python/ |
H A D | py_imagecache.cpp | 15 std::unique_ptr<ImageCache, ICDeleter> m_cache; member in PyOpenImageIO::ImageCacheWrap 18 : m_cache(ImageCache::create(shared)) in ImageCacheWrap() 26 ImageCache::destroy(x->m_cache.release(), teardown); in destroy() 82 if (ic.m_cache) in declare_imagecache() 83 ic.m_cache->attribute(name, val); in declare_imagecache() 87 if (ic.m_cache) in declare_imagecache() 88 ic.m_cache->attribute(name, val); in declare_imagecache() 93 if (ic.m_cache) in declare_imagecache() 94 ic.m_cache->attribute(name, val); in declare_imagecache() 99 if (ic.m_cache) in declare_imagecache() [all …]
|
/dports/math/pdal/PDAL-2.3.0/plugins/i3s/io/ |
H A D | PageManager.cpp | 54 for (const PageEntry& pe : m_cache) in fetchPage() 59 m_cache.push_back({index, PagePtr()}); in fetchPage() 60 size = m_cache.size(); in fetchPage() 75 for (PageEntry& pe : m_cache) in fetchPage() 108 auto it = m_cache.begin(); in getPageLocked() 109 while (it != m_cache.end() && it->index != index) in getPageLocked() 113 if (it == m_cache.end()) in getPageLocked() 117 m_cache.splice(m_cache.end(), m_cache, it); in getPageLocked() 135 auto it = m_cache.begin(); in evict() 136 while (it != m_cache.end() && m_cache.size() > m_cacheSize) in evict() [all …]
|
/dports/multimedia/intel-media-sdk/MediaSDK-intel-mediasdk-22.1.0/_studio/shared/umc/codec/mpeg2_dec/src/ |
H A D | umc_mpeg2_splitter.cpp | 44 m_cache.size() && // but have beginning of the unit in LoadData() 67 m_cache.clear(); in FindUnit() 73 if (m_cache.size()) in FindUnit() 79 …m_cache.insert(m_cache.end(), (uint8_t *)begin, (uint8_t *)begin + readSize); // Load this data to… in FindUnit() 81 …unit = { m_cache.data(), m_cache.data() + m_cache.size(), m_cache[prefix_size], m_pts } ; // Const… in FindUnit() 93 …m_cache.insert(m_cache.end(), begin, end - numBytesToLeave); // Load almost the whole data (withou… in FindUnit() 114 …m_cache.insert(m_cache.end(), tmpUnit.begin, end - numBytesToLeave); // But save to the cache only… in FindUnit() 134 m_cache.clear(); in OnEOS() 139 if (m_cache.size()) in OnEOS() 141 …nalu = { m_cache.data(), m_cache.data() + m_cache.size(), m_cache[prefix_size], m_pts } ; // Const… in OnEOS()
|
/dports/multimedia/qmmp-qt5/qmmp-1.5.2/src/qmmpui/ |
H A D | uiloader.cpp | 32 QList<QmmpUiPluginCache*> *UiLoader::m_cache = nullptr; member in UiLoader 36 if (m_cache) in loadPlugins() 39 m_cache = new QList<QmmpUiPluginCache*>; in loadPlugins() 49 m_cache->append(item); in loadPlugins() 57 for(QmmpUiPluginCache *item : qAsConst(*m_cache)) in factories() 69 for(const QmmpUiPluginCache *item : qAsConst(*m_cache)) in names() 79 auto it = std::find_if(m_cache->cbegin(), m_cache->cend(), in file() 92 …if(std::any_of(m_cache->cbegin(), m_cache->cend(), [name](QmmpUiPluginCache *item) { return item->… in select() 111 for(QmmpUiPluginCache *item : qAsConst(*m_cache)) in selected() 116 if (!m_cache->isEmpty()) in selected() [all …]
|
/dports/multimedia/kodi/xbmc-19.3-Matrix/xbmc/filesystem/ |
H A D | DirectoryCache.cpp | 66 if (i != m_cache.end()) in GetDirectory() 133 if (i != m_cache.end()) in ClearDirectory() 144 iCache i = m_cache.begin(); in ClearSubPaths() 145 while (i != m_cache.end()) in ClearSubPaths() 163 if (i != m_cache.end()) in AddFile() 184 if (i != m_cache.end()) in FileExists() 205 iCache i = m_cache.begin(); in Clear() 223 while (i != m_cache.end()) in ClearCache() 239 for (iCache i = m_cache.begin(); i != m_cache.end(); i++) in CheckIfFull() 257 m_cache.erase(it); in Delete() [all …]
|
/dports/devel/qtcreator/qt-creator-opensource-src-5.0.3/src/plugins/autotest/ |
H A D | itemdatacache.h | 45 m_cache[item->cacheName()] = {0, value, item->testBase()->type()}; in insert() 51 auto it = m_cache.begin(), end = m_cache.end(); in evolve() 54 it = m_cache.erase(it); in evolve() 62 auto entry = m_cache.find(item->cacheName()); in get() 63 if (entry == m_cache.end()) in get() 69 void clear() { m_cache.clear(); } in clear() 70 bool isEmpty() const { return m_cache.isEmpty(); } in isEmpty() 75 for (auto it = m_cache.cbegin(), end = m_cache.cend(); it != end; ++it) in toSettings() 84 m_cache.clear(); in fromSettings() 90 m_cache[match.captured(3)] = {0, qvariant_cast<T>(it.value()), type}; in fromSettings() [all …]
|
/dports/devel/sfml/SFML-2.5.1/src/SFML/Graphics/ |
H A D | RenderTarget.cpp | 131 m_cache (), in RenderTarget() 134 m_cache.glStatesSet = false; in RenderTarget() 162 m_cache.viewChanged = true; in setView() 283 if (!m_cache.enable || (enableTexCoordsArray != m_cache.texCoordsArrayEnabled)) in draw() 293 if (!m_cache.enable || !useVertexCache || !m_cache.useVertexCache) in draw() 370 if (!m_cache.enable || !m_cache.texCoordsArrayEnabled) in draw() 656 if (!m_cache.glStatesSet) in setupDraw() 662 if (!m_cache.enable || !m_cache.useVertexCache) in setupDraw() 671 if (!m_cache.enable || m_cache.viewChanged) in setupDraw() 675 if (!m_cache.enable || (states.blendMode != m_cache.lastBlendMode)) in setupDraw() [all …]
|
/dports/net-p2p/qtum/qtum-mainnet-fastlane-v0.20.3/src/cpp-ethereum/libethereum/ |
H A D | CodeSizeCache.h | 26 if (m_cache.size() >= c_maxSize) in store() 28 m_cache[_hash] = size; in store() 33 return m_cache.count(_hash); in contains() 38 return m_cache.at(_hash); in get() 47 if (!m_cache.empty()) in removeRandomElement() 49 auto it = m_cache.lower_bound(h256::random()); in removeRandomElement() 50 if (it == m_cache.end()) in removeRandomElement() 51 it = m_cache.begin(); in removeRandomElement() 52 m_cache.erase(it); in removeRandomElement() 58 std::map<h256, size_t> m_cache; variable
|
/dports/graphics/drawpile/Drawpile-2.1.20/src/libclient/core/ |
H A D | layerstackpixmapcacheobserver.cpp | 33 return m_cache; in getPixmap() 41 return m_cache; in getPixmap() 45 if((m_cache.isNull() || m_cache.size() != size) && size.isValid()) { in getPixmap() 46 m_cache = QPixmap(size); in getPixmap() 47 m_cache.fill(); in getPixmap() 50 paintChangedTiles(refreshArea & m_cache.rect(), &m_cache); in getPixmap() 52 return m_cache; in getPixmap()
|
/dports/audio/noson-app/noson-app-4.5.0/backend/NosonThumbnailer/thumbnailer/ |
H A D | diskcachemanager.cpp | 35 m_cache = new QNetworkDiskCache(); in DiskCacheManager() 36 m_cache->setCacheDirectory(offlineStoragePath + QDir::separator() + "thumbnailer"); in DiskCacheManager() 37 m_cache->setMaximumCacheSize(maxCacheSize); in DiskCacheManager() 42 delete m_cache; in ~DiskCacheManager() 47 QNetworkCacheMetaData meta = m_cache->metaData(url); in queryData() 51 return m_cache->data(url); in queryData() 52 m_cache->remove(url); in queryData() 63 QIODevice* dev = m_cache->prepare(metadata); in createData() 69 m_cache->insert(cacheDev); in insertData() 74 m_cache->clear(); in clear()
|
/dports/emulators/mess/mame-mame0226/src/devices/cpu/lh5801/ |
H A D | 5801tbl.hxx | 26 uint16_t r = m_cache.read_byte(P++) << 8; in lh5801_readop_word() 27 r |= m_cache.read_byte(P++); in lh5801_readop_word() 253 uint8_t t = m_cache.read_byte(P++); in lh5801_branch_plus() 263 uint8_t t = m_cache.read_byte(P++); in lh5801_branch_minus() 273 uint8_t t = m_cache.read_byte(P++); in lh5801_lop() 400 int oper = m_cache.read_byte(P++); in lh5801_instruction_fd() 814 int oper = m_cache.read_byte(P++); in lh5801_instruction() 1378 lh5801_sbc(m_cache.read_byte(P++)); in lh5801_instruction() 1382 lh5801_adc(m_cache.read_byte(P++)); in lh5801_instruction() 1386 lh5801_lda(m_cache.read_byte(P++)); in lh5801_instruction() [all …]
|
/dports/emulators/mame/mame-mame0226/src/devices/cpu/lh5801/ |
H A D | 5801tbl.hxx | 26 uint16_t r = m_cache.read_byte(P++) << 8; in lh5801_readop_word() 27 r |= m_cache.read_byte(P++); in lh5801_readop_word() 253 uint8_t t = m_cache.read_byte(P++); in lh5801_branch_plus() 263 uint8_t t = m_cache.read_byte(P++); in lh5801_branch_minus() 273 uint8_t t = m_cache.read_byte(P++); in lh5801_lop() 400 int oper = m_cache.read_byte(P++); in lh5801_instruction_fd() 814 int oper = m_cache.read_byte(P++); in lh5801_instruction() 1378 lh5801_sbc(m_cache.read_byte(P++)); in lh5801_instruction() 1382 lh5801_adc(m_cache.read_byte(P++)); in lh5801_instruction() 1386 lh5801_lda(m_cache.read_byte(P++)); in lh5801_instruction() [all …]
|