view release on metacpan or search on metacpan
lib/Algorithm/Munkres.pm view on Meta::CPAN
=head1 EXPORT
"assign" function by default.
=head1 INPUT
The input matrix should be in a two dimensional array(array of
array) and the 'assign' subroutine expects a reference to this
array and not the complete array.
eg:assign(\@inp_mat, \@out_mat);
The second argument to the assign subroutine is the reference
to the output array.
=head1 OUTPUT
The assign subroutine expects references to two arrays as its
input paramenters. The second parameter is the reference to the
output array. This array is populated by assign subroutine. This
array is single dimensional Nx1 matrix.
view all matches for this distribution
view release on metacpan or search on metacpan
p->dim_map = newHV();
p->rev_map = newHV();
p->main_table = table_init();
SvREFCNT_inc(RETVAL);
OUTPUT:
RETVAL
void
add_arc(pagerank p, ...)
hv_store(results, reskey, len, curval, 0);
}
array_delete(result);
RETVAL = newRV((SV *)results);
clear(aTHX_ p);
OUTPUT:
RETVAL
void
DESTROY(pagerank p)
PREINIT:
view all matches for this distribution
view release on metacpan or search on metacpan
if(!reset_combination(RETVAL, av, r)) {
XSRETURN_UNDEF;
}
}
OUTPUT:
RETVAL
void
next(self)
Permute *self
view all matches for this distribution
view release on metacpan or search on metacpan
AV *ret = get_hash_values(ret_hash);
SvREFCNT_dec((SV*) ret_hash);
RETVAL = newRV_noinc((SV*) ret);
OUTPUT:
RETVAL
void
_AQT_delete(self, object)
SV *self
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Algorithm/RandomMatrixGeneration.pm view on Meta::CPAN
0 8.469 1 3.565 2 0.839 3 0.127
0 2.719 1 2.748 2 0.604 3 6.929
0 0.946 1 3.771 2 5.939 3 1.344
0 1.638 1 11.346 2 0.016
=head1 INPUTS
The generateMatrix function can take 4 parameters:
=over 4
lib/Algorithm/RandomMatrixGeneration.pm view on Meta::CPAN
=item 2. Single dimensional array containing column marginals (Can be real valued or integers)
=item 3. Precision: For the integer valued marginal specifying "-". For real valued marginals specify the required precision for the generated matrix values. (Recommended Precision = 4)
=item 4. Seed: Seed for the random number generator (Default: None) (Optional parameter)
=back
=head1 OUTPUT
The generateMatrix function returns a two dimensional array containing the generated random matrix.
The generated matrix is stored in sparse format in this returned array. That is, only non-zero values
are stored in this matrix. Thus to access the values in the returned matrix one can use:
view all matches for this distribution
view release on metacpan or search on metacpan
RectanglesContainingDot_XS.xs view on Meta::CPAN
struct algorithm *
new(klass)
SV *klass
CODE:
RETVAL = allocate_algorithm(aTHX);
OUTPUT:
RETVAL
void
DESTROY(self)
struct algorithm *self
view all matches for this distribution
view release on metacpan or search on metacpan
SAVETMPS;
PUSHMARK(sp);
XPUSHs(a);
XPUSHs(b);
PUTBACK;
numres=call_sv(SvRV(callback), G_SCALAR);
SPAGAIN;
retnum = POPi;
} else {
retnum = 0;
}
PUTBACK;
FREETMPS;
LEAVE;
return retnum;
}
view all matches for this distribution
view release on metacpan or search on metacpan
double
DataSet::_getLabel()
CODE:
RETVAL = THIS->getLabel();
OUTPUT:
RETVAL
void
DataSet::_setLabel(l)
double l
double
DataSet::_getAttribute(k)
int k
CODE:
RETVAL = THIS->getAttribute(k);
OUTPUT:
RETVAL
void
DataSet::_setAttribute(k,v)
int k
int
DataSet::_getIndexAt(i)
int i
CODE:
RETVAL = THIS->getIndexAt(i);
OUTPUT:
RETVAL
double
DataSet::_getValueAt(i)
int i
CODE:
RETVAL = THIS->getValueAt(i);
OUTPUT:
RETVAL
int
DataSet::_getMaxI()
CODE:
RETVAL = THIS->getMaxI();
OUTPUT:
RETVAL
void
DataSet::DESTROY()
int
SVM::_train(retrain)
int retrain
CODE:
RETVAL = THIS->train(retrain);
OUTPUT:
RETVAL
double
SVM::_crossValidate(nfolds)
int nfolds
CODE:
RETVAL = THIS->crossValidate(nfolds);
OUTPUT:
RETVAL
double
SVM::_predict_value(ds)
DataSet *ds
CODE:
RETVAL = THIS->predict_value(ds);
OUTPUT:
RETVAL
double
SVM::_predict(ds)
DataSet *ds
CODE:
RETVAL = THIS->predict(ds);
OUTPUT:
RETVAL
int
SVM::_saveModel(filename)
char *filename
CODE:
RETVAL = THIS->saveModel(filename);
OUTPUT:
RETVAL
int
SVM::_loadModel(filename)
char *filename
CODE:
RETVAL = THIS->loadModel(filename);
OUTPUT:
RETVAL
int
SVM::_getNRClass()
CODE:
RETVAL = THIS->getNRClass();
OUTPUT:
RETVAL
void
SVM::_getLabels(classes)
int classes
double
SVM::_getSVRProbability()
CODE:
RETVAL = THIS->getSVRProbability();
OUTPUT:
RETVAL
int
SVM::_checkProbabilityModel()
CODE:
RETVAL = THIS->checkProbabilityModel();
OUTPUT:
RETVAL
void
SVM::_setSVMType(st)
int st
int
SVM::_getSVMType()
CODE:
RETVAL = THIS->getSVMType();
OUTPUT:
RETVAL
void
SVM::_setKernelType(kt)
int kt
int
SVM::_getKernelType()
CODE:
RETVAL = THIS->getKernelType();
OUTPUT:
RETVAL
void
SVM::_setGamma(g)
double g
double
SVM::_getGamma()
CODE:
RETVAL = THIS->getGamma();
OUTPUT:
RETVAL
void
SVM::_setDegree(d)
int d
double
SVM::_getDegree()
CODE:
RETVAL = THIS->getDegree();
OUTPUT:
RETVAL
void
SVM::_setCoef0(c)
double c
double
SVM::_getCoef0()
CODE:
RETVAL = THIS->getCoef0();
OUTPUT:
RETVAL
void
SVM::_setC(c)
double c
double
SVM::_getC()
CODE:
RETVAL = THIS->getC();
OUTPUT:
RETVAL
void
SVM::_setNu(n)
double n
double
SVM::_getNu()
CODE:
RETVAL = THIS->getNu();
OUTPUT:
RETVAL
void
SVM::_setEpsilon(e)
double e
double
SVM::_getEpsilon()
CODE:
RETVAL = THIS->getEpsilon();
OUTPUT:
RETVAL
void
SVM::DESTROY()
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Algorithm/SVMLight.xs view on Meta::CPAN
PUSHMARK(SP);
XPUSHs(sv_2mortal(newSVnv(rankvalue[i])));
XPUSHs(sv_2mortal(newSVnv(rankvalue[j])));
XPUSHs(sv_2mortal(newSVnv(docs[i]->costfactor)));
XPUSHs(sv_2mortal(newSVnv(docs[j]->costfactor)));
PUTBACK ;
count = call_sv(callback, G_SCALAR);
SPAGAIN;
if (count != 1)
croak("Expected 1 return value from ranking callback, but got %d", count);
result = POPn;
PUTBACK;
FREETMPS;
LEAVE;
return result;
}
lib/Algorithm/SVMLight.xs view on Meta::CPAN
? classify_example_linear(model, d)
: classify_example(model, d));
RETVAL = dist;
}
OUTPUT:
RETVAL
void
_write_model(SV *self, char *modelfile)
CODE:
lib/Algorithm/SVMLight.xs view on Meta::CPAN
av_push(result, newSVnv(m->lin_weights[i]));
}
RETVAL = newRV_noinc((SV*) result);
}
OUTPUT:
RETVAL
void
_read_model(SV *self, char *modelfile)
CODE:
lib/Algorithm/SVMLight.xs view on Meta::CPAN
int
num_features (SV *self)
CODE:
RETVAL = (get_corpus(self))->num_features;
OUTPUT:
RETVAL
int
num_instances (SV *self)
CODE:
RETVAL = (get_corpus(self))->num_docs;
OUTPUT:
RETVAL
void
DESTROY(SV *self)
view all matches for this distribution
view release on metacpan or search on metacpan
Statistic.xs view on Meta::CPAN
PUSHMARK(SP);
EXTEND(SP, 2);
PUSHs(x);
PUSHs(y);
PUTBACK;
call_sv(compare_, G_SCALAR);
SPAGAIN;
int const ret = POPi;
PUTBACK;
FREETMPS;
LEAVE;
return ret;
Statistic.xs view on Meta::CPAN
warn(e.what());
XSRETURN_UNDEF;
}
}
OUTPUT: RETVAL
SV *
median(SV *array_ref, ...)
PROTOTYPE: $;&
Statistic.xs view on Meta::CPAN
warn(e.what());
XSRETURN_UNDEF;
}
}
OUTPUT: RETVAL
view all matches for this distribution
view release on metacpan or search on metacpan
num2=(((num2 << 5) + num2) + (num2 >> 0x1b)) ^ numPtr[1];
numPtr+=2;
}
unsigned int ret = (num + (num2 * 0x5d588b65));
RETVAL = ret;
OUTPUT:
RETVAL
view all matches for this distribution
view release on metacpan or search on metacpan
ToNumber.xs view on Meta::CPAN
double sin_val;
CODE:
(void)class;
parse_suricata_week(timestamp, &sin_val, NULL);
RETVAL = sin_val;
OUTPUT:
RETVAL
view all matches for this distribution
view release on metacpan or search on metacpan
examples/conference.html view on Meta::CPAN
<div id="tooltip-track"></div>
</div>
<script>
// =============================================================================
// INPUT: Raw conference data (sent to server)
// Each talk: [start_minutes, end_minutes, title, speaker, track]
// =============================================================================
var INPUT = [
[540, 570, "Registration & Colloidal Silver Reception", "", "break"],
[570, 615, "Opening Keynote: Why Facts Have a Liberal Bias", "George Sorostein", "keynote"],
[615, 660, "Flat Earth Arrays: Why Your Data Won't Round", "Kyrie Irvington", "beginner"],
[615, 660, "5G Mind Control: A Networking Deep Dive", "Karen McWiFi", "advanced"],
[615, 705, "Workshop: Space Lasers and Serverless Architecture", "Margarine Trailer Queen", "workshop"],
examples/conference.html view on Meta::CPAN
[930, 975, "Closing Keynote: Doing Your Own Research", "Tucker Carlsplaining", "keynote"],
[975, 1080, "Conference Social & Adrenochrome Tasting", "", "break"]
];
// =============================================================================
// OUTPUT: Pre-computed by Algorithm::TimelinePacking (returned from server)
// Times normalized to start at 0, arranged into non-overlapping lines
// =============================================================================
var EARLIEST = 540; // Original start time (9:00 AM)
var LATEST = 540; // Duration in minutes (until 6:00 PM)
examples/conference.html view on Meta::CPAN
item.append("div").attr("class", "legend-color").style("background", COLORS[track]);
item.append("span").text(LABELS[track]);
});
// Stats
d3.select("#stats").text(INPUT.length + ' sessions arranged in ' + lines.length + ' rooms | Conference runs ' + fmt(EARLIEST) + ' - ' + fmt(EARLIEST + LATEST));
</script>
</body>
</html>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Algorithm/TrunkClassifier.pm view on Meta::CPAN
#Classifier arguments
my $CLASSIFY = "loocv"; #Classification procedure (loocv|split|dual)
my $SPLITPERCENT = 20; #Percentage of samples to use as test set when using -c split
my $TESTSET = ""; #Name of test dataset when using -c dual
my $CLASSNAME = "TISSUE"; #Name of classification variable
my $OUTPUT = "."; #Name of output folder
my $LEVELS = 0; #Number of levels in decision trunks (forced)
my $PROSPECT = ""; #Check input data without running classifier
my $SUPPFILE = ""; #File containing class information
my $VERBOSE = 0; #Report progress during classifier run
my $USEALL = 0; #Circumvent level selection and use all trunks for classification
lib/Algorithm/TrunkClassifier.pm view on Meta::CPAN
#Description: Wrapper function for running the decision trunk classifier
#Parameters: Command line arguments
#Return value: None
sub runClassifier{
#Handle commands line arguments
my $processor = Algorithm::TrunkClassifier::CommandProcessor->new(\$CLASSIFY, \$SPLITPERCENT, \$TESTSET, \$CLASSNAME, \$OUTPUT, \$LEVELS, \$PROSPECT, \$SUPPFILE, \$VERBOSE, \$USEALL, \$DATAFILE);
$processor->processCmd(@_);
#Read input data
if($VERBOSE){
print("Trunk classifier: Reading input data\n");
lib/Algorithm/TrunkClassifier.pm view on Meta::CPAN
}
}
}
#Run cross validation loop
Algorithm::TrunkClassifier::Classification->trainAndClassify($dataWrapper, $testset, $CLASSIFY, $SPLITPERCENT, $TESTSET, $CLASSNAME, $OUTPUT, $LEVELS, $VERBOSE, $DATAFILE, $USEALL);
}
return 1;
view all matches for this distribution
view release on metacpan or search on metacpan
SV *ret = Nullsv;
I32 i;
ENTER; SAVETMPS; PUSHMARK(sp);
XPUSHs(sv_2mortal(newSVpv(key,klen)));
PUTBACK;
if (perl_call_sv(keypfx, G_SCALAR))
ret = *PL_stack_sp--;
SPAGAIN;
i = SvTRUE(ret);
FREETMPS; LEAVE;
SV *ret = Nullsv;
ENTER; SAVETMPS; PUSHMARK(sp);
XPUSHs(sv_2mortal(newSVpv(key,klen)));
XPUSHs(sv_2mortal(newSVsv(val)));
PUTBACK;
if (perl_call_sv(deref, G_SCALAR))
ret = *PL_stack_sp--;
SPAGAIN;
deref_this = SvTRUE(ret);
FREETMPS; LEAVE;
dSP;
SV *ret = Nullsv;
ENTER; PUSHMARK(sp);
XPUSHs(sv_2mortal(newSVpv(key,klen)));
PUTBACK;
if (perl_call_sv(attrpfx, G_SCALAR))
ret = *PL_stack_sp--;
SPAGAIN; LEAVE;
key = SvPV(ret, len);
klen = len;
view all matches for this distribution
view release on metacpan or search on metacpan
share/static/alice.js view on Meta::CPAN
if (!methods) {
Object.extend(Form, Form.Methods);
Object.extend(Form.Element, Form.Element.Methods);
Object.extend(Element.Methods.ByTag, {
"FORM": Object.clone(Form.Methods),
"INPUT": Object.clone(Form.Element.Methods),
"SELECT": Object.clone(Form.Element.Methods),
"TEXTAREA": Object.clone(Form.Element.Methods),
"BUTTON": Object.clone(Form.Element.Methods)
});
}
share/static/alice.js view on Meta::CPAN
element.setStyle(originalStyles);
this._prepared = false;
},
_compute: function(property) {
var COMPUTATIONS = Element.Layout.COMPUTATIONS;
if (!(property in COMPUTATIONS)) {
throw "Property not found.";
}
return this._set(property, COMPUTATIONS[property].call(this, this.element));
},
toObject: function() {
var args = $A(arguments);
var keys = (args.length === 0) ? Element.Layout.PROPERTIES :
share/static/alice.js view on Meta::CPAN
Object.extend(Element.Layout, {
PROPERTIES: $w('height width top left right bottom border-left border-right border-top border-bottom padding-left padding-right padding-top padding-bottom margin-top margin-bottom margin-left margin-right padding-box-width padding-box-height bord...
COMPOSITE_PROPERTIES: $w('padding-box-width padding-box-height margin-box-width margin-box-height border-box-width border-box-height'),
COMPUTATIONS: {
'height': function(element) {
if (!this._preComputing) this._begin();
var bHeight = this.get('border-box-height');
if (bHeight <= 0) {
share/static/alice.js view on Meta::CPAN
}
}
});
if ('getBoundingClientRect' in document.documentElement) {
Object.extend(Element.Layout.COMPUTATIONS, {
'right': function(element) {
var parent = hasLayout(element.getOffsetParent());
var rect = element.getBoundingClientRect(),
pRect = parent.getBoundingClientRect();
share/static/alice.js view on Meta::CPAN
if(!Object.isUndefined(Draggable._dragging[this.element]) &&
Draggable._dragging[this.element]) return;
if(Event.isLeftClick(event)) {
var src = Event.element(event);
if((tag_name = src.tagName.toUpperCase()) && (
tag_name=='INPUT' ||
tag_name=='SELECT' ||
tag_name=='OPTION' ||
tag_name=='BUTTON' ||
tag_name=='TEXTAREA')) return;
share/static/alice.js view on Meta::CPAN
var element;
if(e.target) element=e.target;
else if(e.srcElement) element=e.srcElement;
if(element.nodeType==3) element=element.parentNode;
if(element.tagName == 'INPUT' || element.tagName == 'TEXTAREA') return;
}
if (e.keyCode) code = e.keyCode;
else if (e.which) code = e.which;
var character = String.fromCharCode(code).toLowerCase();
view all matches for this distribution
view release on metacpan or search on metacpan
corpus/libpalindrome/aclocal.m4 view on Meta::CPAN
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
# dependency, and given that the user is not expected to run this macro,
# just rely on AC_PROG_CC.
AC_DEFUN([_AM_DEPENDENCIES],
[AC_REQUIRE([AM_SET_DEPDIR])dnl
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
AC_REQUIRE([AM_DEP_TRACK])dnl
m4_if([$1], [CC], [depcc="$CC" am_compiler_list=],
[$1], [CXX], [depcc="$CXX" am_compiler_list=],
corpus/libpalindrome/aclocal.m4 view on Meta::CPAN
# This file is free software; the Free Software Foundation
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
# _AM_OUTPUT_DEPENDENCY_COMMANDS
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[{
# Older Autoconf quotes --file arguments for eval, but not when files
# are listed without --file. Let's play safe and only enable the eval
# if we detect the quoting.
case $CONFIG_FILES in
corpus/libpalindrome/aclocal.m4 view on Meta::CPAN
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
}
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
# AM_OUTPUT_DEPENDENCY_COMMANDS
# -----------------------------
# This macro should only be invoked once -- use via AC_REQUIRE.
#
# This code is only required when automatic dependency tracking
# is enabled. FIXME. This creates each '.P' file that we will
# need in order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
[AC_CONFIG_COMMANDS([depfiles],
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
])
# Do all the work for Automake. -*- Autoconf -*-
view all matches for this distribution
view release on metacpan or search on metacpan
main()
INIT:
CODE:
printf("Boost version %s", BOOST_LIB_VERSION);
RETVAL = 1;
OUTPUT:
RETVAL
EOM
xs_ok $xs, with_subtest {
ok(Boost::Headers::main());
view all matches for this distribution
view release on metacpan or search on metacpan
main()
INIT:
CODE:
boost::program_options::options_description generic("Generic options");
RETVAL = 1;
OUTPUT:
RETVAL
EOM
xs_ok $xs, with_subtest {
ok(Boost::ProgramOptions::main());
view all matches for this distribution
view release on metacpan or search on metacpan
main()
INIT:
CODE:
boost::program_options::options_description generic("Generic options");
RETVAL = 1;
OUTPUT:
RETVAL
EOM
xs_ok $xs, with_subtest {
ok(Boost::main());
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Test/Alien/Synthetic.pm view on Meta::CPAN
void *archive_read_new(class);
const char *class;
CODE:
RETVAL = (void*) archive_read_new();
OUTPUT:
RETVAL
void archive_read_free(class, ptr);
const char *class;
void *ptr;
view all matches for this distribution
view release on metacpan or search on metacpan
# will cause the unnecessary failure to build this module.
use constant CFITSIO_VERSION => '4.6.2';
# allow tweaks for testing.
# DON'T USE THIS UNLESS YOU LIKE TO PUT YOUR HAND ON A HOT STOVE.
use constant ( { map { uc($_) => $_ } 'exact_version', 'atleast_version' } );
my %VersionMatchEnvs = (
ALIEN_CFITSIO_EXACT_VERSION => EXACT_VERSION,
view all matches for this distribution
view release on metacpan or search on metacpan
int
test2(input_value);
unsigned char input_value;
CODE:
RETVAL = test2(input_value);
OUTPUT:
RETVAL
view all matches for this distribution
view release on metacpan or search on metacpan
t/01-compile.t view on Meta::CPAN
RETVAL= 1;
flb_destroy(ctx);
} else {
RETVAL= 0;
}
OUTPUT:
RETVAL
view all matches for this distribution
view release on metacpan or search on metacpan
patches/FreeImage-3.17.0-ALL-IN-ONE.patch view on Meta::CPAN
+ "dpax.w.ph $ac0, %[" #I13 "], %[" #I1 "] \n\t" \
+ "dpa.w.ph $ac0, %[" #I14 "], %[" #I3 "] \n\t" \
+ "dpax.w.ph $ac0, %[" #I15 "], %[" #I10 "] \n\t" \
+ "mflo %[" #O0 "], $ac0 \n\t"
#define OUTPUT_EARLY_CLOBBER_REGS_17() \
OUTPUT_EARLY_CLOBBER_REGS_10(), \
@@ -77,69 +77,69 @@
// A - offset in bytes to load from src and ref buffers
// TEMP0..TEMP3 - registers for corresponding tmp elements
#define HORIZONTAL_PASS(A, TEMP0, TEMP1, TEMP2, TEMP3) \
- "lw %["#TEMP0"], 0(%[args]) \n\t" \
patches/FreeImage-3.17.0-ALL-IN-ONE.patch view on Meta::CPAN
+ "usw %[" #IO0 "], "XSTR(I13)"*" #I9 "(%[" #I8 "]) \n\t" \
+ "usw %[" #IO2 "], "XSTR(I13)"*" #I10 "(%[" #I8 "]) \n\t" \
+ "usw %[" #IO4 "], "XSTR(I13)"*" #I11 "(%[" #I8 "]) \n\t" \
+ "usw %[" #IO6 "], "XSTR(I13)"*" #I12 "(%[" #I8 "]) \n\t"
#define OUTPUT_EARLY_CLOBBER_REGS_10() \
: [temp1]"=&r"(temp1), [temp2]"=&r"(temp2), [temp3]"=&r"(temp3), \
diff -ru src.3170/Source/OpenEXR/IlmImf/ImfOptimizedPixelReading.h src/Source/OpenEXR/IlmImf/ImfOptimizedPixelReading.h
--- src.3170/Source/OpenEXR/IlmImf/ImfOptimizedPixelReading.h 2015-03-02 00:50:58.000000000 +0100
+++ src/Source/OpenEXR/IlmImf/ImfOptimizedPixelReading.h 2017-06-22 23:06:31.560952100 +0200
@@ -70,7 +70,7 @@
view all matches for this distribution
view release on metacpan or search on metacpan
doc/html/ProtoExtensions.html view on Meta::CPAN
<h3 class="TN_label">Element extensions</h3>
<div class="TN_content">
<div class="TN_node" id="flash">
<h4 class="TN_label">flash</h4>
<div class="TN_content">
<p>only applied to ['SPAN', 'DIV', 'INPUT', 'BUTTON', 'TEXTAREA', 'A'] elements.</p>
<p>used to set a classname to the element for a brief moment of time.</p>
<pre> Element.flash(elem, {duration: I<time_mes>, classname: I<classname_to_set>});</pre>
</div>
view all matches for this distribution
view release on metacpan or search on metacpan
inc/My/Builder.pm view on Meta::CPAN
$exe = $self->quote_literal($exe);
my $output;
#Note: $Config{cc} might contain e.g. 'ccache cc' (FreeBSD 8.0)
my $rv1 = run3("$Config{cc} -c -o $obj $src $cflags", \undef, \$output, \$output, { return_if_system_error => 1 } );
unless ($rv1 == 1 && $? == 0) {
#print STDERR "OUTPUT(compile):\n$output\n" if $output;
return 0
}
my $rv2 = run3("$Config{ld} $obj -o $exe $lflags $liblist", \undef, \$output, \$output, { return_if_system_error => 1 } );
unless ($rv2 == 1 && $? == 0) {
#print STDERR "OUTPUT(link):\n$output\n" if $output;
return 0
}
return 1;
}
inc/My/Builder.pm view on Meta::CPAN
print STDERR "- running (stdout+stderr redirected)...\n";
my $rv = run3(\@cmd, \undef, \$output, \$output, { return_if_system_error => 1 } );
my $success = ($rv == 1 && $? == 0) ? 1 : 0;
$output = substr $output, -$limit if defined $limit; # we want just last N chars
if (!defined($limit)) {
print STDERR "OUTPUT:\n", $output, "\n";
}
elsif ($limit>0) {
print STDERR "OUTPUT: (only last $limit chars)\n", $output, "\n";
}
return $success;
}
sub run_output_on_error {
inc/My/Builder.pm view on Meta::CPAN
print STDERR "- finished successfully (output suppressed)\n";
}
else {
$output = substr $output, -$limit if defined $limit; # we want just last N chars
if (!defined($limit)) {
print STDERR "OUTPUT:\n", $output, "\n";
}
elsif ($limit>0) {
print STDERR "OUTPUT: (only last $limit chars)\n", $output, "\n";
}
}
return $success;
}
view all matches for this distribution
view release on metacpan or search on metacpan
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
])# _LT_AC_LOCK
# AC_LIBTOOL_COMPILER_OPTION(MESSAGE, VARIABLE-NAME, FLAGS,
# [OUTPUT-FILE], [ACTION-SUCCESS], [ACTION-FAILURE])
# ----------------------------------------------------------------
# Check whether the given compiler option works
AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION],
[AC_REQUIRE([LT_AC_PROG_SED])
AC_CACHE_CHECK([$1], [$2],
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
# modified to invoke _AM_DEPENDENCIES(CC); we would have a circular
# dependency, and given that the user is not expected to run this macro,
# just rely on AC_PROG_CC.
AC_DEFUN([_AM_DEPENDENCIES],
[AC_REQUIRE([AM_SET_DEPDIR])dnl
AC_REQUIRE([AM_OUTPUT_DEPENDENCY_COMMANDS])dnl
AC_REQUIRE([AM_MAKE_INCLUDE])dnl
AC_REQUIRE([AM_DEP_TRACK])dnl
ifelse([$1], CC, [depcc="$CC" am_compiler_list=],
[$1], CXX, [depcc="$CXX" am_compiler_list=],
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
# gives unlimited permission to copy and/or distribute it,
# with or without modifications, as long as this notice is preserved.
#serial 3
# _AM_OUTPUT_DEPENDENCY_COMMANDS
# ------------------------------
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
[for mf in $CONFIG_FILES; do
# Strip MF so we end up with the name of the file.
mf=`echo "$mf" | sed -e 's/:.*$//'`
# Check whether this is an Automake generated Makefile or not.
# We used to match only the files named `Makefile.in', but
src/judy-1.0.5/aclocal.m4 view on Meta::CPAN
AS_MKDIR_P([$dirpart/$fdir])
# echo "creating $dirpart/$file"
echo '# dummy' > "$dirpart/$file"
done
done
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
# AM_OUTPUT_DEPENDENCY_COMMANDS
# -----------------------------
# This macro should only be invoked once -- use via AC_REQUIRE.
#
# This code is only required when automatic dependency tracking
# is enabled. FIXME. This creates each `.P' file that we will
# need in order to bootstrap the dependency handling code.
AC_DEFUN([AM_OUTPUT_DEPENDENCY_COMMANDS],
[AC_CONFIG_COMMANDS([depfiles],
[test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS],
[AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"])
])
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
# Free Software Foundation, Inc.
view all matches for this distribution
view release on metacpan or search on metacpan
t/01-compile.t view on Meta::CPAN
char *check(class)
char *class;
CODE:
RETVAL = class;
OUTPUT:
RETVAL
void
bf_bigWigFileCreate(package="Bio::DB::BigFile",inName,chromSizes,blockSize=1024,itemsPerSlot=512,clipDontDie=TRUE,compress=TRUE,outName)
char *package
view all matches for this distribution