Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/deshaw/versioned-hdf5
/ functions
Functions
983 in github.com/deshaw/versioned-hdf5
⨍
Functions
983
◇
Types & classes
87
↳
Endpoints
6
Function
test_read_only_handle_does_not_reuse_wrapper
(tmp_path)
tests/test_api.py:2124
Function
test_read_only_no_wrappers
(setup_vfile)
tests/test_api.py:2604
Function
test_read_then_commit_without_base_slab
(vfile, read)
tests/test_wrappers.py:322
Function
test_readonly
()
tests/test_staged_changes.py:1249
Function
test_readonly_data
Read-only data is copied upon creation of a new version.
tests/test_wrappers.py:250
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:2721
Function
test_rebuild_hashtable_chunk_reuse
Test that the correct chunks are used after rebuilding the tables.
tests/test_api.py:2973
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:3107
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:3032
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:2813
Function
test_rebuild_hashtable_multiple_nested_dataset
Test rebuilding the hash tables of a nested dataset.
tests/test_api.py:2940
Function
test_rebuild_hashtable_nested_dataset
Test rebuilding the hash tables of a nested dataset.
tests/test_api.py:2913
Function
test_rechunk
()
tests/test_staged_changes.py:813
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:936
Function
test_recreate_dataset_frees_each_version
The wrappers of a version reference each other in cycles (InMemoryGroup._data[] <-> InMemoryDataset._parent); recreate_dataset() must not leav
tests/test_replay.py:1014
Function
test_recreate_dataset_preserves_frozen_heap
recreate_dataset() freezes the heap to keep its per-version collections cheap, but it must leave the freeze set of a caller that froze the heap it
tests/test_replay.py:1064
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:861
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:899
Function
test_recreate_hashtable
(vfile)
tests/test_replay.py:1352
Function
test_recreate_raw_data
(vfile)
tests/test_replay.py:1311
Function
test_recreate_virtual_dataset
(vfile)
tests/test_replay.py:1382
Function
test_refill
()
tests/test_staged_changes.py:775
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:761
Function
test_refill_noop
()
tests/test_staged_changes.py:795
Function
test_refill_skips_dropped_slabs
()
tests/test_staged_changes.py:804
Function
test_repr
()
tests/test_staged_changes.py:1022
Function
test_resize
(vfile)
tests/test_api.py:452
Function
test_resize_after_delete_and_recreate
Enlarging a dataset that was deleted in a previous version and re-created with ``sv[name] = arr`` must reuse the chunk size and fillvalue pinned b
tests/test_api.py:825
Function
test_resize_after_new_dataset_assignment
Enlarging a brand new dataset created as ``sv[name] = arr`` must guess a chunk size instead of raising AssertionError (regression test for #569).
tests/test_api.py:809
Function
test_resize_after_recreating_in_versions_subgroup
A nested user subgroup named 'versions' must not mask the real versions group when looking up the chunk size pinned by an older version.
tests/test_api.py:855
Function
test_resize_after_whole_dataset_assignment
Enlarging a dataset that ``sv[name] = arr`` replaced wholesale in the same version must keep the chunk size of the replaced dataset (regression te
tests/test_api.py:788
Function
test_resize_axis
(vfile)
tests/test_api.py:931
Function
test_resize_int_types_grow
(tmp_path)
tests/test_api.py:742
Function
test_resize_int_types_shrink
(tmp_path)
tests/test_api.py:725
Function
test_resize_multidim_after_new_dataset_assignment
``group[name] = arr`` cannot guess a chunk size for multi-dimensional data, so enlarging it fails the same way as committing it does. Use crea
tests/test_api.py:895
Function
test_resize_multidim_after_whole_dataset_assignment
Multi-dimensional counterpart of test_resize_after_whole_dataset_assignment: the pinned chunk size must be reused along every axis (regression tes
tests/test_api.py:875
Function
test_resize_multiple_dimensions
(vfile)
tests/test_api.py:659
Function
test_resize_noop
()
tests/test_staged_changes.py:407
Function
test_resize_plan_reports_grid_resize_as_mutation
A resize that changes the number of chunks replaces slab_indices and slab_offsets - with a shrunk view or with an np.pad copy - while transferring
tests/test_staged_changes.py:416
Function
test_resize_shrink_trailing_axis
resize() shrinks a trailing axis and grows axis 0 within the last chunk row
tests/test_api.py:641
Function
test_resize_shrink_trailing_axis_all_fillvalue
resize() shrinks a trailing axis and grows axis 0 within the last chunk row
tests/test_api.py:623
Function
test_resize_sparse
(vfile)
tests/test_api.py:765
Function
test_resize_then_astype_read_only_slab_metadata_1
Reading a staged dataset with ``astype("T")`` leaves StagedChangesArray.slab_indices as read-only and CoW-shared with its source, so commit_st
tests/test_npystrings.py:488
Function
test_resize_then_astype_read_only_slab_metadata_2
Reading a staged dataset with ``astype("T")`` leaves StagedChangesArray.slab_indices as read-only and CoW-shared with its source, so commit_st
tests/test_npystrings.py:522
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:463
Function
test_resize_unaligned
(vfile)
tests/test_api.py:609
Function
test_resize_weird_size
(vfile, size)
tests/test_api.py:968
Function
test_reversed_all_axes
()
tests/test_hash.py:434
Function
test_reversed_axis_0
()
tests/test_hash.py:428
Function
test_rewrite_block_bytes
()
tests/test_backend.py:769
Function
test_rewrite_dataset
rewrite_dataset() copies every chunk of an array into a brand new raw_data, deduplicating them, and returns the same committed StagedChangesArray
tests/test_backend.py:783
Function
test_rewrite_dataset_all_fillvalue
A dataset whose chunks are all entirely fillvalue writes nothing to raw_data, and is returned with no base slab at all rather than an empty raw_da
tests/test_backend.py:942
Function
test_rewrite_dataset_dedups_across_blocks
A chunk written by an earlier block deduplicates against an identical chunk staged by a later block. Each block is deduplicated against the on-dis
tests/test_backend.py:917
Function
test_rewrite_dataset_empty
A size-0 dataset has no chunks to rewrite.
tests/test_backend.py:954
Function
test_rewrite_dataset_multidimension
A 3-D array with duplicate chunks, edge chunks along two axes, and a full-sized chunk which is entirely fillvalue: however it is diced into blocks
tests/test_backend.py:853
Function
test_rewrite_dataset_preexisting_raw_data
rewrite_dataset() deduplicates against chunks that were already on raw_data (e.g. written by a previous version or an earlier rewrite) and appends
tests/test_backend.py:877
Function
test_scalar
(setup_vfile)
tests/test_api.py:2343
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:1838
Function
test_set_chunks_nested
(vfile)
tests/test_api.py:1928
Function
test_set_current_version
(h5file)
tests/test_versions.py:248
Method
test_setitem
__setitem__() changes chunk dtype upon first access. This happens **before** the values are replaced, to avoid overflows or loss of de
tests/test_staged_changes.py:751
Function
test_setitem_bare_strings
Setting a bare string into a dataset doesn't swap the buffer dtype.
tests/test_npystrings.py:123
Function
test_setitem_broadcast
()
tests/test_staged_changes.py:1004
Function
test_setitem_fancy_index_noncontiguous_whole_chunks
__setitem__ with an integer array index where the wholly-selected chunks are not contiguous among the selected chunks
tests/test_staged_changes.py:1012
Function
test_shape_sensitivity
Same bytes, different shape => different hash, in both implementations, and they agree with each other.
tests/test_hash_legacy_compat.py:103
Function
test_shrinking_dereferences_slabs
Test that shrinking a StagedChangesArray dereferences the *staged* slabs that are no longer referenced by any chunks. The full slab and the base s
tests/test_staged_changes.py:494
Function
test_shrinking_does_not_reuse_partial_chunks
Test that if a partial chunk is created or resized when shrinking, and that chunk was on a base slab, it is loaded into memory to avoid different
tests/test_staged_changes.py:526
Function
test_simplify_indices
Test that a fancy index that can be redefined globally as a slice results in a SliceMapper
tests/test_subchunk_map.py:494
Function
test_single_chunk
()
tests/test_hash.py:41
Function
test_size_zero_with_base_slabs
load() on a size-0 array that has base slabs
tests/test_staged_changes.py:479
Function
test_small_dataset
(vfile)
tests/test_api.py:385
Method
test_small_fraction_changes_sparse
( self, num_transactions=250, filename="test_small_fraction_changes_sparse", c
analysis/generate_data_base.py:215
Function
test_smallest_step_after
(data, x, m)
tests/test_cytools.py:42
Function
test_spaceid_to_slice
(h5file)
tests/test_slicetools.py:112
Function
test_sparse
(vfile)
tests/test_api.py:2366
Function
test_sparse_empty
(vfile)
tests/test_api.py:2408
Function
test_sparse_large
(vfile)
tests/test_api.py:2447
Function
test_stage_version
Test that versions can be staged and are the expected shape.
tests/test_api.py:36
Function
test_stage_version_chunk_size
(vfile)
tests/test_api.py:80
Function
test_stage_version_compression
(vfile)
tests/test_api.py:124
Function
test_stage_version_log_stats
Test that stage_version logs stats after writing data.
tests/test_api.py:2625
Function
test_staged_array
(args)
tests/test_staged_changes.py:67
Function
test_step_inner_axis
()
tests/test_hash.py:393
Function
test_step_inner_axis_3d
()
tests/test_hash.py:400
Function
test_step_middle_axis
()
tests/test_hash.py:414
Function
test_step_outer_axis
()
tests/test_hash.py:406
Function
test_stop2count_count2stop
(s)
tests/test_cytools.py:24
Function
test_store_binary_as_void
(vfile)
tests/test_api.py:1858
Function
test_strided_single_chunk_object
(dtype)
tests/test_hash.py:554
Function
test_strided_slab_multichunk
Multiple chunks, with edge trimming and hash row permutation, carved out of a stepped (outer axis) slab: the chunk axis-0 offset must use the real
tests/test_hash.py:475
Function
test_string_dtype
Test that writing an array of object strings without metadata correctly preserves metadata on the Dataset.
tests/test_wrappers.py:441
Function
test_string_dtypes
(setup_vfile, dt)
tests/test_api.py:1964
Function
test_subgroups_inherit_commit_status
Subgroups of a committed version group are committed like their parent, so that they are read-only and are invalidated together with it.
tests/test_api.py:2186
Function
test_tight_iteration_big_O_performance
In h5py, it is OK to create and destroy astype("T") views in rapid succession, interleaved with __setitem__ calls of data with dtype="T":
tests/test_npystrings.py:221
Function
test_timestamp_auto
(vfile)
tests/test_api.py:1016
Function
test_timestamp_manual
(vfile)
tests/test_api.py:1025
Function
test_timestamp_manual_datetime64
(vfile)
tests/test_api.py:1049
Function
test_top_level_versions_dataset_name_rejected
(vfile)
tests/test_api.py:1147
Function
test_trailing_axes_contiguous_3d
()
tests/test_hash.py:421
Function
test_transposed_2d
()
tests/test_hash.py:373
← previous
next →
801–900 of 983, ranked by callers