/dports/benchmarks/lmbench/lmbench-3.0-a9/src/ |
H A D | tlb.c | 18 double* tlb_time, double* cache_time, struct mem_state* state); 20 double* tlb_time, double* cache_time, struct mem_state* state); 39 double tlb_time, cache_time; in main() local 79 compute_times(tlb * 2, warmup, repetitions, &tlb_time, &cache_time, &state); in main() 97 double* tlb_time, double* cache_time, struct mem_state* state) in find_tlb() argument 102 compute_times(i, warmup, repetitions, tlb_time, cache_time, state); in find_tlb() 104 if (*tlb_time / *cache_time > THRESHOLD) { in find_tlb() 120 compute_times(i, warmup, repetitions, tlb_time, cache_time, state); in find_tlb() 122 if (*tlb_time / *cache_time > THRESHOLD) { in find_tlb() 134 double* tlb_time, double* cache_time, struct mem_state* state) in compute_times() argument [all …]
|
/dports/net-mgmt/observium/observium/html/pages/ |
H A D | modules.inc.php | 28 foreach($cache_times_db as $cache_time) 30 $cache_time['device_state'] = unserialize($cache_time['device_state']); 31 $cache_times[$cache_time['device_id']] = $cache_time; 33 foreach($cache_time['device_state']['poller_mod_perf'] AS $module => $time)
|
/dports/devel/pecl-swoole/swoole-4.8.5/tests/swoole_coroutine/ |
H A D | gethostbyname.phpt | 39 $cache_time = microtime(true); 46 $cache_time = microtime(true) - $cache_time; 71 phpt_var_dump($first_time, $cache_time, $no_cache_time, $no_cache_multi_time); 73 Assert::assert($cache_time < 0.01); 74 Assert::assert($cache_time < $first_time); 75 Assert::assert($cache_time < $no_cache_time); 76 Assert::assert($cache_time < $no_cache_multi_time);
|
/dports/net-mgmt/nagvis/nagvis-1.9.29/share/frontend/nagvis-js/ext/dwoo-1.1.0/plugins/builtin/functions/ |
H A D | include.php | 25 function Dwoo_Plugin_include(Dwoo $dwoo, $file, $cache_time = null, $cache_id = null, $compile_id =… argument 42 if (!is_numeric($cache_time)) { 43 $cache_time = null; 45 $include = $dwoo->templateFactory($resource, $identifier, $cache_time, $cache_id, $compile_id); 60 } elseif ($dwoo->isArray($cache_time)) { 61 $vars = $cache_time;
|
/dports/net-mgmt/librenms/librenms-21.5.1/LibreNMS/Util/ |
H A D | ObjectCache.php | 44 private static $cache_time = 300; variable in LibreNMS\\Util\\ObjectCache 48 …return Cache::remember('ObjectCache:applications_list:' . auth()->id(), self::$cache_time, functio… 60 …return Cache::remember('ObjectCache:routing_counts:' . auth()->id(), self::$cache_time, function (… 76 … return Cache::remember('ObjectCache:sensor_list:' . auth()->id(), self::$cache_time, function () { 134 …r("ObjectCache:port_{$field}_count:$device_id:" . auth()->id(), self::$cache_time, function () use… 178 …::remember("ObjectCache:device_{$field}_count:" . auth()->id(), self::$cache_time, function () use… 214 …:remember("ObjectCache:service_{$field}_count:" . auth()->id(), self::$cache_time, function () use…
|
/dports/www/rejik/redirector-3.2.12_squid_3.4/ |
H A D | need_cache_update.c | 13 time_t cache_time; in need_cache_update() local 57 if (fread(&cache_time,1,sizeof(time_t),fp)<1) in need_cache_update() 66 fprintf (stderr," stored in cache mtime: %s\n",ctime(&cache_time)); in need_cache_update() 69 if (cache_time==url_time.st_mtime) in need_cache_update()
|
/dports/deskutils/py-py3status/py3status-3.40/py3status/ |
H A D | module.py | 40 self.cache_time = None 263 if self.cache_time is None: 266 if self.cache_time == Py3.CACHE_FOREVER: 929 cache_time = None 939 if not cache_time or my_method["cached_until"] < cache_time: 1006 if not cache_time or cached_until < cache_time: 1007 cache_time = cached_until 1053 if cache_time is None: 1055 self.cache_time = cache_time 1057 if cache_time == Py3.CACHE_FOREVER: [all …]
|
/dports/www/p5-Catalyst-Plugin-PageCache/Catalyst-Plugin-PageCache-0.32/t/ |
H A D | 10options.t | 26 my $cache_time = time; 35 cmp_ok( $res->headers->last_modified, '>=', $cache_time, 'last-modified header matches correct time… 36 cmp_ok( $res->headers->expires, '>=', $cache_time + 60, 'expires header matches correct time' );
|
H A D | 09datetime.t | 33 my $cache_time = time + 1; 34 1 while time < $cache_time; # spin till clock ticks to make test more robust 44 cmp_ok( $res->headers->last_modified, '>=', $cache_time, 'last-modified header matches correct time…
|
H A D | 07set_http_headers.t | 25 my $cache_time = time; 35 cmp_ok( $res->headers->last_modified, '>=', $cache_time, 'last-modified header matches correct time… 36 cmp_ok( $res->headers->expires, '>=', $cache_time + 300, 'expires header matches correct time' );
|
/dports/net/py-ripe.atlas.tools/ripe.atlas.tools-2.3.0/ripe/atlas/tools/ |
H A D | cache.py | 131 def __init__(self, function, cache_time): argument 133 self._cache_time = cache_time 153 def memoised(cache_time): argument 164 return Memoiser(function, cache_time=cache_time)
|
/dports/www/owncloud/owncloud/lib/private/legacy/ |
H A D | response.php | 43 * @param integer $cache_time time to cache the response 48 public static function enableCaching($cache_time = null) { argument 49 if (\is_numeric($cache_time)) { 51 if ($cache_time > 0) { 52 self::setExpiresHeader('PT'.$cache_time.'S'); 53 \header('Cache-Control: max-age='.$cache_time.', must-revalidate');
|
/dports/net-p2p/bazarr/bazarr-1.0.2/libs/xdg/ |
H A D | Config.py | 9 cache_time = 5 variable 27 global cache_time 28 cache_time = time
|
/dports/devel/py-xdg/pyxdg-0.27/xdg/ |
H A D | Config.py | 9 cache_time = 5 variable 27 global cache_time 28 cache_time = time
|
/dports/www/owncloud/owncloud/lib/public/ |
H A D | Response.php | 48 * @param int $cache_time time to cache the response 54 public static function enableCaching($cache_time = null) { argument 55 \OC_Response::enableCaching($cache_time);
|
/dports/databases/py-motor/motor-1.0/motor/ |
H A D | web.py | 122 cache_time = self.get_cache_time(path, modified, mime_type) 124 if cache_time > 0: 126 datetime.timedelta(seconds=cache_time)) 127 self.set_header("Cache-Control", "max-age=" + str(cache_time))
|
H A D | aiohttp.py | 248 cache_time = self._get_cache_time(path, 252 if cache_time > 0: 255 datetime.timedelta(seconds=cache_time) 258 resp.headers["Cache-Control"] = "max-age=" + str(cache_time)
|
/dports/devel/py-oslo.cache/oslo.cache-2.5.0/doc/source/user/ |
H A D | usage.rst | 13 cache_time = cfg.IntOpt('cache_time', default=3600) 14 CONF.register_opts([caching, cache_time], "feature-name") 39 cache_time = 7200
|
/dports/devel/py-oslo.cache/oslo.cache-2.5.0/oslo_cache/tests/unit/ |
H A D | test_cache_basics.py | 104 def _get_cache_fallthrough_fn(self, cache_time): argument 137 new_time = time.time() + (cache_time * 2) 153 cache_time = 600 156 do_test = self._get_cache_fallthrough_fn(cache_time) 158 self.config_fixture.config(cache_time=cache_time, 161 self.assertEqual(cache_time, expiration_time()) 169 cache_time = 599 172 do_test = self._get_cache_fallthrough_fn(cache_time) 175 self.config_fixture.config(cache_time=None, group=TEST_GROUP)
|
/dports/chinese/wordpress-zh_TW/wordpress/wp-includes/ |
H A D | class-wp-embed.php | 249 $cache_time = 0; 255 $cache_time = get_post_meta( $post_ID, $cachekey_time, true ); 257 if ( ! $cache_time ) { 258 $cache_time = 0; 264 $cache_time = strtotime( $cached_post->post_modified_gmt ); 267 $cached_recently = ( time() - $cache_time ) < $ttl;
|
/dports/chinese/wordpress-zh_CN/wordpress/wp-includes/ |
H A D | class-wp-embed.php | 249 $cache_time = 0; 255 $cache_time = get_post_meta( $post_ID, $cachekey_time, true ); 257 if ( ! $cache_time ) { 258 $cache_time = 0; 264 $cache_time = strtotime( $cached_post->post_modified_gmt ); 267 $cached_recently = ( time() - $cache_time ) < $ttl;
|
/dports/security/py-keepkey/python-keepkey-7.2.1/tests/ |
H A D | test_bip32_speed.py | 67 cache_time = time.time() - start 70 print("CACHED TIME", cache_time) 73 self.assertLessEqual(cache_time, nocache_time / 2.)
|
/dports/dns/bindgraph/bindgraph-0.3/ |
H A D | bindgraph.cgi | 31 my $cache_time = 60; 120 if (not @sb or (time - $sb[9]) > $cache_time) { 130 . "Expires: " . gmt_date($sb[9] + $cache_time) . "\n" 230 $cache_time = 300;
|
/dports/net-p2p/deluge-cli/deluge-2.0.3/deluge/ui/ |
H A D | sessionproxy.py | 38 self.cache_time = 1.5 141 > self.cache_time 215 if t - torrent[0] > self.cache_time: 222 > self.cache_time 264 self.torrents[torrent_id] = [time() - self.cache_time - 1, {}]
|
/dports/sysutils/munin-contrib/contrib-c31cb28/plugins/ubuntu/ |
H A D | ubuntu-mirrors | 32 $cache_time = @filemtime( CACHE_FILE ); 33 $cache_age = ( time() - $cache_time ) / 3600; 39 'date' => $cache_time
|