view release on metacpan or search on metacpan
perlcdio_wrap.c view on Meta::CPAN
/* Deal with Microsoft's attempt at deprecating methods in the standard C++ library */
#if !defined(SWIG_NO_SCL_SECURE_NO_DEPRECATE) && defined(_MSC_VER) && !defined(_SCL_SECURE_NO_DEPRECATE)
# define _SCL_SECURE_NO_DEPRECATE
#endif
/* Deal with Apple's deprecated 'AssertMacros.h' from Carbon-framework */
#if defined(__APPLE__) && !defined(__ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES)
# define __ASSERT_MACROS_DEFINE_VERSIONS_WITHOUT_UNDERSCORES 0
#endif
/* Intel's compiler complains if a variable which was never initialised is
perlcdio_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)
perlcdio_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/Device/GPIB/Tektronix/AFG310.pm view on Meta::CPAN
-170 => 'Expression error',
-171 => 'Invalid expression',
-178 => 'Expression data not allowed',
-180 => 'Macro error',
-181 => 'Invalid outside macro definition',
-183 => 'Invalid inside macro definition',
-184 => 'Macro parameter error',
# Table 5-8 Execution errors
-200 => 'Execution error',
-201 => 'Invalid while in local',
-202 => 'Settings lost due to RTL',
-203 => 'Command protected',
lib/Device/GPIB/Tektronix/AFG310.pm view on Meta::CPAN
-258 => 'Media protected',
-260 => 'Expression error',
-261 => 'Math error in expression',
-270 => 'Macro error',
-271 => 'Macro syntax error',
-272 => 'Macro execution error',
-273 => 'Illegal macro label',
-274 => 'Macro parameter error',
-275 => 'Macro definition too long',
-276 => 'Macro recursion error',
-277 => 'Macro rejuvenation not allowed',
-278 => 'Macro header not found',
-280 => 'Program error',
-281 => 'Cannot create program',
-282 => 'Illegal program name',
-283 => 'Illegal variable name',
view all matches for this distribution
view release on metacpan or search on metacpan
linux-labjack/liblabjack/ljackul.c view on Meta::CPAN
#include <sys/time.h>
#include <unistd.h>
#include <string.h>
//#include <pthread.h>
/* (efs) Macros to replace those lost in bitops.h
*/
#define BitSet(arg,posn) ((arg) | (1L << (posn)))
#define BitClr(arg,posn) ((arg) & ~(1L << (posn)))
#define BitFlp(arg,posn) ((arg) ^ (1L << (posn)))
#define BitTst(arg,posn) (!(!((arg) & (1L << (posn)))))
view all matches for this distribution
view release on metacpan or search on metacpan
public/webiopi.js view on Meta::CPAN
callback(gpio, data);
}
});
}
WebIOPi.prototype.callMacro = function (macro, args, callback) {
if (args == undefined) {
args = "";
}
$.post(w().context + 'macros/' + macro + "/" + args, function(data) {
if (callback != undefined) {
public/webiopi.js view on Meta::CPAN
webiopi().pulse(gpio);
});
return button;
}
WebIOPi.prototype.createMacroButton = function (id, label, macro, args) {
var button = webiopi().createButton(id, label);
button.bind(BUTTON_DOWN, function(event) {
webiopi().callMacro(macro, args);
});
return button;
}
WebIOPi.prototype.createSequenceButton = function (id, label, gpio, period, sequence) {
view all matches for this distribution
view release on metacpan or search on metacpan
src/inttypes.h view on Meta::CPAN
typedef struct {
intmax_t quot;
intmax_t rem;
} imaxdiv_t;
// 7.8.1 Macros for format specifiers
#if !defined(__cplusplus) || defined(__STDC_FORMAT_MACROS) // [ See footnote 185 at page 198
// The fprintf macros for signed integers are:
#define PRId8 "d"
view all matches for this distribution
view release on metacpan or search on metacpan
((tmp & 0x0000ffff0000ffffULL) << 16); \
}
#endif /* BYTE_ORDER == LITTLE_ENDIAN */
/*
* Macro for incrementally adding the unsigned 64-bit integer n to the
* unsigned 128-bit integer (represented using a two-element array of
* 64-bit words):
*/
#define ADDINC128(w,n) { \
(w)[0] += (sha2_word64)(n); \
(w)[1]++; \
} \
}
/*
* Macros for copying blocks of memory and for zeroing out ranges
* of memory. Using these macros makes it easy to switch from
* using memset()/memcpy() and using bzero()/bcopy().
*
* Please define either SHA2_USE_MEMSET_MEMCPY or define
* SHA2_USE_BZERO_BCOPY depending on which function set you
view all matches for this distribution
view release on metacpan or search on metacpan
prvhash_core.h view on Meta::CPAN
#define PRVHASH_INIT_COUNT 5
/**
* @def PRVHASH_GCC_BUILTINS
* @brief Macro that denotes availability of GCC-style built-in functions.
*/
#if defined( __GNUC__ ) || defined( __clang__ ) || \
defined( __IBMC__ ) || defined( __IBMCPP__ ) || defined( __COMPCERT__ )
prvhash_core.h view on Meta::CPAN
#endif // GCC built-ins check
/**
* @def PRVHASH_INLINE
* @brief Macro to force code inlining.
*/
#if defined( PRVHASH_GCC_BUILTINS )
#define PRVHASH_INLINE inline __attribute__((always_inline))
view all matches for this distribution
view release on metacpan or search on metacpan
ext/xxHash/build/make/README.md view on Meta::CPAN
| Benefit | What `multiconf.make` does |
| --- | --- |
| **Isolated configs** | Stores objects into `cachedObjs/<hash>/`, one directory per unique flag set. |
| **Fast switching** | Reusing an old config is instantâlink only, no recompilation. |
| **Header deps** | Edits to headers trigger only needed rebuilds. |
| **One-liner targets** | Macros (`c_program`, `cxx_program`, â¦) hide all rule boilerplate. |
| **Parallel-ready** | Safe with `make -j`, no duplicate compiles of shared sources. |
| **Controlled verbosity** | Default only lists objects, while `V=1` display full commands. |
| **`clean` included** | `make clean` deletes all objects, binaries and links. |
---
view all matches for this distribution
view release on metacpan or search on metacpan
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
CEDict
CEDict::Pinyin
CFDI
CFDI::Constants
CFDI::Location
CFDI::Macros
CFDI::Output
CFDI::Parser
CFDI::Regex
CFDI::Report
CGI
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
Chemistry::File
Chemistry::FormulaPattern
Chemistry::Harmonia
Chemistry::InternalCoords
Chemistry::Isotope
Chemistry::MacroMol
Chemistry::MidasPattern
Chemistry::Mok
Chemistry::Mol
Chemistry::MolecularMass
Chemistry::Obj
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
Config::XMLPerl
Config::XPath
Config::XrmDatabase
Config::YAARG
Config::YAML
Config::YAMLMacros
Config::Yacp
Config::Yak
Config::ZOMG
Config::apiLayers
ConfigCache
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
DBstorage::RandRDB
DC
DC::DB
DC::Item
DC::Layout
DC::Macro
DC::MapWidget
DC::MessageDistributor
DC::NPCDialog
DC::OpenGL
DC::Pod
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
File::Lockfile
File::Log
File::LogReader
File::LsColor
File::MMagic
File::Macro
File::Maintenance
File::Maker
File::Mangle
File::Map
File::Marker
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
Filter::HereDocIndent
Filter::Heredoc
Filter::Include
Filter::Indent
Filter::LiterateComments
Filter::Macro
Filter::NumberLines
Filter::Object
Filter::PPI
Filter::PerlTags
Filter::QuasiQuote
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
HTML::ListScraper
HTML::ListToTree
HTML::Lister
HTML::LoL
HTML::Location
HTML::Macro
HTML::Make
HTML::Manipulator
HTML::Mason
HTML::MasonX
HTML::Menu
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
HackaMol::PeriodicTable
HackaMol::Roles
HackaMol::X
Hacker
Hades
Hades::Macro
Hades::Myths
Hades::Realm
Hadoop
Hadoop::Admin
Hadoop::HDFS
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
Kephra::EventTable
Kephra::FakeLogger
Kephra::File
Kephra::Help
Kephra::Log
Kephra::Macro
Kephra::Menu
Kephra::Plugin
Kephra::ToolBar
Kernel
Kernel::Keyring
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
Mackerel::ReleaseUtils
Mackerel::Webhook
Macrame
Macrame::_Expand_
Macrame::lexeme
Macro
Macro::Micro
Mad
Mad::Mapper
Mafia
MagicApp
MagicApp::Lookups
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
Salesforce::Soap
Salvation
Salvation::AnyNotify
Salvation::CLI
Salvation::DaemonDecl
Salvation::MacroProcessor
Salvation::Method
Salvation::MongoMgr
Salvation::PluginCore
Salvation::Roles
Salvation::Service
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
Text::Locus
Text::LookUpTable
Text::LooseCSV
Text::Lorem
Text::Lossy
Text::Macro
Text::MacroScript
Text::Macros
Text::Markdown
Text::MarkdownTable
Text::Markmoredown
Text::Markup
Text::Match
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
X10::Device
X10::Event
X10::EventList
X10::FireCracker
X10::Home
X10::Macro
X10::MacroProc
X10::Network
X10::SchedEvent
X10::Scheduler
X10::Server
X10::TwoWay
Notes/cpan-namespaces/cpan-namespaces-L1-L2.txt view on Meta::CPAN
YATG::Config
YATG::Retrieve
YATG::SharedStorage
YATG::Store
YATT
YATT::ArgMacro
YATT::ArgTypes
YATT::Class
YATT::DBSchema
YATT::Exception
YATT::Fields
view all matches for this distribution
view release on metacpan or search on metacpan
of Docserver, install Help and Tools for Office/Help for Visual
Basic. It may be necessary to set user's name and initials to
space, because of an error in one convertor. You can also consider
installing applicable patches from http://office.microsoft.com.
In Word and Excel in Options/Macro/Security select High securify
level for the user under which the Docserver will be running, and
remove any trusted resources and setup no trust to any plugins, etc.
The following steps will be shown on the SYSTEM account. You can change
the security leve in registry by setting
view all matches for this distribution
view release on metacpan or search on metacpan
ENABLE_PREPROCESSING = NO
# If the MACRO_EXPANSION tag is set to YES, doxygen will expand all macro names
# in the source code. If set to NO, only conditional compilation will be
# performed. Macro expansion can be done in a controlled way by setting
# EXPAND_ONLY_PREDEF to YES.
# The default value is: NO.
# This tag requires that the tag ENABLE_PREPROCESSING is set to YES.
MACRO_EXPANSION = NO
view all matches for this distribution
view release on metacpan or search on metacpan
example/Doxyfile view on Meta::CPAN
ENABLE_PREPROCESSING = YES
# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
# names in the source code. If set to NO (the default) only conditional
# compilation will be performed. Macro expansion can be done in a controlled
# way by setting EXPAND_ONLY_PREDEF to YES.
MACRO_EXPANSION = NO
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
view all matches for this distribution
view release on metacpan or search on metacpan
- Add unit tests for meminfo module.
- Refactor total number of expected known architectures into a variable.
- Use long options for aspell invocation.
- Use --quiet instead of -q on cppcheck invocations.
- Move active line-based cppcheck suppressions into inline comments.
- Make cppcheck unknownMacro suppression more specific.
- Tell cppcheck the C/C++ standards the code intends to comply with.
- Remove unused cppcheck suppressions.
- Use pkginstance in a new unit test.
- Switch NULL to DPKG_NULL in header file.
- Add functional tests for triggers database handling.
view all matches for this distribution
view release on metacpan or search on metacpan
dyncall/buildsys/cmake/Modules/UseLATEX.cmake view on Meta::CPAN
SET(${variable} "${default}")
ENDIF (NOT ${variable})
ENDMACRO(LATEX_FILE_MATCH)
#############################################################################
# Macros that perform processing during a LaTeX build.
#############################################################################
MACRO(LATEX_MAKEGLOSSARIES)
MESSAGE("**************************** In makeglossaries")
IF (NOT LATEX_TARGET)
MESSAGE(SEND_ERROR "Need to define LATEX_TARGET")
view all matches for this distribution
view release on metacpan or search on metacpan
lib/EBook/Tools.pm view on Meta::CPAN
'bus036050' => 'Real estate investment',
'bus036060' => 'Stocks',
'bus037000' => 'Job hunting',
'bus037020' => 'Job hunting',
'bus038000' => 'Labor',
'bus039000' => 'Macroeconomics',
'bus040000' => 'Mail-order business',
'bus041000' => 'Management',
'bus042000' => 'Management science',
'bus043000' => 'Marketing',
'bus043010' => 'Direct marketing',
lib/EBook/Tools.pm view on Meta::CPAN
'macintosh clones' => 'Macintosh-compatible computers',
'macintosh compatibles (computers)' => 'Macintosh-compatible computers',
'macintosh compatibles' => 'Macintosh-compatible computers',
'macintosh-compatible computers' => 'Macintosh-compatible computers',
'macintosh computers' => 'Macintosh-compatible computers',
'macroeconomics' => 'Macroeconomics',
'magazines' => 'Periodicals',
'magic cookies (computer science)' => 'Cookies (Computer science)',
'magic' => 'Magic',
'magic--fiction' => 'Magic',
'magicians' => 'Magicians',
view all matches for this distribution
view release on metacpan or search on metacpan
deps/hiredis/dict.h view on Meta::CPAN
} dictIterator;
/* This is the initial size of every hash table */
#define DICT_HT_INITIAL_SIZE 4
/* ------------------------------- Macros ------------------------------------*/
#define dictFreeEntryVal(ht, entry) \
if ((ht)->type->valDestructor) \
(ht)->type->valDestructor((ht)->privdata, (entry)->val)
#define dictSetHashVal(ht, entry, _val_) do { \
view all matches for this distribution
view release on metacpan or search on metacpan
xt/cppcheck.t view on Meta::CPAN
plan skip_all => 'set CPPCHECK_TEST to run' unless $ENV{CPPCHECK_TEST};
plan skip_all => 'cppcheck not found' unless `which cppcheck 2>/dev/null`;
plan tests => 1;
my $out = `cppcheck --enable=warning,performance --error-exitcode=1 --quiet --suppress=missingIncludeSystem --suppress=unknownMacro --suppress=preprocessorErrorDirective --suppress=missingInclude src/EV__Kafka.xs 2>&1`;
my $rc = $? >> 8;
if ($rc != 0) {
fail 'cppcheck found issues';
diag $out;
view all matches for this distribution
view release on metacpan or search on metacpan
deps/hiredis/dict.h view on Meta::CPAN
} dictIterator;
/* This is the initial size of every hash table */
#define DICT_HT_INITIAL_SIZE 4
/* ------------------------------- Macros ------------------------------------*/
#define dictFreeEntryVal(ht, entry) \
if ((ht)->type->valDestructor) \
(ht)->type->valDestructor((ht)->privdata, (entry)->val)
#define dictSetHashVal(ht, entry, _val_) do { \
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Emacs/Lisp.pm view on Meta::CPAN
(put 'booboo 'error-conditions '(booboo error))
(setq can-upcase (not (get 'upcase-region 'disabled)))
See also the C<setq> function below.
=head2 Macros
Lisp I<macros>, such as C<setq> and C<defun>, do not work the same way
functions do, although they are invoked using the function syntax.
(Here you see the vast philosophical chasm separating Perl from Lisp.
While Perl might have five syntaxes to mean the same thing, Lisp has
view all matches for this distribution
view release on metacpan or search on metacpan
ENABLE_PREPROCESSING = YES
# If the MACRO_EXPANSION tag is set to YES Doxygen will expand all macro
# names in the source code. If set to NO (the default) only conditional
# compilation will be performed. Macro expansion can be done in a controlled
# way by setting EXPAND_ONLY_PREDEF to YES.
MACRO_EXPANSION = NO
# If the EXPAND_ONLY_PREDEF and MACRO_EXPANSION tags are both set to YES
view all matches for this distribution
view release on metacpan or search on metacpan
t/data/cp1252/10329150.cp1252 view on Meta::CPAN
Gustafson [77]^3, Michael R. Boyd [78]^3, Angela M. Gronenborn [79]^2,
G. Marius Clore [80]^2 and Alexander Wlodawer [81]^1^,
[82]^Corresponding Author Contact Information ^, [83]^E-mail The
Corresponding Author
^1 Macromolecular Structure Laboratory, ABL-Basic Research Program,
NCI-Frederick Cancer Research and Development Center, Frederick, MD
21702-1201, USA
^2 Laboratory of Chemical Physics, National Institute of Diabetes and
Digestive and Kidney Diseases, National Institutes of Health, Bethesda
view all matches for this distribution
view release on metacpan or search on metacpan
dat/docomo-table.pl view on Meta::CPAN
{
'number' => '165',
'unicode' => 'E709',
'name' => 'ã¼ï¼é·é³è¨å·ï¼ï¼',
'sjis' => 'F9AE',
'name_en' => 'Macron 1',
'image' => 'http://www.nttdocomo.co.jp/service/imode/make/content/pictograph/basic/images/165.gif'
},
{
'number' => '166',
'unicode' => 'E70A',
'name' => 'ã¼ï¼é·é³è¨å·ï¼ï¼',
'sjis' => 'F9AF',
'name_en' => 'Macron 2',
'image' => 'http://www.nttdocomo.co.jp/service/imode/make/content/pictograph/basic/images/166.gif'
},
{
'number' => '167',
'unicode' => 'E6AC',
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Erlang/Parser/Node/Macro.pm view on Meta::CPAN
# Copyright 2011-2012 Yuki Izumi. ( anneli AT cpan DOT org )
# This is free software; you can redistribute it and/or modify it under the
# same terms as Perl itself.
package Erlang::Parser::Node::Macro;
use Moose;
with 'Erlang::Parser::Node';
has 'macro' => (is => 'rw', required => 1, isa => 'Str');
lib/Erlang/Parser/Node/Macro.pm view on Meta::CPAN
__PACKAGE__->meta->make_immutable;
=head1 NAME
Erlang::Parser::Node::Macro - a preprocessor-style macro
=head1 DESCRIPTION
Defined with the -define() directive; expands as any node.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Excel/Template/Plus.pm view on Meta::CPAN
This would allow you to write you Excel::Template files using Perl itself
which would then output the XML for Excel::Template to consume. This would
be modeled after the recently released L<Template::Declare> module perhaps.
=item TT Plugins/Macros/Wrappers
This is basically anything which will make the TT engine easier to write
templates for. I have experimented with some of these things, but I was not
happy with any of them enough to release them yet.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/Excel/Writer/XLSX.pm view on Meta::CPAN
The supplied C<extract_vba> utility can be used to extract the required C<vbaProject.bin> file from an existing Excel file:
$ extract_vba file.xlsm
Extracted 'vbaProject.bin' successfully
Macros can be tied to buttons using the worksheet C<insert_button()> method (see the L</WORKSHEET METHODS> section for details):
$worksheet->insert_button( 'C2', { macro => 'my_macro' } );
Note, Excel uses the file extension C<xlsm> instead of C<xlsx> for files that contain macros. It is advisable to follow the same convention.
view all matches for this distribution
view release on metacpan or search on metacpan
lib/ExtUtils/MM_Any.pm view on Meta::CPAN
versions and should be overridden with platform specific versions for
performance.
Defines at least these macros.
Macro Description
NOOP Do nothing
NOECHO Tell make not to display the command itself
SHELL Program used to run shell commands
view all matches for this distribution
view release on metacpan or search on metacpan
lib/perlxs.pod view on Meta::CPAN
(usually temporary) return values onto the stack. The first uses the
hidden C<ax> variable, which is set on entry to the XSUB, and is the index
of the base of the current stack frame. This remains unchanged throughout
execution of the XSUB. The second approach uses the local stack pointer,
C<SP> (more on that below), which on entry to the C<PPCODE> block points
to the base of the stack frame. Macros like C<mPUSHi()> store a temporary
SV at that location, then increment C<SP>. On return from a C<PPCODE>
XSUB, the current value of C<SP> is used to indicate to the caller how
many values are being returned.
In general these two ways of accessing the stack should not be mixed, or
view all matches for this distribution
view release on metacpan or search on metacpan
is what C<-Dvar=val> is for the C preprocessor. Similarly you can compare
delete $ppp->{'config'};
with C<-Uvar>. See L<"Macro replacements"> below. Unlike C, variables may
be arbitrarily complex, in particular you can use hash or array refs as
values.
Surprisingly you may pass a scalar value again: In that case the file of
the same name evaluated and the result is used as a configuration hash.
perl -MExtUtils::PerlPP -e ppp <infile> <outfile> <configfile>
from the commandline.
=head2 Macro replacements
The primary use of preprocessor variables (aka attributes of
C<$ppp->{'config'}>) is replacing patterns in the stream written to
the output file. With C<$c = $ppp->{'config'}> in mind the typical
patterns and their replacements are:
view all matches for this distribution
view release on metacpan or search on metacpan
t/02-line-directives.t view on Meta::CPAN
);
my $combined = read_file($output);
# The define should be in the preamble
like($combined, qr/MACRO\(x\).*\(\(x\) \+ 1\)/, 'Macro definition preserved');
# The C function should be present
like($combined, qr/static int function\(void\)/, 'C function preserved');
# The XS code should be present
view all matches for this distribution
view release on metacpan or search on metacpan
lib/FBP/Perl.pm view on Meta::CPAN
use FBP 0.41 ();
our $VERSION = '0.78';
our $COMPATIBLE = '0.67';
# Event Macro Binding Table
our %MACRO = (
# Common low level events
OnEraseBackground => [ 1, 'EVT_ERASE_BACKGROUND' ],
OnPaint => [ 1, 'EVT_PAINT' ],
OnUpdateUI => [ 2, 'EVT_UPDATE_UI' ],
view all matches for this distribution