![]() |
Cinnamon
1.0
chess engine
|
#include <algorithm>
#include <sys/stat.h>
#include <sys/timeb.h>
#include <sys/mman.h>
#include "random.inc"
Go to the source code of this file.
Classes | |
struct | _board::_Tmove |
struct | _board::_TmoveP |
Namespaces | |
namespace | _board |
namespace | _memory |
namespace | _time |
namespace | _string |
namespace | _file |
namespace | _bits |
namespace | _eval |
Defines | |
#define | assert(a) if(!(a)){cout<<endl<<_time::getLocalTime()<<" ********************************** assert error IN "<<__FILE__<< " line "<<__LINE__<<" **********************************"<<endl<<flush;exit(1);}; |
#define | ASSERT(a) |
#define | INC(a) |
Typedefs | |
typedef unsigned char | _board::uchar |
typedef long long unsigned | _board::u64 |
Enumerations | |
enum | _eval::_Tstatus { _eval::OPEN, _eval::MIDDLE, _eval::END } |
Functions | |
void * | _memory::_mmap (string fileName) |
void | _memory::_munmap (void *blob, int fileSize) |
string | _time::getLocalTime () |
int | _time::diffTime (struct timeb t1, struct timeb t2) |
void | _string::trimRight (string &str) |
void | _string::replace (string &f, string s1, string s2) |
void | _string::replace (string &f, char c1, char c2) |
int | _file::fileSize (const string &FileName) |
void | _bits::init () |
void | _bits::_free () |
#define assert | ( | a | ) | if(!(a)){cout<<endl<<_time::getLocalTime()<<" ********************************** assert error IN "<<__FILE__<< " line "<<__LINE__<<" **********************************"<<endl<<flush;exit(1);}; |
Definition at line 24 of file namespaces.h.
#define ASSERT | ( | a | ) |
Definition at line 33 of file namespaces.h.
#define INC | ( | a | ) |
Definition at line 34 of file namespaces.h.