summaryrefslogtreecommitdiffstats
path: root/src/H5AC.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-01-20 19:10:08 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-01-20 19:10:08 (GMT)
commita4e47e25eb1fe1fc27846b20a7965f99a9bed220 (patch)
tree4ea1e5446ed5b6a5b1704725cb5aa5728234a5a7 /src/H5AC.c
parentc2c94c31878dc42926661c9cb7e71be620196fc1 (diff)
downloadhdf5-a4e47e25eb1fe1fc27846b20a7965f99a9bed220.zip
hdf5-a4e47e25eb1fe1fc27846b20a7965f99a9bed220.tar.gz
hdf5-a4e47e25eb1fe1fc27846b20a7965f99a9bed220.tar.bz2
[svn-r158] Changes since 19980116
---------------------- ./src/H5AC.c ./src/H5ACprivate.h ./src/H5B.c ./src/H5D.c ./src/H5Farray.c ./src/H5Fprivate.h ./src/H5V.c ./src/H5Vprivate.h Fixed indent oopses. ./src/H5D.c ./src/H5Fprivate.h ./src/H5Farray.c ./test/istore.c We can now perform partial I/O on contiguous storage transferring between a hyperslab of file storage and a hyperslab of memory. However, partial I/O hasn't been added to the I/O pipeline yet in H5D.c
Diffstat (limited to 'src/H5AC.c')
-rw-r--r--src/H5AC.c23
1 files changed, 15 insertions, 8 deletions
diff --git a/src/H5AC.c b/src/H5AC.c
index 42a7b9f..247ae62 100644
--- a/src/H5AC.c
+++ b/src/H5AC.c
@@ -36,7 +36,7 @@
*/
#define PABLO_MASK H5AC_mask
#define INTERFACE_INIT NULL
-static int interface_initialize_g = FALSE; /*initialized? */
+static int interface_initialize_g = FALSE;
#ifdef H5AC_SORT_BY_ADDR
static H5AC_t *current_cache_g = NULL; /*for sorting */
@@ -179,7 +179,8 @@ H5AC_find_f(H5F_t *f, const H5AC_class_t *type, const haddr_t *addr,
unsigned idx;
herr_t status;
void *thing = NULL;
- herr_t (*flush) (H5F_t *, hbool_t, const haddr_t *, void *) = NULL;
+ herr_t (*flush) (H5F_t *, hbool_t, const haddr_t *,
+ void *) = NULL;
H5AC_slot_t *slot = NULL;
H5AC_t *cache = NULL;
@@ -340,7 +341,8 @@ H5AC_flush(H5F_t *f, const H5AC_class_t *type, const haddr_t *addr,
{
uintn i;
herr_t status;
- herr_t (*flush) (H5F_t *, hbool_t, const haddr_t *, void *) = NULL;
+ herr_t (*flush) (H5F_t *, hbool_t, const haddr_t *,
+ void *) = NULL;
H5AC_slot_t *slot;
intn *map = NULL;
intn nslots;
@@ -464,7 +466,8 @@ H5AC_set(H5F_t *f, const H5AC_class_t *type, const haddr_t *addr, void *thing)
{
herr_t status;
uintn idx;
- herr_t (*flush) (H5F_t *, hbool_t, const haddr_t *, void *) = NULL;
+ herr_t (*flush) (H5F_t *, hbool_t, const haddr_t *,
+ void *) = NULL;
H5AC_slot_t *slot = NULL;
H5AC_t *cache = NULL;
@@ -533,7 +536,8 @@ H5AC_rename(H5F_t *f, const H5AC_class_t *type,
const haddr_t *old_addr, const haddr_t *new_addr)
{
uintn old_idx, new_idx;
- herr_t (*flush) (H5F_t *, hbool_t, const haddr_t *, void *);
+ herr_t (*flush) (H5F_t *, hbool_t, const haddr_t *,
+ void *);
herr_t status;
H5AC_t *cache = NULL;
@@ -553,10 +557,12 @@ H5AC_rename(H5F_t *f, const H5AC_class_t *type,
int i;
for (i = 0; i < cache->slot[old_idx].nprots; i++) {
- assert(H5F_addr_ne(old_addr, &(cache->slot[old_idx].prot[i].addr)));
+ assert(H5F_addr_ne(old_addr,
+ &(cache->slot[old_idx].prot[i].addr)));
}
for (i = 0; i < cache->slot[new_idx].nprots; i++) {
- assert(H5F_addr_ne(new_addr, &(cache->slot[new_idx].prot[i].addr)));
+ assert(H5F_addr_ne(new_addr,
+ &(cache->slot[new_idx].prot[i].addr)));
}
}
#endif
@@ -743,7 +749,8 @@ H5AC_unprotect(H5F_t *f, const H5AC_class_t *type, const haddr_t *addr,
{
herr_t status;
uintn idx;
- herr_t (*flush) (H5F_t *, hbool_t, const haddr_t *, void *) = NULL;
+ herr_t (*flush) (H5F_t *, hbool_t, const haddr_t *,
+ void *) = NULL;
H5AC_t *cache = NULL;
H5AC_slot_t *slot = NULL;