Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deshaw/versioned-hdf5
/ functions
Functions
917 in github.com/deshaw/versioned-hdf5
⨍
Functions
917
◇
Types & classes
85
↳
Endpoints
6
Function
test_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:1716
Function
test_modify_metadata_decompress_gzip
Use modify metadata to undo all compression.
tests/test_replay.py:1698
Function
test_modify_metadata_dtype
(vfile)
tests/test_replay.py:360
Function
test_modify_metadata_dtype2
(vfile)
tests/test_replay.py:412
Function
test_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:617
Function
test_modify_metadata_fillvalue1
(vfile, new_fillvalue)
tests/test_replay.py:464
Function
test_modify_metadata_fillvalue2
(vfile)
tests/test_replay.py:515
Function
test_modify_metadata_fillvalue3
(vfile)
tests/test_replay.py:566
Function
test_modify_metadata_other_filters
Test changing fletcher32, scaleoffset, shuffle parameters.
tests/test_replay.py:1749
Function
test_modify_metadata_sparse_rechunk
(vfile, chunks, expect)
tests/test_replay.py:664
Function
test_modify_metadata_sparse_rechunk_bad_chunks
(vfile)
tests/test_replay.py:674
Function
test_modify_metadata_sparse_rechunk_true_nd
(vfile)
tests/test_replay.py:694
Method
test_mostly_appends_dense
( self, num_transactions=250, filename="test_mostly_appends_dense", chunk_size
analysis/generate_data_base.py:296
Method
test_mostly_appends_dense_old
( self, num_transactions=250, filename="test_mostly_appends_dense_old", chunk_
analysis/generate_data.py:463
Method
test_mostly_appends_sparse
( self, num_transactions=250, filename="test_mostly_appends_sparse", chunk_siz
analysis/generate_data_base.py:36
Function
test_moved_file
Make sure the virtual datasets do not hard-code the filename
tests/test_api.py:1319
Function
test_multidimensional
(vfile)
tests/test_api.py:1467
Function
test_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
Function
test_multiple_swaps_warning
Test that flipping the buffer multiple times between object and StringDType raises a warning.
tests/test_npystrings.py:294
Function
test_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:660
Function
test_nested_group
(vfile)
tests/test_api.py:1352
Function
test_no_chunks_is_noop
()
tests/test_hash.py:158
Function
test_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:617
Function
test_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:669
Function
test_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:603
Function
test_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:635
Function
test_no_collision_signed_zero
+0.0 and -0.0 compare equal, but they are not the same chunk.
tests/test_hash.py:652
Function
test_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:307
Function
test_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:318
Function
test_no_collision_vlen_split_points
Moving the boundaries between variable-width strings, without changing their concatenation, changes the hash.
tests/test_hash.py:299
Function
test_no_recursive_version_group_access
(vfile)
tests/test_api.py:2052
Function
test_nonroot
(vfile)
tests/test_api.py:967
Function
test_npystrings_object_equivalence
A StringDType array and the equivalent object-of-str array hash identically
tests/test_hash_legacy_compat.py:115
Function
test_npystrings_slab
()
tests/test_hash.py:221
Function
test_numpy_ints_constructors
Test when input parameters are numpy.int types instead of plain python ints
tests/test_staged_changes.py:1168
Function
test_numpy_ints_methods
Test when input parameters are numpy.int types instead of plain python ints
tests/test_staged_changes.py:1196
Function
test_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
Function
test_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
Function
test_object_edge_chunk_ignores_uninitialised
()
tests/test_hash.py:210
Function
test_object_slab
()
tests/test_hash.py:194
Function
test_object_strided_slab
()
tests/test_hash.py:506
Function
test_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:492
Function
test_object_strings_default_fillvalue
(vfile)
tests/test_wrappers.py:446
Function
test_other_compression_bad_value
Test that invalid compression types do not validate.
tests/test_api.py:3001
Function
test_pod_dtypes_multichunk
(dtype)
tests/test_hash.py:173
Function
test_read_many_slices
(h5file, args)
tests/test_slicetools.py:332
Function
test_read_many_slices_array_protocol
Test that the src array can be anything that implements ArrayProtocol
tests/test_slicetools.py:611
Function
test_read_many_slices_broadcast_indices
1D indices are automatically broadcast to 2D
tests/test_slicetools.py:455
Function
test_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:423
Function
test_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:391
Function
test_read_many_slices_dst_size_zero
dst array has size 0
tests/test_slicetools.py:531
Function
test_read_many_slices_fail
()
tests/test_slicetools.py:640
Function
test_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:543
Function
test_read_many_slices_no_indices
Edge case where there are no slices of data to copy
tests/test_slicetools.py:478
Function
test_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:491
Function
test_read_many_slices_not_fast_read_ok
src is a h5py dataset that doesn't support fast read
tests/test_slicetools.py:592
Function
test_read_many_slices_param
(args)
tests/test_subchunk_map.py:232
Function
test_read_many_slices_param_nd
(args)
tests/test_subchunk_map.py:310
Function
test_read_many_slices_rawdataview
(h5file, fast)
tests/test_slicetools.py:621
Function
test_read_many_slices_src_size_zero
src array has size 0
tests/test_slicetools.py:520
Function
test_read_only
(setup_vfile)
tests/test_api.py:1774
Function
test_read_only_no_wrappers
(setup_vfile)
tests/test_api.py:2163
Function
test_readonly
()
tests/test_staged_changes.py:1215
Function
test_readonly_data
Read-only data is copied upon creation of a new version.
tests/test_wrappers.py:254
Function
test_rebuild_hashtable
Verify rebuilding the hashtable for a single object dtype and single version. 1. An info log message is issued to the user about DATA_VERSION mis
tests/test_api.py:2280
Function
test_rebuild_hashtable_chunk_reuse
Test that the correct chunks are used after rebuilding the tables.
tests/test_api.py:2532
Function
test_rebuild_hashtable_chunk_reuse_multi_dim
Test that the correct chunks are used after rebuilding the tables for a multi-dimensional array.
tests/test_api.py:2666
Function
test_rebuild_hashtable_chunk_reuse_unicode
Test that the correct chunks are used after rebuilding the tables for non-ascii data.
tests/test_api.py:2591
Function
test_rebuild_hashtable_multiple_datasets
Verify rebuilding the hashtable for multiple datasets across multiple versions. 1. An info log message is issued to the user about DATA_VERSION m
tests/test_api.py:2372
Function
test_rebuild_hashtable_multiple_nested_dataset
Test rebuilding the hash tables of a nested dataset.
tests/test_api.py:2499
Function
test_rebuild_hashtable_nested_dataset
Test rebuilding the hash tables of a nested dataset.
tests/test_api.py:2472
Function
test_rechunk
()
tests/test_staged_changes.py:775
Function
test_recreate_dataset_bounded_memory
recreate_dataset() streams the chunks of a committed dataset from the raw_data of the source group into the raw_data of the target group, instead
tests/test_replay.py:814
Function
test_recreate_dataset_staged_changes
recreate_dataset() rewrites every version of a dataset into a brand new group. When its callback returns an InMemoryDataset, the StagedChangesArra
tests/test_replay.py:739
Function
test_recreate_dataset_streams_chunks
recreate_dataset() rewrites each version a block of chunks at a time, so that peak memory usage doesn't scale with the size of the dataset. Neithe
tests/test_replay.py:777
Function
test_recreate_hashtable
(vfile)
tests/test_replay.py:1027
Function
test_recreate_raw_data
(vfile)
tests/test_replay.py:1010
Function
test_recreate_virtual_dataset
(vfile)
tests/test_replay.py:1057
Function
test_refill
()
tests/test_staged_changes.py:737
Method
test_refill
refill() changes chunk dtype upon first access. This happens **before** the new fill_value is applied, to avoid overflows or loss of d
tests/test_staged_changes.py:723
Function
test_refill_noop
()
tests/test_staged_changes.py:757
Function
test_refill_skips_dropped_slabs
()
tests/test_staged_changes.py:766
Function
test_repr
()
tests/test_staged_changes.py:984
Function
test_resize
(vfile)
tests/test_api.py:450
Function
test_resize_axis
(vfile)
tests/test_api.py:751
Function
test_resize_int_types_grow
(tmp_path)
tests/test_api.py:705
Function
test_resize_int_types_shrink
(tmp_path)
tests/test_api.py:688
Function
test_resize_multiple_dimensions
(vfile)
tests/test_api.py:622
Function
test_resize_noop
()
tests/test_staged_changes.py:405
Function
test_resize_sparse
(vfile)
tests/test_api.py:728
Function
test_resize_through_size_zero
Enlarge or shrink partial edge chunks along an axis while another axis is size 0, so that no chunks are actually transferred.
tests/test_staged_changes.py:414
Function
test_resize_unaligned
(vfile)
tests/test_api.py:607
Function
test_resize_weird_size
(vfile, size)
tests/test_api.py:788
Function
test_reversed_all_axes
()
tests/test_hash.py:427
Function
test_reversed_axis_0
()
tests/test_hash.py:421
Function
test_rewrite_dataset
rewrite_dataset() copies every chunk of an array into a brand new raw_data, deduplicating them, and returns the same {virtual index: raw_data slic
tests/test_backend.py:997
Function
test_rewrite_dataset_empty
A size-0 dataset has no chunks to rewrite.
tests/test_backend.py:1043
Function
test_scalar
(setup_vfile)
tests/test_api.py:1902
Function
test_scalar_dataset
Scalar (ndim=0) datasets are supported by h5py, but implementing them in versioned_hdf5 would take a lot of special-casing as raw_data can't go be
tests/test_api.py:1566
Function
test_set_chunks_nested
(vfile)
tests/test_api.py:1656
← previous
next →
701–800 of 917, ranked by callers