summaryrefslogtreecommitdiffstats
path: root/test/set_extent.c
Commit message (Collapse)AuthorAgeFilesLines
* [svn-r16425] bug fix: a open call was not made the expected FAPLPedro Vicente Nunes2009-02-041-3/+3
| | | | tested: windows, linux (split, sec2)
* [svn-r16421] #1449 Change set_extent test to use standard standalone test ↵Pedro Vicente Nunes2009-02-041-20/+32
| | | | | | | | | | 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(). tested: windows, linux
* [svn-r16407] #1449 Change set_extent test to use standard standalone test ↵Pedro Vicente Nunes2009-02-031-63/+79
| | | | | | | | | | | | | | | | | | | 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-r16274] Bug fix: A case of 0 dimension was not handled in the ↵Pedro Vicente Nunes2009-01-081-263/+380
| | | | | | | | definition of an array in H5D_istore_initialize_by_extent, causing an iteration to continue and an assertion in H5S_hyper_iter_init when trying to initialize a non existing chunk. Added a test for shrinking to 0 dimemsions Tested: windows, linux
* [svn-r16230] Pedro Vicente Nunes2008-12-291-315/+2272
| | | | | | | | Bug fixes: chunks on the btree were not deleted for the case when the new dimension was on the boundary of the chunk offset (comparison of offset > chunk instead of offset >= chunk). In extending the space, the new size was wrongly compared with the maximum extend possible Modified H5Dset_extent so that it fails when called for compact datasets and contiguous with no external storage new test program as 1.8 and 1.9: 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-r15769] Bug #1312Pedro Vicente Nunes2008-10-031-0/+49
| | | | | | | Solution: Check for the existence of chunks before pruning them (an assertion was triggered when attempting to do so) Tested: windows , linux, solaris
* [svn-r13316] Updated Copyright notices.Albert Cheng2007-02-141-2/+3
| | | | Tested platform: Kagiso (serial, pp)
* [svn-r11246] 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-r8601] Purpose:Quincey Koziol2004-05-311-86/+91
| | | | | | | | | | | | | | | | Code optimization & cleanup 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. Also, back-port some of the various cleanups to the source code from the development branch, to make diffing the code easier. Platforms tested: Solaris 2.7 (arabica) FreeBSD 4.9 (sleipnir) w/parallel
* [svn-r7234] 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