LogCabin
Namespaces | Functions
Core/Util.cc File Reference
#include <cstring>
#include "Core/Util.h"

Go to the source code of this file.

Namespaces

namespace  LogCabin
namespace  LogCabin::Core
namespace  LogCabin::Core::Util

Functions

bool LogCabin::Core::Util::isPowerOfTwo (uint64_t x)
 Return true if the log of x in base 2 is a whole number.
void * LogCabin::Core::Util::memcpy (void *dest, std::initializer_list< std::pair< const void *, size_t >> src)
 Copy some noncontiguous chunks of data into a contiguous chunk.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines