App: regression/framework Page: sequence/a_membership_check_of_an_expression_is_made_for_each_run
PHP
|
HTML
sequence/a_membership_check_of_an_expression_is_made_for_each_run.pad
|
Result
|
|
{sequence '2;3', name='n'}[{sequence '1..12', keep, eval='@*$n'}{$sequence} {/sequence}]{/sequence}
|
|
App: regression/framework Page: sequence/a_walk_to_the_ceiling_in_stretches_has_the_time_one_run_has
PHP
sequence/a_walk_to_the_ceiling_in_stretches_has_the_time_one_run_has.php
|
HTML
sequence/a_walk_to_the_ceiling_in_stretches_has_the_time_one_run_has.pad
|
Result
|
<?php
// A short reach, so the walk to the ceiling begins at once, and a quarter of a second for // a run: the walk for 50001, which the expression never makes (an odd position is made // negative), is held to it for all its stretches together.
$padSeqDefaultTries = 100; $padSeqMaxSeconds = 0.25;
?>
|
{set $t = php:hrtime(TRUE)}[{sequence '50001;3', keep, eval='@ % 2 eq 0 ? @ : 0 - @'}{$sequence} {/sequence}]{if (php:hrtime(TRUE) - $t) lt 450000000}held to the time a run has{else}past it{/if}
|
|
App: regression/framework Page: sequence/keep_remove_and_flag_look_for_a_value_within_the_ceiling_as_far_as_the_value
PHP
sequence/keep_remove_and_flag_look_for_a_value_within_the_ceiling_as_far_as_the_value.php
|
HTML
sequence/keep_remove_and_flag_look_for_a_value_within_the_ceiling_as_far_as_the_value.pad
|
Result
|
<?php
// A default reach of 100 candidates, so the values asked about stand past the terms made // first: each is looked for as far as itself, whatever the terms made so far would project.
$padSeqDefaultTries = 100;
// The walks run far - a second or more of candidates - and the gate fetches twelve cases at // once: the five seconds a sequence has by default ran out on a busy machine and the // answer came back short. The budget is not what this case asserts. Nor is PHP's own limit: // on a loaded machine the walk took more than its 30 seconds of processor time and the // case ended on "Maximum execution time exceeded".
$padSeqMaxSeconds = 60;
set_time_limit ( 120 );
?>
|
[{sequence '150;500;1000;4000', keep, eval='@ + 1'}{$sequence} {/sequence}][{sequence '150;500;1000;4000', flag, eval='@ + 10'}{$sequence}{/sequence}][{sequence '1000;300;101', keep, eval='@ + 100'}{$sequence} {/sequence}][{sequence '200;400;600', keep, ceil=200}{$sequence} {/sequence}][{sequence '120;240', keep, floor=120}{$sequence} {/sequence}][{sequence '300;600;900', keep, round=300}{$sequence} {/sequence}][{sequence '500;1000;1500', remove, floor=500}{$sequence} {/sequence}][{sequence '202;203;6', keep, eval='@ le 100 ? @ * 3 : @ + 1'}{$sequence} {/sequence}][{sequence '500;7', keep, eval='@ le 100 ? 101 - @ : @'}{$sequence} {/sequence}]
|
|
App: regression/framework Page: sequence/keep_remove_and_flag_of_an_expression_or_a_draw_make_what_the_values_need
PHP
sequence/keep_remove_and_flag_of_an_expression_or_a_draw_make_what_the_values_need.php
|
HTML
sequence/keep_remove_and_flag_of_an_expression_or_a_draw_make_what_the_values_need.pad
|
Result
|
<?php
// A default reach of 100 candidates, so the terms an expression is looked in are made by the // hundred: as far as a value among them, as far as the position a value past them is reached // at, and no further for one the terms do not head for. A ceiling of 2000 candidates, so // 810000 and 810001 stand past it, where that estimate decides - a value within the ceiling // is looked for as far as itself, and 810001 would take the 810,001 terms of '@ ** 2'.
$padSeqDefaultTries = 100; $padSeqMaxTries = 2000;
?>
|
[{sequence '1;99;100;101', flag, eval='100 - @'}{$sequence}{/sequence}][{sequence '0;1;5', flag, eval='@ % 4'}{$sequence}{/sequence}][{sequence '-1500;-1499;-1', flag, eval='0 - @'}{$sequence}{/sequence}][{sequence '810000;810001;16', flag, eval='@ ** 2'}{$sequence}{/sequence}][{sequence '9223372036854775807;9223372036854775806;4', flag, eval='@ * 2'}{$sequence}{/sequence}][{sequence '9223372036854775807;4', flag, eval='abc'}{$sequence}{/sequence}][{sequence '1..3', name='i'}{sequence '1..6', keep, eval='@*2'}{$sequence}{/sequence}|{/sequence}][{sequence '1..3', name='i'}{sequence '1..6', keep, eval='@*$i'}{$sequence}{/sequence}|{/sequence}][{sequence '1..20', keep, chance=1, count}{$sequence}{/sequence}][{sequence '1;5;2000', flag, chance=1}{$sequence}{/sequence}]
|
|
App: regression/framework Page: sequence/membership_hands_the_parameter_over_as_a_value
PHP
|
HTML
sequence/membership_hands_the_parameter_over_as_a_value.pad
|
Result
|
|
[{sequence '0..6', flag, eval='@*2'}{$sequence}{/sequence}][{sequence '0..6', keep, eval='@ * 3'}{$sequence} {/sequence}][{sequence '1..5', make, eval='@*2', keep, eval='@*4'}{$sequence} {/sequence}]
|
|
App: sequence Page: keepRemoveFlag/eval
|