Last-Modified: Sat, 14 Sep 2024 01:37:33 GMT
Expires: Sat, 14 Sep 2024 01:42:33 GMT
tcl.git - Tcl is a high-level, general-purpose, interpreted, dynamic programming language. It was designed with the goal of being very simple but powerful.
Commits per author per week (path 'library/encoding/cp950.enc') Author W34 2024 W35 2024 W36 2024 W37 2024 Total
Total 0 0 0 0 0
rototypes */
/******************************/
/* Routines for managing shared B-tree info */
H5_DLL herr_t H5B2_shared_init ( H5F_t * f, H5B2_t * bt2, const H5B2_class_t * type,
unsigned depth, size_t node_size, size_t rrec_size,
unsigned split_percent, unsigned merge_percent);
/* Routines for operating on internal nodes */
H5_DLL H5B2_internal_t * H5B2_protect_internal ( H5F_t * f, hid_t dxpl_id,
H5RC_t * bt2_shared, haddr_t addr, unsigned nrec, unsigned depth,
H5AC_protect_t rw);
/* Routines for allocating nodes */
H5_DLL herr_t H5B2_split_root ( H5F_t * f, hid_t dxpl_id, H5B2_t * bt2,
unsigned * bt2_flags_ptr);
H5_DLL herr_t H5B2_create_leaf ( H5F_t * f, hid_t dxpl_id, H5RC_t * bt2_shared,
H5B2_node_ptr_t * node_ptr);
/* Routines for inserting records */
H5_DLL herr_t H5B2_insert_internal ( H5F_t * f, hid_t dxpl_id, H5RC_t * bt2_shared,
unsigned depth, unsigned * parent_cache_info_flags_ptr,
H5B2_node_ptr_t * curr_node_ptr, void * udata);
H5_DLL herr_t H5B2_insert_leaf ( H5F_t * f, hid_t dxpl_id, H5RC_t * bt2_shared,
H5B2_node_ptr_t * curr_node_ptr, void * udata);
/* Routines for iterating over nodes/records */
H5_DLL herr_t H5B2_iterate_node ( H5F_t * f, hid_t dxpl_id, H5RC_t * bt2_shared,
unsigned depth, const H5B2_node_ptr_t * curr_node, H5B2_operator_t op,
void * op_data);
H5_DLL herr_t H5B2_iterate_size_node ( H5F_t * f, hid_t dxpl_id, H5RC_t * bt2_shared,
unsigned depth, const H5B2_node_ptr_t * curr_node, hsize_t * op_data);
/* Routines for locating records */
H5_DLL int H5B2_locate_record ( const H5B2_class_t * type, unsigned nrec,
size_t * rec_off, const uint8_t * native, const void * udata, unsigned * idx);
H5_DLL herr_t H5B2_neighbor_internal ( H5F_t * f, hid_t dxpl_id, H5RC_t * bt2_shared,
unsigned depth, H5B2_node_ptr_t * curr_node_ptr, void * neighbor_loc,
H5B2_compare_t comp, void * udata, H5B2_found_t op, void * op_data);
H5_DLL herr_t H5B2_neighbor_leaf ( H5F_t * f, hid_t dxpl_id, H5RC_t * bt2_shared,
H5B2_node_ptr_t * curr_node_ptr, void * neighbor_loc,
H5B2_compare_t comp, void * udata, H5B2_found_t op, void * op_data);
/* Routines for removing records */
H5_DLL herr_t H5B2_remove_internal ( H5F_t * f, hid_t dxpl_id, H5RC_t * bt2_shared,
hbool_t * depth_decreased, void * swap_loc, unsigned depth, H5AC_info_t * parent_cache_info,
hbool_t * parent_cache_info_dirtied_ptr, H5B2_node_ptr_t * curr_node_ptr, void * udata,
H5B2_remove_t op, void * op_data);
H5_DLL herr_t H5B2_remove_leaf ( H5F_t * f, hid_t dxpl_id, H5RC_t * bt2_shared,
H5B2_node_ptr_t * curr_node_ptr, void * udata, H5B2_remove_t op,
void * op_data);
H5_DLL herr_t H5B2_remove_internal_by_idx ( H5F_t * f, hid_t dxpl_id, H5RC_t * bt2_shared,
hbool_t * depth_decreased, void * swap_loc, unsigned depth, H5AC_info_t * parent_cache_info,
hbool_t * parent_cache_info_dirtied_ptr, H5B2_node_ptr_t * curr_node_ptr, hsize_t idx,
H5B2_remove_t op, void * op_data);
H5_DLL herr_t H5B2_remove_leaf_by_idx ( H5F_t * f, hid_t dxpl_id, H5RC_t * bt2_shared,
H5B2_node_ptr_t * curr_node_ptr, unsigned idx, H5B2_remove_t op,
void * op_data);
/* Routines for deleting nodes */
H5_DLL herr_t H5B2_delete_node ( H5F_t * f, hid_t dxpl_id, H5RC_t * bt2_shared,
unsigned depth, const H5B2_node_ptr_t * curr_node, H5B2_remove_t op,
void * op_data);
/* Metadata cache callbacks */
H5_DLL herr_t H5B2_cache_hdr_dest ( H5F_t * f, H5B2_t * b);
H5_DLL herr_t H5B2_cache_leaf_dest ( H5F_t * f, H5B2_leaf_t * l);
H5_DLL herr_t H5B2_cache_internal_dest ( H5F_t * f, H5B2_internal_t * i);
/* Debugging routines for dumping file structures */
H5_DLL herr_t H5B2_hdr_debug ( H5F_t * f, hid_t dxpl_id, haddr_t addr,
FILE * stream, int indent, int fwidth, const H5B2_class_t * type);
H5_DLL herr_t H5B2_int_debug ( H5F_t * f, hid_t dxpl_id, haddr_t addr,
FILE * stream, int indent, int fwidth, const H5B2_class_t * type,
haddr_t hdr_addr, unsigned nrec, unsigned depth);
H5_DLL herr_t H5B2_leaf_debug ( H5F_t * f, hid_t dxpl_id, haddr_t addr,
FILE * stream, int indent, int fwidth, const H5B2_class_t * type,
haddr_t hdr_addr, unsigned nrec);
/* Testing routines */
#ifdef H5B2_TESTING
H5_DLL herr_t H5B2_get_root_addr_test ( H5F_t * f, hid_t dxpl_id,
const H5B2_class_t * type, haddr_t addr, haddr_t * root_addr);
H5_DLL int H5B2_get_node_depth_test ( H5F_t * f, hid_t dxpl_id,
const H5B2_class_t * type, haddr_t addr, void * udata);
H5_DLL herr_t H5B2_get_node_info_test ( H5F_t * f, hid_t dxpl_id,
const H5B2_class_t * type, haddr_t addr, void * udata,
H5B2_node_info_test_t * ninfo);
#endif /* H5B2_TESTING */
#endif /* _H5B2pkg_H */