MCPcopy Create free account

hub / github.com/deshaw/versioned-hdf5 / functions

Functions983 in github.com/deshaw/versioned-hdf5

Functiontest_invalid_base_hash_tables
()
tests/test_staged_changes.py:1182
Functiontest_invalid_indices
()
tests/test_subchunk_map.py:542
Functiontest_invalid_parameters
()
tests/test_staged_changes.py:1077
Functiontest_issue_208
(setup_vfile)
tests/test_hashtable.py:63
Functiontest_iter_versions
(vfile)
tests/test_api.py:254
Functiontest_ix_with_slices
(args)
tests/test_tools.py:125
Functiontest_known_collisions_reinterpreted_dtype
The dtype is not part of the digest, so two chunks of the same shape with the same raw byte image collide even when they mean entirely different t
tests/test_hash.py:730
Methodtest_large_fraction_constant_sparse
( self, num_transactions=250, filename="test_large_fraction_constant_sparse",
analysis/generate_data_base.py:258
Functiontest_list_assign
(vfile)
tests/test_api.py:1573
Functiontest_load
()
tests/test_staged_changes.py:316
Functiontest_load_plan_without_base_slabs
()
tests/test_staged_changes.py:355
Functiontest_make_empty_dataset
Check that creating a dataset before making it empty can be done successfully. This test would pass unless the file gets closed/reopened for each
tests/test_api.py:3264
Functiontest_make_empty_multidimensional_dataset
Check that creating a multidimensional dataset before making it empty can be done successfully. See https://github.com/deshaw/versioned-hdf5/
tests/test_api.py:3298
Functiontest_mapper_attributes
()
tests/test_subchunk_map.py:155
Functiontest_mask_reading
(tmp_path)
tests/test_api.py:2557
Functiontest_mask_reading_read_only
(tmp_path)
tests/test_api.py:2581
Functiontest_match_behaviour
Test that versioned_hdf5 behaves like h5py when it comes to NpyStrings UX.
tests/test_npystrings.py:101
Functiontest_matches_legacy
(legacy_hash, chunk)
tests/test_hash_legacy_compat.py:99
Functiontest_mismatched_fixed_string_dtypes
(vfile)
tests/test_api.py:2045
Functiontest_modify_metadata_attrs
Test that modifying dtype preserves per-version user attributes.
tests/test_replay.py:555
Functiontest_modify_metadata_blosc_compression
Test that setting compression via modify_metadata works for third-party compression filters from hdf5plugin or pytables, such as Blosc.
tests/test_replay.py:1946
Functiontest_modify_metadata_blosc_compression_opts
Test changing compression options of a custom compression filter, using hdf5plugin API.
tests/test_replay.py:2021
Functiontest_modify_metadata_chunk2
(vfile)
tests/test_replay.py:397
Functiontest_modify_metadata_chunks
(vfile)
tests/test_replay.py:328
Functiontest_modify_metadata_chunks_fixed_string
Fixed-width string dtypes have h5py encoding metadata, but are not variable length strings. Rewriting their chunks must not reject their fillvalue
tests/test_replay.py:379
Functiontest_modify_metadata_chunks_not_materialized
modify_metadata on a dataset whose wrapper carries chunks=None. A dataset assigned with ``sv[name] = array`` is backed by an InMemoryArrayDataset
tests/test_replay.py:840
Functiontest_modify_metadata_chunks_true
modify_metadata(chunks=True) on a dense dataset created with explicit chunks. modify_metadata reuses the cached original InMemoryArrayDataset; it
tests/test_replay.py:826
Functiontest_modify_metadata_compression
(vfile)
tests/test_replay.py:172
Functiontest_modify_metadata_compression2
(vfile)
tests/test_replay.py:251
Functiontest_modify_metadata_compression_default_compression
Test that setting compression via modify_metadata works for default compression.
tests/test_replay.py:1885
Functiontest_modify_metadata_decompress_blosc
Use modify metadata to undo all compression. This uses a third-party compression filter, which adds nuance because h5py.Dataset.compression re
tests/test_replay.py:2064
Functiontest_modify_metadata_decompress_gzip
Use modify metadata to undo all compression.
tests/test_replay.py:2046
Functiontest_modify_metadata_dense_streams_transforms
Metadata transforms read committed data one rewrite block at a time.
tests/test_replay.py:982
Functiontest_modify_metadata_dtype
(vfile)
tests/test_replay.py:448
Functiontest_modify_metadata_dtype2
(vfile)
tests/test_replay.py:500
Functiontest_modify_metadata_dtype_fillvalue
Test calling modify_metadata() to change both dtype and fillvalue, and the new fillvalue would not fit in the old dtype, so it needs to be upd
tests/test_replay.py:739
Functiontest_modify_metadata_fillvalue1
(vfile, new_fillvalue)
tests/test_replay.py:586
Functiontest_modify_metadata_fillvalue2
(vfile)
tests/test_replay.py:637
Functiontest_modify_metadata_fillvalue3
(vfile)
tests/test_replay.py:688
Functiontest_modify_metadata_fixed_string_fillvalue_change
Changing the fillvalue of a fixed-string dataset must also update its version datasets, so that a chunk elided as the new fillvalue reads back cor
tests/test_replay.py:2142
Functiontest_modify_metadata_fixed_string_fillvalue_read_only
Whole chunks of the fill value, read back in mode "r" after the first commit and after modify_metadata.
tests/test_replay.py:2122
Functiontest_modify_metadata_fixed_string_to_variable_width
Convert a fixed-width string dataset to variable-width strings
tests/test_replay.py:151
Functiontest_modify_metadata_frees_each_version
modify_metadata() rewrites every version through recreate_dataset(); the wrappers of each rewritten version must be freed as it goes, instead of p
tests/test_replay.py:1105
Functiontest_modify_metadata_other_filters
Test changing fletcher32, scaleoffset, shuffle parameters.
tests/test_replay.py:2097
Functiontest_modify_metadata_sparse_rechunk
(vfile, chunks, expect)
tests/test_replay.py:786
Functiontest_modify_metadata_sparse_rechunk_bad_chunks
(vfile)
tests/test_replay.py:796
Functiontest_modify_metadata_sparse_rechunk_true_nd
(vfile)
tests/test_replay.py:816
Functiontest_modify_metadata_to_fixed_string_fillvalue
Chunks equal to the new fill value are not stored, so a read in mode "r" returns the fill value of the version dataset.
tests/test_replay.py:2172
Functiontest_modify_metadata_variable_width_strings
(vfile, dtype, metadata)
tests/test_replay.py:118
Methodtest_mostly_appends_dense
( self, num_transactions=250, filename="test_mostly_appends_dense", chunk_size
analysis/generate_data_base.py:296
Methodtest_mostly_appends_dense_old
( self, num_transactions=250, filename="test_mostly_appends_dense_old", chunk_
analysis/generate_data.py:463
Methodtest_mostly_appends_sparse
( self, num_transactions=250, filename="test_mostly_appends_sparse", chunk_siz
analysis/generate_data_base.py:36
Functiontest_moved_file
Make sure the virtual datasets do not hard-code the filename
tests/test_api.py:1551
Functiontest_multidimensional
(vfile)
tests/test_api.py:1699
Functiontest_multiple_chunks_route_to_rows
Each chunk's digest lands in the row named by hash_rows; unlisted rows stay untouched.
tests/test_hash.py:55
Functiontest_multiple_swaps_warning
Test that flipping the buffer multiple times between object and StringDType raises a warning.
tests/test_npystrings.py:294
Functiontest_nan_hashes_bitwise
Chunks are deduplicated by raw bytes, not by value: two chunks of NaNs with the same bit pattern hash the same, even though they compare unequal
tests/test_hash.py:667
Functiontest_nested_group
(vfile)
tests/test_api.py:1584
Functiontest_no_chunks_is_noop
()
tests/test_hash.py:158
Functiontest_no_collision_chunk_geometry_within_slab
Chunks carved out of the same slab with the same number of identical elements, but different edge-trimmed shapes, hash differently. The data
tests/test_hash.py:624
Functiontest_no_collision_multichunk_geometry
Chunks of different shapes hashed in a single hash_slab call don't contaminate each other; the shape suffix of one chunk must not leak into the ne
tests/test_hash.py:676
Functiontest_no_collision_same_data_different_geometry
The same six values, arranged in different shapes, hash differently. Every reshape below is C-contiguous, so the data bytes are byte-for-byte the
tests/test_hash.py:610
Functiontest_no_collision_shape_string_injection
Data bytes that spell out a shape string can't be used to forge the shape suffix, no matter how they line up with the real one.
tests/test_hash.py:642
Functiontest_no_collision_signed_zero
+0.0 and -0.0 compare equal, but they are not the same chunk.
tests/test_hash.py:659
Functiontest_no_collision_vlen_embedded_length_prefix
A variable-width string that spells out its own length prefix can't be used to forge the element boundaries.
tests/test_hash.py:314
Functiontest_no_collision_vlen_empty_and_nul
Empty strings, and strings made of NUL bytes, are all distinguished from each other and from their own repetitions.
tests/test_hash.py:325
Functiontest_no_collision_vlen_split_points
Moving the boundaries between variable-width strings, without changing their concatenation, changes the hash.
tests/test_hash.py:306
Functiontest_no_recursive_version_group_access
(vfile)
tests/test_api.py:2493
Functiontest_nonroot
(vfile)
tests/test_api.py:1199
Functiontest_np_bytes_scalar_into_vlen_dataset
Assign an np.bytes_ scalar to a variable-width string dataset
tests/test_api.py:2028
Functiontest_npystrings_object_equivalence
A StringDType array and the equivalent object-of-str array hash identically
tests/test_hash_legacy_compat.py:115
Functiontest_npystrings_slab
()
tests/test_hash.py:228
Functiontest_numpy_ints_constructors
Test when input parameters are numpy.int types instead of plain python ints
tests/test_staged_changes.py:1202
Functiontest_numpy_ints_methods
Test when input parameters are numpy.int types instead of plain python ints
tests/test_staged_changes.py:1230
Functiontest_object_dtype_hashes_concatenated_values
Test that object dtype arrays hash values which concatenate to the same string to different hashes. See https://github.com/deshaw/versioned-hd
tests/test_hashtable.py:105
Functiontest_object_dtype_hashes_values
Test that object dtype arrays hash values, not element ids. See https://github.com/deshaw/versioned-hdf5/issues/256 for more information.
tests/test_hashtable.py:79
Functiontest_object_edge_chunk_ignores_uninitialised
()
tests/test_hash.py:217
Functiontest_object_slab
()
tests/test_hash.py:194
Functiontest_object_slab_bytes_subclass
np.bytes_ is a bytes subclass, but Cython's coercion to `bytes` rejects it.
tests/test_hash.py:210
Functiontest_object_strided_slab
()
tests/test_hash.py:513
Functiontest_object_strings_bare_object_dtype_fillvalue
Test the end-to-end use case ``group[name] = np.array([...], dtype=object)``: assignment of a bare object dtype array, stripped of the h5py st
tests/test_wrappers.py:506
Functiontest_object_strings_default_fillvalue
(vfile)
tests/test_wrappers.py:460
Functiontest_other_compression_bad_value
Test that invalid compression types do not validate.
tests/test_api.py:3442
Functiontest_pod_dtypes_multichunk
(dtype)
tests/test_hash.py:173
Functiontest_read_many_slices
(h5file, args)
tests/test_slicetools.py:337
Functiontest_read_many_slices_array_protocol
Test that the src array can be anything that implements ArrayProtocol
tests/test_slicetools.py:616
Functiontest_read_many_slices_broadcast_indices
1D indices are automatically broadcast to 2D
tests/test_slicetools.py:460
Functiontest_read_many_slices_clip_dst_count
Counts are clipped automatically because either dst_start or dst_stride are too large. This causes some slices to become size 0 along one dime
tests/test_slicetools.py:428
Functiontest_read_many_slices_clip_src_count
Counts are clipped automatically because either src_start or src_stride are too large. This causes some slices to become size 0 along one dime
tests/test_slicetools.py:396
Functiontest_read_many_slices_dst_size_zero
dst array has size 0
tests/test_slicetools.py:536
Functiontest_read_many_slices_fail
()
tests/test_slicetools.py:645
Functiontest_read_many_slices_layouts
read_many_slices uses the hdf5 C API for the memory layouts H5Sselect_hyperslab can describe and falls back to the pure-python transfer for the re
tests/test_slicetools.py:548
Functiontest_read_many_slices_no_indices
Edge case where there are no slices of data to copy
tests/test_slicetools.py:483
Functiontest_read_many_slices_noncontiguous_idx
one or more coordinate array is not C-contiguous along the rows or both columns and rows. Non-contiguous rows are supported thanks to Cython
tests/test_slicetools.py:496
Functiontest_read_many_slices_not_fast_read_ok
src is a h5py dataset that doesn't support fast read
tests/test_slicetools.py:597
Functiontest_read_many_slices_param
(args)
tests/test_subchunk_map.py:232
Functiontest_read_many_slices_param_nd
(args)
tests/test_subchunk_map.py:310
Functiontest_read_many_slices_rawdataview
(h5file, fast)
tests/test_slicetools.py:626
Functiontest_read_many_slices_src_size_zero
src array has size 0
tests/test_slicetools.py:525
Functiontest_read_only
(setup_vfile)
tests/test_api.py:2086
← previousnext →701–800 of 983, ranked by callers