nerrors += test_skip_elmts(fapl, &cparam, &tparam, ((hsize_t)1 << cparam.max_dblk_page_nelmts_bits), TRUE, "skipping to first element in data block page");
 
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 * Copyright by The HDF Group.                                               *
 * Copyright by the Board of Trustees of the University of Illinois.         *
 * All rights reserved.                                                      *
 *                                                                           *
 * This file is part of HDF5.  The full HDF5 copyright notice, including     *
 * terms governing use, modification, and redistribution, is contained in    *
 * the COPYING file, which can be found at the root of the source code       *
 * distribution tree, or in https://support.hdfgroup.org/ftp/HDF5/releases.  *
 * If you do not have access to either file, you may request a copy from     *
 * help@hdfgroup.org.                                                        *
 * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
 * This file is modified based on earray.c.
 */
#include "h5test.h"
/*
 * This file needs to access private datatypes from the H5FA package.
 * This file also needs to access the fixed array testing code.
 */
#define H5FA_FRIEND     /*suppress error about including H5FApkg      */
#define H5FA_TESTING
#include "H5FApkg.h"        /* Fixed Arrays         */
/* Other private headers that this test requires */
#include "H5CXprivate.h"        /* API Contexts                             */
#include "H5Iprivate.h"         /* IDs                                      */
#include "H5VMprivate.h"        /* Vectors and arrays                       */
#include "H5VLprivate.h"        /* Virtual Object Layer                     */
/* Local macros */
/* Max. testfile name length */
#define FARRAY_FILENAME_LEN     1024
/* Fixed array creation values */
#define ELMT_SIZE       sizeof(uint64_t)
#define MAX_DBLOCK_PAGE_NELMTS_BITS     10      /* 2^10 = 1024 elements per data block page */
/* Testing # of elements in the Fixed Array */
#define TEST_NELMTS     20000
/* Convenience macros for computing earray state */
#define FA_HDR_SIZE     28      /* hard-coded */
#define DBLOCK_PREFIX   18  /* hard-coded */
/* 4 giga-elements: max chunk size */
#define MAX_NELMTS  ((unsigned long long)4*1024*1024*1024) /* 4 giga-elements */