summaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-05-08 22:29:07 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-05-08 22:29:07 (GMT)
commit96c529af87fced0de58b3d9e09ae1fc376cba73d (patch)
tree508515669984cd0795261f8309d7241c220b9846 /test
parentdca5c02b3140197e1f7a5ebbd177875959121739 (diff)
downloadhdf5-96c529af87fced0de58b3d9e09ae1fc376cba73d.zip
hdf5-96c529af87fced0de58b3d9e09ae1fc376cba73d.tar.gz
hdf5-96c529af87fced0de58b3d9e09ae1fc376cba73d.tar.bz2
[svn-r2219] This simplifies the "check for power of 2" in the hashing function. There
was also a subtle bug in the previous code. A valid size of 16K would have been rejected since it was checking for an invalid number. The scheme that replaces it relies on the fact that powers of two and only powers of two have 1 bit set in binary.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions