summaryrefslogtreecommitdiffstats
path: root/test/set_extent.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r18445] Purpose: Fix bug 1637Neil Fortner2010-03-241-0/+48
| | | | | | | | | | Description: Modified algorithm for extending a dataset with early allocation so it only deals with the new chunks. Formerly, it would loop over all chunks, checking to see if each existed in cache and on disk, causing major performance issues with large numbers of chunks. Tested: jam, linew, amani (h5committest)
* [svn-r18262] Purpose: Fix bug in b-tree codeNeil Fortner2010-02-161-438/+544
| | | | | | | | | | | | Description: In certain cases, removal of an object in a v1 b-tree would cause the leftmost key in the right neighbor to be overwritten. While this did not pose a problem for group b-trees, with chunked datasets it would overwrite the offset value of the neighbor's leftmost child, causing corruption. Reworked the code to differentiate between b-trees whose children are fundamentally associated with their left key and those who are associated with their right key. Tested: jam, linew, amani (h5committest)
* [svn-r18197] Description:Quincey Koziol2010-01-301-633/+633
| | | | | | | | | Trim trailing whitespace from source code files with this command: find . \( -name "*.[ch]" -or -name "*.cpp" -or -name "*.f90" \) -print |xargs -n 1 sed -i "" 's/[[:blank:]]*$//' Tested on: None - eyeballed only
* [svn-r16523] Purpose: Fix bugs related to H5Dset_extent and fill valuesNeil Fortner2009-02-271-19/+48
| | | | | | | | | Description: In some situations it was possible for the fill value to not be written to parts of a chunked dataset, particularly when extending and/or shrinking. Prior to the fix for the chunk cache (1015) these bugs would have been exceedingly rare. Tested: jam, smirom, linew (h5committest)
* [svn-r16511] bug fix: TESTING2 macro introduced recently for the test suite ↵Pedro Vicente Nunes2009-02-231-7/+7
| | | | | | (it adds an extra space at the beginning of output, for indentation) was already available for HL and caused compilation problems on AIX. Replaced the name with TESTING_2 tested: h5committest
* [svn-r16431] Uncomment a h5cleanup() call previously accidently left commented Pedro Vicente Nunes2009-02-051-1/+1
| | | | Tested: linux
* [svn-r16423] bug fix: a open call was not made the expected FAPLPedro Vicente Nunes2009-02-041-9/+11
| | | | tested: windows, linux (split, sec2)
* [svn-r16419] #1449 Change set_extent test to use standard standalone test ↵Pedro Vicente Nunes2009-02-041-28/+40
| | | | | | | | | | | | | | | | | | framework Call h5_fixname (with an array of test filenames) for generating the filename to create and then call h5_cleanup() when the tests pass, to delete the files created and close the FAPL from h5_fileaccess(). Defined a macro #define TESTING2(WHAT) {printf(" Testing %-62s",WHAT); fflush(stdout);} Similar to TESTING, except that it has a initial indentation space. The effect is for nested loop tests Testing with old file format: Testing with fill value, no compression PASSED tested: windows, linux
* [svn-r16417] Description:Quincey Koziol2009-02-041-83/+69
| | | | | | | | | | | Bring r16416 from revise_chunks branch to trunk: Bring closer to standard standalone test format, add checks for using the latest file format and close dataset ID leaked. Tested on: FreeBSD/32 6.3 (duty) (too minor to require h5committest)
* [svn-r16405] #1449 Change set_extent test to use standard standalone test ↵Pedro Vicente Nunes2009-02-031-61/+66
| | | | | | | | | | | | | | | | framework use a fapl obtained by h5_fileaccess to the call of H5Fcreate and redo the test calls with h5_reset(); fapl = h5_fileaccess(); nerrors += do_ranks( fapl ) < 0 ? 1 : 0; nerrors += test_external( fapl ) < 0 ? 1 : 0; nerrors += do_layouts( fapl ) < 0 ? 1 : 0; tested: windows, linux
* [svn-r16372] Description:Quincey Koziol2009-01-291-6/+13
| | | | | | | | Clean up files produced from set_extent testing. Tested on: FreeBSD/32 6.3 (duty) (too minor to require h5committest)
* [svn-r16273] Added a test for shrinking to 0 dimemsionsPedro Vicente Nunes2009-01-081-226/+351
| | | | Tested: windows, linux
* [svn-r16229] merge 16228Pedro Vicente Nunes2008-12-291-20/+20
| | | | | cleaned more linux warnings tested: linux
* [svn-r16227] cleaned some linux warningsPedro Vicente Nunes2008-12-291-3/+1
| | | | tested: linux
* [svn-r16225] removed some debug messagesPedro Vicente Nunes2008-12-291-18/+0
| | | | tested: windows, linux
* [svn-r16223] Modified H5Dset_extent so that it fails when called for compact ↵Pedro Vicente Nunes2008-12-291-159/+1693
| | | | | | | | datasets and contiguous with no external storage new test program: It adds tests for several ranks, use of fill value or not, compression, different fill value allocation times, use of different storage layouts, and external files tested: windows, linux
* [svn-r16158] Test the non deletion of a chunk for the case chunk_offset == ↵Pedro Vicente Nunes2008-12-041-2/+240
| | | | | | dimension by shrinking first, then expanding to original size and compare buffers of initialized values Tested: windows, linux
* [svn-r16156] close & re-open the file for the test of non-default B-tree ↵Pedro Vicente Nunes2008-12-041-0/+29
| | | | | | | internal 'K' value (There was a bug where a non-default B-tree internal 'K' value was not being stored in the file) this is a rewrite of the old set_extent.c test program tested: windows, linux
* [svn-r16152] added comments and removed unnecessary codePedro Vicente Nunes2008-12-021-16/+63
| | | | tested: windows, linux
* [svn-r16148] reorganized the set_extent test to be more modularPedro Vicente Nunes2008-12-021-83/+116
| | | | tested: windows, linux
* [svn-r16143] add a test for recent fixes of H5Dset_extentPedro Vicente Nunes2008-12-011-625/+541
| | | | tested: windows, linux
* [svn-r15807] correction in test name, testing "non" initialized chunksPedro Vicente Nunes2008-10-071-2/+2
| | | | tested: windows, linux
* [svn-r15757] Bug #1312Pedro Vicente Nunes2008-10-021-134/+319
| | | | | | | Solution: Check for the existence of chunks before pruning them (an assertion was triggered when attempting to do so) Tested: windows , linux, solaris
* [svn-r15131] Description:Quincey Koziol2008-06-031-293/+324
| | | | | | | | | | | | | | | | | | | | | | Finish omnibus chunked dataset I/O refactoring, to separate general actions on chunked datasets from actions that are specific to using the v1 B-tree index. Cleaned up a few bugs and added some additional tests also. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.5.2 (amazon) in debug mode Linux/64-ia64 2.4 (tg-login3) w/parallel, w/FORTRAN, in production mode
* [svn-r14199] Description:Quincey Koziol2007-10-111-28/+28
| | | | | | | | | | | | | | | | | | | | | Add H5Dcreate to API versioned routines, replacing internal usage with H5Dcreate2 Fix thread-safe error stack initialization for API versioned error stack printing routines. Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r14193] Description:Quincey Koziol2007-10-081-77/+79
| | | | | | | | | | | | | | | | | | | Make H5Dopen versioned and change all internal usage to use H5Dopen2 Add simple regression test for H5Dopen1 Tested on: FreeBSD/32 6.2 (duty) in debug mode FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe, in debug mode Linux/64-amd64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN, in production mode Linux/64-ia64 2.6 (cobalt) w/Intel compilers, w/C++ & FORTRAN, in production mode Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN, w/szip filter, in production mode Mac OS X/32 10.4.10 (amazon) in debug mode
* [svn-r13741] Description:Quincey Koziol2007-05-101-16/+19
| | | | | | | | | Minor formatting & warning reduction code cleanups Tested on: Mac OS X/32 10.4.9 (amazon) Linux/32 2.6 (chicago) Linux/64 2.6 (chicago2)
* [svn-r13253] Updated all C and C++ style source code files with the THG ↵Albert Cheng2007-02-071-2/+3
| | | | | | | | | copyright notice. Tested platform: Kagiso only since it is only a comment block change. If it works in one machine, it should work in all, I hope. Still need to check the parallel build on copper.
* [svn-r11245] Purpose:Quincey Koziol2005-08-131-8/+8
| | | | | | | | | | | | | | | | | | | | Code cleanup Description: Trim trailing whitespace, which is making 'diff'ing the two branches difficult. Solution: Ran this script in each directory: foreach f (*.[ch] *.cpp) sed 's/[[:blank:]]*$//' $f > sed.out && mv sed.out $f end Platforms tested: FreeBSD 4.11 (sleipnir) Too minor to require h5committest
* [svn-r8600] Purpose:Quincey Koziol2004-05-311-86/+91
| | | | | | | | | | | | | Code optimization Description: Don't recompute the internal index value for looking up the chunk in the hash table, just use the value already computed from iterating through the chunks. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.9 (sleipnir) w/parallel
* [svn-r7232] Purpose:Quincey Koziol2003-07-161-2/+11
| | | | | | | | | | | | | | | | | | | | Bug fix Description: When a non-default indexed storage B-tree internal 'K' value is set by the user, the chunked datasets created in that file (until it is closed) use the user's 'K' value and the data can be accessed correctly, but the 'K' value is not stored in the file. However, once the file is closed and re-opened, the non-default 'K' value is lost and the data in the chunked datasets will not be able to be accessed correctly. Solution: Store the indexed storage B-tree internal 'K' value in the superblock. Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7109] Purpose:Quincey Koziol2003-06-261-0/+1
| | | | | | | | | | | Code cleanup Description: Clean up varios compiler warnings flagged by SGI compiler and gcc 3.3 Platforms tested: FreeBSD 4.8 (sleipnir) h5committest
* [svn-r7029] Purpose:Quincey Koziol2003-06-121-0/+2
| | | | | | | | | | | | | New feature/Bug fix Description: Add new fill time value - H5D_FILL_TIME_IFSET which writes the fill value to a dataset if the user has defined one, otherwise not writing the fill value to the dataset. Platforms tested: FreeBSD 4.8 (sleipnir) serial & parallel h5committest
* [svn-r6825] Purpose:Quincey Koziol2003-05-071-506/+429
| | | | | | | | | | | | | | | | | | | | | | | | | New feature/enhancement Description: Chunked datasets are handled poorly in several circumstances involving certain selections and chunks that are too large for the chunk cache and/or chunks with filters, causing the chunk to be read from disk multiple times. Solution: Rearrange raw data I/O infrastructure to handle chunked datasets in a much more friendly way by creating a selection in memory and on disk for each chunk in a chunked dataset and performing all of the I/O on that chunk at one time. There are still some scalability (the current code attempts to create a selection for all the chunks in the dataset, instead of just the chunks that are accessed, requiring portions of the istore.c and fillval.c tests to be commented out) and performance issues, but checking this in will allow the changes to be tested by a much wider audience while I address the remaining issues. Platforms tested: h5committested, FreeBSD 4.8 (sleipnir) serial & parallel, Linux 2.4 (eirene)
* [svn-r6538] Purpose:Bill Wendling2003-03-311-3/+14
| | | | | | | | | | | | | Update Description: Updated the Copyright statement Platforms tested: Linux (This change is only in the comments, so I just check that the modules still compile) Misc. update:
* [svn-r5843] Purpose:Quincey Koziol2002-08-081-3/+3
| | | | | | | | | | | Code cleanup Description: Clean up a few warnings which were showing up with --enable-production turned on. Platforms tested: FreeBSD 4.6 (sleipnir) serial & parallel
* [svn-r5313] Pedro Vicente Nunes2002-05-011-7/+236
| | | | | | | | | | | | | | | | Purpose: added more tests to the H5set_extent function Description: there was a bug in the H5S_select_fill call when the fill value was not defined added 2 more set of tests that call H5set_extent without the fill value being defined there are now 4 sets of tests: Test H5Dset_extent with chunks on the raw data cache, with and without fill value Test H5Dset_extent with chunks written to file (b-tree routines), with and without fill value Platforms tested: w2000 linux
* [svn-r5271] Purpose:Quincey Koziol2002-04-261-1/+1
| | | | | | | | | | | | | | | | Bug Fix. Description: When the fill value for a dataset is not set, the size is set to zero, causing problems with filling unused areas in previously defined chunks (i.e. when the dataset shrinks in size) Solution: Use the size of the elements in the dataset directly, instead of relying on the size of the fill value (which must be the same size). Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5200] Purpose:Quincey Koziol2002-04-181-8/+18
| | | | | | | | | | Code Cleanup Description: Clean up compiler warnings from the last bunch of checkins Platforms tested: FreeBSD 4.5 (sleipnir)
* [svn-r5169] Pedro Vicente Nunes2002-04-111-38/+34
| | | | | | | | | | | | | | | | | | Purpose: test for the H5Dset_extent API function Description: there are 2 types of tests: Test H5Dset_extent with chunks on the raw data cache Test H5Dset_extent with chunks written to file Platforms tested: Windows 2000 SUN( arabica) LINUX (eirene) IRIX64 (modi4)
* [svn-r5167] Pedro Vicente Nunes2002-04-111-21/+13
| | | | | | Purpose: turned temporarely off this test, while the rest of the code is not checked in
* [svn-r5154] Pedro Vicente Nunes2002-04-091-0/+320
Purpose: Renamed the all the functions "set_extend" to "set_extent". Renamed the test file accordingly