Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

file 18 lines (16 sloc) 0.648 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
/* Starting buffer size for nkv-node. In interval [3, 256] */
#define NKV_START_BUFSIZE 8
/* Growth factor for nkv-nodes. Factor = a/b, 0 < a <= 255, b is power
of 2 between 1 and 128. */
#define NKV_GROWTH_FACTOR_A 2
#define NKV_GROWTH_FACTOR_B 1

/* Starting buffer size for ndp-node. In interval [3, 256] */
#define NDP_START_BUFSIZE 8
/* Growth factor for ndp-nodes. Factor = a/b, 0 < a <= 255, b is power
of 2 between 1 and 128. */
#define NDP_GROWTH_FACTOR_A 2
#define NDP_GROWTH_FACTOR_B 1

/* Max K-V pairs in an nkv-node before it expands. [3, 255] */
#define NKV_MAX_SIZE 128
/* Ditto, but for ndp-nodes. */
#define NDP_MAX_SIZE 32
Something went wrong with that request. Please try again.