72void SetKT(
int ktval) {keepTime = ktval;}
93static const int LoadMax = 80;
96 {
union {
long long aV6[2];
106inline int operator!=(
const anItem &oth)
107 {
return aLen != oth.aLen || aHash != oth.aHash
108 || memcmp(aVal, oth.aVal, aLen);
111 anItem() : Next(0), hName(0), aLen(0) {}
113 anItem(anItem &Item,
const char *hn,
int kt)
114 : Next(0), hName(strdup(hn)), expTime(time(0)+kt),
115 aHash(Item.aHash), aLen(Item.aLen)
116 {memcpy(aVal, Item.aVal, Item.aLen);}
117 ~anItem() {
if (hName) free(hName);}
122anItem *Locate(anItem &Item);