Source
printf(" got: %lu\n ans: %lu\n", (unsigned long)file_size, (unsigned long)max_size[0]*sizeof(int));
/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
* 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. *
* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */
/*
* Programmer: Robb Matzke <matzke@llnl.gov>
* Tuesday, March 3, 1998
*
* Purpose: Tests datasets stored in external raw files.
*/
const char *FILENAME[] = {
"extern_1",
"extern_2",
"extern_3",
"extern_4",
"extern_dir/file_1",
"extern_5",
NULL
};
/* A similar collection of files is used for the tests that
* perform file I/O.
*/
•
/*-------------------------------------------------------------------------
* Function: files_have_same_contents
*
* Purpose: Determines whether two files contain the same data.
*
* Return: Success: nonzero if same, zero if different.
* Failure: zero
*
* Programmer: Robb Matzke
* Wednesday, March 4, 1998
*