Home
last modified time | relevance | path

Searched refs:ary (Results 1 – 25 of 2351) sorted by relevance

12345678910>>...95

/dports/textproc/py-pygments-25/Pygments-2.5.2/tests/examplefiles/
H A Dexample.c289 RARRAY(ary)->aux.capa = RARRAY(ary)->len;
523 to_a(ary) in to_a() argument
687 rb_mem_clear(RARRAY(ary)->ptr + RARRAY(ary)->len,
749 rb_ary_store(ary, RARRAY(ary)->len, item);
787 RARRAY(ary)->aux.capa = RARRAY(ary)->len * 2;
790 return RARRAY(ary)->ptr[--RARRAY(ary)->len];
896 MEMMOVE(RARRAY(ary)->ptr + 1, RARRAY(ary)->ptr, VALUE, RARRAY(ary)->len);
1130 return RARRAY(ary)->ptr[RARRAY(ary)->len-1];
1321 rb_mem_clear(RARRAY(ary)->ptr + RARRAY(ary)->len, beg - RARRAY(ary)->len);
1868 data.ary = ary;
[all …]
/dports/textproc/py-pygments/Pygments-2.7.2/tests/examplefiles/
H A Dexample.c289 RARRAY(ary)->aux.capa = RARRAY(ary)->len;
523 to_a(ary) in to_a() argument
687 rb_mem_clear(RARRAY(ary)->ptr + RARRAY(ary)->len,
749 rb_ary_store(ary, RARRAY(ary)->len, item);
787 RARRAY(ary)->aux.capa = RARRAY(ary)->len * 2;
790 return RARRAY(ary)->ptr[--RARRAY(ary)->len];
896 MEMMOVE(RARRAY(ary)->ptr + 1, RARRAY(ary)->ptr, VALUE, RARRAY(ary)->len);
1130 return RARRAY(ary)->ptr[RARRAY(ary)->len-1];
1321 rb_mem_clear(RARRAY(ary)->ptr + RARRAY(ary)->len, beg - RARRAY(ary)->len);
1868 data.ary = ary;
[all …]
/dports/lang/ruby26/ruby-2.6.9/spec/ruby/core/array/
H A Dconcat_spec.rb6 ary = [1,2,3]
7 ary.concat([4,5,6]).equal?(ary).should be_true
11 ary = [1, 2, 3]
12 ary.concat([9, 10, 11]).should equal(ary)
14 ary.concat([])
20 ary.concat(ary).should == ["x", "y", "x", "y"]
46 ary.taint
54 ary = [1,2]
74 ary.untrust
122 ary.concat ary, ary
[all …]
/dports/lang/perl5.34/perl-5.34.0/cpan/Scalar-List-Utils/t/
H A Dhead-tail.t10 my @ary;
17 is( $ary[0], 4 );
21 is( $ary[0], 4 );
22 is( $ary[1], 5 );
26 is( $ary[0], 4 );
27 is( $ary[1], 5 );
31 is( $ary[0], 4 );
42 @ary = head 0;
45 @ary = head 5;
84 @ary = tail 0;
[all …]
/dports/lang/perl5.30/perl-5.30.3/cpan/Scalar-List-Utils/t/
H A Dhead-tail.t10 my @ary;
17 is( $ary[0], 4 );
21 is( $ary[0], 4 );
22 is( $ary[1], 5 );
26 is( $ary[0], 4 );
27 is( $ary[1], 5 );
31 is( $ary[0], 4 );
42 @ary = head 0;
45 @ary = head 5;
84 @ary = tail 0;
[all …]
/dports/lang/perl5.32/perl-5.32.1/cpan/Scalar-List-Utils/t/
H A Dhead-tail.t10 my @ary;
17 is( $ary[0], 4 );
21 is( $ary[0], 4 );
22 is( $ary[1], 5 );
26 is( $ary[0], 4 );
27 is( $ary[1], 5 );
31 is( $ary[0], 4 );
42 @ary = head 0;
45 @ary = head 5;
84 @ary = tail 0;
[all …]
/dports/lang/p5-Scalar-List-Utils/Scalar-List-Utils-1.60/t/
H A Dhead-tail.t10 my @ary;
17 is( $ary[0], 4 );
21 is( $ary[0], 4 );
22 is( $ary[1], 5 );
26 is( $ary[0], 4 );
27 is( $ary[1], 5 );
31 is( $ary[0], 4 );
42 @ary = head 0;
45 @ary = head 5;
84 @ary = tail 0;
[all …]
/dports/lang/perl5-devel/perl5-5.35.4-102-ge43d289c7c/cpan/Scalar-List-Utils/t/
H A Dhead-tail.t10 my @ary;
17 is( $ary[0], 4 );
21 is( $ary[0], 4 );
22 is( $ary[1], 5 );
26 is( $ary[0], 4 );
27 is( $ary[1], 5 );
31 is( $ary[0], 4 );
42 @ary = head 0;
45 @ary = head 5;
84 @ary = tail 0;
[all …]
/dports/lang/ruby26/ruby-2.6.9/
H A Darray.c309 ary_heap_free_ptr(ary, ARY_HEAP_PTR(ary), ARY_HEAP_SIZE(ary)); in ary_heap_free()
1099 return ary_make_partial(ary, rb_obj_class(ary), 0, RARRAY_LEN(ary)); in ary_make_shared_copy()
2820 ary = rb_ary_dup(ary); in rb_ary_sort()
3189 VALUE ary = arg->ary; in select_bang_i() local
3207 VALUE ary = arg->ary; in select_bang_ensure() local
3253 args.ary = ary; in rb_ary_select_bang()
3501 VALUE ary = arg->ary; in reject_bang_i() local
3520 args.ary = ary; in ary_reject_bang()
3908 ary_mem_clear(ary, RARRAY_LEN(ary), end - RARRAY_LEN(ary)); in rb_ary_fill()
4978 ary = rb_ary_dup(ary); in rb_ary_compact()
[all …]
/dports/sysutils/cfengine317/cfengine-3.17.0/tests/acceptance/01_vars/02_functions/staging/
H A Dparsestringarray_weird_indices_real_comments3.cf114 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
115 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
116 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
118 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
119 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
120 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
129 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
130 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
132 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
133 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
H A Dparsestringarray_weird_indices_real_comments2.cf113 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
114 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
115 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
117 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
118 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
119 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
128 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
129 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
131 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
132 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
H A Dparsestringarray_weird_indices_change_comment_parsing2.cf117 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
118 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
119 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
121 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
122 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
123 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
132 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
133 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
135 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
136 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
H A Dparsestringarray_weird_indices_duplicates_trailing_newlines2.cf120 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
121 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
122 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
124 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
125 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
126 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
135 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
136 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
138 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
139 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
/dports/sysutils/cfengine316/cfengine-3.16.0/tests/acceptance/01_vars/02_functions/staging/
H A Dparsestringarray_weird_indices_real_comments2.cf113 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
114 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
115 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
117 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
118 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
119 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
128 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
129 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
131 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
132 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
H A Dparsestringarray_weird_indices_real_comments3.cf114 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
115 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
116 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
118 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
119 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
120 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
129 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
130 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
132 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
133 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
/dports/sysutils/cfengine/cfengine-3.19.0/tests/acceptance/01_vars/02_functions/staging/
H A Dparsestringarray_weird_indices_real_comments2.cf113 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
114 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
115 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
117 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
118 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
119 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
128 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
129 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
131 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
132 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
H A Dparsestringarray_weird_indices_real_comments3.cf114 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
115 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
116 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
118 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
119 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
120 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
129 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
130 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
132 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
133 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
/dports/sysutils/cfengine-devel/core-d08ae9eff/tests/acceptance/01_vars/02_functions/staging/
H A Dparsestringarray_weird_indices_real_comments2.cf113 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
114 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
115 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
117 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
118 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
119 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
128 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
129 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
131 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
132 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
H A Dparsestringarray_weird_indices_real_comments3.cf114 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
115 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
116 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
118 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
119 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
120 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
129 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
130 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
132 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
133 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
/dports/sysutils/cfengine318/cfengine-3.18.1/tests/acceptance/01_vars/02_functions/staging/
H A Dparsestringarray_weird_indices_real_comments2.cf113 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
114 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
115 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
117 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
118 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
119 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
128 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
129 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
131 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
132 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
H A Dparsestringarray_weird_indices_real_comments3.cf114 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
115 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
116 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
118 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
119 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
120 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
129 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
130 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
132 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
133 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
/dports/sysutils/cfengine319/cfengine-3.19.0/tests/acceptance/01_vars/02_functions/staging/
H A Dparsestringarray_weird_indices_real_comments2.cf113 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
114 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
115 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
117 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
118 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
119 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
128 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
129 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
131 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
132 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
H A Dparsestringarray_weird_indices_real_comments3.cf114 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
115 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
116 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
118 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
119 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
120 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
129 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
130 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
132 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
133 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]
/dports/lang/ruby26/ruby-2.6.9/test/openssl/
H A Dtest_x509name.rb17 ary = name.to_a
35 ary = name.to_a
48 ary = name.to_a
60 ary = name.to_a
74 ary = name.to_a
110 ary = name.to_a
154 ary = name.to_a
160 ], ary
168 ary = name.to_a
262 ary = name.to_a
[all …]
/dports/sysutils/cfengine317/cfengine-3.17.0/tests/acceptance/01_vars/02_functions/
H A D447.cf116 "expected test.ary[0][0] = '0', saw '$(test.ary[0][0])'";
117 "expected test.ary[0][1] = '1', saw '$(test.ary[0][1])'";
118 "expected test.ary[0][2] = '2', saw '$(test.ary[0][2])'";
120 "expected test.ary[1][0] = '1', saw '$(test.ary[1][0])'";
121 "expected test.ary[1][1] = '2', saw '$(test.ary[1][1])'";
122 "expected test.ary[1][2] = '3', saw '$(test.ary[1][2])'";
131 "expected test.ary[3][2] = '', saw '$(test.ary[3][2])'";
132 "expected test.ary[3][3] = '', saw '$(test.ary[3][3])'";
134 "expected test.ary[3][5] = '', saw '$(test.ary[3][5])'";
135 "expected test.ary[3][6] = '', saw '$(test.ary[3][6])'";
[all …]

12345678910>>...95