40#include <ucommon-config.h>
53 idx = (idx << 1) ^ (*(
id++) & 0x1f);
60 size_t len = strlen(
str) + 1;
61 char *cp = (
char *)
_alloc(len);
86 size_t size = strlen(
id) + 1;
virtual void * getMemory(size_t size)=0
void setPointer(const char *id, void *data)
void * getPointer(const char *id) const
void set(const char *text)
Set string object to text of a null terminated string.
size_t size(void) const
Get the size of a memory page.
virtual void * _alloc(size_t size) __OVERRIDE
Allocate memory from the pager heap.
Export interfaces for library interfaces.
Common C++ thread class and sychronization objects.
int stricmp(const char *s1, const char *s2)
GNU Common C++ exception model base classes.
various miscellaneous classes historically used.
#define KEYDATA_INDEX_SIZE
static unsigned getIndex(const char *id)
String str(Socket &so, size_t size)