MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_skips_malformed_lines
(self)
tests/tools/test_cache_simulator.py:218
Methodtest_skips_module_without_router
Modules that lack a ``router`` attribute are skipped.
tests/v1/multiprocess/test_http_api_registry.py:84
Methodtest_skips_non_api_modules
Modules without the ``_api`` suffix are ignored.
tests/v1/multiprocess/test_http_api_registry.py:66
Methodtest_skips_non_apirouter_router
A ``router`` attr that is not an APIRouter is skipped.
tests/v1/multiprocess/test_http_api_registry.py:100
Methodtest_slash_in_model_name_is_accepted
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:287
Functiontest_slice_block_ids_heterogeneous_block_sizes
A tokens_per_block-32 group gets half the IDs of a 16 group. The range [0, 256) spans 256 tokens: the tokens_per_block-16 group needs 16 bloc
tests/v1/test_kv_cache_groups.py:114
Functiontest_slice_block_ids_misaligned_range_raises
A range that is not a whole number of a group's chunks is rejected.
tests/v1/test_kv_cache_groups.py:168
Functiontest_slice_block_ids_missing_group_yields_empty
A group with no allocated block IDs slices to an empty list.
tests/v1/test_kv_cache_groups.py:156
Functiontest_slice_block_ids_nonzero_start_offset
Start/end token offsets are divided per group by tokens_per_block.
tests/v1/test_kv_cache_groups.py:144
Functiontest_slice_block_ids_smaller_than_base_block_sizes
Groups with tiny paged chunks (e.g. DeepSeek V4 compressor state, tokens_per_block 4/8) get proportionally more IDs over one token span.
tests/v1/test_kv_cache_groups.py:131
Functiontest_slice_block_ids_uniform_block_sizes
Groups sharing one tokens_per_block slice to equal counts.
tests/v1/test_kv_cache_groups.py:102
Functiontest_sliding_window_does_not_block_long_prefix_when_tail_present
()
tests/v1/distributed/test_bitmap_ops.py:105
Methodtest_sliding_window_servable_is_gappy
(self)
tests/v1/distributed/test_bitmap_ops.py:303
Methodtest_sliding_window_tail_extends_hit
(self)
tests/v1/distributed/test_bitmap_ops.py:495
Methodtest_small_ratio_returns_at_least_one_key
A small ratio > 0 should return at least 1 key.
tests/v1/distributed/test_lru_eviction_policy.py:174
Methodtest_small_tensor
Tiny tensor (single element). Edge case for buffer sizing.
tests/v1/distributed/serde/test_serde_e2e.py:538
Methodtest_smaller_target_rate_yields_larger_bit_array
(self)
tests/v1/test_bloom_filter.py:25
Methodtest_smaller_than_y
(self)
tests/test_utils.py:54
Methodtest_socket_recreation_on_error
Test socket recreation when ZMQ error occurs.
tests/v1/lookup_client/test_lmcache_lookup_client.py:342
Methodtest_sparse_from_l2_loads_all_found
Sparse prefetch from L2 loads every found key (controller skips the prefix-only trim), not just the prefix before a gap.
tests/v1/distributed/test_distributed_storage_manager.py:841
Methodtest_sparse_keeps_all_found
(self)
tests/v1/distributed/test_prefetch_controller.py:1283
Methodtest_sparse_keeps_all_found
(self)
tests/v1/distributed/test_bitmap_ops.py:248
Methodtest_sparse_keeps_all_found_not_just_prefix
Sparse L1 prefetch retains + read-locks every found key, including those past a gap (unlike the contiguous-prefix default).
tests/v1/distributed/test_distributed_storage_manager.py:810
Functiontest_spec_carries_attention_backends
(case)
tests/v1/gpu_connector/test_kv_format_specs.py:306
Methodtest_split_layers
(self, basic_key)
tests/test_utils.py:343
Methodtest_split_layers
(self, layer_key)
tests/test_utils.py:489
Methodtest_splits_buffer_into_regions
(self, monkeypatch)
tests/v1/gpu_connector/test_gds_context.py:76
Methodtest_stable_ids_across_add_delete
Ids are monotonic and never reused; delete does not shift others.
tests/v1/distributed/test_runtime_adapters.py:332
Functiontest_stale_detects_expired
()
tests/v1/mp_coordinator/test_registry.py:69
Methodtest_start_calls_api_server_start
Test start_services() calls api_server.start() when api_server exists.
tests/v1/test_manager.py:158
Methodtest_start_equals_data
Test when start pattern equals all the data.
tests/v1/native_storage_ops/test_pattern_matcher.py:485
Functiontest_start_fails_without_pool_assignment
Test that start() raises RuntimeError if a blocking handler has no executor assigned.
tests/v1/multiprocess/test_mq.py:858
Methodtest_start_full_sync_already_syncing
Test that concurrent sync is prevented.
tests/v1/cache_controller/test_full_sync_sender.py:192
Methodtest_start_full_sync_empty_cache
Test full sync with empty cache.
tests/v1/cache_controller/test_full_sync_sender.py:156
Methodtest_start_full_sync_freeze_mode
Test that freeze mode is properly managed.
tests/v1/cache_controller/test_full_sync_sender.py:223
Methodtest_start_full_sync_retry
Test sync retry scenarios.
tests/v1/cache_controller/test_full_sync_sender.py:212
Methodtest_start_full_sync_with_keys
Test full sync with keys in cache.
tests/v1/cache_controller/test_full_sync_sender.py:168
Methodtest_start_handles_none_api_server
Test start_services() handles None api_server gracefully.
tests/v1/test_manager.py:178
Methodtest_start_launches_thread
(self, bus)
tests/v1/mp_observability/test_event_bus.py:105
Methodtest_start_stop
StoreController should start and stop cleanly.
tests/v1/distributed/test_store_controller.py:242
Methodtest_start_stop
Controller should start and stop cleanly.
tests/v1/distributed/test_prefetch_controller.py:215
Methodtest_start_stop_lifecycle
(self)
tests/cli/commands/bench/engine_bench/test_progress.py:116
Methodtest_start_stop_lifecycle
(self, monitor)
tests/v1/test_health_monitor.py:173
Methodtest_start_stop_no_adapters
Controller should start and stop cleanly with no adapters.
tests/v1/distributed/test_store_controller.py:255
Methodtest_start_stop_no_adapters
Controller should start and stop cleanly with no adapters.
tests/v1/distributed/test_prefetch_controller.py:228
Methodtest_start_sync_conflict
Test sync start conflict handling.
tests/v1/cache_controller/test_full_sync.py:87
Methodtest_start_with_no_active_checks_returns_none
(self, monitor, checks)
tests/v1/test_health_monitor.py:185
Methodtest_start_without_end
Test when start pattern is found but no end pattern follows.
tests/v1/native_storage_ops/test_pattern_matcher.py:429
Methodtest_starts_at_first_kernel_group
The object-group flat view aliases the same memory as its first kernel group's buffer.
tests/v1/platform/test_gpu_cache_context.py:306
Functiontest_startup_does_not_warn_for_default_heartbeat_interval
The default 10 s heartbeat interval (3 x 10 s == 30 s floor) must not emit the reap-timeout startup WARNING.
tests/v1/test_vllm_mp_adapter.py:702
Functiontest_startup_warns_when_heartbeat_interval_exceeds_reap_floor
3 x heartbeat_interval > 30 s emits a startup WARNING to raise the server's worker reap timeout. The module logger does not propagate (``propa
tests/v1/test_vllm_mp_adapter.py:683
Functiontest_static_metadata
(case)
tests/v1/gpu_connector/test_kv_format_specs.py:247
Methodtest_statistics_shape_and_values
(self)
tests/v1/test_bloom_filter.py:166
Functiontest_stats_clearing
(stats_monitor)
tests/test_observability.py:228
Functiontest_status_filters_non_dax_reconfigurable_adapters
()
tests/v1/multiprocess/http_apis/test_reconfigure_api.py:153
Methodtest_status_hot_cache_disabled
(self, client_with_engine, mock_engine)
tests/v1/internal_api_server/test_hot_cache_api.py:96
Methodtest_status_hot_cache_enabled
(self, client_with_engine, mock_engine)
tests/v1/internal_api_server/test_hot_cache_api.py:88
Methodtest_status_hot_cache_exception
(self, client_with_engine, mock_engine)
tests/v1/internal_api_server/test_hot_cache_api.py:108
Methodtest_status_hot_cache_no_engine
(self, client_without_engine)
tests/v1/internal_api_server/test_hot_cache_api.py:104
Functiontest_status_list
()
tests/v1/mp_coordinator/test_l2_api.py:240
Functiontest_status_list_empty
()
tests/v1/mp_coordinator/test_l2_api.py:261
Functiontest_status_list_includes_quota_only_salt
A salt with a quota but no usage should appear in the list.
tests/v1/mp_coordinator/test_l2_api.py:268
Methodtest_status_no_engine
503 when engine is not set.
tests/v1/multiprocess/test_http_server.py:291
Functiontest_status_reports_running_flag
()
tests/lmcache_frontend/test_heartbeat.py:138
Functiontest_status_single_salt
()
tests/v1/mp_coordinator/test_l2_api.py:218
Methodtest_status_success
200 and engine.report_status() called.
tests/v1/multiprocess/test_http_server.py:296
Functiontest_status_unknown_salt
()
tests/v1/mp_coordinator/test_l2_api.py:232
Methodtest_step_busy_session_returns_small_sleep
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:386
Methodtest_step_by_step_flow
Test step-by-step flow: dryrun -> close -> create.
tests/v1/internal_api_server/test_lookup_api.py:308
Methodtest_step_calls_send_request
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:450
Methodtest_step_dispatches_and_returns_next_time
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:365
Methodtest_step_dispatches_and_returns_zero
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:326
Methodtest_step_dispatches_in_pool_order
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:469
Methodtest_step_returns_negative_when_all_done
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:434
Methodtest_step_returns_negative_when_done
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:344
Methodtest_step_returns_negative_when_done
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:404
Methodtest_step_sends_one_request_per_call
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:451
Methodtest_step_terminates_after_pool_exhausted
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:460
Methodtest_step_uses_max_tokens_one
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:481
Methodtest_step_waits_for_pending_tasks_after_duration
( self, )
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:413
Methodtest_step_waits_when_pending_and_no_new_requests
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:463
Methodtest_stop_drains_remaining_events
(self, bus)
tests/v1/mp_observability/test_event_bus.py:251
Functiontest_stop_plugins
Test stopping plugin processes.
tests/v1/plugin/test_runtime_plugin_launcher.py:334
Methodtest_stop_plugins_delegates
stop_plugins delegates to inner launcher.
tests/v1/multiprocess/test_mp_runtime_plugin_launcher.py:140
Methodtest_stop_without_start
(self)
tests/cli/commands/bench/engine_bench/test_progress.py:155
Methodtest_stop_without_start
(self, bus)
tests/v1/mp_observability/test_event_bus.py:138
Methodtest_storage_manager_bypass_mode
Test StorageManager bypass mode operations.
tests/v1/test_health_monitor_fallback_recovery.py:579
Functiontest_storage_manager_dax_adapter_roundtrip
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:744
Functiontest_storage_manager_dax_adapter_uses_global_l2_eviction
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:839
Functiontest_storage_manager_finds_serde_wrapped_reconfigurable_adapter
()
tests/v1/distributed/test_dax_l2_adapter.py:460
Functiontest_storage_manager_returns_context_storage_manager
()
tests/v1/multiprocess/test_engine_passthroughs.py:19
Functiontest_storage_manager_routes_generic_l2_reconfigure_to_adapter
()
tests/v1/distributed/test_dax_l2_adapter.py:443
Functiontest_storage_only_round_trip_k_bit_exact_v_within_fp8_noise
()
tests/v1/distributed/serde/test_asym_k16_v8_multi.py:107
Functiontest_storage_only_round_trip_with_skipped_v_dst_leaves_buf_untouched
Pass (K_out, None) to load K only; the V slot is a deliberate skip.
tests/v1/distributed/serde/test_asym_k16_v8_multi.py:141
Methodtest_storage_plugin_is_loaded
Test that a storage plugin is properly loaded via CreateStorageBackends.
tests/v1/storage_backend/test_storage_plugin.py:233
Functiontest_store_1GB
In this test, it will run engine.store to store 10GB data in total. The configs are carefully tuned to have: - Each request has 2K tokens
tests/benchmarks/test_benchmark.py:114
Functiontest_store_1GB
( benchmark, device_type, backend, use_gpu, save_unfull_chunk, create_config, auto
tests/benchmarks/test_xpu_layerwise_connector_benchmark.py:301
Functiontest_store_1gb_v2
( benchmark, device_type, backend, use_gpu, save_unfull_chunk, create_config, auto
tests/benchmarks/test_xpu_connector_benchmark.py:218
Methodtest_store_and_load
Store 4 KB then load back and compare.
examples/lmc_external_l2_adapter/tests/test_plugin.py:306
Methodtest_store_and_load_dicts_are_independent
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_l1_throughput.py:281
← previousnext →12,601–12,700 of 13,371, ranked by callers