/plugin/pagequery/ |
H A D | action.php | 19 * Check for pages changes and eventually purge cache. 29 /** @var cache_parser $cache */ 30 $cache = $event->data; 32 if (!isset($cache->page)) { 35 //purge only xhtml cache 36 if ($cache->mode !== "xhtml") { 47 //Cache per user 52 //Cache per groups 59 $cache->key .= "#" . $newkey; 60 $cache [all...] |
/plugin/findologicxmlexport/vendor/jms/metadata/tests/Cache/ |
H A D | DoctrineCacheAdapterTest.php | 5 namespace Metadata\Tests\Cache; 7 use Doctrine\Common\Cache\ArrayCache; 8 use Metadata\Cache\DoctrineCacheAdapter; 20 if (!interface_exists('Doctrine\Common\Cache\Cache')) { 27 $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 D | PsrCacheAdapterTest.php | 5 namespace Metadata\Tests\Cache; 7 use Metadata\Cache\PsrCacheAdapter; 11 use Symfony\Component\Cache\Adapter\ArrayAdapter; 20 if (!class_exists('Symfony\Component\Cache\CacheItem')) { 21 $this->markTestSkipped('symfony/cache is not installed.'); 27 $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); [all …]
|
/plugin/swiftmail/Swift/Message/ |
H A D | Mime.php | 95 protected $cache; variable in Swift_Message_Mime 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"); 301 //if ($this->cache !== null) return $this->cache . $append; 302 if ($this->cache->has("body")) [all …]
|
/plugin/lightbox/ |
H A D | action.php | 6 * Action plugin component, for cache validity determination 44 * prepare the cache object for default _useCache action 47 $cache =& $event->data; 50 if (!isset($cache->page)) return; 51 //if (!isset($cache->mode) || in_array($cache->mode,array('i','metadata'))) return; 53 // = $this->_cache_maxage($cache->page); 57 // expire the cache 64 …//$cache->depends['age'] = !empty($cache->depends['age']) ? min($cache->depends['age'],$max_age):… 68 * determine the max allowable age of the cache 72 * @return int max allowable age of the cache [all …]
|
/plugin/authgooglesheets/vendor/psr/cache/src/ |
H A D | CacheItemInterface.php | 3 namespace Psr\Cache; 10 * Cache\CacheItemPoolInterface object. 13 * cache items. Each Cache\CacheItemInterface is generated by a 14 * Cache\CacheItemPoolInterface object, which is responsible for any required 27 * Returns the key for the current cache item. 33 * The key string for this cache item. 52 * Confirms if the cache item lookup resulted in a cache hit. 58 * True if the request resulted in a cache hit. False otherwise. 63 * Sets the value represented by this cache item. 78 * Sets the expiration time for this cache item. [all …]
|
/plugin/combo/ComboStrap/ |
H A D | FetcherCache.php | 6 use dokuwiki\Cache\Cache; alias 9 * Class Cache 10 * A wrapper around {@link \dokuwiki\Cache\Cache} 13 * to create the cache file 18 const CANONICAL = "fetcher:cache"; 22 * @var Cache 24 private Cache $fileCache; 33 * @param String[] $keys - extra cache key [all...] |
/plugin/mediasyntax/ |
H A D | action.php | 110 * prepare the cache object for default _useCache action 118 $cache =& $event->data; 121 // without the ID check we'd get the cache objects for included pages as well 122 if(!isset($cache->page) || ($cache->page != $ID)) return; 123 if(!isset($cache->mode) || !in_array($cache->mode, $this->supportedModes)) return; 141 dbglog('---- PLUGIN INCLUDE CACHE DEPENDS START ----'); 143 dbglog('---- PLUGIN INCLUDE CACHE DEPENDS END ----'); 146 $cache [all...] |
/plugin/source/ |
H A D | action.php | 5 * Action plugin component, for cache validity determination 43 * prepare the cache object for default _useCache action 46 $cache =& $event->data; 49 if (!isset($cache->page)) return; 50 if (!isset($cache->mode) || in_array($cache->mode,array('i','metadata'))) return; 52 $max_age = $this->_cache_maxage($cache->page); 56 // expire the cache 63 …$cache->depends['age'] = !empty($cache->depends['age']) ? min($cache->depends['age'],$max_age): $… 67 * determine the max allowable age of the cache 71 * @return int max allowable age of the cache [all …]
|
/plugin/findologicxmlexport/vendor/doctrine/annotations/lib/Doctrine/Common/Annotations/ |
H A D | CachedReader.php | 22 use Doctrine\Common\Cache\Cache; alias 26 * A cache aware annotation reader. 39 * @var Cache 41 private $cache; variable in Doctrine\\Common\\Annotations\\CachedReader 57 * @param Cache $cache 60 public function __construct(Reader $reader, Cache $cache, $debug = false) argument 63 $this->cache = $cache; 179 * Fetches a value from the cache. 198 * Saves a value to the cache. 200 * @param string $cacheKey The cache key. [all …]
|
/dokuwiki/inc/ |
H A D | fetch.functions.php | 14 * The $cache parameter influences how long files may be kept in caches, the $public parameter 15 * influences if this caching may happen in public proxis or in the browser cache only FS#2734 23 * @param int $cache remaining cache time in seconds (-1 for $conf['cache'], 0 for no-cache) 32 function sendFile($file, $mime, $dl, $cache, $public = false, $orig = null, $csp = []) 41 // calculate cache times 42 if ($cache == -1) { 45 } elseif ($cache > 28 sendFile($file, $mime, $dl, $cache, $public = false, $orig = null, $csp = []) global() argument 194 calc_cache($cache) global() argument [all...] |
/plugin/src/ |
H A D | action.php | 7 * Action plugin component, for cache validity determination 45 * prepare the cache object for default _useCache action 48 $cache =& $event->data; 51 if (!isset($cache->page)) return; 52 if (!isset($cache->mode) || in_array($cache->mode,array('i','metadata'))) return; 54 $max_age = $this->_cache_maxage($cache->page); 58 // expire the cache 65 …$cache->depends['age'] = !empty($cache->depends['age']) ? min($cache->depends['age'],$max_age): $… 69 * determine the max allowable age of the cache 73 * @return int max allowable age of the cache [all …]
|
/plugin/authgooglesheets/vendor/google/auth/src/ |
H A D | ApplicationDefaultCredentials.php | 31 use Psr\Cache\CacheItemPoolInterface; 85 * @param CacheItemPoolInterface $cache A cache implementation, may be 94 CacheItemPoolInterface $cache = null argument 113 * @param CacheItemPoolInterface $cache A cache implementation, may be 140 * @param CacheItemPoolInterface $cache A cache implementation, may be 191 if (!is_null($cache)) { 208 * @param CacheItemPoolInterface $cache A cache implementation, may be 235 * @param CacheItemPoolInterface $cache A cache implementation, may be 259 * @param CacheItemPoolInterface $cache A cache implementation, may be 305 if (!is_null($cache)) { [all …]
|
/plugin/dw2pdf/vendor/mpdf/mpdf/src/Fonts/ |
H A D | FontCache.php | 5 use Mpdf\Cache; alias 12 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 [all...] |
/dokuwiki/lib/exe/ |
H A D | jquery.php | 3 use dokuwiki\Cache\Cache; alias 21 * uses cache or fills it 25 $cache = new Cache('jquery', '.js'); 33 // check cache age & handle conditional request 34 // This may exit if a cache can be used 35 $cache_ok = $cache->useCache(['files' => $cache_files]); 36 http_cached($cache->cache, [all...] |
/dokuwiki/lib/plugins/extension/helper/ |
H A D | repository.php | 10 use dokuwiki\Cache\Cache; 26 * Initialize the repository (cache), fetches data for all installed plugins 37 $cache = new Cache('##extension_manager##' . $name, '.repo'); 42 !$cache->useCache(['age' => 3600 * 24]) 57 $cache = new Cache('##extension_manager##' . $extension['plugin'], '.repo'); 58 $cache->storeCache(serialize($extension)); 80 $cache 9 use dokuwiki\Cache\Cache; global() alias [all...] |
/plugin/diagramsnet/lib/WEB-INF/lib/ |
H A D | gae-stub-1.0.8.jar | ... javax.cache.spi.CachingProvider provider
javax.cache.CacheManager cacheManager
javax.cache.configuration.MutableConfiguration ... |
/plugin/combo/vendor/antlr/antlr4-php-runtime/src/PredictionContexts/ |
H A D | PredictionContextCache.php | 10 * 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/jplayer/vendor/kriswallsmith/assetic/src/Assetic/Cache/ |
H A D | ConfigCache.php | 12 namespace Assetic\Cache; 15 * A config cache stores values using var_export() and include. 26 * @param string $dir The cache directory 34 * Checks of the cache has a file. 36 * @param string $resource A cache key 48 * @param string $resource A cache key 49 * @param mixed $value A value to cache 71 * @param string $resource A cache key 87 * Returns a timestamp for when the cache was created. 89 * @param string $resource A cache key [all …]
|
/plugin/findologicxmlexport/vendor/twig/twig/src/Cache/ |
H A D | CacheInterface.php | 12 namespace Twig\Cache; 15 * Interface implemented by cache classes. 18 * benefit from the PHP opcode cache. This interface is mostly useful if you 26 * Generates a cache key for the given template class name. 36 * Writes the compiled template to cache. 38 * @param string $key The cache key 44 * Loads a template from the cache. 46 * @param string $key The cache key 53 * @param string $key The cache key 60 class_alias('Twig\Cache\CacheInterface', 'Twig_CacheInterface');
|
/dokuwiki/vendor/simplepie/simplepie/src/Cache/ |
H A D | BaseDataCache.php | 46 namespace SimplePie\Cache; 51 * Adapter for deprecated \SimplePie\Cache\Base implementations 62 private $cache; variable in SimplePie\\Cache\\BaseDataCache 64 public function __construct(Base $cache) argument 66 $this->cache = $cache; 70 * Fetches a value from the cache. 77 * @param string $key The unique key of this item in the cache. 80 * @return array|mixed The value of the item from the cache, or $default in case of cache mis [all...] |
H A D | Memcache.php | 46 namespace SimplePie\Cache; 71 protected $cache; variable in SimplePie\\Cache\\Memcache 81 * Cache name 88 * Create a new cache object 91 * @param string $name Unique ID for the cache 104 $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location)); 108 $this->cache = new NativeMemcache(); 109 $this->cache->addServer($this->options['host'], (int) $this->options['port']); 113 * Save data to the cache 115 * @param array|\SimplePie\SimplePie $data Data to store in the cache [all...] |
H A D | Memcached.php | 46 namespace SimplePie\Cache; 71 protected $cache; variable in SimplePie\\Cache\\Memcached 80 * Cache name 86 * Create a new cache object 88 * @param string $name Unique ID for the cache 101 $this->options = array_replace_recursive($this->options, \SimplePie\Cache::parse_URL($location)); 105 $this->cache = new NativeMemcached(); 106 $this->cache->addServer($this->options['host'], (int)$this->options['port']); 110 * Save data to the cache 111 * @param array|\SimplePie\SimplePie $data Data to store in the cache [all...] |
/plugin/changes/ |
H A D | action.php | 36 $cache = $event->data; 37 if (isset($cache->mode) && ($cache->mode == 'xhtml')) { 40 $this->addDependencies($cache, array_keys($depends['rendering'])); 46 * Add extra dependencies to the cache 48 protected function addDependencies($cache, $depends) 51 if (!is_array($cache->depends)) { 52 $cache->depends = []; 54 if (!array_key_exists('files', $cache->depends)) { 55 $cache 44 addDependencies($cache, $depends) global() argument [all...] |
/plugin/swiftmail/Swift/Cache/ |
H A D | OutputStream.php | 12 * The wraps the streaming functionality of the cache 19 * The key to read in the actual cache 24 * The cache object to read 27 protected $cache; variable in Swift_Cache_OutputStream 31 * @param Swift_Cache The cache to read from 34 public function __construct(Swift_Cache $cache, $key) argument 36 $this->cache = $cache; 40 * Read bytes from the cache and seek through the buffer 47 return $this->cache->read($this->key, $size);
|