Searched refs:h2 (Results 1 - 25 of 150) sorted by relevance

123456

/macosx-10.9.5/CPANInternal-140/Readonly/t/
H A Ddeeph.t18 use vars qw/%h1 %h2/;
24 eval {Readonly::Hash1 %h2 => (key1 => \$m1, key2 => {x => 5, z => [1, 2, 3]})};
30 eval {$h2{key1} = 7};
31 is $@ => expected(__LINE__-1), 'Modify h2';
37 eval {${$h2{key1}} = "the"};
38 is $@ => '', 'Deep-modify h2';
39 is $m1 => 'the', 'h2 modification successful';
45 eval {$h2{key2}{z}[2] = 42};
46 is $@ => '', 'Deep-deep modify h2';
47 is $h2{key
[all...]
H A Dreassign.t11 use vars qw($s1 @a1 %h1 $s2 @a2 %h2);
44 Readonly \%h2 => {another => 'hash', of => 'things'};
58 eval q{Readonly \%h2 => {another => "bad", hash => "!"}};
60 ok eq_hash(\%h2, {another => 'hash', of => 'things'}) => 'Readonly Hash reassign no effect';
74 Readonly %h2 => {another => 'hash', of => 'things'};
88 eval q{Readonly %h2 => {another => "bad", hash => "!"}};
90 ok eq_hash(\%h2, {another => 'hash', of => 'things'}) => 'Readonly Hash reassign no effect';
/macosx-10.9.5/CPANInternal-140/Readonly-1.03/t/
H A Ddeeph.t18 use vars qw/%h1 %h2/;
24 eval {Readonly::Hash1 %h2 => (key1 => \$m1, key2 => {x => 5, z => [1, 2, 3]})};
30 eval {$h2{key1} = 7};
31 is $@ => expected(__LINE__-1), 'Modify h2';
37 eval {${$h2{key1}} = "the"};
38 is $@ => '', 'Deep-modify h2';
39 is $m1 => 'the', 'h2 modification successful';
45 eval {$h2{key2}{z}[2] = 42};
46 is $@ => '', 'Deep-deep modify h2';
47 is $h2{key
[all...]
H A Dreassign.t11 use vars qw($s1 @a1 %h1 $s2 @a2 %h2);
44 Readonly \%h2 => {another => 'hash', of => 'things'};
58 eval q{Readonly \%h2 => {another => "bad", hash => "!"}};
60 ok eq_hash(\%h2, {another => 'hash', of => 'things'}) => 'Readonly Hash reassign no effect';
74 Readonly %h2 => {another => 'hash', of => 'things'};
88 eval q{Readonly %h2 => {another => "bad", hash => "!"}};
90 ok eq_hash(\%h2, {another => 'hash', of => 'things'}) => 'Readonly Hash reassign no effect';
/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/image-state-deny-dlclose/
H A Dmain.c46 void* h2 = dlopen("libfoo.dylib", RTLD_LAZY); local
47 if ( h2 == NULL ) {
59 dlclose(h2);
/macosx-10.9.5/dyld-239.4/unit-tests/test-cases/threaded-flat-lookup/
H A Dmain.c33 void* h2 = NULL; variable
43 dlclose(h2);
44 h2 = dlopen("libfoo2.dylib", 0);
45 if ( h2 == NULL ) {
59 h2 = dlopen("libfoo2.dylib", 0);
60 if ( h2 == NULL ) {
/macosx-10.9.5/CPANInternal-140/Test-Simple/t/
H A Dcircular_data.t29 my $h2 = { 1=>1, 2=>2, 3=>3 };
30 $h2->{4} = $h2;
32 is_deeply $h1, $h2;
33 ok( eq_hash ($h1, $h2) );
/macosx-10.9.5/ruby-104/ruby/test/openssl/
H A Dtest_hmac.rb9 @h2 = OpenSSL::HMAC.new(@key, "MD5")
17 @h2.update(@data)
18 assert_equal(@h1.digest, @h2.digest)
23 assert_equal(OpenSSL::HMAC.digest("MD5", @key, @data), @h2.digest, "digest")
24 assert_equal(OpenSSL::HMAC.hexdigest("MD5", @key, @data), @h2.hexdigest, "hexdigest")
/macosx-10.9.5/CF-855.17/
H A DCFBasicHashFindBucket.m70 // probe[i] = (h1(k) + i * h2(k)) mod num_buckets, i = 1 .. num_buckets - 1
72 // h2(k) = floor(k / num_buckets) mod num_buckets
75 uintptr_t h2 = __CFBasicHashFold(hash_code / num_buckets, num_buckets_idx);
78 uintptr_t h2 = (hash_code / num_buckets) % num_buckets;
80 if (0 == h2) h2 = num_buckets - 1;
84 // probe[i] = (h1(k) + pr(k)^i * h2(k)) mod num_buckets, i = 1 .. num_buckets - 1
86 // h2(k) = floor(k / num_buckets) mod num_buckets
87 // note: h2(k) has the effect of rotating the sequence if it is constant
91 uintptr_t h2
[all...]
/macosx-10.9.5/apache-786.1/httpd/srclib/apr/include/
H A Dapr_ring.h326 * Concatenate ring h2 onto the end of ring h1, leaving h2 empty.
328 * @param h2 Head of the ring to concatenate
332 #define APR_RING_CONCAT(h1, h2, elem, link) do { \
333 if (!APR_RING_EMPTY((h2), elem, link)) { \
335 APR_RING_FIRST((h2)), \
336 APR_RING_LAST((h2)), link); \
337 APR_RING_INIT((h2), elem, link); \
342 * Prepend ring h2 onto the beginning of ring h1, leaving h2 empt
[all...]
/macosx-10.9.5/apr-30/apr/apr/include/
H A Dapr_ring.h326 * Concatenate ring h2 onto the end of ring h1, leaving h2 empty.
328 * @param h2 Head of the ring to concatenate
332 #define APR_RING_CONCAT(h1, h2, elem, link) do { \
333 if (!APR_RING_EMPTY((h2), elem, link)) { \
335 APR_RING_FIRST((h2)), \
336 APR_RING_LAST((h2)), link); \
337 APR_RING_INIT((h2), elem, link); \
342 * Prepend ring h2 onto the beginning of ring h1, leaving h2 empt
[all...]
/macosx-10.9.5/CPANInternal-140/Net-DNS/contrib/
H A Dloc2earth.fcgi45 <h2><a href="./">RFC 1876 Resources</a></h2>
/macosx-10.9.5/libxslt-13/libxslt/tests/xmlspec/
H A DW3C-REC.css38 h1, h2, h3, h4, h5, h6 { text-align: left }
39 h1, h2, h3 { color: #005A9C }
41 h2 { font: 140% sans-serif }
79 h1, h2, h3 { stress: 20; richness: 90 }
/macosx-10.9.5/postfix-252/postfix/mantools/
H A Dmakemanidx24 <h2> Information for new Postfix users </h2>
51 <h2> Postfix manual page organization </h2>
87 /^[A-Z].*:$/ { print ul "<h2>", $0, "</h2>\n\n<ul>\n\n"; ul = "</ul>\n\n" }
91 ' | sed 's;: </h2>$; </h2>;'
/macosx-10.9.5/ruby-104/ruby/test/ruby/
H A Dtest_env.rb174 h2 = {}
175 ENV.each_pair {|k, v| h2[k] = v }
176 assert_equal(h1, h2)
182 h2 = {}
183 ENV.each_pair {|k, v| h2[k] = v }
184 assert_equal(h1, h2)
192 h2 = {}
193 ENV.each_pair {|k, v| h2[k] = v }
194 assert_equal(h1, h2)
200 h2
[all...]
H A Dtest_hash.rb220 h2 = @cls[ "a" => 1, "c" => 2, 7 => 35 ]
224 assert(h2 == h2)
227 assert(!(h1 == h2))
228 assert(h2 == h3)
273 h2 = @cls[ 1 => 'one', 2 => 'two' ]
277 assert_equal(h2, h1)
294 h2 = @cls[ 2 => false, 'cat' => 99 ]
306 assert_equal(h2, h.delete_if {|k,v| v.instance_of?(String) })
307 assert_equal(h2,
[all...]
/macosx-10.9.5/CPANInternal-140/Pod-ProjectDocs/lib/Pod/ProjectDocs/
H A DIndexPage.pm52 var listbox = "<div class='box'><h2 class='t2'>"
54 + "</h2><table width='100%'>"
107 <h2 class="t2">Search</h2>
121 <h2 class="t2">[% manager.desc | html %]</h2>
/macosx-10.9.5/CPANInternal-140/Pod-ProjectDocs-0.40/lib/Pod/ProjectDocs/
H A DIndexPage.pm52 var listbox = "<div class='box'><h2 class='t2'>"
54 + "</h2><table width='100%'>"
107 <h2 class="t2">Search</h2>
121 <h2 class="t2">[% manager.desc | html %]</h2>
/macosx-10.9.5/tcl-102/tcl_ext/trf/trf/compat/
H A Dsha.h75 unsigned long h0,h1,h2,h3,h4; member in struct:SHAstate_st
/macosx-10.9.5/xnu-2422.115.4/bsd/net/
H A Dflowhash.c247 u_int64_t h2 = seed, k2; local
263 h1 += h2;
269 h2 ^= k2;
271 h2 = ROTL64(h2, 31);
272 h2 += h1;
273 h2 = h2 * 5+ 0x38495ab5;
305 h2 ^= k2;
338 h2
[all...]
/macosx-10.9.5/CPANInternal-140/Variable-Magic/t/
H A D28-uvar.t77 my %h2 = (a => 37, b => 2, c => 3);
78 cast %h2, $wiz2;
82 $h2{a};
89 $h2{a} = 73;
92 is $h2{a}, 73, 'uvar: store with incomplete magic correctly';
/macosx-10.9.5/tcl-102/tcl_ext/memchan/memchan/htdocs/raw/
H A Ddisclaimer.exp7 <h2>Acknowledgements</h2>
17 <h2>Disclaimer</h2>
/macosx-10.9.5/tcl-102/tcl_ext/trf/trf/htdocs/raw/
H A Ddisclaimer.exp7 <h2>Acknowledgements</h2>
17 <h2>Disclaimer</h2>
/macosx-10.9.5/apache-786.1/httpd/build/
H A Ddefault.pl111 <h2>Package List</h2>
194 <h2>Package Name: $(p.name)</h2>
311 print "<h2>Member Index</h2>\n";
322 print "<h2>Class Variables</h2>\n";
330 print "<h2>Class Methods</h2>\
[all...]
/macosx-10.9.5/CPANInternal-140/Heap/Binomial/
H A DBinomial.pm214 my $h2 = shift;
218 my $el2 = $$h2;
226 # move next h2 elem to head of h list
234 # if h ran out first, move rest of h2 onto end
239 # clean out h2, all of its elements have been move to h
240 $$h2 = undef;
417 my $h2 = $h->new;
421 $child->{sib} = $$h2;
423 $$h2 = $child;
428 $h->absorb($h2);
[all...]

Completed in 375 milliseconds

123456