view release on metacpan or search on metacpan
lib/CryptoTron/Modules.pm view on Meta::CPAN
package CryptoTron::Modules;
# Set the VERSION number.
$VERSION = '0.03';
# Use the magic module.
use Simple::Filter::Macro; # <-- The magic is found here.
# The lines below will be expanded into the caller's code.
use CryptoTron::BroadcastTransaction;
use CryptoTron::GetAccount;
use CryptoTron::GetAccountNet;
use CryptoTron::GetAccountResource;
view all matches for this distribution
view release on metacpan or search on metacpan
CursesFunWide.c view on Meta::CPAN
WINDOW *win = c_win ? c_sv2window(ST(0), 0) : stdscr;
if (c_x)
if (c_domove(win, ST(c_x-1), ST(c_x)) == ERR)
XSRETURN_UNDEF;
getmaxyx(win, y, x); /* Macro: not &y, &x! */
#ifdef C_INNWSTR
int ret;
wchar_t *buf = malloc((x + 1) * sizeof *buf);
if (buf == NULL) croak("insstring: malloc");
ret = winnwstr(win, buf, x);
view all matches for this distribution
view release on metacpan or search on metacpan
# ============================================================
# core. The Core Functionality: Clustering
# ============================================================
# ============================================================
# core. The Core Functionality: Utility and System Functions and Macros
# ============================================================
package Cv;
=head2 Error Handling
view all matches for this distribution
view release on metacpan or search on metacpan
/* these are (almost) random values ! */
#define MAX_COL_NAME_LEN 128
#include <dbivport.h>
/**
* Macro for Error Handling. This error handling is followed from
* CLI Development Guide for v951 - Chapter8 (Diagnostics in CLI Applications)
* We try to capture 5 types of return codes and print the diagnostic
* information for the same. The return codes captured are
*
* 1. SQL_SUCCESS - Nothing to be done. Sucessful execution of CLI API
view all matches for this distribution
view release on metacpan or search on metacpan
extern void (dec_setzero)(ifx_dec_t *dp);
extern int (dec_is_neg)(const ifx_dec_t *dp);
extern int (dec_is_pos)(const ifx_dec_t *dp);
/* Macro overrides for functions */
#ifndef dec_setnull
#define dec_setnull(d) ((void)((d)->dec_pos = DECPOSNULL))
#endif /* dec_setnull */
#ifndef dec_eq_null
#define dec_eq_null(d) ((d)->dec_pos == DECPOSNULL)
view all matches for this distribution
view release on metacpan or search on metacpan
#if !defined(MARIADB_BASE_VERSION) && defined(MARIADB_PACKAGE_VERSION)
#define MARIADB_BASE_VERSION
#endif
/* Macro is available in my_global.h which is not included or present in some versions of MariaDB */
#ifndef NOT_FIXED_DEC
#define NOT_FIXED_DEC 31
#endif
/* Macro is available in m_ctype.h which is not included in some versions of MySQL */
#ifndef MY_CS_PRIMARY
#define MY_CS_PRIMARY 32
#endif
/* Macro is available in mysql_com.h, but not defined in older MySQL versions */
#ifndef SERVER_STATUS_NO_BACKSLASH_ESCAPES
#define SERVER_STATUS_NO_BACKSLASH_ESCAPES 512
#endif
/* Macro is not defined in older MySQL versions */
#ifndef CR_NO_STMT_METADATA
#define CR_NO_STMT_METADATA 2052
#endif
/* Macro is not defined in some MariaDB versions */
#ifndef CR_NO_RESULT_SET
#define CR_NO_RESULT_SET 2053
#endif
/* Macro is not defined in older MySQL versions */
#ifndef CR_NOT_IMPLEMENTED
#define CR_NOT_IMPLEMENTED 2054
#endif
/* Macro is not defined in older MySQL versions */
#ifndef CR_STMT_CLOSED
#define CR_STMT_CLOSED 2056
#endif
view all matches for this distribution
view release on metacpan or search on metacpan
#ifndef DBD_OCI_TRACEON
/* OCI functions "wrapped" to produce tracefile dumps (may be handy when giving
diagnostic info to Oracle Support, or just learning about OCI)
Macros are named "_log" as a mnemonic that they log to the tracefile if needed
Macros named "_log_stat" return status in last parameter.
*/
#define DBD_OCI_TRACEON(h) (DBIc_DBISTATE(h)->debug >= 6 || dbd_verbose >= 6)
#define DBD_OCI_TRACEFP(h) (DBIc_LOGPIO(h))
#define OciTp ("\tOCI") /* OCI Trace Prefix */
view all matches for this distribution
view release on metacpan or search on metacpan
DBIS->version, DBIS->size, DBISTATE_VERSION, (int)sizeof(*DBIS)); \
}
#define DBILOGFP (DBIS->logfp)
/* --- Assorted Utility Macros --- */
#define DBI_INTERNAL_ERROR(msg) \
croak("%s: file \"%s\", line %d", msg, __FILE__, __LINE__);
#define DBD_ATTRIBS_CHECK(func, h, attribs) \
view all matches for this distribution
view release on metacpan or search on metacpan
DBISTATE_DECLARE;
#define SvPV_nolen_undef_ok(x) (SvOK(x) ? SvPV_nolen(x) : "undef")
/*-----------------------------------------------------*
* Debug Macros
*-----------------------------------------------------*/
#undef DBD_SQLITE_CROAK_DEBUG
#ifdef DBD_SQLITE_CROAK_DEBUG
view all matches for this distribution
view release on metacpan or search on metacpan
DBISTATE_DECLARE;
#define SvPV_nolen_undef_ok(x) (SvOK(x) ? SvPV_nolen(x) : "undef")
/*-----------------------------------------------------*
* Debug Macros
*-----------------------------------------------------*/
#undef DBD_SQLITE_CROAK_DEBUG
#ifdef DBD_SQLITE_CROAK_DEBUG
view all matches for this distribution
view release on metacpan or search on metacpan
sqlite-amalgamation.c view on Meta::CPAN
# define NEVER(X) (X)
#endif
/*
** The macro unlikely() is a hint that surrounds a boolean
** expression that is usually false. Macro likely() surrounds
** a boolean expression that is usually true. GCC is able to
** use these hints to generate better code, sometimes.
*/
#if defined(__GNUC__) && 0
# define likely(X) __builtin_expect((X),1)
sqlite-amalgamation.c view on Meta::CPAN
SQLITE_PRIVATE void *sqlite3HashFind(const Hash*, const void *pKey, int nKey);
SQLITE_PRIVATE HashElem *sqlite3HashFindElem(const Hash*, const void *pKey, int nKey);
SQLITE_PRIVATE void sqlite3HashClear(Hash*);
/*
** Macros for looping over all elements of a hash table. The idiom is
** like this:
**
** Hash h;
** HashElem *p;
** ...
sqlite-amalgamation.c view on Meta::CPAN
typedef INT16_TYPE i16; /* 2-byte signed integer */
typedef UINT8_TYPE u8; /* 1-byte unsigned integer */
typedef UINT8_TYPE i8; /* 1-byte signed integer */
/*
** Macros to determine whether the machine is big or little endian,
** evaluated at runtime.
*/
#ifdef SQLITE_AMALGAMATION
SQLITE_PRIVATE const int sqlite3one;
#else
sqlite-amalgamation.c view on Meta::CPAN
** avoid the use of malloc()/free(). Those routines work ok on OS/2
** desktops but not so well in embedded systems.
*/
/*
** Macros used to determine whether or not to use threads.
*/
#if defined(SQLITE_THREADSAFE) && SQLITE_THREADSAFE
# define SQLITE_OS2_THREADS 1
#endif
sqlite-amalgamation.c view on Meta::CPAN
#define OSTRACE6(X,Y,Z,A,B,C)
#define OSTRACE7(X,Y,Z,A,B,C,D)
#endif
/*
** Macros for performance tracing. Normally turned off. Only works
** on i486 hardware.
*/
#ifdef SQLITE_PERFORMANCE_TRACE
/*
sqlite-amalgamation.c view on Meta::CPAN
#define OSTRACE6(X,Y,Z,A,B,C)
#define OSTRACE7(X,Y,Z,A,B,C,D)
#endif
/*
** Macros for performance tracing. Normally turned off. Only works
** on i486 hardware.
*/
#ifdef SQLITE_PERFORMANCE_TRACE
/*
sqlite-amalgamation.c view on Meta::CPAN
){
int eLockingStyle;
unixFile *pNew = (unixFile *)pId;
int rc = SQLITE_OK;
/* Macro to define the static contents of an sqlite3_io_methods
** structure for a unix backend file. Different locking methods
** require different functions for the xClose, xLock, xUnlock and
** xCheckReservedLock methods.
*/
#define IOMETHODS(xClose, xLock, xUnlock, xCheckReservedLock) { \
sqlite-amalgamation.c view on Meta::CPAN
/*
** Initialize the operating system interface.
*/
SQLITE_API int sqlite3_os_init(void){
/* Macro to define the static contents of an sqlite3_vfs structure for
** the unix backend. The two parameters are the values to use for
** the sqlite3_vfs.zName and sqlite3_vfs.pAppData fields, respectively.
**
*/
#define UNIXVFS(zVfsName, pVfsAppData) { \
sqlite-amalgamation.c view on Meta::CPAN
#ifdef __CYGWIN__
# include <sys/cygwin.h>
#endif
/*
** Macros used to determine whether or not to use threads.
*/
#if defined(THREADSAFE) && THREADSAFE
# define SQLITE_W32_THREADS 1
#endif
sqlite-amalgamation.c view on Meta::CPAN
#define OSTRACE6(X,Y,Z,A,B,C)
#define OSTRACE7(X,Y,Z,A,B,C,D)
#endif
/*
** Macros for performance tracing. Normally turned off. Only works
** on i486 hardware.
*/
#ifdef SQLITE_PERFORMANCE_TRACE
/*
sqlite-amalgamation.c view on Meta::CPAN
** @(#) $Id: pager.c,v 1.469 2008/08/02 03:50:39 drh Exp $
*/
#ifndef SQLITE_OMIT_DISKIO
/*
** Macros for troubleshooting. Normally turned off
*/
#if 0
#define sqlite3DebugPrintf printf
#define PAGERTRACE1(X) sqlite3DebugPrintf(X)
#define PAGERTRACE2(X,Y) sqlite3DebugPrintf(X,Y)
sqlite-amalgamation.c view on Meta::CPAN
#define fts3HashInsert sqlite3Fts3HashInsert
#define fts3HashFind sqlite3Fts3HashFind
#define fts3HashClear sqlite3Fts3HashClear
/*
** Macros for looping over all elements of a hash table. The idiom is
** like this:
**
** fts3Hash h;
** fts3HashElem *p;
** ...
view all matches for this distribution
view release on metacpan or search on metacpan
DBISTATE_DECLARE;
#define SvPV_nolen_undef_ok(x) (SvOK(x) ? SvPV_nolen(x) : "undef")
/*-----------------------------------------------------*
* Debug Macros
*-----------------------------------------------------*/
#undef DBD_SQLITE_CROAK_DEBUG
#ifdef DBD_SQLITE_CROAK_DEBUG
view all matches for this distribution
view release on metacpan or search on metacpan
/* Forward declarations */
static BtOps sqliteBtreeOps;
static BtCursorOps sqliteBtreeCursorOps;
/*
** Macros used for byteswapping. B is a pointer to the Btree
** structure. This is needed to access the Btree.needSwab boolean
** in order to tell if byte swapping is needed or not.
** X is an unsigned integer. SWAB16 byte swaps a 16-bit integer.
** SWAB32 byteswaps a 32-bit integer.
*/
view all matches for this distribution
view release on metacpan or search on metacpan
lib/DBD/Teradata.pm view on Meta::CPAN
4, 'Update..RETRIEVING',
5, 'Delete',
6, 'Create Table',
7, 'Modify Table',
8, 'Create View',
9, 'Create Macro',
10, 'Drop Table',
11, 'Drop View',
12, 'Drop Macro',
13, 'Drop Index',
14, 'Rename Table',
15, 'Rename View',
16, 'Rename Macro',
17, 'Create Index',
18, 'Create Database',
19, 'Create User',
20, 'Grant',
21, 'Revoke',
lib/DBD/Teradata.pm view on Meta::CPAN
30, 'Execute',
31, 'Comment Set',
32, 'Comment Returning',
33, 'Echo',
34, 'Replace View',
35, 'Replace Macro',
36, 'Checkpoint',
37, 'Delete Journal',
38, 'Rollback',
39, 'Release Lock',
40, 'HUT Config',
view all matches for this distribution
view release on metacpan or search on metacpan
cci-src/win/cas_cci/cas_cci.vcxproj view on Meta::CPAN
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<ImportGroup Condition="'$(Configuration)|$(Platform)'=='Debug|x64'" Label="PropertySheets">
<Import Project="$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props" Condition="exists('$(UserRootDir)\Microsoft.Cpp.$(Platform).user.props')" Label="LocalAppDataPlatform" />
</ImportGroup>
<PropertyGroup Label="UserMacros" />
<PropertyGroup>
<_ProjectFileVersion>11.0.50727.1</_ProjectFileVersion>
</PropertyGroup>
<PropertyGroup Condition="'$(Configuration)|$(Platform)'=='Debug|Win32'">
<OutDir>$(SolutionDir)$(Platform)\$(Configuration)\</OutDir>
view all matches for this distribution
view release on metacpan or search on metacpan
lib/DBI/DBD.pm view on Meta::CPAN
You may want to act on the current 'SQL' trace flag that DBI defines
to output SQL prepared/executed as DBI currently does not do SQL
tracing.
=head2 Trace Macros
Access to the trace level and trace flags is via a set of macros.
DBIc_TRACE_SETTINGS(imp) returns the trace settings
DBIc_TRACE_LEVEL(imp) returns the trace level
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/CDTest.pm view on Meta::CPAN
[ 45, 19, 3, "Off-By-One Errors"],
[ 46, 19, 4, "Two"],
[ 47, 21, 1, "Enemy"],
[ 48, 21, 2, "Gamma"],
[ 50, 21, 3, "258"],
[ 55, 21, 4, "Genetic Macroeconomics"],
[ 56, 22, 1, "That One Spot in the Game"],
[ 57, 22, 2, "Leitmotif"],
[ 58, 22, 3, "The Part Where He Kills You"],
[ 59, 24, 1, "Magenta"],
[ 65, 25, 1, "Yellow"],
view all matches for this distribution
view release on metacpan or search on metacpan
CGITables.pm view on Meta::CPAN
handles it well. Case sensitivity might be an issue, searches in mysql
are always case insensitive.
Possible future parameters:
!IncludeParamfile
!ParamMacro
!Ooups
!OtherTemplate
!SetSelected
For !Links:
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/CDTest.pm view on Meta::CPAN
[ 45, 19, 3, "Off-By-One Errors"],
[ 46, 19, 4, "Two"],
[ 47, 21, 1, "Enemy"],
[ 48, 21, 2, "Gamma"],
[ 50, 21, 3, "258"],
[ 55, 21, 4, "Genetic Macroeconomics"],
[ 56, 22, 1, "That One Spot in the Game"],
[ 57, 22, 2, "Leitmotif"],
[ 58, 22, 3, "The Part Where He Kills You"],
[ 59, 24, 1, "Magenta"],
[ 65, 25, 1, "Yellow"],
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/CDTest.pm view on Meta::CPAN
[ 45, 19, 3, "Off-By-One Errors"],
[ 46, 19, 4, "Two"],
[ 47, 21, 1, "Enemy"],
[ 48, 21, 2, "Gamma"],
[ 50, 21, 3, "258"],
[ 55, 21, 4, "Genetic Macroeconomics"],
[ 56, 22, 1, "That One Spot in the Game"],
[ 57, 22, 2, "Leitmotif"],
[ 58, 22, 3, "The Part Where He Kills You"],
[ 59, 24, 1, "Magenta"],
[ 65, 25, 1, "Yellow"],
view all matches for this distribution
view release on metacpan or search on metacpan
DBIx/DBStag.pm view on Meta::CPAN
# try and map it to a previously assigned macro
# EXAMPLE:
# we start with <foo_id><bar><key>A</></></>
# we collapse too <foo_id>$v</>
if ($assigned_node_h{$tnode->name}) {
trace(0, "ALREADY CALCULATED; not a Macro ID:$v;; in $element/".$tnode->name) if $TRACE;
# DO NOTHING
}
else { # NOT ASSIGNED
my $actual_id =
$self->macro_id_h->{$v};
if (!defined($actual_id)) {
$self->throw("XORT-style Macro ID:$v is undefined;; in $element/".$tnode->name);
}
$tnode->data($actual_id);
}
# -- END OF MACRO EXPANSION --
}
DBIx/DBStag.pm view on Meta::CPAN
=back
Operations can be used in either XORT or Stag mode
=head3 Macros
Macros can be used with either XORT or Stag style mappings. Macros
allow you to refer to the same node later on in the XML
<person op="lookup" id="joe">
<name>joe</name>
</person>
DBIx/DBStag.pm view on Meta::CPAN
between databases, even if the rest of the data does.
(If you do not use surrogate primary key columns in your load xml,
then you can ignore this accessor)
You should NOT use this method in conjunction with Macros
If you use primary key columns in your XML, and the primary keys are
not surrogate, then youshould set this. If this accessor is set to
non-zero (true) then the primary key values in the XML will be used.
view all matches for this distribution
view release on metacpan or search on metacpan
t/lib/CDTest.pm view on Meta::CPAN
[ 45, 19, 3, "Off-By-One Errors"],
[ 46, 19, 4, "Two"],
[ 47, 21, 1, "Enemy"],
[ 48, 21, 2, "Gamma"],
[ 50, 21, 3, "258"],
[ 55, 21, 4, "Genetic Macroeconomics"],
[ 56, 22, 1, "That One Spot in the Game"],
[ 57, 22, 2, "Leitmotif"],
[ 58, 22, 3, "The Part Where He Kills You"],
[ 59, 24, 1, "Magenta"],
[ 65, 25, 1, "Yellow"],
view all matches for this distribution
view release on metacpan or search on metacpan
SvUTF8_off(arg); \
DBM_ckFilter(arg, filter_fetch_key,"filter_fetch_key") ; \
} \
}
/* Macro err_close only for use in croak_and_free */
#ifdef BERKELEY_DB_1_OR_2 /* Berkeley DB Version 1 or 2 */
# define err_close(r)
#else
# define err_close(r) db_close(r)
#endif
/* Macro croak_and_free only for use in ParseOpenInfo */
#define croak_and_free(x) \
do \
{ \
if (RETVAL->dbp) { err_close(RETVAL) ; } \
Safefree(RETVAL); \
view all matches for this distribution
view release on metacpan or search on metacpan
lib/DOCSIS/ConfigFile/mibs/RMON2-MIB view on Meta::CPAN
it is associated with will discard the packet if the packet
doesn't match this protocol directory entry."
DEFVAL { 0 }
::= { filter2Entry 2 }
-- Conformance Macros
rmon2MIBCompliances OBJECT IDENTIFIER ::= { rmonConformance 1 }
rmon2MIBGroups OBJECT IDENTIFIER ::= { rmonConformance 2 }
rmon2MIBCompliance MODULE-COMPLIANCE
view all matches for this distribution
view release on metacpan or search on metacpan
CAB/Analyzer.pm view on Meta::CPAN
=back
=cut
##----------------------------------------------------------------
## DESCRIPTION: DTA::CAB::Analyzer: Methods: Analysis: Closure Utilities: Macros
=pod
=head3 Methods: Analysis: Closure Utilities: Macros
In order to facilitate development of analyzer-local accessor code in string form,
the following "macros" are defined as exportable functions. Their arguments and
return values are B<strings> suitable for inclusion in acccessor macros. These
macros are exported by the tags ':access', ':child', and ':all'.
view all matches for this distribution
view release on metacpan or search on metacpan
share/assets/dash_core_components/async~markdown.js.map view on Meta::CPAN
{"version":3,"sources":["webpack:///./node_modules/is-whitespace-character/index.js","webpack:///./node_modules/xtend/immutable.js","webpack:///./node_modules/trim/index.js","webpack:///./node_modules/is-decimal/index.js","webpack:///./node_modules/u...
view all matches for this distribution
view release on metacpan or search on metacpan
databb-boost/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
include/msgpack/predef/make.h view on Meta::CPAN
hexadecimal digits, and "`MSGPACK_PREDEF_MAKE_10`" for decimal digits.
* The format of the vendor version number. Where "`V`" indicates the version digits,
"`R`" indicates the revision digits, "`P`" indicates the patch digits, and "`0`"
indicates an ignored digit.
Macros are:
*/
/*` `MSGPACK_PREDEF_MAKE_0X_VRP(V)` */
#define MSGPACK_PREDEF_MAKE_0X_VRP(V) MSGPACK_VERSION_NUMBER((V&0xF00)>>8,(V&0xF0)>>4,(V&0xF))
/*` `MSGPACK_PREDEF_MAKE_0X_VVRP(V)` */
#define MSGPACK_PREDEF_MAKE_0X_VVRP(V) MSGPACK_VERSION_NUMBER((V&0xFF00)>>8,(V&0xF0)>>4,(V&0xF))
view all matches for this distribution