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_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:702
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:966
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:974
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:445
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:477
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() and changes() on a size-0 array that has base slabs
tests/test_staged_changes.py:430
Function
test_small_dataset
(vfile)
tests/test_api.py:383
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:107
Function
test_sparse
(vfile)
tests/test_api.py:1925
Function
test_sparse_empty
(vfile)
tests/test_api.py:1967
Function
test_sparse_large
(vfile)
tests/test_api.py:2006
Function
test_stage_version
Test that versions can be staged and are the expected shape.
tests/test_api.py:34
Function
test_stage_version_chunk_size
(vfile)
tests/test_api.py:78
Function
test_stage_version_compression
(vfile)
tests/test_api.py:122
Function
test_stage_version_log_stats
Test that stage_version logs stats after writing data.
tests/test_api.py:2184
Function
test_staged_array
(args)
tests/test_staged_changes.py:67
Function
test_step_inner_axis
()
tests/test_hash.py:386
Function
test_step_inner_axis_3d
()
tests/test_hash.py:393
Function
test_step_middle_axis
()
tests/test_hash.py:407
Function
test_step_outer_axis
()
tests/test_hash.py:399
Function
test_stop2count_count2stop
(s)
tests/test_cytools.py:24
Function
test_store_binary_as_void
(vfile)
tests/test_api.py:1586
Function
test_strided_single_chunk_object
(dtype)
tests/test_hash.py:547
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:468
Function
test_string_dtype
Test that writing an array of object strings without metadata correctly preserves metadata on the Dataset.
tests/test_wrappers.py:427
Function
test_string_dtypes
(setup_vfile, dt)
tests/test_api.py:1692
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:836
Function
test_timestamp_manual
(vfile)
tests/test_api.py:845
Function
test_timestamp_manual_datetime64
(vfile)
tests/test_api.py:869
Function
test_trailing_axes_contiguous_3d
()
tests/test_hash.py:414
Function
test_transposed_2d
()
tests/test_hash.py:366
Function
test_transposed_3d
()
tests/test_hash.py:372
Function
test_transposed_slab_multichunk
()
tests/test_hash.py:490
Function
test_transposed_then_stepped
()
tests/test_hash.py:462
Function
test_unmodified
(vfile)
tests/test_api.py:393
Function
test_verify_string_chunk_reuse_bytes_one_dimensional
Test that string chunk reuse works as intended.
tests/test_api.py:2979
Function
test_version_int_slicing
(vfile)
tests/test_api.py:164
Function
test_version_name_slicing
(vfile)
tests/test_api.py:219
Function
test_versions_property
Test that VersionedHDF5File.versions returns the same as all_versions(vfile).
tests/test_api.py:2798
Function
test_vlen_encoding_equivalence
Variable-width strings are hashed by their UTF-8 bytes, so ``str``, ``bytes`` and StringDType spellings of the same value collide *by design*.
tests/test_hash.py:738
Function
test_weird_dtypes
()
tests/test_staged_changes.py:869
Function
test_write_dataset
(h5file)
tests/test_backend.py:44
Function
test_write_dataset_compression
(h5file)
tests/test_backend.py:610
Function
test_write_dataset_multidimension
(h5file)
tests/test_backend.py:102
Function
test_write_dataset_offset
(h5file)
tests/test_backend.py:208
Function
test_write_dataset_offset_chunk_size
(h5file)
tests/test_backend.py:568
Function
test_write_dataset_offset_multidimension
(h5file)
tests/test_backend.py:266
Method
time_calc_hashes
(self, scenario: str, chunk_size: str)
benchmarks/staged_changes.py:410
Method
time_changes
(self, state: str, chunk_size: str)
benchmarks/staged_changes.py:392
Method
time_changes_plan
(self, state: str, chunk_size: str)
benchmarks/staged_changes.py:389
Method
time_commit
(self, scenario: str, chunk_size: str)
benchmarks/staged_changes.py:414
Method
time_commit
(self, kind, chunks)
benchmarks/wrappers.py:219
Method
time_commit_plan
(self, scenario: str, chunk_size: str)
benchmarks/staged_changes.py:433
Method
time_create_dataset
(self, density, library)
benchmarks/wrappers.py:101
Method
time_delete_versions
(self, case)
benchmarks/replay.py:81
Method
time_delete_versions
(self, n)
benchmarks/delete_versions.py:45
Method
time_from_array
(self, as_base_slabs: str, chunk_size: str)
benchmarks/staged_changes.py:347
Method
time_getattr
(self, kind)
benchmarks/wrappers.py:56
Method
time_getitem
(self, case: str, chunk_size: str)
benchmarks/staged_changes.py:286
Method
time_getitem
(self, library, dtype, max_nchars)
benchmarks/strings.py:43
Method
time_getitem_plan
(self, case: str, chunk_size: str)
benchmarks/staged_changes.py:283
Method
time_hash
(self, dtype, nbytes)
benchmarks/hashtable.py:46
Method
time_hash_plan
(self, scenario: str, chunk_size: str)
benchmarks/staged_changes.py:407
Method
time_hash_slab
(self, chunk_size, edge)
benchmarks/hash.py:42
Method
time_hash_slab
(self, layout, chunk_size)
benchmarks/hash.py:115
Method
time_hash_slab
(self, dtype, max_nchars, chunk_size)
benchmarks/hash.py:170
Method
time_hash_slab_naive
Naive Python hashlib reimplementation of hash_slab.
benchmarks/hash.py:54
Method
time_hash_slab_naive
Naive Python hashlib reimplementation of hash_slab for strings.
benchmarks/hash.py:180
Method
time_load
(self, state: str, chunk_size: str)
benchmarks/staged_changes.py:371
Method
time_load_plan
(self, state: str, chunk_size: str)
benchmarks/staged_changes.py:368
Function
time_many_chunks
()
benchmarks/many_chunks.py:11
Function
time_many_chunks_arange
()
benchmarks/many_chunks.py:63
Function
time_many_chunks_integer_index
()
benchmarks/many_chunks.py:36
Method
time_modify_metadata
(self, case)
benchmarks/replay.py:122
Method
time_one_element_commit
(self, how)
benchmarks/chunk_guessing.py:45
Method
time_read_many_slices
(self, chunk_size)
benchmarks/read_many_slices.py:82
Method
time_read_many_slices_h5_to_np
(self, chunk_size, fast)
benchmarks/read_many_slices.py:111
Method
time_read_many_slices_h5_to_np
(self, chunk_size, layout, fast)
benchmarks/read_many_slices.py:159
Method
time_read_many_slices_np_to_h5
(self, chunk_size, fast)
benchmarks/read_many_slices.py:121
Method
time_read_many_slices_np_to_h5
(self, chunk_size, layout, fast)
benchmarks/read_many_slices.py:174
Method
time_read_write_loop_different_chunk
(self, library, dtype, max_nchars)
benchmarks/strings.py:76
Method
time_read_write_loop_fast_astype
(self, library, dtype, max_nchars)
benchmarks/strings.py:82
Method
time_read_write_loop_same_chunk
(self, library, dtype, max_nchars)
benchmarks/strings.py:70
Method
time_recreate_dataset
(self, case)
benchmarks/replay.py:107
Function
time_resize
()
benchmarks/resize.py:11
Method
time_resize
(self, resize: str, state: str, chunk_size: str)
benchmarks/staged_changes.py:327
Function
time_resize_and_write
()
benchmarks/resize.py:50
Function
time_resize_and_write_hdf5
()
benchmarks/resize.py:92
Function
time_resize_and_write_hdf5_no_copy
()
benchmarks/resize.py:74
Method
time_resize_bigger
(self, kind)
benchmarks/wrappers.py:68
Function
time_resize_hdf5
()
benchmarks/resize.py:34
Method
time_resize_plan
(self, resize: str, state: str, chunk_size: str)
benchmarks/staged_changes.py:324
← previous
next →
801–900 of 917, ranked by callers