10 #ifndef STORAGE_LEVELDB_PORT_PORT_EXAMPLE_H_ 11 #define STORAGE_LEVELDB_PORT_PORT_EXAMPLE_H_ 70 #define LEVELDB_ONCE_INIT 0 107 std::string* output);
130 extern bool GetHeapProfile(
void (*func)(
void*,
const char*,
int),
void* arg);
145 #endif // STORAGE_LEVELDB_PORT_PORT_EXAMPLE_H_
Definition: autocompact_test.cc:11
void AssertHeld()
Definition: port_win.cc:66
Definition: port_example.h:75
bool Snappy_Uncompress(const char *input_data, size_t input_length, char *output)
Definition: port_posix.h:142
CondVar(Mutex *mu)
Definition: port_posix.cc:33
AtomicPointer(void *v)
Definition: port_example.h:83
void Unlock()
Definition: port_posix.cc:31
~Mutex()
Definition: port_posix.cc:27
Mutex()
Definition: port_posix.cc:25
bool Snappy_GetUncompressedLength(const char *input, size_t length, size_t *result)
Definition: port_posix.h:133
bool HasAcceleratedCRC32C()
Definition: port_posix.cc:56
void Signal()
Definition: port_posix.cc:44
void NoBarrier_Store(void *v)
Definition: port_win.cc:143
void Wait()
Definition: port_posix.cc:40
void Release_Store(void *v)
Definition: port_win.cc:135
static const bool kLittleEndian
Definition: port_example.h:21
void Lock()
Definition: port_posix.cc:29
unsigned int uint32_t
Definition: stdint.h:21
bool Snappy_Compress(const char *input, size_t input_length, std::string *output)
void InitOnce(port::OnceType *, void(*initializer)())
Definition: port_posix.cc:52
bool GetHeapProfile(void(*func)(void *, const char *, int), void *arg)
Definition: port_posix.h:151
void * Acquire_Load() const
Definition: port_win.cc:129
uint32_t AcceleratedCRC32C(uint32_t crc, const char *buf, size_t size)
Definition: port_posix_sse.cc:54
intptr_t OnceType
Definition: port_example.h:69
void * NoBarrier_Load() const
Definition: port_win.cc:139
Definition: port_example.h:45
~CondVar()
Definition: port_posix.cc:38
int port
Definition: zmq_sub.py:37
Definition: port_example.h:26
intptr_t rep_
Definition: port_example.h:77