SNAP Library 3.0, User Reference  2016-07-20 17:56:49
SNAP, a general purpose, high performance system for analysis and manipulation of large networks
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
dt.cpp File Reference

Go to the source code of this file.

Macros

#define __TEST(from, to, len)
 

Functions

TStr operator+ (const TStr &LStr, const TStr &RStr)
 
TStr operator+ (const TStr &LStr, const char *RCStr)
 

Macro Definition Documentation

#define __TEST (   from,
  to,
  len 
)
Value:
for (i = (from); i <= (to); i++) \
{ if ((i & 0xffff) == 0) printf("%d\r", i); \
r = SaveFrugalInt(p, i); s = LoadFrugalInt(p, j); \
IAssert(r == s); IAssert(i == j); IAssert(r - p == len); }
#define IAssert(Cond)
Definition: bd.h:262

Function Documentation

TStr operator+ ( const TStr LStr,
const TStr RStr 
)

Definition at line 1631 of file dt.cpp.

1631  {
1632  if (LStr.Empty()){return RStr;}
1633  else if (RStr.Empty()){return LStr;}
1634  else {return TStr(LStr)+=RStr;}
1635 }
Definition: dt.h:412
bool Empty() const
Definition: dt.h:488
TStr operator+ ( const TStr LStr,
const char *  RCStr 
)

Definition at line 1637 of file dt.cpp.

1637  {
1638  return TStr(LStr)+=RCStr;
1639 }
Definition: dt.h:412