Searched refs:fetch (Results 1 - 25 of 220) sorted by relevance

123456789

/macosx-10.9.5/ruby-104/ruby/lib/drb/
H A Dtimeridconv.rb38 def fetch(key, dv=@sentinel) method in class:DRb.TimerIdConv.TimerHolder2
60 return @curr.fetch(key, @renew.fetch(key, @gc.fetch(key, @sentinel)))
90 @holder.fetch(ref)
/macosx-10.9.5/ruby-104/ruby/lib/yaml/
H A Ddbm.rb24 fetch( key )
38 # fetch( key, ifnone = nil )
39 # fetch( key, &block )
46 def fetch( keystr, ifnone = nil ) method in class:YAML.DBM
76 keys.collect { |k| fetch( k ) }
96 del_keys.delete_if { |k| yield( k, fetch( k ) ) == false }
112 keys.each { |k| yield k, fetch( k ) }
142 keys.each { |k| h[ self.fetch( k ) ] = k }
208 keys.each { |k| a.push [ k, self.fetch( k ) ] }
217 keys.each { |k| h[ k ] = self.fetch(
[all...]
/macosx-10.9.5/ruby-104/ruby/sample/drb/
H A Ddqout.rb2 distributed Ruby --- fetch
/macosx-10.9.5/Heimdal-323.92.1/lib/krb5/
H A Dstore-int.h39 ssize_t (*fetch)(struct krb5_storage_data*, void*, size_t); member in struct:krb5_storage_data
/macosx-10.9.5/Security-55471.14.18/libsecurity_cssm/lib/
H A Dcssmmds.cpp41 mCommon = common.fetch(Attribute("ModuleID") == mMyGuid, CSSMERR_CSSM_MDS_ERROR);
/macosx-10.9.5/CPANInternal-140/Variable-Magic/t/
H A D16-huf.t26 my $wiz = init_watcher [ qw/fetch store/ ], 'huf';
39 my ($s) = watch { $h{$obj} } { fetch => 1 }, 'fetch on magical fieldhash';
40 is $s, 5, 'huf: fetch on magical fieldhash succeeded';
50 is $s, 11, 'huf: store/fetch on fieldhash after dispell still ok';
52 $Variable::Magic::TestWatcher::mg_end = { fetch => 1 };
H A D28-uvar.t20 my $wiz = init_watcher [ qw/fetch store exists delete/ ], 'uvar';
27 my $x = watch { $h{a} } { fetch => 1 }, 'fetch directly';
28 is $x, 1, 'uvar: fetch directly correctly';
30 $x = watch { "$h{b}" } { fetch => 1 }, 'fetch by interpolation';
31 is $x, 2, 'uvar: fetch by interpolation correctly';
35 $x = watch { $h{c} = 5 } { store => 1 }, 'fetch and store';
36 is $x, 5, 'uvar: fetch and store correctly';
50 $x = watch { $h{a} } { fetch
[all...]
H A D32-hash.t14 [ qw/get set len clear free copy dup local fetch store exists delete/ ],
22 my $s = watch { $h{foo} } +{ (fetch => 1) x VMG_UVAR },
38 +{ (fetch => 2) x VMG_UVAR }, 'slice';
99 watch { $res = $code->('a') } { fetch => 1 }, 'fixed fetch "a"';
100 is $res, 14, 'uvar: fixed fetch "a" returned the right thing';
103 is $before, $after, 'uvar: fixed fetch deparse correctly';
105 watch { $res = $code->('b') } { fetch => 1 }, 'fixed fetch "b"';
106 is $res, 16, 'uvar: fixed fetch "
[all...]
H A D35-stash.t30 } qw/fetch store exists delete/);
54 fetch => [ qw/thing stuff/ ],
95 fetch => \@calls,
107 fetch => [ qw/shoot/ ],
118 fetch => [ qw/shoot/ ],
145 fetch => [ qw/ISA leave/ ],
165 fetch => [ qw/shoot/ ],
185 fetch => [ qw/unknown/ ],
208 fetch => [ qw/also_unknown AUTOLOAD/ ],
255 fetch
[all...]
/macosx-10.9.5/CPANInternal-140/DBIx-ContextualFetch/t/
H A D01.t31 { # fetch
33 my @got1 = $sth->fetch;
34 is $got1[1], "Fred", 'fetch @';
35 my $got2 = $sth->fetch;
36 is $got2->[1], "Barney", 'fetch $';
95 $sth->fetch;
98 $sth->fetch;
/macosx-10.9.5/CPANInternal-140/DBIx-ContextualFetch-1.03/t/
H A D01.t31 { # fetch
33 my @got1 = $sth->fetch;
34 is $got1[1], "Fred", 'fetch @';
35 my $got2 = $sth->fetch;
36 is $got2->[1], "Barney", 'fetch $';
95 $sth->fetch;
98 $sth->fetch;
/macosx-10.9.5/CPANInternal-140/Variable-Magic/samples/
H A Dsynopsis.pl19 fetch => sub { $_[2] = $_[1] unless exists $_[0]->{$_[2]}; () },
H A Duvar.pl10 fetch => sub { print STDERR "$_[0] FETCH KEY $_[2]\n" },
H A Dvm_vs_tie.pl18 my $wiz = wizard fetch => sub { 0 },
/macosx-10.9.5/ruby-104/ruby/test/
H A Dtest_tsort.rb8 fetch(node).each(&block)
16 fetch(node).each(&block)
/macosx-10.9.5/tcl-102/tcl_ext/ffidl/ffidl/demos/other/
H A Dtest-gdbm-1.tcl16 puts stdout "$key [gdbm fetch $db $key]"
22 set data [gdbm fetch $db $key]
38 set data [gdbm fetch $db $key]
H A Dtest-gdbm-2.tcl41 set data [gdbm fetch $db $key]
59 set data [gdbm fetch $db $key]
/macosx-10.9.5/ruby-104/ruby/test/drb/
H A Dut_timerholder.rb16 assert_equal(holder.fetch(key), nil)
18 assert_equal(holder.fetch(key), self)
20 assert_equal(holder.fetch(key), true)
/macosx-10.9.5/ruby-104/ruby/sample/
H A Dmine.rb64 if fetch(x,y) == 1 then @over = 1; return end
78 def fetch(x,y) method in class:Board.open
90 fetch(x-1,y-1)+fetch(x,y-1)+fetch(x+1,y-1)+
91 fetch(x-1,y) + fetch(x+1,y)+
92 fetch(x-1,y+1)+fetch(x,y+1)+fetch(
[all...]
/macosx-10.9.5/ruby-104/ruby/test/rubygems/
H A Dtest_gem_stream_ui.rb160 reporter.fetch 'a.gem', 1024
168 reporter.fetch 'a.gem', 1024
182 reporter.fetch 'a.gem', 1024
189 reporter.fetch 'a.gem', 1024
197 reporter.fetch 'a.gem', 1024
206 reporter.fetch 'a.gem', 1024
215 reporter.fetch 'a.gem', nil
224 reporter.fetch 'a.gem', 0
235 reporter.fetch 'a.gem', 1024
/macosx-10.9.5/xnu-2422.115.4/bsd/man/man9/
H A DMakefile15 fetch.9 \
/macosx-10.9.5/ruby-104/ruby/ext/dl/
H A Dextconf.rb38 size = types.fetch(size) {size}
/macosx-10.9.5/CPANInternal-140/DBIx-ContextualFetch/lib/DBIx/
H A DContextualFetch.pm57 sub fetch { subroutine
98 push @row, $cur while $sth->fetch;
126 my $row_ref = $sth->fetch;
127 my @row = $sth->fetch;
142 fetch methods to fix this oversight. It also adds a few new methods for
185 =head2 fetch
187 $row_ref = $sth->fetch;
188 @row = $sth->fetch;
190 A context sensitive version of fetch(). When in scalar context, it will
/macosx-10.9.5/CPANInternal-140/DBIx-ContextualFetch-1.03/lib/DBIx/
H A DContextualFetch.pm57 sub fetch { subroutine
98 push @row, $cur while $sth->fetch;
126 my $row_ref = $sth->fetch;
127 my @row = $sth->fetch;
142 fetch methods to fix this oversight. It also adds a few new methods for
185 =head2 fetch
187 $row_ref = $sth->fetch;
188 @row = $sth->fetch;
190 A context sensitive version of fetch(). When in scalar context, it will
/macosx-10.9.5/BerkeleyDB-21/db/test/
H A Ddbm.tcl45 set d [berkdb fetch $str]
58 set d [berkdb fetch $key]
89 set d [berkdb fetch $key]

Completed in 145 milliseconds

123456789