/dports/lang/p5-List-MoreUtils/List-MoreUtils-0.430/t/inline/ |
H A D | firstidx.pm | 10 is(4999, (firstidx { $_ >= 5000 } @list), "firstidx"); 11 is(-1, (firstidx { not defined } @list), "invalid firstidx"); 12 is(0, (firstidx { defined } @list), "real firstidx"); 13 is(-1, (firstidx {}), "empty firstidx"); 25 firstidx => sub { 26 my $i = firstidx { $_ >= 5000 } @list; 27 my $i2 = firstidx { $_ >= 5000 } 1 .. 10000; 30 is_dying('firstidx without sub' => sub { &firstidx(42, 4711); });
|
/dports/lang/p5-List-MoreUtils-XS/List-MoreUtils-XS-0.430/t/inline/ |
H A D | firstidx.pm | 10 is(4999, (firstidx { $_ >= 5000 } @list), "firstidx"); 11 is(-1, (firstidx { not defined } @list), "invalid firstidx"); 12 is(0, (firstidx { defined } @list), "real firstidx"); 13 is(-1, (firstidx {}), "empty firstidx"); 25 firstidx => sub { 26 my $i = firstidx { $_ >= 5000 } @list; 27 my $i2 = firstidx { $_ >= 5000 } 1 .. 10000; 30 is_dying('firstidx without sub' => sub { &firstidx(42, 4711); });
|
/dports/lang/p5-List-MoreUtils-XS/List-MoreUtils-XS-0.430/t/xs/ |
H A D | firstidx.t | 17 is(4999, (firstidx { $_ >= 5000 } @list), "firstidx"); 18 is(-1, (firstidx { not defined } @list), "invalid firstidx"); 19 is(0, (firstidx { defined } @list), "real firstidx"); 20 is(-1, (firstidx {}), "empty firstidx"); 32 firstidx => sub { 33 my $i = firstidx { $_ >= 5000 } @list; 34 my $i2 = firstidx { $_ >= 5000 } 1 .. 10000; 37 is_dying('firstidx without sub' => sub { &firstidx(42, 4711); });
|
/dports/lang/p5-List-MoreUtils/List-MoreUtils-0.430/t/xs/ |
H A D | firstidx.t | 19 is(4999, (firstidx { $_ >= 5000 } @list), "firstidx"); 20 is(-1, (firstidx { not defined } @list), "invalid firstidx"); 21 is(0, (firstidx { defined } @list), "real firstidx"); 22 is(-1, (firstidx {}), "empty firstidx"); 34 firstidx => sub { 35 my $i = firstidx { $_ >= 5000 } @list; 36 my $i2 = firstidx { $_ >= 5000 } 1 .. 10000; 39 is_dying('firstidx without sub' => sub { &firstidx(42, 4711); });
|
/dports/lang/p5-List-MoreUtils/List-MoreUtils-0.430/t/pureperl/ |
H A D | firstidx.t | 19 is(4999, (firstidx { $_ >= 5000 } @list), "firstidx"); 20 is(-1, (firstidx { not defined } @list), "invalid firstidx"); 21 is(0, (firstidx { defined } @list), "real firstidx"); 22 is(-1, (firstidx {}), "empty firstidx"); 34 firstidx => sub { 35 my $i = firstidx { $_ >= 5000 } @list; 36 my $i2 = firstidx { $_ >= 5000 } 1 .. 10000; 39 is_dying('firstidx without sub' => sub { &firstidx(42, 4711); });
|
/dports/devel/p5-List-Objects-WithUtils/List-Objects-WithUtils-2.028003/t/01_array/ |
H A D | first_index.t | 7 my $firstidx = $arr->firstidx(sub { /^b/ }); 8 ok $firstidx == 1, 'firstidx ok'; 9 ok $arr->first_index(sub { /^b/ }) == $firstidx, 13 'firstidx ok';
|
/dports/devel/p5-List-Objects-WithUtils/List-Objects-WithUtils-2.028003/t/09_autobox_array/ |
H A D | first_index.t | 7 my $firstidx = $arr->firstidx(sub { /^b/ }); 8 ok $firstidx == 1, 'boxed firstidx ok'; 9 ok $arr->first_index(sub { /^b/ }) == $firstidx,
|
/dports/math/SCIP/scip-7.0.3/src/scip/ |
H A D | misc.c | 3982 (*realarray)->firstidx = -1; in SCIPrealarrayCreate() 4006 (*realarray)->firstidx = sourcerealarray->firstidx; in SCIPrealarrayCopy() 4263 else if( idx >= realarray->firstidx && idx < realarray->firstidx + realarray->valssize ) in SCIPrealarraySetVal() 4354 (*intarray)->firstidx = -1; in SCIPintarrayCreate() 4377 (*intarray)->firstidx = sourceintarray->firstidx; in SCIPintarrayCopy() 4634 else if( idx >= intarray->firstidx && idx < intarray->firstidx + intarray->valssize ) in SCIPintarraySetVal() 4743 (*boolarray)->firstidx = sourceboolarray->firstidx; in SCIPboolarrayCopy() 5002 else if( idx >= boolarray->firstidx && idx < boolarray->firstidx + boolarray->valssize ) in SCIPboolarraySetVal() 5075 (*ptrarray)->firstidx = -1; in SCIPptrarrayCreate() 5098 (*ptrarray)->firstidx = sourceptrarray->firstidx; in SCIPptrarrayCopy() [all …]
|
H A D | struct_misc.h | 153 int firstidx; /**< index of first element in vals array */ member 164 int firstidx; /**< index of first element in vals array */ member 175 int firstidx; /**< index of first element in vals array */ member 186 int firstidx; /**< index of first element in vals array */ member
|
H A D | branch_random.c | 73 int firstidx; in getRandomVariable() local 86 firstidx = idx; in getRandomVariable() 92 if( idx == firstidx ) in getRandomVariable()
|
/dports/editors/led/led-2.0/src/modules/vhighlight/ |
H A D | syntax.c | 163 int firstidx; in eatident() local 165 firstidx = *idx; in eatident() 170 return firstidx != *idx; in eatident() 175 int firstidx; in eatnum() local 180 firstidx = *idx; in eatnum() 198 if (firstidx == *idx || inxdigit || decimal) in eatnum() 205 if (firstidx == *idx) in eatnum()
|
/dports/x11/libX11/libX11-1.7.2/src/ |
H A D | IntAtom.c | 71 int n, firstidx, rehash = 0; in _XInternAtom() local 84 firstidx = idx = HASH(sig); in _XInternAtom() 94 nomatch: if (idx == firstidx) in _XInternAtom() 97 if (idx == firstidx) in _XInternAtom() 127 int firstidx, rehash; in _XUpdateAtomCache() local 142 firstidx = idx = HASH(sig); in _XUpdateAtomCache() 147 while (idx != firstidx && dpy->atoms->table[idx]); in _XUpdateAtomCache()
|
/dports/math/ipopt/Ipopt-3.12.13/Ipopt/examples/ScalableProblems/ |
H A D | MittelmannBndryCntrlDiri3Dsin.cpp | 618 Index firstidx = ij; in hessstruct() local 619 iRow[ihes] = firstidx; in hessstruct() 622 iRow[ihes] = firstidx; in hessstruct() 625 iRow[ihes] = firstidx; in hessstruct() 628 iRow[ihes] = firstidx; in hessstruct() 645 firstidx = imj; in hessstruct() 649 iRow[ihes] = firstidx; in hessstruct() 652 iRow[ihes] = firstidx; in hessstruct() 659 firstidx = ipj; in hessstruct() 673 firstidx = ijm; in hessstruct() [all …]
|
/dports/textproc/p5-Makefile-DOM/Makefile-DOM-0.008/lib/MDOM/ |
H A D | Element.pm | 234 my $position = List::MoreUtils::firstidx { 257 my $position = List::MoreUtils::firstidx { 282 my $position = List::MoreUtils::firstidx { 305 my $position = List::MoreUtils::firstidx {
|
H A D | Node.pm | 496 my $p = List::MoreUtils::firstidx { 690 List::MoreUtils::firstidx { refaddr $_ == $key } @{$_[0]->{children}}; 697 my $p = List::MoreUtils::firstidx { 713 my $p = List::MoreUtils::firstidx { 729 my $p = List::MoreUtils::firstidx {
|
/dports/databases/p5-Redis-JobQueue/Redis-JobQueue-1.19/t/01_JobQueue/ |
H A D | 14_get_job_data.t | 81 splice @job_fields, ( firstidx { $_ eq 'meta_data' } @job_fields ), 1; 304 …is $result[ firstidx { $_ eq 'status' } @$fields ], $job->status, 'standard field OK… 305 …is $result[ firstidx { $_ eq 'foo' } @$fields ], $job->meta_data( 'foo' ), 'meta_data field O… 306 is $result[ firstidx { $_ eq 'fake' } @$fields ], undef, 'fake field OK'; 307 is $result[ firstidx { ref( $_ ) } @$fields ], undef, 'bad field OK';
|
/dports/cad/qflow/qflow-1.4.98/scripts/ |
H A D | pinmanager.py.in | 733 firstidx = lastidx = -1 757 if firstidx != lastidx: 760 compgroup['pins'].append(currroot + delim1 + str(firstidx) + delim2) 762 firstidx = lastidx = pinidx 764 if firstidx != lastidx: 768 elif firstidx != -1: 770 compgroup['pins'].append(currroot + delim1 + str(firstidx) + delim2) 780 firstidx = lastidx = pinidx 783 if firstidx != lastidx: 786 elif firstidx != -1: [all …]
|
/dports/security/gpgme/gpgme-1.15.1/src/ |
H A D | import.c | 332 int idx, firstidx, nkeys; in _gpgme_op_import_keys_start() local 348 for (idx=nkeys=0, firstidx=-1; keys[idx]; idx++) in _gpgme_op_import_keys_start() 353 if (firstidx == -1) in _gpgme_op_import_keys_start() 354 firstidx = idx; in _gpgme_op_import_keys_start() 359 if (keys[idx]->keylist_mode != keys[firstidx]->keylist_mode) in _gpgme_op_import_keys_start()
|
/dports/security/gpgme-qt5/gpgme-1.15.1/src/ |
H A D | import.c | 332 int idx, firstidx, nkeys; in _gpgme_op_import_keys_start() local 348 for (idx=nkeys=0, firstidx=-1; keys[idx]; idx++) in _gpgme_op_import_keys_start() 353 if (firstidx == -1) in _gpgme_op_import_keys_start() 354 firstidx = idx; in _gpgme_op_import_keys_start() 359 if (keys[idx]->keylist_mode != keys[firstidx]->keylist_mode) in _gpgme_op_import_keys_start()
|
/dports/security/gpgme-cpp/gpgme-1.15.1/src/ |
H A D | import.c | 332 int idx, firstidx, nkeys; in _gpgme_op_import_keys_start() local 348 for (idx=nkeys=0, firstidx=-1; keys[idx]; idx++) in _gpgme_op_import_keys_start() 353 if (firstidx == -1) in _gpgme_op_import_keys_start() 354 firstidx = idx; in _gpgme_op_import_keys_start() 359 if (keys[idx]->keylist_mode != keys[firstidx]->keylist_mode) in _gpgme_op_import_keys_start()
|
/dports/security/py-gpgme/gpgme-1.15.1/src/ |
H A D | import.c | 332 int idx, firstidx, nkeys; in _gpgme_op_import_keys_start() local 348 for (idx=nkeys=0, firstidx=-1; keys[idx]; idx++) in _gpgme_op_import_keys_start() 353 if (firstidx == -1) in _gpgme_op_import_keys_start() 354 firstidx = idx; in _gpgme_op_import_keys_start() 359 if (keys[idx]->keylist_mode != keys[firstidx]->keylist_mode) in _gpgme_op_import_keys_start()
|
/dports/games/taisei/taisei-1.3.2/src/renderer/gles20/ |
H A D | gles20.c | 30 static void gles20_draw_indexed(VertexArray *varr, Primitive prim, uint firstidx, uint count, uint … in gles20_draw_indexed() argument 40 gles20_ibo_index_t *indices = ibuf->elements + firstidx; in gles20_draw_indexed()
|
/dports/math/couenne/Couenne-releases-0.5.8/Couenne/src/cut/sdpcuts/ |
H A D | dsyevx_wrapper.cpp | 54 int firstidx, in dsyevx_interface() argument 79 int il = firstidx; // index of the eigenvalue to be returned 1=first in dsyevx_interface()
|
/dports/devel/p5-forks/forks-0.36/lib/forks/ |
H A D | signals.pm | 33 if ((my $idx = List::MoreUtils::firstidx( 52 if ((my $idx = List::MoreUtils::firstidx(
|
/dports/devel/p5-List-SomeUtils/List-SomeUtils-0.58/lib/List/SomeUtils/ |
H A D | PP.pm | 104 sub firstidx (&@) { subroutine 205 my $c = &firstidx( $f, @$list ); 214 my $c = firstidx { defined $_ and $string eq $_ } @$list;
|