diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-16 22:57:56 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2006-10-16 22:57:56 (GMT) |
commit | 16a95636a32fd3f5f16ec37370060222673085a5 (patch) | |
tree | 92a43f36d4b10489b100b541e7c76a2fb875791c /src/H5Gdense.c | |
parent | 84bf19bec42e2c53114727df2e239aa3fecb1071 (diff) | |
download | hdf5-16a95636a32fd3f5f16ec37370060222673085a5.zip hdf5-16a95636a32fd3f5f16ec37370060222673085a5.tar.gz hdf5-16a95636a32fd3f5f16ec37370060222673085a5.tar.bz2 |
[svn-r12768] Description:
Add 'initval' parameter to "lookup3" checksum routine (and implicitly to
the metadata checksum routine), to allow chaining several checksums together
easily (which isn't used by these modules, but will be used in my next checkin)
Tested on:
Linux/32 2.6 (chicago)
Linux/64 2.6 (chicago2)
Diffstat (limited to 'src/H5Gdense.c')
-rw-r--r-- | src/H5Gdense.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/H5Gdense.c b/src/H5Gdense.c index 4c31adc..3019d4f 100644 --- a/src/H5Gdense.c +++ b/src/H5Gdense.c @@ -387,7 +387,7 @@ HDfprintf(stderr, "%s: HDstrlen(lnk->name) = %Zu, link_size = %Zu\n", FUNC, HDst udata.common.dxpl_id = dxpl_id; udata.common.fheap = fheap; udata.common.name = lnk->name; - udata.common.name_hash = H5_checksum_lookup3(lnk->name, HDstrlen(lnk->name)); + udata.common.name_hash = H5_checksum_lookup3(lnk->name, HDstrlen(lnk->name), 0); udata.common.found_op = NULL; udata.common.found_op_data = NULL; /* udata.id already set in H5HF_insert() call */ @@ -491,7 +491,7 @@ H5G_dense_lookup(H5F_t *f, hid_t dxpl_id, const H5O_linfo_t *linfo, udata.dxpl_id = dxpl_id; udata.fheap = fheap; udata.name = name; - udata.name_hash = H5_checksum_lookup3(name, HDstrlen(name)); + udata.name_hash = H5_checksum_lookup3(name, HDstrlen(name), 0); udata.found_op = H5G_dense_lookup_cb; /* v2 B-tree comparison callback */ udata.found_op_data = lnk; @@ -1275,7 +1275,7 @@ H5G_dense_remove(H5F_t *f, hid_t dxpl_id, const H5O_linfo_t *linfo, udata.common.dxpl_id = dxpl_id; udata.common.fheap = fheap; udata.common.name = name; - udata.common.name_hash = H5_checksum_lookup3(name, HDstrlen(name)); + udata.common.name_hash = H5_checksum_lookup3(name, HDstrlen(name), 0); udata.common.found_op = NULL; udata.common.found_op_data = NULL; udata.adj_link = TRUE; |