#include "../PersistException.hpp"
#include <derecho/conf/conf.hpp>
#include <errno.h>
#include <fcntl.h>
#include <string>
#include <sys/stat.h>
#include <sys/types.h>
#include <unistd.h>
Go to the source code of this file.
◆ HIGH__int128
| #define HIGH__int128 |
( |
|
x | ) |
(*((uint64_t*)((uint64_t)(&(x)) + 8))) |
◆ LOW__int128
| #define LOW__int128 |
( |
|
x | ) |
(*((uint64_t*)&(x))) |
◆ MAX
Value:({ __typeof__ (a) _a = (a); \
__typeof__ (b) _b = (b); \
_a > _b ? _a : _b; })
Definition at line 13 of file util.hpp.
◆ MIN
Value:({ __typeof__ (a) _a = (a); \
__typeof__ (b) _b = (b); \
_a < _b ? _a : _b; })
Definition at line 18 of file util.hpp.
◆ checkOrCreateDir()
| void checkOrCreateDir |
( |
const std::string & |
dirPath | ) |
|
|
inlinenoexcept |
◆ checkOrCreateFileWithSize()
| bool checkOrCreateFileWithSize |
( |
const std::string & |
file, |
|
|
uint64_t |
size |
|
) |
| |
|
inlinenoexcept |
◆ checkRegularFile()
| bool checkRegularFile |
( |
const std::string & |
file | ) |
|
|
inlinenoexcept |
◆ getPersFilePath()
| std::string getPersFilePath |
( |
| ) |
|
|
inline |
◆ getPersRamdiskPath()
| std::string getPersRamdiskPath |
( |
| ) |
|
|
inline |