Cinnamon  1.1
chess engine
namespaces.cpp File Reference
#include "namespaces.h"
#include <chrono>
#include <random>
#include <functional>

Namespaces

namespace  _memory
namespace  _time
namespace  _string
namespace  _file
namespace  _random
namespace  _bits

Functions

void * _memory::_mmap (string fileName)
void _memory::_munmap (void *blob, int fileSize)
int _time::diffTime (struct timeb t1, struct timeb t2)
string _time::getLocalTime ()
void _string::trimRight (string &str)
void _string::replace (string &f, char c1, char c2)
void _string::replace (string &f, string s1, string s2)
int _file::fileSize (const string &FileName)
string _file::extractFileName (string path)
void _random::init ()
u64 _random::getRandom64 ()
void _bits::_free ()
void _bits::init ()

Variables

function< u64()> _random::generator
u64 _bits::MASK_BIT_SET [64][64]
u64 _bits::MASK_BIT_SET_NOBOUND [64][64]
char _bits::MASK_BIT_SET_COUNT [64][64]
char _bits::MASK_BIT_SET_NOBOUND_COUNT [64][64]
u64 ** _bits::LINK_ROOKS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines