Home
last modified time | relevance | path

Searched refs:cached (Results 1 – 25 of 209) sorted by relevance

123456789

/openbsd-src/gnu/usr.bin/perl/cpan/Memoize/t/
H A Dthreadsafe.t13 my $cached = count_up();
15 is count_up(), $cached, 'count_up() is memoized';
24 is $got->{V}, $cached, '... and returns the same result';
25 is count_up(), $cached, '... whereas count_up() on the main thread is unaffected';
36 is $got->{V}, 1+$cached, '... and does in fact unmemoize the function';
37 is count_up(), $cached, '... whereas count_up() on the main thread is unaffected';
H A Dexpmod_t.t41 # current time range, or if it returns a cached value, the
56 # cached value, so cache shouldn't have expired
62 # not cached value, so any cache should have have expired
/openbsd-src/usr.sbin/smtpd/
H A Dqueue_backend.c442 struct envelope *cached; in queue_envelope_cache_add() local
447 cached = xcalloc(1, sizeof *cached); in queue_envelope_cache_add()
448 *cached = *e; in queue_envelope_cache_add()
449 TAILQ_INSERT_HEAD(&evpcache_list, cached, entry); in queue_envelope_cache_add()
450 tree_xset(&evpcache_tree, e->id, cached); in queue_envelope_cache_add()
457 struct envelope *cached; in queue_envelope_cache_update() local
459 if ((cached = tree_get(&evpcache_tree, e->id)) == NULL) { in queue_envelope_cache_update()
463 TAILQ_REMOVE(&evpcache_list, cached, entry); in queue_envelope_cache_update()
464 *cached = *e; in queue_envelope_cache_update()
465 TAILQ_INSERT_HEAD(&evpcache_list, cached, entry); in queue_envelope_cache_update()
[all …]
/openbsd-src/gnu/usr.bin/perl/dist/PathTools/lib/File/Spec/
H A DCygwin.pm100 my $cached = $_[0]->_cached_tmpdir(qw 'TMPDIR TMP TEMP');
101 return $cached if defined $cached;
H A DOS2.pm34 my $cached = $_[0]->_cached_tmpdir(qw 'TMPDIR TEMP TMP');
35 return $cached if defined $cached;
H A DMac.pm357 my $cached = $_[0]->_cached_tmpdir('TMPDIR');
358 return $cached if defined $cached;
H A DUnix.pm156 # Retrieve the cached tmpdir, checking first whether relevant env vars have
197 my $cached = $_[0]->_cached_tmpdir('TMPDIR');
198 return $cached if defined $cached;
/openbsd-src/usr.sbin/unbound/services/cache/
H A Drrset.c130 struct packed_rrset_data* cached = (struct packed_rrset_data*)cd; in need_to_update_rrset() local
132 if( newd->ttl < timenow && cached->ttl >= timenow) in need_to_update_rrset()
138 cached->security != sec_status_secure) in need_to_update_rrset()
140 if( cached->security == sec_status_bogus && in need_to_update_rrset()
144 if( newd->trust > cached->trust ) { in need_to_update_rrset()
147 if(equal && cached->ttl >= timenow && in need_to_update_rrset()
148 cached->security == sec_status_bogus) in need_to_update_rrset()
153 if( cached->ttl < timenow ) in need_to_update_rrset()
156 if( newd->trust == cached->trust && !equal ) { in need_to_update_rrset()
163 newd->ttl = cached->ttl; in need_to_update_rrset()
/openbsd-src/sbin/unwind/libunbound/services/cache/
H A Drrset.c130 struct packed_rrset_data* cached = (struct packed_rrset_data*)cd; in need_to_update_rrset() local
132 if( newd->ttl < timenow && cached->ttl >= timenow) in need_to_update_rrset()
138 cached->security != sec_status_secure) in need_to_update_rrset()
140 if( cached->security == sec_status_bogus && in need_to_update_rrset()
144 if( newd->trust > cached->trust ) { in need_to_update_rrset()
147 if(equal && cached->ttl >= timenow && in need_to_update_rrset()
148 cached->security == sec_status_bogus) in need_to_update_rrset()
153 if( cached->ttl < timenow ) in need_to_update_rrset()
156 if( newd->trust == cached->trust && !equal ) { in need_to_update_rrset()
163 newd->ttl = cached->ttl; in need_to_update_rrset()
/openbsd-src/gnu/gcc/libcpp/
H A Dline-map.c268 const struct line_map *cached; in linemap_lookup() local
273 cached = &set->maps[mn]; in linemap_lookup()
275 if (line >= cached->start_location) in linemap_lookup()
277 if (mn + 1 == mx || line < cached[1].start_location) in linemap_lookup()
278 return cached; in linemap_lookup()
/openbsd-src/gnu/usr.bin/perl/dist/Tie-File/lib/Tie/
H A DFile.pm161 { my $cached = $self->{cache}->lookup($n);
162 return $cached if defined $cached;
1307 my $cached = 0;
1316 my $cached = $self->{cache}->_produce($n);
1323 if (defined $cached && $_ ne $cached && ! $self->{deferred}{$n}) {
1325 _ci_warn("rec $n: cached <$cached> actual <$_>");
1327 if (defined $cached
[all...]
/openbsd-src/gnu/llvm/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_allocator_size_class_map.h193 uptr cached = MaxCachedHint(s) * s; in Print() local
198 i, Size(i), d, p, l, MaxCachedHint(s), cached, ClassID(s)); in Print()
199 total_cached += cached; in Print()
/openbsd-src/gnu/usr.bin/perl/cpan/Math-BigInt-FastCalc/t/
H A Dbiglog.t80 # 10 is cached (up to 75 digits)
85 # 0.1 is using the cached value for log(10), too
96 # also cached
202 # test bexp() with cached results
213 # test bexp() with big values (non-cached)
/openbsd-src/gnu/usr.bin/perl/cpan/Math-BigInt/t/
H A Dbiglog.t80 # 10 is cached (up to 75 digits)
85 # 0.1 is using the cached value for log(10), too
96 # also cached
202 # test bexp() with cached results
213 # test bexp() with big values (non-cached)
/openbsd-src/sys/dev/pci/drm/ttm/
H A Dttm_agp_backend.c58 int ret, cached = ttm->caching == ttm_cached; in ttm_agp_bind() local
80 mem->type = (cached) ? AGP_USER_CACHED_MEMORY : AGP_USER_MEMORY; in ttm_agp_bind()
/openbsd-src/gnu/usr.bin/binutils-2.17/bfd/
H A Dhp300hpux.c546 aout_symbol_type *cached; variable
582 cached = (aout_symbol_type *) bfd_zalloc (abfd, amt);
583 if (cached == NULL && num_syms != 0)
593 aout_symbol_type *cache_ptr = cached;
596 for (sym_pointer = syms, cache_ptr = cached;
638 obj_aout_symbols (abfd) = cached;
/openbsd-src/gnu/usr.bin/binutils/bfd/
H A Dhp300hpux.c546 aout_symbol_type *cached; variable
582 cached = (aout_symbol_type *) bfd_zalloc (abfd, amt);
583 if (cached == NULL && num_syms != 0)
593 aout_symbol_type *cache_ptr = cached;
596 for (sym_pointer = syms, cache_ptr = cached;
638 obj_aout_symbols (abfd) = cached;
/openbsd-src/sys/net/
H A Dpf_lb.c284 struct pf_addr *raddr, *rmask, *cached; in pf_map_addr_sticky() local
299 cached = &(sns[type])->raddr; in pf_map_addr_sticky()
301 if (PF_AZERO(cached, af)) { in pf_map_addr_sticky()
304 if (pfr_kentry_byaddr(rpool->addr.p.dyn->pfid_kt, cached, in pf_map_addr_sticky()
308 if (pfr_kentry_byaddr(rpool->addr.p.tbl, cached, af, 0)) in pf_map_addr_sticky()
313 valid = pf_match_addr(0, raddr, rmask, cached, af); in pf_map_addr_sticky()
321 pf_print_host(cached, 0, af); in pf_map_addr_sticky()
336 if (!PF_AZERO(cached, af)) { in pf_map_addr_sticky()
337 pf_addrcpy(naddr, cached, af); in pf_map_addr_sticky()
339 pf_map_addr_states_increase(af, rpool, cached) == -1) in pf_map_addr_sticky()
/openbsd-src/usr.sbin/pkg_add/OpenBSD/Dependencies/
H A DSolverBase.pm257 sub cached($self, $dep) subroutine
292 if (defined $self->cached($dep)) {
298 $self->cached($dep)->pretty);
300 $v = $self->cached($dep)->do($self, $state, $dep, $package);
/openbsd-src/usr.sbin/pkg_add/OpenBSD/
H A DLibSpec.pm219 my $cached = {};
223 return $cached->{$s} //= $class->new_from_string($s);
H A DPackageName.pm43 my $cached = {};
47 return $cached->{$s} //= $class->new_from_string($s);
/openbsd-src/sbin/ncheck_ffs/
H A Dncheck_ffs.c121 void *cached(ufsino_t);
186 cached(ufsino_t ino) in cached() function
243 if ((dp = cached(inum)) != NULL) in getino()
351 if ((dp = cached(ino)) == NULL) in scanonedir()
/openbsd-src/gnu/usr.bin/binutils/
H A Dltconfig1631 echo $ac_n "(cached) $ac_c" 1>&6
1670 echo $ac_n "(cached) $ac_c" 1>&6
1717 echo $ac_n "(cached) $ac_c" 1>&6
1756 echo $ac_n "(cached) $ac_c" 1>&6
1795 echo $ac_n "(cached) $ac_c" 1>&6
1843 echo $ac_n "(cached) $ac_c" 1>&6
1950 echo $ac_n "(cached) $ac_c" 1>&6
2024 echo $ac_n "(cached) $ac_c" 1>&6
/openbsd-src/gnu/lib/libstdc++/
H A Dltconfig1627 echo $ac_n "(cached) $ac_c" 1>&6
1666 echo $ac_n "(cached) $ac_c" 1>&6
1713 echo $ac_n "(cached) $ac_c" 1>&6
1752 echo $ac_n "(cached) $ac_c" 1>&6
1791 echo $ac_n "(cached) $ac_c" 1>&6
1839 echo $ac_n "(cached) $ac_c" 1>&6
1946 echo $ac_n "(cached) $ac_c" 1>&6
2020 echo $ac_n "(cached) $ac_c" 1>&6
/openbsd-src/gnu/usr.bin/binutils-2.17/
H A Dltconfig1654 echo $ac_n "(cached) $ac_c" 1>&6
1693 echo $ac_n "(cached) $ac_c" 1>&6
1740 echo $ac_n "(cached) $ac_c" 1>&6
1779 echo $ac_n "(cached) $ac_c" 1>&6
1818 echo $ac_n "(cached) $ac_c" 1>&6
1866 echo $ac_n "(cached) $ac_c" 1>&6
1973 echo $ac_n "(cached) $ac_c" 1>&6
2047 echo $ac_n "(cached) $ac_c" 1>&6

123456789