![]() |
HDF5
1.12.0
|
#include "H5EAmodule.h"#include "H5private.h"#include "H5Eprivate.h"#include "H5EApkg.h"#include "H5MFprivate.h"#include "H5MMprivate.h"#include "H5VMprivate.h"Macros | |
| #define | H5EA_MAX_NELMTS_IDX_MAX 64 |
| #define | H5EA_SBLK_DBLK_NELMTS(s, m) (size_t)H5_EXP2(((s) + 1) / 2) * (m) |
Typedefs | |
| typedef H5FL_fac_head_t * | H5FL_fac_head_ptr_t |
Functions | |
| H5FL_DEFINE_STATIC (H5EA_hdr_t) | |
| H5FL_SEQ_DEFINE_STATIC (H5FL_fac_head_ptr_t) | |
| H5FL_SEQ_DEFINE_STATIC (H5EA_sblk_info_t) | |
| BEGIN_FUNC (PKG, CATCH if(!ret_value) if(hdr &&H5EA__hdr_dest()< 0) END_FUNC(PKG) BEGIN_FUNC(PKG ERR, H5EA_hdr_t *, H5EA_hdr_t *hdr=NULL, H5EA_hdr_t *hdr=NULL, H5EA__hdr_alloc(H5F_t *f)) | |
| if (hdr->cparam.cls->crt_context) | |
| CATCH | END_FUNC (BEGIN_FUNC(PKG) |
| if (NULL==hdr->elmt_fac.fac[idx]) | |
| if (H5F_addr_defined(hdr->idx_blk_addr)) | |
| CATCH | if (H5EA__hdr_unprotect(hdr, cache_flags)< 0) END_FUNC(PKG) BEGIN_FUNC(PKG |
| CATCH | H5EA__hdr_dest (H5EA_hdr_t *hdr)) HDassert(hdr) |
| HDassert (hdr->rc==0) | |
| if (hdr->cb_ctx) | |
| if (hdr->elmt_fac.fac) | |
Variables | |
| hdr stats computed | hdr_size = hdr->size = H5EA_HEADER_SIZE_HDR(hdr) |
| ret_value = hdr | |
| cache_flags = H5AC__DIRTIED_FLAG | H5AC__DELETED_FLAG | H5AC__FREE_FILE_SPACE_FLAG | |
| CATCH | ERR |
| CATCH | herr_t |
| CATCH | SUCCEED |
| CATCH | FAIL |
| hdr | cb_ctx = NULL |
| hdr = H5FL_FREE(H5EA_hdr_t, hdr) | |
| #define H5EA_MAX_NELMTS_IDX_MAX 64 |
| typedef H5FL_fac_head_t* H5FL_fac_head_ptr_t |
| BEGIN_FUNC | ( | PKG | , |
| CATCH if(!ret_value) if(hdr && H5EA__hdr_dest() < 0)END_FUNC(PKG) BEGIN_FUNC(PKG | ERR, | ||
| H5EA_hdr_t * | , | ||
| H5EA_hdr_t *hdr = | NULL, | ||
| H5EA_hdr_t *hdr = | NULL, | ||
| H5EA__hdr_alloc(H5F_t *f) | |||
| ) |
| CATCH END_FUNC | ( | BEGIN_FUNC( | PKG | ) |
| CATCH H5EA__hdr_dest | ( | H5EA_hdr_t * | hdr | ) |
| H5FL_DEFINE_STATIC | ( | H5EA_hdr_t | ) |
| H5FL_SEQ_DEFINE_STATIC | ( | H5EA_sblk_info_t | ) |
| H5FL_SEQ_DEFINE_STATIC | ( | H5FL_fac_head_ptr_t | ) |
| HDassert | ( | hdr-> | rc = =0 | ) |
| CATCH if | ( | ) |
| if | ( | H5F_addr_defined(hdr->idx_blk_addr) | ) |
| if | ( | hdr-> | cb_ctx | ) |
| if | ( | hdr->cparam.cls-> | crt_context | ) |
| if | ( | hdr->elmt_fac. | fac | ) |
| if | ( | NULL | = = hdr->elmt_fac.fac[idx] | ) |
| cache_flags = H5AC__DIRTIED_FLAG | H5AC__DELETED_FLAG | H5AC__FREE_FILE_SPACE_FLAG |
| hdr cb_ctx = NULL |
| CATCH ERR |
| CATCH FAIL |
| hdr = H5FL_FREE(H5EA_hdr_t, hdr) |
| hdr stats computed hdr_size = hdr->size = H5EA_HEADER_SIZE_HDR(hdr) |
| ret_value = hdr |
| CATCH SUCCEED |
1.8.18