summaryrefslogtreecommitdiffstats
path: root/src/H5Bprivate.h
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-10-21 15:14:15 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-10-21 15:14:15 (GMT)
commit2bfbf4f707415774e17d160e626a5e11ff8d8d61 (patch)
treeac6ba5031c7e2774442953f750e356f8f3e7ae94 /src/H5Bprivate.h
parentbf5d98d7b9018c03e947422dc6f43e76feeca2b0 (diff)
downloadhdf5-2bfbf4f707415774e17d160e626a5e11ff8d8d61.zip
hdf5-2bfbf4f707415774e17d160e626a5e11ff8d8d61.tar.gz
hdf5-2bfbf4f707415774e17d160e626a5e11ff8d8d61.tar.bz2
[svn-r773] Changes since 19981019
---------------------- ./src/H5Fistore.c Improved the hash function so it mixes bits better. This results in a few percent improvement in raw data chunk cache efficiency because there are fewer collisions. ./test/chunk.c Added #define's for chunk preemption `w0' value and number of slots in cache. ./src/H5B.c Added some more comments to H5B_insert_helper() and H5B_remove_helper() and also point to some additional documentation.
Diffstat (limited to 'src/H5Bprivate.h')
-rw-r--r--src/H5Bprivate.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Bprivate.h b/src/H5Bprivate.h
index fe287b6..da89026 100644
--- a/src/H5Bprivate.h
+++ b/src/H5Bprivate.h
@@ -35,11 +35,11 @@
#define H5B_MAGIC "TREE" /*tree node magic number */
#define H5B_SIZEOF_MAGIC 4 /*size of magic number */
#define H5B_SIZEOF_HDR(F) \
- (H5B_SIZEOF_MAGIC + /*magic number */ \
- 4 + /*type, level, num entries */ \
+ (H5B_SIZEOF_MAGIC + /*magic number */ \
+ 4 + /*type, level, num entries */ \
2*H5F_SIZEOF_ADDR(F)) /*left and right sibling addresses */
-#define H5B_K(F,TYPE) /*K value given file and Btree subclass */ \
+#define H5B_K(F,TYPE) /*K value given file and Btree subclass */ \
((F)->shared->create_parms->btree_k[(TYPE)->id])
typedef enum H5B_ins_t {