view release on metacpan or search on metacpan
lib/App/Test/Generator.pm view on Meta::CPAN
=item * Optional static corpus tests from Perl C<%cases> or YAML file (C<yaml_cases> key)
=item * Functional or OO mode (via C<$new>)
=item * Reproducible runs via C<$seed> and configurable iterations via C<$iterations>
=back
=head1 MUTATION-GUIDED TEST GENERATION
lib/App/Test/Generator.pm view on Meta::CPAN
=head3 C<$seed>
An optional integer.
When provided, the generated C<t/fuzz.t> will call C<srand($seed)> so fuzz runs are reproducible.
=head3 C<$iterations>
An optional integer controlling how many fuzz iterations to perform (default 30).
=head3 C<%edge_cases>
An optional hash mapping of extra values to inject.
lib/App/Test/Generator.pm view on Meta::CPAN
=head3 C<%edge_case_array>
Specify edge case values for routines that accept a single unnamed parameter.
This is specifically designed for simple functions that take one argument without a parameter name.
These edge cases supplement the normal random string generation, ensuring specific problematic values are always tested.
During fuzzing iterations, there's a 40% probability that a test case will use a value from edge_case_array instead of randomly generated data.
---
module: Text::Processor
function: sanitize
lib/App/Test/Generator.pm view on Meta::CPAN
- "emojiðtest"
- ""
- " "
seed: 42
iterations: 30
=head3 Semantic Data Generators
For property-based testing with L<Test::LectroTest>,
you can use semantic generators to create realistic test data.
lib/App/Test/Generator.pm view on Meta::CPAN
=over 4
=item * Traditional edge-case tests for boundary conditions
=item * Random fuzzing with 30 iterations (or as configured)
=item * Property-based tests that verify the transforms with 1000 trials each
=back
lib/App/Test/Generator.pm view on Meta::CPAN
config:
properties:
enable: true
trials: 5000
iterations: 0 # Disable random fuzzing, use only property tests
=head3 When to Use Property-Based Testing
Property-based testing with transforms is particularly useful for:
lib/App/Test/Generator.pm view on Meta::CPAN
=item * Seeds RND (if configured) for reproducible fuzz runs
=item * Uses edge cases (per-field and per-type) with configurable probability
=item * Runs C<$iterations> fuzz cases plus appended edge-case runs
=item * Validates inputs with Params::Get / Params::Validate::Strict
=item * Validates outputs with L<Return::Set>
lib/App/Test/Generator.pm view on Meta::CPAN
# in the function form with a hashref the first arg IS the hashref.
my $class = (ref($_[0]) ne 'HASH') ? shift : undef;
my ($schema_file, $test_file, $schema);
# Globals loaded from the user's conf (all optional except function maybe)
my ($module, $function, $new, $yaml_cases);
my ($seed, $iterations);
if((ref($_[0]) eq 'HASH') || defined($_[2])) {
# Modern API
my $params = Params::Validate::Strict::validate_strict({
args => Params::Get::get_params(undef, \@_),
lib/App/Test/Generator.pm view on Meta::CPAN
if(exists($schema->{new})) {
$new = defined($schema->{'new'}) ? $schema->{new} : '_UNDEF';
}
$yaml_cases = $schema->{yaml_cases} if(exists($schema->{yaml_cases}));
$seed = $schema->{seed} if(exists($schema->{seed}));
$iterations = $schema->{iterations} if(exists($schema->{iterations}));
my @edge_case_array = @{$schema->{edge_case_array}} if(exists($schema->{edge_case_array}));
_validate_config($schema);
my %config = %{$schema->{config}} if(exists($schema->{config}));
lib/App/Test/Generator.pm view on Meta::CPAN
_validate_module($module, $schema_file);
}
# sensible defaults
$function ||= 'run';
$iterations ||= DEFAULT_ITERATIONS; # default fuzz runs if not specified
$seed = undef if defined $seed && $seed eq ''; # treat empty as undef
# --- YAML corpus support (yaml_cases is filename string) ---
my %yaml_corpus_data;
if (defined $yaml_cases) {
lib/App/Test/Generator.pm view on Meta::CPAN
}
}
}
}
# Prepare seed/iterations code fragment for the generated test
my $seed_code = '';
if (defined $seed) {
# ensure integer-ish
$seed = int($seed);
$seed_code = "srand($seed);\n";
lib/App/Test/Generator.pm view on Meta::CPAN
corpus_code => $corpus_code,
call_code => $call_code,
position_code => $position_code,
determinism_code => $determinism_code,
function => $function,
iterations_code => int($iterations),
use_properties => $use_properties,
transform_properties_code => $transform_properties_code,
property_trials => $config{properties}{trials} // DEFAULT_PROPERTY_TRIALS,
relationships_code => $relationships_code,
module => $module
lib/App/Test/Generator.pm view on Meta::CPAN
return @properties;
}
=head1 NOTES
C<seed> and C<iterations> really should be within C<config>.
=head1 SEE ALSO
=over 4
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/Timestamper.pm view on Meta::CPAN
=head2 Some use cases
Some people asked me what is B<timestamper> useful for, so I'll try to
explain because I wrote the first version out of a need.
Let's suppose you have a simulation that outputs a "Reached $N iterations"
line after every certain number of iterations. Like so:
Reached 100000 iterations
Reached 200000 iterations
Reached 300000 iterations
.
.
.
You wish to draw a graph of iterations vs. time to analyse the performance
of the program. So what you can do is pipe it through B<timestamper> and then
get:
1435254285.978485482\tReached 100000 iterations
1435254302.569615087\tReached 200000 iterations
1435254319.809459781\tReached 300000 iterations
And after putting it in a file (using "tee" or whatever), you can filter
the lines like this:
perl -lane 'print "$1\t$2" if /\A([0-9\.]+)\tReached ([0-9]+) iterations\z/'
And get a nice tab-separated-value report of the time stamps in seconds and
the iterations which you can plot using your favourite spreadsheet program
or visualation framework.
Hope it helps.
=head1 COMMON REQUESTS
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/cpanminus/fatscript.pm view on Meta::CPAN
version 2.150005
=head1 DESCRIPTION
The CPAN Meta Spec has gone through several iterations. It was
originally written in HTML and later revised into POD (though published
in HTML generated from the POD). Fields were added, removed or changed,
sometimes by design and sometimes to reflect real-world usage after the
fact.
view all matches for this distribution
view release on metacpan or search on metacpan
bin/id3shit view on Meta::CPAN
}
elsif(-f $_ && $_ =~ m;\.mp3$;) {
push(@mp3, $_);
}
}
print "find_mp3(): $i iterations\n" if($DEBUG);
return(\@mp3);
}
sub show_info {
my @files = @_;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/karr/Foundation.pm view on Meta::CPAN
# { outcome => progress|idle|common-error|error, exit => N }.
sub _drain_repo {
my ( $self, $repo, $karr, $cmd ) = @_;
my $max_runtime = $karr->{max_runtime} // 1800;
my $max_attempts = $karr->{max_attempts} // 2;
my $max_iter = $karr->{max_iterations} // 50;
my $drain = exists $karr->{drain} ? $karr->{drain} : 1;
my $patterns = $self->_error_patterns( $karr );
# Use the resolved command, not $karr->{command}
$cmd //= $karr->{command};
lib/App/karr/Foundation.pm view on Meta::CPAN
command: claude -p "$PROMPT" # explicit command; wins over claude: true
on_idle: skip # 'skip' (default) | 'always-run'
max_runtime: 1800 # seconds: per-command SIGKILL (0 = no limit)
drain: true # loop until drained (default) | false for single run
max_attempts: 2 # stalls on one task before auto-block (default: 2)
max_iterations: 50 # hard cap on drain iterations (default: 50)
cooldown_base: 1 # cooldown minutes at level 0 (default: 1)
cooldown_max: 64 # cooldown ceiling in minutes (default: 64)
error_patterns: # extra case-insensitive substrings â common-error
- my custom api error
view all matches for this distribution
view release on metacpan or search on metacpan
xt/nofork.t view on Meta::CPAN
# Estimate time with a single run of each mode
my $t_nofork = _wallclock(sub { run("'-Mmd::config(table=1,rule=1)' $big_md") });
my $t_fork = _wallclock(sub { run("'-Mmd::config(table=1,rule=1,nofork=0)' $big_md") });
my $est = ($t_nofork + $t_fork) * $n;
diag "";
diag sprintf "Benchmark: %d iterations, 10x tables (est. %.0f sec)", $n, $est;
my $done = 0;
my $total = $n * 2;
my $started = time;
view all matches for this distribution
view release on metacpan or search on metacpan
t/samples/percona-compiled.txt view on Meta::CPAN
neighbors from buffer pool), when flushing a block
--innodb-flush-sync Allow IO bursts at the checkpoints ignoring io_capacity
setting.
(Defaults to on; use --skip-innodb-flush-sync to disable.)
--innodb-flushing-avg-loops=#
Number of iterations over which the background flushing
is averaged.
--innodb-force-load-corrupted
Force InnoDB to load metadata of corrupted table.
--innodb-force-recovery=#
Helps to save your data in case the disk image of the
view all matches for this distribution
view release on metacpan or search on metacpan
script/perlall view on Meta::CPAN
Runs a short perl-core benchmark, and optionally a third-party script,
automatically until the benchmark statistically stabilizes.
Rejects statistical outliers, heavy load, and does the
iterations up to 2 seconds on shorter scripts.
Tested are array access, hash access, s///, in a tak with
recursion and tail-recursion without IO to prevent too many
external influences, though perl typically shines on IO.
view all matches for this distribution
view release on metacpan or search on metacpan
--blank-lines-before-packages=0
--iterations=2
--no-outdent-long-comments
--character-encoding=none
-b
-bar
-boc
view all matches for this distribution
view release on metacpan or search on metacpan
--blank-lines-before-packages=0
--iterations=2
--no-outdent-long-comments
-b
-bar
-boc
-ci=4
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/remarkpl/public/remark.min.js view on Meta::CPAN
}),e.COMMENT("#cs","#ce"),e.COMMENT("#comments-start","#comments-end")]},n={begin:"\\$[A-z0-9_]+"},i={className:"string",variants:[{begin:/"/,end:/"/,contains:[{begin:/""/,relevance:0}]},{begin:/'/,end:/'/,contains:[{begin:/''/,relevance:0}]}]},l={va...
beginKeywords:"class interface",end:/[{;=]/,illegal:/[^\s:]/,contains:[e.TITLE_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE]},{beginKeywords:"namespace",end:/[{;=]/,illegal:/[^\s:]/,contains:[e.inherit(e.TITLE_MODE,{begin:"[a-zA-Z](\\.?\\w)*"}),...
},a={className:"params",begin:/\(/,end:/\)/,excludeBegin:!0,excludeEnd:!0},r={className:"symbol",variants:[{begin:/\=[lgenxc]=/},{begin:/\$/}]},s={className:"comment",variants:[{begin:"'",end:"'"},{begin:'"',end:'"'}],illegal:"\\n",contains:[e.BACKSL...
},{begin:":\\s*"+t}]}]}}},{name:"hsp",create:function(e){return{case_insensitive:!0,lexemes:/[\w\._]+/,keywords:"goto gosub return break repeat loop continue wait await dim sdim foreach dimtype dup dupptr end stop newmod delmod mref run exgoto on mca...
},contains:[t,{className:"keyword",begin:"\\bend\\sif\\b"},{className:"function",beginKeywords:"function",end:"$",contains:[t,s,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.BINARY_NUMBER_MODE,e.C_NUMBER_MODE,r]},{className:"function",begin:"\\bend\\s+",e...
contains:[{className:"comment",begin:/\(\*/,end:/\*\)/},e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,e.C_NUMBER_MODE,{begin:/\{/,end:/\}/,illegal:/:/}]}}},{name:"matlab",create:function(e){var t=[e.C_NUMBER_MODE,{className:"string",begin:"'",end:"'",contai...
illegal:"</",contains:[e.C_NUMBER_MODE,e.APOS_STRING_MODE,e.QUOTE_STRING_MODE,{className:"string",begin:"`",end:"`",contains:[e.BACKSLASH_ESCAPE]},{begin:"[\\$\\%\\@](\\^\\w\\b|#\\w+|[^\\s\\w{]|{\\w+}|\\w+)"},e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_M...
contains:[i]});return{aliases:["ps"],lexemes:/-?[A-z\.\-]+/,case_insensitive:!0,keywords:{keyword:"if else foreach return function do while until elseif begin for trap data dynamicparam end break throw param continue finally in switch exit filter try...
},{className:"meta",begin:"#\\!?\\[",end:"\\]",contains:[{className:"meta-string",begin:/"/,end:/"/}]},{className:"class",beginKeywords:"type",end:";",contains:[e.inherit(e.UNDERSCORE_TITLE_MODE,{endsParent:!0})],illegal:"\\S"},{className:"class",beg...
literal:"true false nil"},contains:[e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,e.NUMBER_MODE,a,t.preprocessor],illegal:/#/}}},{name:"sql",create:function(e){var t=e.COMMENT("--","$");return{case_insensitive:!0,illegal:/[<>{}*#]/,contains:[{beginKey...
return{aliases:["styl"],case_insensitive:!1,keywords:"if else for in",illegal:"("+o.join("|")+")",contains:[e.QUOTE_STRING_MODE,e.APOS_STRING_MODE,e.C_LINE_COMMENT_MODE,e.C_BLOCK_COMMENT_MODE,a,{begin:"\\.[a-zA-Z][a-zA-Z0-9_-]*"+i,returnBegin:!0,cont...
built_in:"ip eip rip al ah bl bh cl ch dl dh sil dil bpl spl r8b r9b r10b r11b r12b r13b r14b r15b ax bx cx dx si di bp sp r8w r9w r10w r11w r12w r13w r14w r15w eax ebx ecx edx esi edi ebp esp eip r8d r9d r10d r11d r12d r13d r14d r15d rax rbx rcx rdx...
"atelier-lakeside-light":".hljs-atelier-lakeside-light .hljs-comment,.hljs-atelier-lakeside-light .hljs-quote{color:#5a7b8c}.hljs-atelier-lakeside-light .hljs-variable,.hljs-atelier-lakeside-light .hljs-template-variable,.hljs-atelier-lakeside-light ...
view all matches for this distribution
view release on metacpan or search on metacpan
share/revealjs/plugin/highlight/highlight.esm.js view on Meta::CPAN
function e(t){return(e="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(t)}function t(e,t){if(!(...
/*!
* reveal.js plugin that adds syntax highlight support.
*/
var of={id:"highlight",HIGHLIGHT_STEP_DELIMITER:"|",HIGHLIGHT_LINE_DELIMITER:",",HIGHLIGHT_LINE_RANGE_DELIMITER:"-",hljs:rf,init:function(e){var t=e.getConfig().highlight||{};t.highlightOnLoad="boolean"!=typeof t.highlightOnLoad||t.highlightOnLoad,t....
view all matches for this distribution
view release on metacpan or search on metacpan
--blank-lines-before-packages=0
--iterations=2
--no-outdent-long-comments
-b
-bar
-boc
-ci=4
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/sshca.pm view on Meta::CPAN
=back
=head1 FUTURE DEVELOPMENT
The current version stores the certificate data in the filesystem. Next iterations
should be more flexible and contain configurable storage backends, e.g. using DBI
which would allow storing the data in SQLite or PostgreSQL.
=head1 SEE ALSO
view all matches for this distribution
view release on metacpan or search on metacpan
.perltidyrc view on Meta::CPAN
--nohtml
--html-entities
--html-table-of-contents
--indent-block-comments
--indent-columns=4
--iterations=1
--keep-old-blank-lines=1
--nologfile
--long-block-line-count=8
--look-for-autoloader
--look-for-selfloader
view all matches for this distribution
view release on metacpan or search on metacpan
lib/App/wmiirc/Role/Fade.pm view on Meta::CPAN
1-($self->_fade_pos/$self->fade_count),
$self->fade_end_color,
$self->_fade_pos/$self->fade_count);
}
# Go on to the next position, return true if there are more iterations left.
sub fade_next {
my($self) = @_;
if($self->_fade_pos == $self->fade_count - 1) {
return 0;
} else {
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ArangoDB2/Traversal.pm view on Meta::CPAN
(optional, ANDed with any existing filters): visits only nodes in at most the given depth
=item maxIterations
(optional): Maximum number of iterations in each traversal. This number can be set to prevent endless loops in traversal of cyclic graphs. When a traversal performs as many iterations as the maxIterations value, the traversal will abort with an error...
=item minDepth
(optional, ANDed with any existing filters): visits only nodes in at least the given depth
view all matches for this distribution
view release on metacpan or search on metacpan
--blank-lines-before-packages=0
--iterations=2
--no-outdent-long-comments
-bar
-boc
-ci=4
-i=4
view all matches for this distribution
view release on metacpan or search on metacpan
xt/lib/ATWDumbbench.pm view on Meta::CPAN
my $name = $instance->_name_prefix;
$self->{atw_measure_map}->{ $instance->name } = $result->number;
$formatted .= sprintf(
"%sRan %u iterations (%u outliers).\n",
$name,
scalar( @{ $instance->timings } ),
scalar( @{ $instance->timings } ) - $result->nsamples
);
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Array/Each.pm view on Meta::CPAN
Any value is valid for C<undef>.
=item C<stop>, set_stop( INDEX ), get_stop()
The C<stop> attribute tells each() where to stop its iterations. By
default, C<stop> is undefined, meaning each() will stop where it wants,
depending on C<bound>, C<group>, and the sizes of the arrays.
If C<bound> is true and C<stop> is set higher than C<$#shortest_array>,
then C<stop> will have no effect (it will never be reached). If it is
view all matches for this distribution
view release on metacpan or search on metacpan
t/01-basics.t view on Meta::CPAN
last R;
}
}
}
ok($seen_shuffled, "result is shuffled") or
diag("not seeing result shuffled after $num_repeat iterations");
}
};
}
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ArrayData/Lingua/Word/EN/Enable.pm view on Meta::CPAN
alliterate
alliterated
alliterates
alliterating
alliteration
alliterations
alliterative
alliteratively
allium
alliums
alloantibodies
lib/ArrayData/Lingua/Word/EN/Enable.pm view on Meta::CPAN
iterate
iterated
iterates
iterating
iteration
iterations
iterative
iteratively
iterum
ither
ithyphallic
lib/ArrayData/Lingua/Word/EN/Enable.pm view on Meta::CPAN
literatenesses
literates
literati
literatim
literation
literations
literator
literators
literature
literatures
literatus
lib/ArrayData/Lingua/Word/EN/Enable.pm view on Meta::CPAN
obliterate
obliterated
obliterates
obliterating
obliteration
obliterations
obliterative
obliterator
obliterators
oblivion
oblivions
lib/ArrayData/Lingua/Word/EN/Enable.pm view on Meta::CPAN
reiterate
reiterated
reiterates
reiterating
reiteration
reiterations
reiterative
reiteratively
reive
reived
reiver
lib/ArrayData/Lingua/Word/EN/Enable.pm view on Meta::CPAN
transliterate
transliterated
transliterates
transliterating
transliteration
transliterations
translocate
translocated
translocates
translocating
translocation
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ArrayData/Word/EN/Enable.pm view on Meta::CPAN
alliterate
alliterated
alliterates
alliterating
alliteration
alliterations
alliterative
alliteratively
allium
alliums
alloantibodies
lib/ArrayData/Word/EN/Enable.pm view on Meta::CPAN
iterate
iterated
iterates
iterating
iteration
iterations
iterative
iteratively
iterum
ither
ithyphallic
lib/ArrayData/Word/EN/Enable.pm view on Meta::CPAN
literatenesses
literates
literati
literatim
literation
literations
literator
literators
literature
literatures
literatus
lib/ArrayData/Word/EN/Enable.pm view on Meta::CPAN
obliterate
obliterated
obliterates
obliterating
obliteration
obliterations
obliterative
obliterator
obliterators
oblivion
oblivions
lib/ArrayData/Word/EN/Enable.pm view on Meta::CPAN
reiterate
reiterated
reiterates
reiterating
reiteration
reiterations
reiterative
reiteratively
reive
reived
reiver
lib/ArrayData/Word/EN/Enable.pm view on Meta::CPAN
transliterate
transliterated
transliterates
transliterating
transliteration
transliterations
translocate
translocated
translocates
translocating
translocation
view all matches for this distribution
view release on metacpan or search on metacpan
benchmark/advice.pl view on Meta::CPAN
# Benchmark a variety of different Aspect use cases.
#
# Set 1 shows the main Aspect uses with Sub::Uplevel 0.22
#
# C:\cpan\trunk\Aspect>perl -Mblib benchmark\advice.pl
# Benchmark: timing 500000 iterations of after, after_returning, after_throwing, around, before, control, deep1, deep10, deep5...
# after: 14 wallclock secs (12.76 usr + 0.00 sys = 12.76 CPU) @ 39181.88/s (n=500000)
# after_returning: 15 wallclock secs (13.56 usr + 0.02 sys = 13.57 CPU) @ 36840.55/s (n=500000)
# after_throwing: 14 wallclock secs (13.31 usr + 0.00 sys = 13.31 CPU) @ 37574.21/s (n=500000)
# around: 26 wallclock secs (23.53 usr + 0.00 sys = 23.53 CPU) @ 21253.99/s (n=500000)
# before: 4 wallclock secs ( 3.82 usr + 0.00 sys = 3.82 CPU) @ 130821.56/s (n=500000)
# control: 0 wallclock secs ( 0.09 usr + 0.00 sys = 0.09 CPU) @ 5319148.94/s (n=500000)
# (warning: too few iterations for a reliable count)
# deep1: 40 wallclock secs (37.99 usr + 0.00 sys = 37.99 CPU) @ 13162.40/s (n=500000)
# deep10: 26 wallclock secs (23.24 usr + 0.02 sys = 23.26 CPU) @ 21496.13/s (n=500000)
# deep5: 34 wallclock secs (31.79 usr + 0.00 sys = 31.79 CPU) @ 15726.73/s (n=500000)
#
#
#
#
# Set 2 shows the main Aspect uses with the frame warning in Sub::Uplevel disabled
#
# C:\cpan\trunk\Aspect>perl -Mblib benchmark\advice.pl
# Benchmark: timing 500000 iterations of after, after_returning, after_throwing, around, before, control, deep1, deep10, deep5...
# after: 5 wallclock secs ( 6.12 usr + 0.00 sys = 6.12 CPU) @ 81766.15/s (n=500000)
# after_returning: 7 wallclock secs ( 7.33 usr + 0.00 sys = 7.33 CPU) @ 68194.22/s (n=500000)
# after_throwing: 7 wallclock secs ( 6.33 usr + 0.00 sys = 6.33 CPU) @ 78951.52/s (n=500000)
# around: 9 wallclock secs ( 9.13 usr + 0.00 sys = 9.13 CPU) @ 54788.52/s (n=500000)
# before: 4 wallclock secs ( 3.87 usr + 0.00 sys = 3.87 CPU) @ 129232.36/s (n=500000)
# control: 1 wallclock secs ( 0.08 usr + 0.00 sys = 0.08 CPU) @ 6410256.41/s (n=500000)
# (warning: too few iterations for a reliable count)
# deep1: 11 wallclock secs (10.72 usr + 0.00 sys = 10.72 CPU) @ 46650.49/s (n=500000)
# deep10: 9 wallclock secs ( 9.14 usr + 0.00 sys = 9.14 CPU) @ 54698.61/s (n=500000)
# deep5: 10 wallclock secs (10.27 usr + 0.00 sys = 10.27 CPU) @ 48709.21/s (n=500000)
use strict;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AsposeCellsCloud/Object/FormulaSettings.pm view on Meta::CPAN
read_only => '',
},
'max_iteration' => {
datatype => 'int',
base_name => 'MaxIteration',
description => 'The maximum iterations to resolve a circular reference. ',
format => '',
read_only => '',
},
'max_change' => {
datatype => 'double',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/AsposeTasksCloud/TasksApi.pm view on Meta::CPAN
# @param String $taskUid (required)
# @param String $type (optional)
# @param String $optimistic (optional)
# @param String $pessimistic (optional)
# @param String $level (optional)
# @param String $iterations (optional)
# @param String $storage (optional)
# @param String $folder (optional)
# @param String $fileName (optional)
# @return ResponseMessage
#
lib/AsposeTasksCloud/TasksApi.pm view on Meta::CPAN
croak("Missing the required parameter 'taskUid' when calling GetRiskAnalysisReport");
}
# parse inputs
my $_resource_path = '/tasks/{name}/riskAnalysisReport/?taskUid={taskUid}&appSid={appSid}&type={type}&optimistic={optimistic}&pessimistic={pessimistic}&level={level}&iterations={iterations}&storage={storage}&folder...
$_resource_path =~ s/\Q&\E/&/g;
$_resource_path =~ s/\Q\/?\E/?/g;
$_resource_path =~ s/\QtoFormat={toFormat}\E/format={format}/g;
$_resource_path =~ s/\Q{path}\E/{Path}/g;
lib/AsposeTasksCloud/TasksApi.pm view on Meta::CPAN
if ( exists $args{'level'}) {
$_resource_path =~ s/\Q{level}\E/$args{'level'}/g;
}else{
$_resource_path =~ s/[?&]level.*?(?=&|\?|$)//g;
}# query params
if ( exists $args{'iterations'}) {
$_resource_path =~ s/\Q{iterations}\E/$args{'iterations'}/g;
}else{
$_resource_path =~ s/[?&]iterations.*?(?=&|\?|$)//g;
}# query params
if ( exists $args{'storage'}) {
$_resource_path =~ s/\Q{storage}\E/$args{'storage'}/g;
}else{
$_resource_path =~ s/[?&]storage.*?(?=&|\?|$)//g;
view all matches for this distribution
view release on metacpan or search on metacpan
Cosmology.pm view on Meta::CPAN
All integrations are performed using Romberg's method, which
is an iterative scheme using progressively higher-degree
polynomial approximations. The method stops when the answer
converges (ie the absolute difference in the values from the
last two iterations is smaller than the C<ABSTOL>
parameter, which is described in the L<new|/new> method).
Typically, the romberg integration scheme produces greater
accuracy for smooth functions when compared to simpler
methods (e.g. Simpson's method) while having little extra
view all matches for this distribution
view release on metacpan or search on metacpan
libnova-0.15.0/ltmain.sh view on Meta::CPAN
*)
# Relative path, prepend $cwd.
func_normal_abspath_tpath=`pwd`/$func_normal_abspath_tpath
;;
esac
# Cancel out all the simple stuff to save iterations. We also want
# the path to end with a slash for ease of parsing, so make sure
# there is one (and only one) here.
func_normal_abspath_tpath=`$ECHO "$func_normal_abspath_tpath" | $SED \
-e "$removedotparts" -e "$collapseslashes" -e "$finalslash"`
while :; do
view all matches for this distribution
view release on metacpan or search on metacpan
erfasrc/src/plan94.c view on Meta::CPAN
/* Sin and cos of J2000.0 mean obliquity (IAU 1976) */
static const double SINEPS = 0.3977771559319137;
static const double COSEPS = 0.9174820620691818;
/* Maximum number of iterations allowed to solve Kepler's equation */
static const int KMAX = 10;
int jstat, i, k;
double t, da, dl, de, dp, di, dom, dmu, arga, argl, am,
ae, dae, ae2, at, r, v, si2, xq, xp, tl, xsw,
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Astro/Sunrise.pm view on Meta::CPAN
b) Re-do the computation but compute the Sun's RA and Decl, and also GMST0, for the moment
of sunrise or sunset last computed.
c) Iterate b) until the computed sunrise or sunset no longer changes significantly.
Usually 2 iterations are enough, in rare cases 3 or 4 iterations may be needed.
This parameter is optional. It can be positional (#9).
=back
view all matches for this distribution