view release on metacpan or search on metacpan
c-lib/libdivsufsort/divsufsort_private.h view on Meta::CPAN
#else
# define TR_STACKSIZE (64)
#endif
/*- Macros -*/
#ifndef SWAP
# define SWAP(_a, _b) do { t = (_a); (_a) = (_b); (_b) = t; } while(0)
#endif /* SWAP */
#ifndef MIN
# define MIN(_a, _b) (((_a) < (_b)) ? (_a) : (_b))
view all matches for this distribution
view release on metacpan or search on metacpan
Everything.pm view on Meta::CPAN
HTML::ListScraper
HTML::LoL
HTML::Macro
HTML::Mason
HTML::Menu::TreeView
Everything.pm view on Meta::CPAN
Text::LAS::Parser
Text::LineNumber
Text::Macros
Text::Median
Text::Merge
view all matches for this distribution
view release on metacpan or search on metacpan
HollyKing.pm view on Meta::CPAN
Exception::Class
File::Slurp
Filter::Macro
Getopt::Clade
Inline
view all matches for this distribution
view release on metacpan or search on metacpan
patches/diff_DBD-SQLite-0.28 view on Meta::CPAN
+#include "EXTERN.h"
+#include "perl.h"
+#endif
+
/*
** Macros for performance tracing. Normally turned off
*/
@@ -1119,6 +1124,68 @@ int isNT(void){
# define FIRST_LOCKBYTE (0xffffffff - N_LOCKBYTE)
#endif
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Business/CAMT/tags/abbreviations.csv view on Meta::CPAN
Lowest,Lwst
Loyalty,Llty
LRCI,LRCI
Lump,Lump
MAC,MAC
Macro,Macro
Magnetic,Mgntc
Maiden,Mdn
Mail,Mail
Mailed,Mld
Mailing,Mlng
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Business/EDI/CodeList/ProcessTypeDescriptionCode.pm view on Meta::CPAN
'The process of removing water.' ],
'63' => [ 'Absorption',
'The process of absorption.' ],
'64' => [ 'Stabilization',
'The process of stabilization e.g. chemical fixation.' ],
'65' => [ 'Macro-encapsulation',
'The process of macro-encapsulation.' ],
'66' => [ 'Neutralization',
'The process of neutralization.' ],
'67' => [ 'Evaporation',
'The process of evaporation.' ],
view all matches for this distribution
view release on metacpan or search on metacpan
zlib/contrib/infback9/infback9.c view on Meta::CPAN
}
puts("\n };");
}
#endif /* MAKEFIXED */
/* Macros for inflateBack(): */
/* Clear the input bit accumulator */
#define INITBITS() \
do { \
hold = 0; \
view all matches for this distribution
view release on metacpan or search on metacpan
key_utils_wrap.c view on Meta::CPAN
#define SWIG_MAYBE_PERL_OBJECT SWIG_PERL_OBJECT_DECL
/* SWIG Perl macros */
/* Macro to declare an XS function */
#ifndef XSPROTO
# define XSPROTO(name) void name(pTHX_ CV* cv)
#endif
/* Macro to call an XS function */
#ifdef PERL_OBJECT
# define SWIG_CALLXS(_name) _name(cv,pPerl)
#else
# ifndef MULTIPLICITY
# define SWIG_CALLXS(_name) _name(cv)
key_utils_wrap.c view on Meta::CPAN
}
return SWIG_OK;
}
/* Macros for low-level exception handling */
#define SWIG_croak(x) { SWIG_Error(SWIG_RuntimeError, x); SWIG_fail; }
typedef XSPROTO(SwigPerlWrapper);
typedef SwigPerlWrapper *SwigPerlWrapperPtr;
view all matches for this distribution
view release on metacpan or search on metacpan
lib/C/DynaLib/PerlTypes.pm view on Meta::CPAN
'ByteOrder' => 'LittleEndian',
'LongSize' => 4,
'IntSize' => 4,
'HostedC' => 1,
'ShortSize' => 2,
'HasMacroVAARGS' => 1,
'Assert' => [],
'UnsignedChars' => 0,
'DoubleSize' => 8,
'CharSize' => 1,
'EnumType' => 'Integer',
view all matches for this distribution
view release on metacpan or search on metacpan
Build.PL
Changes
ignore.txt
inc/Capture.pm
inc/GetMacros.pm
lib/C/TinyCompiler.pm
lib/C/TinyCompiler.xs
lib/C/TinyCompiler/Callable.pm
lib/C/TinyCompiler/Callable.xs
lib/C/TinyCompiler/package.pm
view all matches for this distribution
view release on metacpan or search on metacpan
src/sparse-0.4.4/README.md view on Meta::CPAN
* dependency tree from tokens to declarations
It can be used for
* Refactoring
* Macro dependency analysis
* C to hdl conversion
view all matches for this distribution
view release on metacpan or search on metacpan
examples/web/httpd.pl view on Meta::CPAN
use warnings;
use Net::HTTPServer;
use Getopt::Long;
use CA::AutoSys;
use HTML::Macro;
use Pod::Usage;
my $port = 8081;
my $docroot = $ENV{PWD};
examples/web/httpd.pl view on Meta::CPAN
}
printf("%s\n", $rc == 1 ? "done" : "failed");
}
}
my $html = new HTML::Macro("$docroot/autosys.html");
my $jobs_loop = $html->new_loop("jobs", "id", "background", "job_name1", "job_name2", "last_start", "last_end", "status", "select_class");
$jobid = 1;
my $jobs = $autosys->find_jobs($job);
view all matches for this distribution
view release on metacpan or search on metacpan
1.05 - Todd Rinaldo <toddr@cpan.org> 2020-12-11
- Additional tests for known corner cases.
- Use Perl_warn not warn in XS.
- Test cleanup. Abstract helper calls.
- Macro cleanup in XS for code readability.
1.04 - Todd Rinaldo <toddr@cpan.org> 2020-12-10
- add utf8 mode for read/write of database
- Major re-factor to remove SVs from the CDB internals. SVs are only generated at return.
This was in attempt to address a known memory leak in the previous implementation.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CFDI.pm view on Meta::CPAN
package CFDI;
use strict;
use CFDI::Macros::Excel;
require Exporter;
our @EXPORT = qw(xcel xcel2 xcel3 xcel4 xcel5 excel excel2 excel3 excel4 excel5);
our @ISA = qw(Exporter);
our $VERSION = 0.2;
1;
view all matches for this distribution
view release on metacpan or search on metacpan
"}\n";
$self->write_locked ($sub_filename, \$perl_code);
# Cache-Dependency-File updaten
$self->set_dependency ($CIPP->Get_Used_Macros);
# Perl-Syntax-Check
my %env_backup = %main::ENV; # SuSE 6.0 Workaround
%main::ENV = ();
view all matches for this distribution
view release on metacpan or search on metacpan
eg/example3 view on Meta::CPAN
<a href="$URL?type=man\&term=5x.">
man 5x\ \ X File formats and conventions</a><br />
<a href="$URL?type=man\&term=6.">
man 6\ \ \ Games</a><br />
<a href="$URL?type=man\&term=7.">
man 7\ \ \ Macro packages and conventions</a> eg man(7), groff(7)<br />
<a href="$URL?type=man\&term=7vga.">
man 7vga\ VGA Macro packages and conventions</a><br />
<a href="$URL?type=man\&term=8.">
man 8\ \ \ System administration commands</a> (usually only for root)<br />
<a href="$URL?type=man\&term=9.">
man 9\ \ \ Kernel routines</a><br />
<hr />
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/WebToolkit.pm view on Meta::CPAN
syntax for the functional invocation:
my $string = Core_FormDate(-month => '...', -year => '...');
=head3 Template Macros
Template macros are a way of loading templates from within
templates.
For example, if you want to create a general piece of markup
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Wiki/Formatter/UseMod.pm view on Meta::CPAN
The former behaviour is the actual UseMod behaviour, but requires a
little fiddling about in your code (see C<node_name_to_node_param>),
so the default is to B<not> munge URLs.
=item B<Macros>
Be aware that macros are processed I<after> filtering out disallowed
HTML tags and I<before> transforming from wiki markup into HTML. They
are also not called in any particular order.
lib/CGI/Wiki/Formatter/UseMod.pm view on Meta::CPAN
as described above. Note therefore that setting C<pass_wiki_to_macros>
may cause backwards compatibility issues.
=back
Macro examples:
# Simple example - substitute a little search box for '@SEARCHBOX'
macros => {
lib/CGI/Wiki/Formatter/UseMod.pm view on Meta::CPAN
to
* <a href="index.cgi?Foo">Foo</a>
* <a href="index.cgi?Bar">Bar</a>
See Macro Examples above for why you might find this useful.
C<link> should be something that would go inside your extended link
delimiters. C<wiki> is optional but should be a L<CGI::Wiki> object.
If you do supply C<wiki> then the method will be able to check whether
the node exists yet or not and so will call C<< ->make_edit_link >>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Wiki/Kwiki.pm view on Meta::CPAN
},
# Print method names in <tt>
qr/(->\w+)/ => sub { return "<tt>$_[0]</tt>" },
# Macro to list available HTML tags.
'@ALLOWED_HTML_TAGS' => join( ", ", @allowed_tags ),
);
my %config = (
db_type => 'SQLite',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/CGI/Wiki/Formatter/Default.pm view on Meta::CPAN
out disallowed HTML tags. Currently macros are just strings, maybe later
we can add in subs if we think it might be useful.
=back
Macro example:
macros => { qr/(^|\b)\@SEARCHBOX(\b|$)/ =>
qq(<form action="wiki.cgi" method="get">
<input type="hidden" name="action" value="search">
<input type="text" size="20" name="terms">
view all matches for this distribution
view release on metacpan or search on metacpan
t/01-release-iterator.t view on Meta::CPAN
my $iterator = $ccr->release_iterator;
ok(defined($iterator), "iterator should return an object");
my $expected = <<'END_EXPECTED';
AI-Genetic-Pro-Macromolecule|version=0.09280.0_001|branch=undef|condition=undef|pod=undef|stmt=91.67|sub=100.00|total=93.75
Graph|version=0.96|branch=74.89|condition=66.27|pod=87.15|stmt=89.97|sub=92.20|total=84.27
Graph|version=0.96_01|branch=77.56|condition=67.61|pod=87.15|stmt=91.56|sub=94.98|total=86.12
Module-Path|version=0.13|branch=64.29|condition=33.33|pod=0.00|stmt=93.75|sub=100.00|total=82.46
Module-Path|version=0.14|branch=64.29|condition=33.33|pod=0.00|stmt=93.75|sub=100.00|total=82.46
END_EXPECTED
view all matches for this distribution
view release on metacpan or search on metacpan
DBIx-Hash2Table-1.03.tgz DBIx-Hash2Table 1.03
VMS-Priv-1_31.zip VMS-Priv 1_31
Cyrus-Quota.tgz Cyrus-Quota
makerpm0.300.tar.gz makerpm 0.300
HPUX-FS_0.05.tar.gz HPUX-FS 0.05
HTML-Macro-1.21.tgz HTML-Macro 1.21
HTML-Macro-1.20.tgz HTML-Macro 1.20
safecgiperl-b1.tar.gz safecgiperl b1
VMS-Mail-0_05.zip VMS-Mail 0_05
CIPP-2.99.23_beta.tar.gz CIPP 2.99.23_beta
DBIx-HTMLView-LATEST.tar.gz DBIx-HTMLView-LATEST
Tk-OS2-1.00.zip Tk-OS2 1.00
Nums2Words-1.12.zip Nums2Words 1.12
Apache-SessionX-2.00b3.tar.gz Apache-SessionX 2.00b3
Apache-SessionX-2.00b5.tar.gz Apache-SessionX 2.00b5
frogbak.tar.gz frogbak
WWW-Search-Excite-News-2.03+.tar.gz WWW-Search-Excite-News 2.03+
HTML-Macro.1-15.tgz HTML-Macro.1 15
HTML-Macro.1-13.tgz HTML-Macro.1 13
HTML-Macro.1-18.tgz HTML-Macro.1 18
Interval.0.03.tar.gz Interval 0.03
Interval.0.02.tar.gz Interval 0.02
Interval.0.01.tar.gz Interval 0.01
Win32-TieRegistry-0.24.zip Win32-TieRegistry 0.24
Win32-TieRegistry-0.22.zip Win32-TieRegistry 0.22
view all matches for this distribution
view release on metacpan or search on metacpan
vhost/cgi-bin/config/cpan-config.ini view on Meta::CPAN
NameCase.pm=Lingua-EN-NameCase
BMP.pm=BMP
IniConf.pm=IniConf
UPS.pm=Net-UPS
Xtab.pm=Data-Xtab
HTML-Macro.1=HTML-Macro
Business-KontoCheck.ok=Business-KontoCheck
ACME-ESP=Acme-ESP
ACME-Method-CaseInsensitive=Acme-Method-CaseInsensitive
ACME-PIA-Export=Acme-PIA-Export
beancounter=BeanCounter
view all matches for this distribution
view release on metacpan or search on metacpan
t/data/cpanstats-test.json view on Meta::CPAN
{"test":{"count":{"entries":100,"reports":100,"posters":"182","distros":0},"pass":{"MacPPC":{"5.4.0":{"all":{"Net-Whois":1,"URI":1,"Storable":1,"Mac-Conversions":1,"Digest-MD5":1}}},"PA-RISC1.1":{"5.5.3":{"all":{"DBD-Oracle":1,"Curses":1}},"5.4.4":{"...
view all matches for this distribution
view release on metacpan or search on metacpan
cpan-security-advisory.json view on Meta::CPAN
{"module2dist":{"Crypt::Perl::ASN1::Encodee":"Crypt-Perl","Dpkg::Vendor::Devuan":"Dpkg","Net::DNS::RR::SIG":"Net-DNS","Jifty::Config":"Jifty","Text::Wikispaces2Markdown":"MojoMojo","Net::Server::TiedHandle":"Net-Server","Imager::IO":"Imager","App::Re...
view all matches for this distribution
view release on metacpan or search on metacpan
include/boost/config/auto_link.hpp view on Meta::CPAN
#ifndef BOOST_VERSION_HPP
# include <boost/version.hpp>
#endif
#ifndef BOOST_LIB_NAME
# error "Macro BOOST_LIB_NAME not set (internal error)"
#endif
//
// error check:
//
view all matches for this distribution
view release on metacpan or search on metacpan
src/catch.hpp view on Meta::CPAN
bool succeeded() const;
ResultWas::OfType getResultType() const;
bool hasExpression() const;
bool hasMessage() const;
std::string getExpression() const;
std::string getExpressionInMacro() const;
bool hasExpandedExpression() const;
std::string getExpandedExpression() const;
std::string getMessage() const;
SourceLineInfo getSourceInfo() const;
std::string getTestMacroName() const;
void discardDecomposedExpression() const;
void expandDecomposedExpression() const;
protected:
AssertionInfo m_info;
src/catch.hpp view on Meta::CPAN
totals( _totals )
{
if( assertionResult.hasMessage() ) {
// Copy message into messages list.
// !TBD This should have been done earlier, somewhere
MessageBuilder builder( assertionResult.getTestMacroName(), assertionResult.getSourceInfo(), assertionResult.getResultType() );
builder << assertionResult.getMessage();
builder.m_info.message = builder.m_stream.str();
infoMessages.push_back( builder.m_info );
}
src/catch.hpp view on Meta::CPAN
if( isFalseTest( m_info.resultDisposition ) )
return '!' + capturedExpressionWithSecondArgument(m_info.capturedExpression, m_info.secondArg);
else
return capturedExpressionWithSecondArgument(m_info.capturedExpression, m_info.secondArg);
}
std::string AssertionResult::getExpressionInMacro() const {
if( m_info.macroName[0] == 0 )
return capturedExpressionWithSecondArgument(m_info.capturedExpression, m_info.secondArg);
else
return std::string(m_info.macroName) + "( " + capturedExpressionWithSecondArgument(m_info.capturedExpression, m_info.secondArg) + " )";
}
src/catch.hpp view on Meta::CPAN
}
SourceLineInfo AssertionResult::getSourceInfo() const {
return m_info.lineInfo;
}
std::string AssertionResult::getTestMacroName() const {
return m_info.macroName;
}
void AssertionResult::discardDecomposedExpression() const {
m_resultData.decomposedExpression = CATCH_NULL;
src/catch.hpp view on Meta::CPAN
// Print the expression if there is one.
if( result.hasExpression() ) {
m_xml.startElement( "Expression" )
.writeAttribute( "success", result.succeeded() )
.writeAttribute( "type", result.getTestMacroName() );
writeSourceInfo( result.getSourceInfo() );
m_xml.scopedElement( "Original" )
.writeText( result.getExpression() );
src/catch.hpp view on Meta::CPAN
}
XmlWriter::ScopedElement e = xml.scopedElement( elementName );
xml.writeAttribute( "message", result.getExpandedExpression() );
xml.writeAttribute( "type", result.getTestMacroName() );
std::ostringstream oss;
if( !result.getMessage().empty() )
oss << result.getMessage() << '\n';
for( std::vector<MessageInfo>::const_iterator
src/catch.hpp view on Meta::CPAN
}
void printOriginalExpression() const {
if( result.hasExpression() ) {
Colour colourGuard( Colour::OriginalExpression );
stream << " ";
stream << result.getExpressionInMacro();
stream << '\n';
}
}
void printReconstructedExpression() const {
if( result.hasExpandedExpression() ) {
view all matches for this distribution
view release on metacpan or search on metacpan
src/catch.hpp view on Meta::CPAN
bool succeeded() const;
ResultWas::OfType getResultType() const;
bool hasExpression() const;
bool hasMessage() const;
std::string getExpression() const;
std::string getExpressionInMacro() const;
bool hasExpandedExpression() const;
std::string getExpandedExpression() const;
std::string getMessage() const;
SourceLineInfo getSourceInfo() const;
StringRef getTestMacroName() const;
//protected:
AssertionInfo m_info;
AssertionResultData m_resultData;
};
src/catch.hpp view on Meta::CPAN
return "!(" + m_info.capturedExpression + ")";
else
return m_info.capturedExpression;
}
std::string AssertionResult::getExpressionInMacro() const {
std::string expr;
if( m_info.macroName[0] == 0 )
expr = m_info.capturedExpression;
else {
expr.reserve( m_info.macroName.size() + m_info.capturedExpression.size() + 4 );
src/catch.hpp view on Meta::CPAN
}
SourceLineInfo AssertionResult::getSourceInfo() const {
return m_info.lineInfo;
}
StringRef AssertionResult::getTestMacroName() const {
return m_info.macroName;
}
} // end namespace Catch
// end catch_assertionresult.cpp
src/catch.hpp view on Meta::CPAN
assertionResult.m_resultData.lazyExpression.m_transientExpression = _assertionResult.m_resultData.lazyExpression.m_transientExpression;
if( assertionResult.hasMessage() ) {
// Copy message into messages list.
// !TBD This should have been done earlier, somewhere
MessageBuilder builder( assertionResult.getTestMacroName(), assertionResult.getSourceInfo(), assertionResult.getResultType() );
builder << assertionResult.getMessage();
builder.m_info.message = builder.m_stream.str();
infoMessages.push_back( builder.m_info );
}
src/catch.hpp view on Meta::CPAN
}
void printOriginalExpression() const {
if (result.hasExpression()) {
Colour colourGuard(Colour::OriginalExpression);
stream << " ";
stream << result.getExpressionInMacro();
stream << '\n';
}
}
void printReconstructedExpression() const {
if (result.hasExpandedExpression()) {
src/catch.hpp view on Meta::CPAN
}
XmlWriter::ScopedElement e = xml.scopedElement( elementName );
xml.writeAttribute( "message", result.getExpandedExpression() );
xml.writeAttribute( "type", result.getTestMacroName() );
ReusableStringStream rss;
if( !result.getMessage().empty() )
rss << result.getMessage() << '\n';
for( auto const& msg : stats.infoMessages )
src/catch.hpp view on Meta::CPAN
// Print the expression if there is one.
if( result.hasExpression() ) {
m_xml.startElement( "Expression" )
.writeAttribute( "success", result.succeeded() )
.writeAttribute( "type", result.getTestMacroName() );
writeSourceInfo( result.getSourceInfo() );
m_xml.scopedElement( "Original" )
.writeText( result.getExpression() );
view all matches for this distribution