diff options
author | Łukasz Stelmach <l.stelmach@samsung.com> | 2017-05-16 13:48:57 +0200 |
---|---|---|
committer | Łukasz Stelmach <l.stelmach@samsung.com> | 2017-05-16 14:38:32 +0200 |
commit | 20ac369a73b1d962fad5b23ec2ee9c2f766bca6e (patch) | |
tree | da434da0230103291874f32ca7e30c417e69692e | |
parent | 65ee196a5405411fc1cb9f98438df35a8755a5ba (diff) | |
download | ejdb-20ac369a73b1d962fad5b23ec2ee9c2f766bca6e.tar.gz ejdb-20ac369a73b1d962fad5b23ec2ee9c2f766bca6e.tar.bz2 ejdb-20ac369a73b1d962fad5b23ec2ee9c2f766bca6e.zip |
minor fix in comments
Forwarded: https://github.com/Softmotions/ejdb/pull/189
-rw-r--r-- | src/tcbdb/tcbdb.c | 2 | ||||
-rw-r--r-- | src/tchdb/tchdb.c | 2 | ||||
-rw-r--r-- | src/tctdb/tctdb.h | 2 | ||||
-rw-r--r-- | src/tcutil/tcutil.c | 4 |
4 files changed, 5 insertions, 5 deletions
diff --git a/src/tcbdb/tcbdb.c b/src/tcbdb/tcbdb.c index 17e9e0b..4f5fcc1 100644 --- a/src/tcbdb/tcbdb.c +++ b/src/tcbdb/tcbdb.c @@ -31,7 +31,7 @@ #define BDBMINLMEMB 4 // minimum number of members in each leaf #define BDBDEFNMEMB 256 // default number of members in each node #define BDBMINNMEMB 4 // minimum number of members in each node -#define BDBDEFBNUM 32749 // default bucket number +#define BDBDEFBNUM 32749 // default number of buckets #define BDBDEFAPOW 8 // default alignment power #define BDBDEFFPOW 10 // default free block pool power #define BDBDEFLCNUM 1024 // default number of leaf cache diff --git a/src/tchdb/tchdb.c b/src/tchdb/tchdb.c index 45dee6a..051875d 100644 --- a/src/tchdb/tchdb.c +++ b/src/tchdb/tchdb.c @@ -39,7 +39,7 @@ #define HDBB64(TC_hdb) ((uint64_t *) ((TC_hdb)->map + HDBHEADSIZ)) #define HDBB32(TC_hdb) ((uint32_t *) ((TC_hdb)->map + HDBHEADSIZ)) -#define HDBDEFBNUM 131071 // default bucket number +#define HDBDEFBNUM 131071 // default number of buckets #define HDBDEFAPOW 4 // default alignment power #define HDBMAXAPOW 16 // maximum alignment power #define HDBDEFFPOW 10 // default free block pool power diff --git a/src/tctdb/tctdb.h b/src/tctdb/tctdb.h index ee29a28..7e08e71 100644 --- a/src/tctdb/tctdb.h +++ b/src/tctdb/tctdb.h @@ -1179,7 +1179,7 @@ bool tctdbtrancommitimpl(TCTDB *tdb); bool tctdbtranabortimpl(TCTDB *tdb); -#define TDBDEFBNUM 131071 // default bucket number +#define TDBDEFBNUM 131071 // default number of buckets __TCTDB_CLINKAGEEND diff --git a/src/tcutil/tcutil.c b/src/tcutil/tcutil.c index 1f7bf44..9ba7ab6 100644 --- a/src/tcutil/tcutil.c +++ b/src/tcutil/tcutil.c @@ -910,7 +910,7 @@ void tclistprintf(TCLIST *list, const char *format, ...) { #define TCMAPKMAXSIZ 0xfffff // maximum size of each key -#define TCMAPDEFBNUM 4093 // default bucket number +#define TCMAPDEFBNUM 4093 // default number of buckets #define TCMAPZMMINSIZ 131072 // minimum memory size to use nullified region #define TCMAPCSUNIT 52 // small allocation unit size of map concatenation #define TCMAPCBUNIT 252 // big allocation unit size of map concatenation @@ -3550,7 +3550,7 @@ void tctreeprintf(TCTREE *tree, const char *kstr, const char *format, ...) { #define TCMDBMNUM 8 // number of internal maps -#define TCMDBDEFBNUM 65536 // default bucket number +#define TCMDBDEFBNUM 65536 // default number of buckets /* get the first hash value */ #define TCMDBHASH(TC_res, TC_kbuf, TC_ksiz) \ |