{-# LINE 1 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
module Bindings.HDF5.Raw.H5AC where
import Foreign.C.Types
import Foreign.Marshal.Array
import Foreign.Ptr
import Foreign.Storable
import Bindings.HDF5.Raw.H5
import Bindings.HDF5.Raw.H5C
{-# LINE 38 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 44 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 51 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 65 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 73 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 83 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 103 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 109 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 114 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 119 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 126 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 133 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 143 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 166 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 178 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 187 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 191 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 196 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 238 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 244 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 250 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 280 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 300 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 309 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 313 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 319 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 329 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 334 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 343 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 352 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
{-# LINE 357 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
data H5AC_cache_config_t = H5AC_cache_config_t{
H5AC_cache_config_t -> CInt
h5ac_cache_config_t'version :: CInt,
h5ac_cache_config_t'rpt_fcn_enabled :: HBool_t,
h5ac_cache_config_t'open_trace_file :: HBool_t,
h5ac_cache_config_t'close_trace_file :: HBool_t,
h5ac_cache_config_t'trace_file_name :: [CChar],
h5ac_cache_config_t'evictions_enabled :: HBool_t,
h5ac_cache_config_t'set_initial_size :: HBool_t,
h5ac_cache_config_t'initial_size :: CSize,
h5ac_cache_config_t'min_clean_fraction :: CDouble,
h5ac_cache_config_t'max_size :: CSize,
h5ac_cache_config_t'min_size :: CSize,
h5ac_cache_config_t'epoch_length :: CLong,
h5ac_cache_config_t'incr_mode :: H5C_cache_incr_mode,
h5ac_cache_config_t'lower_hr_threshold :: CDouble,
h5ac_cache_config_t'increment :: CDouble,
h5ac_cache_config_t'apply_max_increment :: HBool_t,
h5ac_cache_config_t'max_increment :: CSize,
h5ac_cache_config_t'flash_incr_mode :: H5C_cache_flash_incr_mode,
h5ac_cache_config_t'flash_multiple :: CDouble,
h5ac_cache_config_t'flash_threshold :: CDouble,
h5ac_cache_config_t'decr_mode :: H5C_cache_decr_mode,
H5AC_cache_config_t -> CDouble
h5ac_cache_config_t'upper_hr_threshold :: CDouble,
H5AC_cache_config_t -> CDouble
h5ac_cache_config_t'decrement :: CDouble,
H5AC_cache_config_t -> HBool_t
h5ac_cache_config_t'apply_max_decrement :: HBool_t,
H5AC_cache_config_t -> CSize
h5ac_cache_config_t'max_decrement :: CSize,
H5AC_cache_config_t -> CInt
h5ac_cache_config_t'epochs_before_eviction :: CInt,
H5AC_cache_config_t -> HBool_t
h5ac_cache_config_t'apply_empty_reserve :: HBool_t,
H5AC_cache_config_t -> CDouble
h5ac_cache_config_t'empty_reserve :: CDouble,
H5AC_cache_config_t -> CSize
h5ac_cache_config_t'dirty_bytes_threshold :: CSize,
H5AC_cache_config_t -> CInt
h5ac_cache_config_t'metadata_write_strategy :: CInt
} deriving (H5AC_cache_config_t -> H5AC_cache_config_t -> Bool
(H5AC_cache_config_t -> H5AC_cache_config_t -> Bool)
-> (H5AC_cache_config_t -> H5AC_cache_config_t -> Bool)
-> Eq H5AC_cache_config_t
forall a. (a -> a -> Bool) -> (a -> a -> Bool) -> Eq a
$c== :: H5AC_cache_config_t -> H5AC_cache_config_t -> Bool
== :: H5AC_cache_config_t -> H5AC_cache_config_t -> Bool
$c/= :: H5AC_cache_config_t -> H5AC_cache_config_t -> Bool
/= :: H5AC_cache_config_t -> H5AC_cache_config_t -> Bool
Eq,Int -> H5AC_cache_config_t -> ShowS
[H5AC_cache_config_t] -> ShowS
H5AC_cache_config_t -> String
(Int -> H5AC_cache_config_t -> ShowS)
-> (H5AC_cache_config_t -> String)
-> ([H5AC_cache_config_t] -> ShowS)
-> Show H5AC_cache_config_t
forall a.
(Int -> a -> ShowS) -> (a -> String) -> ([a] -> ShowS) -> Show a
$cshowsPrec :: Int -> H5AC_cache_config_t -> ShowS
showsPrec :: Int -> H5AC_cache_config_t -> ShowS
$cshow :: H5AC_cache_config_t -> String
show :: H5AC_cache_config_t -> String
$cshowList :: [H5AC_cache_config_t] -> ShowS
showList :: [H5AC_cache_config_t] -> ShowS
Show)
p'H5AC_cache_config_t'version :: Ptr H5AC_cache_config_t -> Ptr CInt
p'H5AC_cache_config_t'version Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CInt
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
0
p'H5AC_cache_config_t'version :: Ptr (H5AC_cache_config_t) -> Ptr (CInt)
p'H5AC_cache_config_t'rpt_fcn_enabled :: Ptr H5AC_cache_config_t -> Ptr HBool_t
p'H5AC_cache_config_t'rpt_fcn_enabled Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr HBool_t
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
4
p'H5AC_cache_config_t'rpt_fcn_enabled :: Ptr (H5AC_cache_config_t) -> Ptr (HBool_t)
p'H5AC_cache_config_t'open_trace_file :: Ptr H5AC_cache_config_t -> Ptr HBool_t
p'H5AC_cache_config_t'open_trace_file Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr HBool_t
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
5
p'H5AC_cache_config_t'open_trace_file :: Ptr (H5AC_cache_config_t) -> Ptr (HBool_t)
p'H5AC_cache_config_t'close_trace_file :: Ptr H5AC_cache_config_t -> Ptr HBool_t
p'H5AC_cache_config_t'close_trace_file Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr HBool_t
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
6
p'H5AC_cache_config_t'close_trace_file :: Ptr (H5AC_cache_config_t) -> Ptr (HBool_t)
p'H5AC_cache_config_t'trace_file_name :: Ptr H5AC_cache_config_t -> Ptr CChar
p'H5AC_cache_config_t'trace_file_name Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CChar
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
7
p'H5AC_cache_config_t'trace_file_name :: Ptr (H5AC_cache_config_t) -> Ptr (CChar)
p'H5AC_cache_config_t'evictions_enabled :: Ptr H5AC_cache_config_t -> Ptr HBool_t
p'H5AC_cache_config_t'evictions_enabled Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr HBool_t
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1032
p'H5AC_cache_config_t'evictions_enabled :: Ptr (H5AC_cache_config_t) -> Ptr (HBool_t)
p'H5AC_cache_config_t'set_initial_size :: Ptr H5AC_cache_config_t -> Ptr HBool_t
p'H5AC_cache_config_t'set_initial_size Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr HBool_t
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1033
p'H5AC_cache_config_t'set_initial_size :: Ptr (H5AC_cache_config_t) -> Ptr (HBool_t)
p'H5AC_cache_config_t'initial_size :: Ptr H5AC_cache_config_t -> Ptr CSize
p'H5AC_cache_config_t'initial_size Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CSize
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1040
p'H5AC_cache_config_t'initial_size :: Ptr (H5AC_cache_config_t) -> Ptr (CSize)
p'H5AC_cache_config_t'min_clean_fraction :: Ptr H5AC_cache_config_t -> Ptr CDouble
p'H5AC_cache_config_t'min_clean_fraction Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CDouble
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1048
p'H5AC_cache_config_t'min_clean_fraction :: Ptr (H5AC_cache_config_t) -> Ptr (CDouble)
p'H5AC_cache_config_t'max_size :: Ptr H5AC_cache_config_t -> Ptr CSize
p'H5AC_cache_config_t'max_size Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CSize
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1056
p'H5AC_cache_config_t'max_size :: Ptr (H5AC_cache_config_t) -> Ptr (CSize)
p'H5AC_cache_config_t'min_size :: Ptr H5AC_cache_config_t -> Ptr CSize
p'H5AC_cache_config_t'min_size Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CSize
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1064
p'H5AC_cache_config_t'min_size :: Ptr (H5AC_cache_config_t) -> Ptr (CSize)
p'H5AC_cache_config_t'epoch_length :: Ptr H5AC_cache_config_t -> Ptr CLong
p'H5AC_cache_config_t'epoch_length Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CLong
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1072
p'H5AC_cache_config_t'epoch_length :: Ptr (H5AC_cache_config_t) -> Ptr (CLong)
p'H5AC_cache_config_t'incr_mode :: Ptr H5AC_cache_config_t -> Ptr H5C_cache_incr_mode
p'H5AC_cache_config_t'incr_mode Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr H5C_cache_incr_mode
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1080
p'H5AC_cache_config_t'incr_mode :: Ptr (H5AC_cache_config_t) -> Ptr (H5C_cache_incr_mode)
p'H5AC_cache_config_t'lower_hr_threshold :: Ptr H5AC_cache_config_t -> Ptr CDouble
p'H5AC_cache_config_t'lower_hr_threshold Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CDouble
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1088
p'H5AC_cache_config_t'lower_hr_threshold :: Ptr (H5AC_cache_config_t) -> Ptr (CDouble)
p'H5AC_cache_config_t'increment :: Ptr H5AC_cache_config_t -> Ptr CDouble
p'H5AC_cache_config_t'increment Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CDouble
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1096
p'H5AC_cache_config_t'increment :: Ptr (H5AC_cache_config_t) -> Ptr (CDouble)
p'H5AC_cache_config_t'apply_max_increment :: Ptr H5AC_cache_config_t -> Ptr HBool_t
p'H5AC_cache_config_t'apply_max_increment Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr HBool_t
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1104
p'H5AC_cache_config_t'apply_max_increment :: Ptr (H5AC_cache_config_t) -> Ptr (HBool_t)
p'H5AC_cache_config_t'max_increment :: Ptr H5AC_cache_config_t -> Ptr CSize
p'H5AC_cache_config_t'max_increment Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CSize
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1112
p'H5AC_cache_config_t'max_increment :: Ptr (H5AC_cache_config_t) -> Ptr (CSize)
p'H5AC_cache_config_t'flash_incr_mode :: Ptr H5AC_cache_config_t -> Ptr H5C_cache_flash_incr_mode
p'H5AC_cache_config_t'flash_incr_mode Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr H5C_cache_flash_incr_mode
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1120
p'H5AC_cache_config_t'flash_incr_mode :: Ptr (H5AC_cache_config_t) -> Ptr (H5C_cache_flash_incr_mode)
p'H5AC_cache_config_t'flash_multiple :: Ptr H5AC_cache_config_t -> Ptr CDouble
p'H5AC_cache_config_t'flash_multiple Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CDouble
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1128
p'H5AC_cache_config_t'flash_multiple :: Ptr (H5AC_cache_config_t) -> Ptr (CDouble)
p'H5AC_cache_config_t'flash_threshold :: Ptr H5AC_cache_config_t -> Ptr CDouble
p'H5AC_cache_config_t'flash_threshold Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CDouble
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1136
p'H5AC_cache_config_t'flash_threshold :: Ptr (H5AC_cache_config_t) -> Ptr (CDouble)
p'H5AC_cache_config_t'decr_mode :: Ptr H5AC_cache_config_t -> Ptr H5C_cache_decr_mode
p'H5AC_cache_config_t'decr_mode Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr H5C_cache_decr_mode
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1144
p'H5AC_cache_config_t'decr_mode :: Ptr (H5AC_cache_config_t) -> Ptr (H5C_cache_decr_mode)
p'H5AC_cache_config_t'upper_hr_threshold :: Ptr H5AC_cache_config_t -> Ptr CDouble
p'H5AC_cache_config_t'upper_hr_threshold Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CDouble
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1152
p'H5AC_cache_config_t'upper_hr_threshold :: Ptr (H5AC_cache_config_t) -> Ptr (CDouble)
p'H5AC_cache_config_t'decrement :: Ptr H5AC_cache_config_t -> Ptr CDouble
p'H5AC_cache_config_t'decrement Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CDouble
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1160
p'H5AC_cache_config_t'decrement :: Ptr (H5AC_cache_config_t) -> Ptr (CDouble)
p'H5AC_cache_config_t'apply_max_decrement :: Ptr H5AC_cache_config_t -> Ptr HBool_t
p'H5AC_cache_config_t'apply_max_decrement Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr HBool_t
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1168
p'H5AC_cache_config_t'apply_max_decrement :: Ptr (H5AC_cache_config_t) -> Ptr (HBool_t)
p'H5AC_cache_config_t'max_decrement :: Ptr H5AC_cache_config_t -> Ptr CSize
p'H5AC_cache_config_t'max_decrement Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CSize
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1176
p'H5AC_cache_config_t'max_decrement :: Ptr (H5AC_cache_config_t) -> Ptr (CSize)
p'H5AC_cache_config_t'epochs_before_eviction :: Ptr H5AC_cache_config_t -> Ptr CInt
p'H5AC_cache_config_t'epochs_before_eviction Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CInt
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1184
p'H5AC_cache_config_t'epochs_before_eviction :: Ptr (H5AC_cache_config_t) -> Ptr (CInt)
p'H5AC_cache_config_t'apply_empty_reserve :: Ptr H5AC_cache_config_t -> Ptr HBool_t
p'H5AC_cache_config_t'apply_empty_reserve Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr HBool_t
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1188
p'H5AC_cache_config_t'apply_empty_reserve :: Ptr (H5AC_cache_config_t) -> Ptr (HBool_t)
p'H5AC_cache_config_t'empty_reserve :: Ptr H5AC_cache_config_t -> Ptr CDouble
p'H5AC_cache_config_t'empty_reserve Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CDouble
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1192
p'H5AC_cache_config_t'empty_reserve :: Ptr (H5AC_cache_config_t) -> Ptr (CDouble)
p'H5AC_cache_config_t'dirty_bytes_threshold :: Ptr H5AC_cache_config_t -> Ptr CSize
p'H5AC_cache_config_t'dirty_bytes_threshold Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CSize
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1200
p'H5AC_cache_config_t'dirty_bytes_threshold :: Ptr (H5AC_cache_config_t) -> Ptr (CSize)
p'H5AC_cache_config_t'metadata_write_strategy :: Ptr H5AC_cache_config_t -> Ptr CInt
p'H5AC_cache_config_t'metadata_write_strategy Ptr H5AC_cache_config_t
p = Ptr H5AC_cache_config_t -> Int -> Ptr CInt
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
p Int
1208
p'H5AC_cache_config_t'metadata_write_strategy :: Ptr (H5AC_cache_config_t) -> Ptr (CInt)
instance Storable H5AC_cache_config_t where
sizeOf :: H5AC_cache_config_t -> Int
sizeOf H5AC_cache_config_t
_ = Int
1216
alignment :: H5AC_cache_config_t -> Int
alignment H5AC_cache_config_t
_ = Int
8
peek :: Ptr H5AC_cache_config_t -> IO H5AC_cache_config_t
peek Ptr H5AC_cache_config_t
_p = do
v0 <- Ptr H5AC_cache_config_t -> Int -> IO CInt
forall b. Ptr b -> Int -> IO CInt
forall a b. Storable a => Ptr b -> Int -> IO a
peekByteOff Ptr H5AC_cache_config_t
_p Int
0
v1 <- peekByteOff _p 4
v2 <- peekByteOff _p 5
v3 <- peekByteOff _p 6
v4 <- let s4 = Int -> Int -> Int
forall a. Integral a => a -> a -> a
div Int
1025 (Int -> Int) -> Int -> Int
forall a b. (a -> b) -> a -> b
$ CChar -> Int
forall a. Storable a => a -> Int
sizeOf (CChar -> Int) -> CChar -> Int
forall a b. (a -> b) -> a -> b
$ (CChar
forall a. HasCallStack => a
undefined :: CChar) in peekArray s4 (plusPtr _p 7)
v5 <- peekByteOff _p 1032
v6 <- peekByteOff _p 1033
v7 <- peekByteOff _p 1040
v8 <- peekByteOff _p 1048
v9 <- peekByteOff _p 1056
v10 <- peekByteOff _p 1064
v11 <- peekByteOff _p 1072
v12 <- peekByteOff _p 1080
v13 <- peekByteOff _p 1088
v14 <- peekByteOff _p 1096
v15 <- peekByteOff _p 1104
v16 <- peekByteOff _p 1112
v17 <- peekByteOff _p 1120
v18 <- peekByteOff _p 1128
v19 <- peekByteOff _p 1136
v20 <- peekByteOff _p 1144
v21 <- peekByteOff _p 1152
v22 <- peekByteOff _p 1160
v23 <- peekByteOff _p 1168
v24 <- peekByteOff _p 1176
v25 <- peekByteOff _p 1184
v26 <- peekByteOff _p 1188
v27 <- peekByteOff _p 1192
v28 <- peekByteOff _p 1200
v29 <- peekByteOff _p 1208
return $ H5AC_cache_config_t v0 v1 v2 v3 v4 v5 v6 v7 v8 v9 v10 v11 v12 v13 v14 v15 v16 v17 v18 v19 v20 v21 v22 v23 v24 v25 v26 v27 v28 v29
poke :: Ptr H5AC_cache_config_t -> H5AC_cache_config_t -> IO ()
poke Ptr H5AC_cache_config_t
_p (H5AC_cache_config_t CInt
v0 HBool_t
v1 HBool_t
v2 HBool_t
v3 [CChar]
v4 HBool_t
v5 HBool_t
v6 CSize
v7 CDouble
v8 CSize
v9 CSize
v10 CLong
v11 H5C_cache_incr_mode
v12 CDouble
v13 CDouble
v14 HBool_t
v15 CSize
v16 H5C_cache_flash_incr_mode
v17 CDouble
v18 CDouble
v19 H5C_cache_decr_mode
v20 CDouble
v21 CDouble
v22 HBool_t
v23 CSize
v24 CInt
v25 HBool_t
v26 CDouble
v27 CSize
v28 CInt
v29) = do
Ptr H5AC_cache_config_t -> Int -> CInt -> IO ()
forall b. Ptr b -> Int -> CInt -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
0 CInt
v0
Ptr H5AC_cache_config_t -> Int -> HBool_t -> IO ()
forall b. Ptr b -> Int -> HBool_t -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
4 HBool_t
v1
Ptr H5AC_cache_config_t -> Int -> HBool_t -> IO ()
forall b. Ptr b -> Int -> HBool_t -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
5 HBool_t
v2
Ptr H5AC_cache_config_t -> Int -> HBool_t -> IO ()
forall b. Ptr b -> Int -> HBool_t -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
6 HBool_t
v3
let s4 :: Int
s4 = Int -> Int -> Int
forall a. Integral a => a -> a -> a
div Int
1025 (Int -> Int) -> Int -> Int
forall a b. (a -> b) -> a -> b
$ CChar -> Int
forall a. Storable a => a -> Int
sizeOf (CChar -> Int) -> CChar -> Int
forall a b. (a -> b) -> a -> b
$ (CChar
forall a. HasCallStack => a
undefined :: CChar)
Ptr CChar -> [CChar] -> IO ()
forall a. Storable a => Ptr a -> [a] -> IO ()
pokeArray (Ptr H5AC_cache_config_t -> Int -> Ptr CChar
forall a b. Ptr a -> Int -> Ptr b
plusPtr Ptr H5AC_cache_config_t
_p Int
7) (Int -> [CChar] -> [CChar]
forall a. Int -> [a] -> [a]
take Int
s4 [CChar]
v4)
Ptr H5AC_cache_config_t -> Int -> HBool_t -> IO ()
forall b. Ptr b -> Int -> HBool_t -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1032 HBool_t
v5
Ptr H5AC_cache_config_t -> Int -> HBool_t -> IO ()
forall b. Ptr b -> Int -> HBool_t -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1033 HBool_t
v6
Ptr H5AC_cache_config_t -> Int -> CSize -> IO ()
forall b. Ptr b -> Int -> CSize -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1040 CSize
v7
Ptr H5AC_cache_config_t -> Int -> CDouble -> IO ()
forall b. Ptr b -> Int -> CDouble -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1048 CDouble
v8
Ptr H5AC_cache_config_t -> Int -> CSize -> IO ()
forall b. Ptr b -> Int -> CSize -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1056 CSize
v9
Ptr H5AC_cache_config_t -> Int -> CSize -> IO ()
forall b. Ptr b -> Int -> CSize -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1064 CSize
v10
Ptr H5AC_cache_config_t -> Int -> CLong -> IO ()
forall b. Ptr b -> Int -> CLong -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1072 CLong
v11
Ptr H5AC_cache_config_t -> Int -> H5C_cache_incr_mode -> IO ()
forall b. Ptr b -> Int -> H5C_cache_incr_mode -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1080 H5C_cache_incr_mode
v12
Ptr H5AC_cache_config_t -> Int -> CDouble -> IO ()
forall b. Ptr b -> Int -> CDouble -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1088 CDouble
v13
Ptr H5AC_cache_config_t -> Int -> CDouble -> IO ()
forall b. Ptr b -> Int -> CDouble -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1096 CDouble
v14
Ptr H5AC_cache_config_t -> Int -> HBool_t -> IO ()
forall b. Ptr b -> Int -> HBool_t -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1104 HBool_t
v15
Ptr H5AC_cache_config_t -> Int -> CSize -> IO ()
forall b. Ptr b -> Int -> CSize -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1112 CSize
v16
Ptr H5AC_cache_config_t
-> Int -> H5C_cache_flash_incr_mode -> IO ()
forall b. Ptr b -> Int -> H5C_cache_flash_incr_mode -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1120 H5C_cache_flash_incr_mode
v17
Ptr H5AC_cache_config_t -> Int -> CDouble -> IO ()
forall b. Ptr b -> Int -> CDouble -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1128 CDouble
v18
Ptr H5AC_cache_config_t -> Int -> CDouble -> IO ()
forall b. Ptr b -> Int -> CDouble -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1136 CDouble
v19
Ptr H5AC_cache_config_t -> Int -> H5C_cache_decr_mode -> IO ()
forall b. Ptr b -> Int -> H5C_cache_decr_mode -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1144 H5C_cache_decr_mode
v20
Ptr H5AC_cache_config_t -> Int -> CDouble -> IO ()
forall b. Ptr b -> Int -> CDouble -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1152 CDouble
v21
Ptr H5AC_cache_config_t -> Int -> CDouble -> IO ()
forall b. Ptr b -> Int -> CDouble -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1160 CDouble
v22
Ptr H5AC_cache_config_t -> Int -> HBool_t -> IO ()
forall b. Ptr b -> Int -> HBool_t -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1168 HBool_t
v23
Ptr H5AC_cache_config_t -> Int -> CSize -> IO ()
forall b. Ptr b -> Int -> CSize -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1176 CSize
v24
Ptr H5AC_cache_config_t -> Int -> CInt -> IO ()
forall b. Ptr b -> Int -> CInt -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1184 CInt
v25
Ptr H5AC_cache_config_t -> Int -> HBool_t -> IO ()
forall b. Ptr b -> Int -> HBool_t -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1188 HBool_t
v26
Ptr H5AC_cache_config_t -> Int -> CDouble -> IO ()
forall b. Ptr b -> Int -> CDouble -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1192 CDouble
v27
Ptr H5AC_cache_config_t -> Int -> CSize -> IO ()
forall b. Ptr b -> Int -> CSize -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1200 CSize
v28
Ptr H5AC_cache_config_t -> Int -> CInt -> IO ()
forall b. Ptr b -> Int -> CInt -> IO ()
forall a b. Storable a => Ptr b -> Int -> a -> IO ()
pokeByteOff Ptr H5AC_cache_config_t
_p Int
1208 CInt
v29
() -> IO ()
forall a. a -> IO a
forall (m :: * -> *) a. Monad m => a -> m a
return ()
{-# LINE 359 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
h5ac__CURR_CACHE_CONFIG_VERSION = 1
h5ac__CURR_CACHE_CONFIG_VERSION :: (Num a) => a
{-# LINE 361 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
h5ac__MAX_TRACE_FILE_NAME_LEN = 1024
h5ac__MAX_TRACE_FILE_NAME_LEN :: (Num a) => a
{-# LINE 362 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
h5ac_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY = 0
h5ac_METADATA_WRITE_STRATEGY__PROCESS_0_ONLY :: (Num a) => a
{-# LINE 379 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}
h5ac_METADATA_WRITE_STRATEGY__DISTRIBUTED = 1
h5ac_METADATA_WRITE_STRATEGY__DISTRIBUTED :: (Num a) => a
{-# LINE 407 "src/Bindings/HDF5/Raw/H5AC.hsc" #-}