Home
last modified time | relevance | path

Searched refs:cache (Results 1 – 25 of 762) sorted by relevance

12345678910>>...31

/plugin/diagramsnet/lib/WEB-INF/lib/
Dcache-api-1.1.1.jar ... integration/ javax/cache/processor/ javax/cache/management/ javax/cache/annotation/ javax ...
/plugin/epub/
Dhelper.php7 private $cache; variable in helper_plugin_epub
10 $this->cache = unserialize(io_readFile($this->script_file,false));
11 if(!$this->cache) $this->cache = array();
25 if(isset($this->cache[$md5])) return true;
35 unset($this->cache[$md5]);
36 if(isset($this->cache['current_books'][$md5])) {
37 unset($this->cache['current_books'][$md5]);
39 io_saveFile($this->script_file,serialize($this->cache));
43 $epub = $this->cache['current_books'][$md5]['epub'];
44 $file = mediaFN($this->cache['current_books'][$md5]['epub']);
[all …]
/plugin/poldek/
Dhelper.php25 private $cache; variable in helper_plugin_poldek
41 if ($this->cache) {
47 $idx_cache = new cache($this->getPluginName(), '.idx');
48 $pkg_cache = new cache($this->getPluginName(), '.txt');
49 $cache_exists = file_exists($pkg_cache->cache);
55 …ache_ok = $cache_exists && filesize($pkg_cache->cache) && !preg_grep('/^error:/', file($pkg_cache-…
69 touch($idx_cache->cache);
75 touch($pkg_cache->cache);
82 …if (($force || !$cache_exists) && !$pkg_cache->useCache(array('files' => array($idx_cache->cache))…
90 $this->cache = $pkg_cache->cache;
[all …]
/plugin/struct/action/
Dcache.php50 $cache = $event->data;
51 if ($cache->mode != 'xhtml') return true;
52 if (!$cache->page) return true; // not a page cache
55 if (!$assignments->getPageAssignments($cache->page)) return true; // no struct here
57 $cache->depends['files'][] = self::getSchemaRefreshFile();
75 $cache = $event->data;
76 if ($cache->mode != 'xhtml') return true;
77 if (!$cache->page) return true; // not a page cache
79 $meta = p_get_metadata($cache->page, 'plugin struct');
86 $cache->depends['files'][] = $sqlite->getDbFile();
[all …]
/plugin/asciidocjs/node_modules/fs.realpath/
Dold.js86 exports.realpathSync = function realpathSync(p, cache) { argument
90 if (cache && Object.prototype.hasOwnProperty.call(cache, p)) {
91 return cache[p];
137 if (knownHard[base] || (cache && cache[base] === base)) {
142 if (cache && Object.prototype.hasOwnProperty.call(cache, base)) {
144 resolvedLink = cache[base];
149 if (cache) cache[base] = base;
168 if (cache) cache[base] = resolvedLink;
177 if (cache) cache[original] = p;
183 exports.realpath = function realpath(p, cache, cb) { argument
[all …]
Dindex.js24 function realpath (p, cache, cb) { argument
26 return origRealpath(p, cache, cb)
29 if (typeof cache === 'function') {
30 cb = cache
31 cache = null
33 origRealpath(p, cache, function (er, result) {
35 old.realpath(p, cache, cb)
42 function realpathSync (p, cache) { argument
44 return origRealpathSync(p, cache)
48 return origRealpathSync(p, cache)
[all …]
/plugin/structat/action/
Dcache.php40 $cache = $event->data;
41 if ($cache->mode != 'xhtml') return true;
42 if (!$cache->page) return true; // not a page cache
44 $meta = p_get_metadata($cache->page, 'plugin struct');
57 $cache->key = substr($cache->key, 0, -strlen($user_key));
60 if (substr($cache->key, -strlen('dynamic')) != 'dynamic') {
61 $cache->key .= 'dynamic';
63 $cache->key .= $user_key;
67 $cache->cache = getCacheName($cache->key, $cache->ext);
84 $cache = $event->data;
[all …]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Cache/
DExpiringCache.php21 private $cache; variable in Assetic\\Cache\\ExpiringCache
24 public function __construct(CacheInterface $cache, $lifetime) argument
26 $this->cache = $cache;
32 if ($this->cache->has($key)) {
33 if (time() < $this->cache->get($key.'.expires')) {
37 $this->cache->remove($key.'.expires');
38 $this->cache->remove($key);
46 return $this->cache->get($key);
51 $this->cache->set($key.'.expires', time() + $this->lifetime);
52 $this->cache->set($key, $value);
[all …]
/plugin/randominc/
Daction.php37 $cache =& $event->data;
40 if (!isset($cache->page)) return;
41 if (!isset($cache->mode) || !in_array($cache->mode, $this->supportedModes)) return;
45 $expire = $this->_inclusion_check($cache->page, $key, $depends);
54 $cache->include = true;
57 $cache->key .= $key;
58 $cache->cache = getCacheName($cache->key, $cache->ext);
69 …$cache->depends['files'] = !empty($cache->depends['files']) ? array_merge($cache->depends['files']…
117 $cache =& $event->data;
118 if (empty($cache->include)) return;
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/DefinitionCache/
DDecorator.php10 public $cache; variable in HTMLPurifier_DefinitionCache_Decorator
24 * @param HTMLPurifier_DefinitionCache $cache Reference to cache object to decorate
27 public function decorate(&$cache) argument
31 $decorator->cache =& $cache;
32 $decorator->type = $cache->type;
52 return $this->cache->add($def, $config);
62 return $this->cache->set($def, $config);
72 return $this->cache->replace($def, $config);
81 return $this->cache->get($config);
90 return $this->cache->remove($config);
[all …]
/plugin/swiftmail/Swift/Message/
DMime.php95 protected $cache; variable in Swift_Message_Mime
110 $this->cache = Swift_CacheFactory::getCache();
143 $this->cache->clear("body");
169 $this->cache->clear("body");
170 $this->cache->clear("append");
171 $this->cache->clear("headers");
172 $this->cache->clear("dbl_le");
208 $this->cache->clear("body");
261 $this->cache->clear("body");
288 $this->cache->clear("append");
[all …]
/plugin/webcode/_test/
Ddokuwiki.test.php44 $cache = new cache($this->cacheKey, SELF::extension);
45 $cache->storeCache(SELF::storedContent);
46 …$this->assertNotNull($cache->cache, "The cache file name must be not NULL. It was (+".$cache->cach…
47 …ssertTrue(strpos($cache->cache,DOKU_INC) !== false, "The cache file path must contains DOKU_INC ("…
55 $cache = new cache($this->cacheKey, SELF::extension);
57 $content = $cache->retrieveCache();
/plugin/ghissues/helper/
DapiCacheInterface.php68 $cache = new cache_ghissues_api($apiURL);
69 $this->checkCacheFreshness($apiURL, $cache);
70 return ($cache->cache);
74 public function checkCacheFreshness($apiURL, &$cache=NULL) { argument
76 if ( !isset($cache) ) {
77 $cache = new cache_ghissues_api($apiURL);
81 if ( $cache->sniffETag($this->getConf('ghissuerefresh')) ) return true;
84 return $this->callGithubAPI($apiURL, $cache);
88 public function callGithubAPI($apiURL, &$cache=NULL) { argument
90 if ( !isset($cache) ) {
[all …]
/plugin/changes/
Daction.php36 $cache = $event->data;
37 if (isset($cache->mode) && ($cache->mode == 'xhtml')) {
40 $this->addDependencies($cache, array_keys($depends['rendering']));
48 protected function addDependencies($cache, $depends) argument
51 if (!is_array($cache->depends)) {
52 $cache->depends = [];
54 if (!array_key_exists('files', $cache->depends)) {
55 $cache->depends['files'] = [];
59 if (!in_array($file, $cache->depends['files']) && @file_exists($file)) {
60 $cache->depends['files'][] = $file;
/plugin/authgooglesheets/vendor/google/auth/src/
DApplicationDefaultCredentials.php85 * @param CacheItemPoolInterface $cache A cache implementation, may be
94 CacheItemPoolInterface $cache = null argument
96 $creds = self::getCredentials($scope, $httpHandler, $cacheConfig, $cache);
113 * @param CacheItemPoolInterface $cache A cache implementation, may be
124 CacheItemPoolInterface $cache = null, argument
127 $creds = self::getCredentials($scope, $httpHandler, $cacheConfig, $cache, $quotaProject);
140 * @param CacheItemPoolInterface $cache A cache implementation, may be
155 CacheItemPoolInterface $cache = null, argument
184 } elseif (self::onGce($httpHandler, $cacheConfig, $cache)) {
191 if (!is_null($cache)) {
[all …]
/plugin/structpublish/action/
Dcache.php37 $cache = $event->data;
38 if ($cache->mode != 'xhtml') return true;
39 if (!$cache->page) return true; // not a page cache
41 $meta = p_get_metadata($cache->page, 'plugin struct');
44 $cache->key .= ';' . helper_plugin_structpublish_db::userHasRole($cache->page, '', []);
47 $cache->cache = getCacheName($cache->key, $cache->ext);
/plugin/pagetitle/
Daction.php120 $cache =& $event->data;
123 if (!isset($cache->page)) return;
126 if ($cache->mode == 'xhtml') {
127 $metadata = p_get_metadata($cache->page, 'plugin pagetitle');
130 $html = $helper->html_youarehere(1, $cache->page, $traces);
136 $cache->depends['files'] = array_merge((array)$cache->depends['files'], $depends);
142 $pageTitled = in_array($cache->page, $pages);
147 $title = p_get_metadata($cache->page, 'title', METADATA_DONT_RENDER);
148 switch ($cache->mode) {
150 $request = ($title == $cache->page);
[all …]
/plugin/findologicxmlexport/vendor/jms/metadata/src/Cache/
DDoctrineCacheAdapter.php22 private $cache; variable in Metadata\\Cache\\DoctrineCacheAdapter
24 public function __construct(string $prefix, Cache $cache) argument
27 $this->cache = $cache;
35 $cache = $this->cache->fetch($this->prefix . $class);
36 return false === $cache ? null : $cache;
44 $this->cache->save($this->prefix . $metadata->name, $metadata);
52 $this->cache->delete($this->prefix . $class);
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Fonts/
DFontCache.php12 private $cache; variable in Mpdf\\Fonts\\FontCache
14 public function __construct(Cache $cache) argument
16 $this->cache = $cache;
21 return $this->cache->tempFilename($filename);
26 return $this->cache->has($filename);
36 return $this->cache->load($filename);
51 return $this->cache->write($filename, $data);
56 return $this->cache->write($filename, $data);
61 return $this->cache->write($filename, json_encode($data));
66 return $this->cache->remove($filename);
/plugin/pagequery/
Daction.php30 $cache = $event->data;
32 if (!isset($cache->page)) {
36 if ($cache->mode !== "xhtml") {
59 $cache->key .= "#" . $newkey;
60 $cache->cache = getCacheName($cache->key, $cache->ext);
64 if (@filemtime($cache->cache) < @filemtime($conf['cachedir'] . '/purgefile')) {
/plugin/scrape/vendor/ezyang/htmlpurifier/library/HTMLPurifier/
DLanguageFactory.php18 public $cache; variable in HTMLPurifier_LanguageFactory
139 return $this->cache[$code]['fallback'];
151 if (isset($this->cache[$code])) {
165 $cache = array();
168 $cache = compact($this->keys);
187 $fallback_cache = $this->cache[$fallback];
191 if (isset($cache[$key]) && isset($fallback_cache[$key])) {
193 $cache[$key] = $cache[$key] + $fallback_cache[$key];
195 $cache[$key] = array_merge($fallback_cache[$key], $cache[$key]);
198 $cache[$key] = $fallback_cache[$key];
[all …]
/plugin/asciidocjs/node_modules/lodash/
Dmemoize.js57 cache = memoized.cache;
59 if (cache.has(key)) {
60 return cache.get(key);
63 memoized.cache = cache.set(key, result) || cache;
66 memoized.cache = new (memoize.Cache || MapCache);
/plugin/mediasyntax/
Daction.php118 $cache =& $event->data;
122 if(!isset($cache->page) || ($cache->page != $ID)) return;
123 if(!isset($cache->mode) || !in_array($cache->mode, $this->supportedModes)) return;
146 $cache->depends['purge'] = true; // kill some performance
152 $cache->depends['purge'] = true; // include key not set - request purge
166 $cache->depends['files'][] = dirname(__FILE__) . '/plugin.info.txt';
174 if(!in_array($cache->depends['files'], array($file)) && @file_exists($file))
176 $cache->depends['files'][] = $file;
185 $cache->include = true;
189 $cache->key .= $key;
[all …]
/plugin/notification/action/
Dcache.php39 $cache = $event->data;
41 if (!$cache->page) return;
43 if ($cache->mode != 'xhtml') return;
46 $notification = p_get_metadata($cache->page, 'plugin notification');
50 $cache->_nocache = true;
62 $cache->depends['files'] = array_merge($cache->depends['files'], $data['dependencies']);
63 $cache->_nocache = $data['_nocache'];
/plugin/quickstats/
Dhelper.php13 private $cache; variable in helper_plugin_quickstats
50 $this->cache = unserialize(io_readFile($this->script_file,false));
51 if(!$this->cache) $this->cache = array();
68 if(isset($this->cache[$md5])) return true;
80 unset($this->cache[$del]);
81 io_saveFile($this->script_file,serialize($this->cache));
83 return $this->cache;
89 $this->cache[md5($id)] = $id;
90 io_saveFile($this->script_file,serialize($this->cache));
124 return $this->cache;

12345678910>>...31