MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Functiontest_pack_unpack_metadata_multiple_dtypes
pack_metadata / unpack_metadata roundtrip is correct for several dtypes.
tests/v1/storage_backend/test_gds_backend.py:1047
Functiontest_pad_shape_to_4d_1d
()
tests/v1/test_remote_metadata.py:53
Functiontest_pad_shape_to_4d_3d
()
tests/v1/test_remote_metadata.py:58
Functiontest_pad_shape_to_4d_already_4d
()
tests/v1/test_remote_metadata.py:48
Functiontest_pad_shape_too_large
()
tests/v1/test_remote_metadata.py:63
Methodtest_page_size_clamped_to_s3_max
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:870
Methodtest_page_size_must_be_positive
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:866
Methodtest_page_token_threads_through_as_cursor
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:403
Functiontest_paged_hierarchy_retrieve
( chunk_size, backend, retrieve_from, save_unfull_chunk, lmserver_v1_process, autorele
tests/v1/test_cache_engine.py:712
Functiontest_paged_mem_leak
( chunk_size, backend, save_unfull_chunk, lmserver_v1_process, autorelease_v1 )
tests/v1/test_cache_engine.py:1148
Functiontest_paged_mixed_retrieve
(chunk_size, backend, save_unfull_chunk, autorelease_v1)
tests/v1/test_cache_engine.py:386
Functiontest_paged_prefetch_retrieve
( backend, prefetch_from, save_unfull_chunk, autorelease_v1 )
tests/v1/test_cache_engine.py:859
Functiontest_paged_retrieve_after_eviction
( chunk_size, backend, save_unfull_chunk, autorelease_v1 )
tests/v1/test_cache_engine.py:1243
Functiontest_paged_retrieve_prefix
( chunk_size, backend, save_unfull_chunk, lmserver_v1_process, autorelease_v1 )
tests/v1/test_cache_engine.py:154
Functiontest_paged_same_retrieve_store
(save_unfull_chunk, autorelease_v1)
tests/v1/test_cache_engine.py:69
Functiontest_paged_store_kv_tensors_mask
(save_unfull_chunk, autorelease_v1)
tests/v1/test_cache_engine.py:535
Functiontest_paged_store_offset
( chunk_size, backend, save_unfull_chunk, lmserver_v1_process, autorelease_v1 )
tests/v1/test_cache_engine.py:275
Methodtest_paginates_through_continuation_tokens
(self)
tests/v1/mp_coordinator/test_resync_manager.py:96
Methodtest_pagination_cursor_walks_full_set
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:851
Methodtest_parse_args
Simulate --l2-adapter CLI argument.
examples/lmc_external_l2_adapter/tests/test_plugin.py:205
Methodtest_parse_cache_engine_key
(self)
tests/test_utils.py:500
Methodtest_parse_cache_key_with_tags
Test parsing CacheEngineKey with tags.
tests/test_utils.py:549
Methodtest_parse_cache_key_without_tags
Test parsing CacheEngineKey without tags.
tests/test_utils.py:534
Functiontest_parse_hfbucket_handle
Bucket handles should split into bucket id and object prefix.
tests/v1/storage_backend/test_hfbucket_connector.py:243
Methodtest_parse_layer_cache_engine_key
(self)
tests/test_utils.py:516
Methodtest_parse_layer_cache_key_with_tags
Test parsing LayerCacheEngineKey with tags - demonstrates the bug.
tests/test_utils.py:583
Methodtest_parse_layer_cache_key_without_tags
Test parsing LayerCacheEngineKey without tags.
tests/test_utils.py:568
Methodtest_partial_chunk_ignored
Trailing tokens that don't fill a full window are dropped.
tests/v1/multiprocess/test_token_hasher.py:203
Functiontest_partial_final_batch
The final short batch still reports the correct start index.
tests/v1/multiprocess/test_batched_iteration_with_skip.py:52
Methodtest_partial_hit
A subset of the requested tokens is served by blend.
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:284
Methodtest_partial_hit
A prefix of the requested tokens is served from cache.
tests/v1/mp_observability/subscribers/metrics/test_lookup.py:133
Methodtest_partial_hits
(self, adapter: HFBucketL2Adapter)
tests/v1/distributed/test_hfbucket_l2_adapter.py:282
Methodtest_partial_hits
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:487
Methodtest_partial_last_chunk
(self)
tests/v1/multiprocess/test_compute_mp_checksums.py:83
Methodtest_partial_last_chunk
3 blocks with chunk_size=2 blocks -> 2 chunks (2+1).
tests/v1/multiprocess/test_http_server.py:190
Methodtest_partial_prefix_with_serde
L2 has keys {0,1,3,4} but not 2 → only prefix {0,1} returned.
tests/v1/distributed/serde/test_serde_e2e.py:350
Functiontest_partial_restore_cutoff_when_hs_missing
()
tests/v1/test_hidden_state_store.py:240
Methodtest_partial_sequence_registration
Registration with position_offset > 0; queries find at that offset.
tests/v1/multiprocess/test_optimized_lookup_v3.py:495
Methodtest_partial_store_failure_accounts_written_keys
( self, adapter: HFBucketL2Adapter, fake_client: _FakeBucketClient, )
tests/v1/distributed/test_hfbucket_l2_adapter.py:332
Methodtest_partial_trailing_block
Non-aligned seq_len (trailing partial block).
tests/v1/compute/attention/test_triton_kernels.py:210
Methodtest_pass1_and_pass2_share_prefix_order
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:496
Methodtest_pass1_and_pass2_use_different_breakers
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:521
Methodtest_pass1_is_sequential
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:661
Methodtest_pass2_all_hits_when_pool_equals_tier
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:750
Methodtest_pass2_all_hits_when_pool_fits_in_tier
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:724
Methodtest_pass2_matches_pass1
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:668
Methodtest_pass2_zero_hits_when_pool_overflows
( self, num_prefixes: int, capacity: int )
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:689
Methodtest_passthrough
(self, v)
tests/v1/mp_observability/trace/test_codecs.py:32
Methodtest_path_sharder_cpu_device
Test PathSharder with CPU device.
tests/v1/test_nixl_multipath.py:58
Methodtest_path_sharder_empty_path
Test PathSharder with empty path.
tests/v1/test_nixl_multipath.py:47
Methodtest_path_sharder_multiple_paths
Test PathSharder with a CSV string of paths.
tests/v1/test_nixl_multipath.py:26
Methodtest_path_sharder_single_path
Test PathSharder with a single path string.
tests/v1/test_nixl_multipath.py:14
Methodtest_path_sharder_unsupported_sharding
Test PathSharder with unsupported path sharding.
tests/v1/test_nixl_multipath.py:52
Methodtest_path_sharding_default
Default local_disk_path_sharding is 'by_gpu' (backend inits OK).
tests/v1/storage_backend/test_local_disk_backend.py:287
Methodtest_path_sharding_explicit_by_gpu
Explicitly setting local_disk_path_sharding='by_gpu' works.
tests/v1/storage_backend/test_local_disk_backend.py:299
Methodtest_path_sharding_unsupported_raises
Unsupported local_disk_path_sharding raises ValueError.
tests/v1/storage_backend/test_local_disk_backend.py:313
Methodtest_pattern_at_boundaries
Test patterns at the start and end of data.
tests/v1/native_storage_ops/test_pattern_matcher.py:533
Methodtest_pattern_at_end
Test when pattern is at the end of data.
tests/v1/native_storage_ops/test_pattern_matcher.py:68
Methodtest_pattern_at_every_position
Test when pattern could match at multiple overlapping positions.
tests/v1/native_storage_ops/test_pattern_matcher.py:238
Methodtest_pattern_at_start
Test when pattern is at the beginning of data.
tests/v1/native_storage_ops/test_pattern_matcher.py:58
Methodtest_pattern_equals_data
Test when pattern is exactly the same as data.
tests/v1/native_storage_ops/test_pattern_matcher.py:109
Methodtest_pattern_longer_than_data
Test when pattern is longer than data.
tests/v1/native_storage_ops/test_pattern_matcher.py:119
Methodtest_pattern_longer_than_data
Test when patterns are longer than data.
tests/v1/native_storage_ops/test_pattern_matcher.py:681
Methodtest_pd_bidirectional_default
pd_bidirectional defaults to False.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:347
Methodtest_pd_bidirectional_set
pd_bidirectional can be set to True.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:355
Functiontest_pd_max_prefill_len_check
pd_max_prefill_len > buffer capacity → ValueError on init.
tests/v1/storage_backend/test_pd_backend_async.py:806
Methodtest_pd_peer_query_port_default
pd_peer_query_port defaults to None.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:363
Methodtest_pd_peer_query_port_set
pd_peer_query_port can be set.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:371
Functiontest_pending_sentinel_distinct
()
tests/v1/mp_coordinator/test_blend_client.py:212
Functiontest_per_layer_scalar_accessors_per_layer_list
For per-layer list formats, each scalar accessor honours layer_idx.
tests/v1/gpu_connector/test_utils_shape_desc.py:112
Functiontest_per_layer_scalar_accessors_sglang_mha
For SGLang MHA (nested list), accessors walk into [k_list|v_list].
tests/v1/gpu_connector/test_utils_shape_desc.py:126
Methodtest_per_read_touch_vs_unified_touch_order
Compare per-read touch (old behavior) vs unified touch (new behavior). Old behavior: each retrieve touches its keys immediately. New
tests/v1/multiprocess/test_unified_touch.py:156
Methodtest_percentiles_multiple
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:198
Methodtest_percentiles_single_result
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:188
Methodtest_perm_idx_matches_permutations_list
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:358
Methodtest_permutations_all_when_small
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:307
Methodtest_permutations_capped
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:301
Methodtest_persist_keeps_files_on_close
With persist_enabled=True, data files remain on disk after close.
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:620
Methodtest_picks_up_explicit_values
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:221
Methodtest_pin_delegates_to_executor
Test pin operation delegates to cluster executor.
tests/v1/cache_controller/test_kv_controller.py:618
Methodtest_pin_delegates_to_handler
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:693
Functiontest_pin_monitor_background_thread
Test that PinMonitor background thread starts correctly.
tests/v1/test_memory_management.py:485
Functiontest_pin_monitor_timeout
Test that PinMonitor correctly detects and handles pin timeouts.
tests/v1/test_memory_management.py:414
Methodtest_pin_msg_serialization
Test PinMsg encode/decode.
tests/v1/cache_controller/test_messages.py:351
Methodtest_pin_ret_msg_serialization
Test PinRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:496
Methodtest_pin_returns_false_on_failure
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:700
Functiontest_pin_timeout
(alloc_cls, custom_timeout, elapsed_time)
tests/v1/test_memory_management.py:356
Methodtest_pin_unpin
Test pin() and unpin() operations.
tests/v1/storage_backend/test_local_cpu_backend.py:285
Methodtest_pin_unpin_not_implemented
(self, gds_backend)
tests/v1/storage_backend/test_gds_backend.py:402
Methodtest_pin_worker_msg_serialization
Test PinWorkerMsg encode/decode.
tests/v1/cache_controller/test_messages.py:230
Methodtest_pin_worker_ret_msg
Test PinWorkerRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:662
Methodtest_ping
Verify ping executes SELECT 1; health queries cleanly.
tests/v1/storage_backend/test_bigtable_connector.py:788
Methodtest_plain_dict_config_merged
Non-dataclass values still go through make_json_safe.
tests/v1/multiprocess/http_apis/test_conf_api.py:70
Functiontest_plain_dram_is_single_region
()
tests/v1/distributed/test_l1_single_region.py:34
Methodtest_plugin_factory_registered
plugin' factory should be callable via create_l2_adapter_from_registry (smoke test with ImportError).
tests/v1/distributed/test_l2_adapter_factory.py:323
Methodtest_plugin_type_registered
plugin' config type should be registered.
tests/v1/distributed/test_l2_adapter_factory.py:317
Methodtest_policy_selects_subset_of_adapters
A policy that targets only some adapters should skip others.
tests/v1/distributed/test_store_controller.py:604
Methodtest_policy_that_deletes_from_l1
A policy that requests L1 deletion should result in deleted keys.
tests/v1/distributed/test_store_controller.py:556
Methodtest_policy_that_skips_all_adapters
A policy returning empty targets should not trigger L2 stores.
tests/v1/distributed/test_store_controller.py:521
Functiontest_poll_coordinator_match_deferred_then_resolved
PENDING within deadline defers (None); a list resolves to segments.
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:389
← previousnext →11,601–11,700 of 13,371, ranked by callers