Home
last modified time | relevance | path

Searched refs:cache (Results 26 – 50 of 671) sorted by relevance

12345678910>>...27

/plugin/tindexmenu/
H A Daction.php94 $cache = &$event->data;
96 if (!isset($cache->page)) return;
98 if ($cache->mode != "xhtml") return;
113 $cache->key .= "#".$newkey;
114 $cache->cache = getCacheName($cache->key, $cache->ext);
118 if (@filemtime($cache->cache) < @filemtime($conf['cachedir'].'/purgefile')) {
/plugin/footer/
H A Daction.php206 $cache = &$event->data;
209 if(!isset($cache->page)) return;
213 if($cache->mode != "xhtml") return;
243 $cache->key .= "#".$newkey;
245 $cache->cache = getCacheName($cache->key, $cache->ext);
253 if(@filemtime($cache->cache) < @filemtime($conf['cachedir'].'/purgefile')) {
/plugin/authgooglesheets/vendor/phpseclib/phpseclib/phpseclib/Math/BigInteger/Engines/BCMath/Reductions/
H A DBarrett.php68 static $cache = [
85 if (($key = array_search($m, $cache[self::VARIABLE])) === false) {
86 $key = count($cache[self::VARIABLE]);
87 $cache[self::VARIABLE][] = $m;
93 $cache[self::DATA][] = [
98 extract($cache[self::DATA][$key]);
155 static $cache = [
167 $key = count($cache[self::VARIABLE]);
168 $cache[self::VARIABLE][] = $n;
170 $cache[self::DATA][] = bcdiv($lhs, $n, 0);
[all …]
/plugin/eventum/
H A Dsyntax.php77 function cache($id, $data = null) { function in syntax_plugin_eventum
87 $cache = array();
95 foreach ($cache as $i => $ent) {
97 unset($cache[$i]);
103 return isset($cache[$id]) ? $cache[$id] : null;
107 $cache[$id] = $data;
108 file_put_contents($cachefile, serialize($cache));
139 $cache = $this->cache($id);
140 if ($cache !== null) {
141 return $cache;
[all …]
/plugin/findologicxmlexport/vendor/phpunit/php-token-stream/src/Token/Stream/
H A DCachingFactory.php19 protected static $cache = []; variable in PHP_Token_Stream_CachingFactory
28 if (!isset(self::$cache[$filename])) {
29 self::$cache[$filename] = new PHP_Token_Stream($filename);
32 return self::$cache[$filename];
41 unset(self::$cache[$filename]);
43 self::$cache = [];
/plugin/findologicxmlexport/vendor/twig/twig/test/Twig/Tests/Cache/
H A DFilesystemTest.php20 private $cache; variable in Twig_Tests_Cache_FilesystemTest
27 $this->cache = new FilesystemCache($this->directory);
49 $this->cache->load($key);
60 $this->cache->load($key);
73 $this->cache->write($key, $content);
99 $this->cache->write($key, $content);
123 $this->cache->write($key, $content);
141 $this->cache->write($key, $content);
155 $this->assertSame(1234567890, $this->cache->getTimestamp($key));
161 $this->assertSame(0, $this->cache->getTimestamp($key));
[all …]
/plugin/mathpublish/
H A Dimg.php12 $cache = getCacheName($_GET['img'], '.mathpublish.png'); variable
13 if(!file_exists($cache)) _fail();
14 $time = filemtime($cache);
21 http_sendfile($cache); // exits if x-sendfile support
22 $fp = @fopen($cache, "rb");
24 http_rangeRequest($fp, filesize($cache), 'image/png');
/plugin/latexport/helpers/
H A Dinternal_media.php21 * @param string $cache cache|recache|nocache
41 private $cache; variable in InternalMedia
53 * @param string $cache cache|recache|nocache
56 function __construct($src, $title, $align, $width, $height, $cache, $linking) { argument
63 $this->cache = $cache;
95 return $this->cache;
/plugin/davcard/action/
H A Dcache.php23 $cache = &$event->data;
24 if(!isset($cache->page)) return;
26 if($cache->mode != "xhtml") return;
28 $meta = p_get_metadata($cache->page, 'plugin_davcard');
39 $cache->depends['files'][] = $wdc->getLastSyncChangeFileForConnection($connectionId);
43 if(isset($meta['addressbooks']) && in_array($cache->page, $meta['addressbooks']['id']))
/plugin/approve/action/
H A Dcache.php27 /** @var cache_renderer $cache */
28 $cache = $event->data;
30 if(!$cache->page) return;
31 //purge only xhtml cache
32 if($cache->mode != 'xhtml') return;
35 $approve = p_get_metadata($cache->page, 'plugin approve');
39 $cache->_nocache = true;
45 $cache->depends['files'][] = $sqlite->getAdapter()->getDbFile();
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/PredictionContexts/
H A DPredictionContextCache.php10 * Used to cache {@see PredictionContext} objects. Its used for the shared
11 * context cash associated with contexts in DFA states. This cache
17 protected $cache; variable in Antlr\\Antlr4\\Runtime\\PredictionContexts\\PredictionContextCache
21 $this->cache = new Map();
25 * Add a context to the cache and return it. If the context already exists,
26 * return that one instead and do not add a new context to the cache.
27 * Protect shared cache from unsafe thread access.
35 $existing = $this->cache->get($ctx);
41 $this->cache->put($ctx, $ctx);
48 return $this->cache
[all...]
/plugin/metaeditor/
H A Daction.php96 $cache = false;
97 $meta = p_read_metadata($pageid, $cache);
112 $cache = false;
113 $meta = p_read_metadata($pageid, $cache);
128 $cache = false;
129 $meta = p_read_metadata($pageid, $cache);
150 $cache = false;
151 $meta = p_read_metadata($pageid, $cache);
193 $cache = false;
194 $meta = p_read_metadata($pageid, $cache);
[all …]
/plugin/findologicxmlexport/vendor/jms/metadata/tests/Cache/
H A DDoctrineCacheAdapterTest.php27 $cache = new DoctrineCacheAdapter('metadata-test', new ArrayCache());
29 $this->assertNull($cache->load(TestObject::class));
30 $cache->put($metadata = new ClassMetadata(TestObject::class));
32 $this->assertEquals($metadata, $cache->load(TestObject::class));
34 $cache->evict(TestObject::class);
35 $this->assertNull($cache->load(TestObject::class));
H A DPsrCacheAdapterTest.php27 $cache = new PsrCacheAdapter('metadata-test', new ArrayAdapter());
29 $this->assertNull($cache->load(TestObject::class));
30 $cache->put($metadata = new ClassMetadata(TestObject::class));
32 $this->assertEquals($metadata, $cache->load(TestObject::class));
34 $cache->evict(TestObject::class);
35 $this->assertNull($cache->load(TestObject::class));
H A DFileCacheTest.php28 $cache = new FileCache($this->dir);
30 $this->assertNull($cache->load(TestObject::class));
31 $cache->put($metadata = new ClassMetadata(TestObject::class));
33 $this->assertEquals($metadata, $cache->load(TestObject::class));
35 $cache->evict(TestObject::class);
36 $this->assertNull($cache->load(TestObject::class));
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Asset/
H A DAssetCache.php26 private $cache; variable in Assetic\\Asset\\AssetCache
28 public function __construct(AssetInterface $asset, CacheInterface $cache) argument
31 $this->cache = $cache;
52 if ($this->cache->has($cacheKey)) {
53 $this->asset->setContent($this->cache->get($cacheKey));
59 $this->cache->set($cacheKey, $this->asset->getContent());
65 if ($this->cache->has($cacheKey)) {
66 return $this->cache->get($cacheKey);
70 $this->cache->set($cacheKey, $content);
/plugin/jplayer/vendor/mustache/mustache/src/Mustache/
H A DEngine.php45 private $cache; variable in Mustache_Engine
153 $cache = $options['cache'];
155 if (is_string($cache)) {
157 $cache = new Mustache_Cache_FilesystemCache($cache, $mode);
160 $this->setCache($cache);
557 * @param Mustache_Cache $cache
565 $this->cache = $cache;
577 if (!isset($this->cache)) {
581 return $this->cache;
732 if ($cache === null) {
[all …]
/plugin/poldek/
H A Daction.php50 function cache(&$event, $param) { function in action_plugin_poldek
53 $cache =& $event->data;
56 if (!isset($cache->page)) return;
57 if (!isset($cache->mode) || $cache->mode != 'xhtml') return;
65 $cache->depends['files'][] = $helper->getCache();
/plugin/epub/
H A Dadmin.php13 private $cache; variable in admin_plugin_epub
20 $this->cache = $this->helper->getCache() ;
41 if(is_array($_REQUEST['book_id'])) $this->cache = $this->helper->getCache() ;
60 $cache = $this->cache;
61 $current_books = $this->cache['current_books'];
62 unset ($cache['current_books']);
67 foreach($cache as $md5=>$id) {
/plugin/abbrlist/
H A Daction.php15 $cache = &$event->data;
16 if(!isset($cache->page)) return;
18 if($cache->mode != "xhtml") return;
24 $cache->depends['files'][] = DOKU_INC + 'conf/acronyms.conf';
25 $cache->depends['files'][] = DOKU_INC + 'conf/acronyms.local.conf';
/plugin/findologicxmlexport/vendor/jms/metadata/src/
H A DMetadataFactory.php21 private $cache; variable in Metadata\\MetadataFactory
60 public function setCache(CacheInterface $cache): void argument
62 $this->cache = $cache;
85 if (null !== $this->cache) {
86 … if (($classMetadata = $this->cache->load($class->getName())) instanceof NullMetadata) {
97 $this->cache->evict($classMetadata->name);
111 if (null !== $this->cache) {
112 $this->cache->put($classMetadata);
118 if (null !== $this->cache && !$this->debug) {
119 $this->cache->put(new NullMetadata($class->getName()));
/plugin/prosemirror/parser/
H A DImageNode.php53 if (!empty($this->attrs['cache']) && $this->attrs['cache'] !== 'cache') {
54 $query[] = $this->attrs['cache'];
73 $cache = null, argument
85 $cache,
95 self::resolveMedia($src, $title, $align, $width, $height, $cache, $linking));
107 $cache = null, argument
123 if ($cache !== null && $cache
142 resolveMedia($src, $title = null, $align = null, $width = null, $height = null, $cache = null, $linking = null) global() argument
[all...]
/plugin/swiftmail/Swift/Cache/
H A DOutputStream.php27 protected $cache; variable in Swift_Cache_OutputStream
34 public function __construct(Swift_Cache $cache, $key) argument
36 $this->cache = $cache;
47 return $this->cache->read($this->key, $size);
/plugin/combo/vendor/salesforce/handlebars-php/src/Handlebars/Cache/
H A DDummy.php3 * A dummy array cache
20 private $cache = []; variable in Handlebars\\Cache\\Dummy
23 * Get cache for $name if exist.
27 * @return mixed data on hit, boolean false on cache not found
31 if (array_key_exists($name, $this->cache)) {
32 return $this->cache[$name];
38 * Set a cache
40 * @param string $name cache id
47 $this->cache[$name] = $value;
51 * Remove cache
[all...]
/plugin/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Cache/
H A DArrayCache.php21 private $cache = array(); variable in Assetic\\Cache\\ArrayCache
28 return isset($this->cache[$key]);
40 return $this->cache[$key];
48 $this->cache[$key] = $value;
56 unset($this->cache[$key]);

12345678910>>...27