Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LMCache/LMCache
/ functions
Functions
13,371 in github.com/LMCache/LMCache
⨍
Functions
13,371
◇
Types & classes
2,044
↳
Endpoints
181
Method
test_health_check_with_asyncio
Test check() properly uses asyncio for ping.
tests/v1/test_health_monitor_fallback_recovery.py:439
Method
test_health_delegates_to_executor
Test health check delegates to cluster executor.
tests/v1/cache_controller/test_registration_controller.py:590
Function
test_health_loop_evicts_stale_instance
()
tests/v1/mp_coordinator/test_integration.py:78
Method
test_health_msg_serialization
Test HealthMsg encode/decode.
tests/v1/cache_controller/test_messages.py:416
Method
test_health_propagation
Top-level is_healthy should be True when all children are healthy.
tests/v1/distributed/test_report_status.py:213
Method
test_health_ret_msg_serialization
Test HealthRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:548
Method
test_health_state_transitions
(self, monitor)
tests/v1/test_health_monitor.py:166
Method
test_health_worker_msg_serialization
Test HealthWorkerMsg encode/decode.
tests/v1/cache_controller/test_messages.py:308
Method
test_health_worker_ret_msg
Test HealthWorkerRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:702
Method
test_healthcheck_no_engine
503 when engine is not set.
tests/v1/multiprocess/test_http_server.py:262
Method
test_healthcheck_with_engine
200 when engine is available.
tests/v1/multiprocess/test_http_server.py:267
Method
test_healthy
(self)
tests/cli/test_describe.py:113
Method
test_healthy_when_all_components_healthy
Test that manager is healthy when all components are healthy.
tests/v1/test_manager.py:476
Function
test_healthz
()
tests/v1/mp_coordinator/test_api.py:156
Method
test_heartbeat_existing_worker
Test heartbeat updates timestamp for existing worker.
tests/v1/cache_controller/test_registration_controller.py:406
Function
test_heartbeat_first_ping_runs_callback_before_setting_event
Real HeartbeatThread: started with the health event cleared, the first successful ping invokes the recover callback while the event is still c
tests/v1/test_vllm_mp_adapter.py:435
Method
test_heartbeat_handler
Test HeartbeatHandler functionality
tests/tools/test_controller_zmq_benchmark.py:157
Function
test_heartbeat_known_and_unknown
()
tests/v1/mp_coordinator/test_api.py:75
Function
test_heartbeat_lazy_start_wires_callback_before_start
The lazy create path starts the heartbeat healthy (no pessimistic clear) and wires the recover callback before ``start()``; the first store is
tests/v1/test_vllm_mp_adapter.py:409
Method
test_heartbeat_msg_serialization
Test HeartbeatMsg encode/decode.
tests/v1/cache_controller/test_messages.py:180
Method
test_heartbeat_unregistered_worker
Test heartbeat triggers re-registration for unregistered worker.
tests/v1/cache_controller/test_registration_controller.py:447
Method
test_heartbeat_update_concurrent
Test concurrent heartbeat updates.
tests/v1/cache_controller/test_registry_tree.py:519
Method
test_help
(self, cmd: QueryCommand)
tests/cli/commands/test_query.py:48
Method
test_help
(self, cmd)
tests/cli/commands/test_coordinator.py:33
Method
test_help
(self, cmd)
tests/cli/commands/test_server.py:33
Method
test_help
(self, cmd: BenchCommand)
tests/cli/commands/bench/test_server_bench.py:64
Method
test_help_nonempty
(self)
tests/v1/distributed/test_hfbucket_l2_adapter.py:532
Method
test_help_nonempty
(self)
tests/v1/distributed/test_s3_l2_adapter.py:745
Method
test_help_returns_string
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:936
Method
test_help_returns_string
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:1117
Method
test_help_returns_string
help() should return a non-empty string.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:320
Function
test_hex_hash_to_int16_accepts_hex_and_non_hex
()
lmcache/integration/vllm/tests/test_mm_hash_utils.py:21
Function
test_hex_hash_to_int16_empty_and_invalid_hex_are_safe_and_deterministic
()
lmcache/integration/vllm/tests/test_mm_hash_utils.py:47
Function
test_hex_hash_to_int16_hex_variants_whitespace_and_truncation
()
lmcache/integration/vllm/tests/test_mm_hash_utils.py:37
Function
test_hex_hash_to_int16_non_string_inputs_are_safe
()
lmcache/integration/vllm/tests/test_mm_hash_utils.py:65
Method
test_high_contention
Test lock under high contention.
tests/v1/cache_controller/test_locks.py:330
Method
test_high_contention_stress
Stress test with high contention on a single instance.
tests/v1/cache_controller/test_registry_tree.py:641
Method
test_high_throughput_stress
Stress test with high throughput operations.
tests/v1/storage_backend/test_batched_message_sender.py:325
Method
test_hit_clamped_to_num_chunks
(self)
tests/v1/distributed/test_bitmap_ops.py:352
Method
test_hit_rate_attrs_set_on_root_span
CB_LOOKUP_END with hit_tokens=512, requested_tokens=1024 → hit_rate=0.5.
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:611
Method
test_hit_rate_attrs_set_on_root_span
LP_END with hit_tokens=512, requested_tokens=1024 → hit_rate=0.5.
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:648
Method
test_hit_rate_includes_prefix_and_non_prefix
V3 hit_rate numerator = prefix_hit_tokens + non_prefix_hit_tokens; both are also recorded as separate attributes on the root span.
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:871
Method
test_hit_rate_zero_when_requested_tokens_is_zero
CB_LOOKUP_END with requested_tokens=0 yields hit_rate=0.0 without error.
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:663
Method
test_hit_rate_zero_when_requested_tokens_is_zero
LP_END with requested_tokens=0 yields hit_rate=0.0 without error.
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:695
Method
test_host_port_env_var_fallback
Host/port env vars should be used when URL values are empty.
tests/v1/distributed/test_resp_env_vars.py:139
Function
test_hotplug_error_status_code_is_preserved
()
tests/v1/multiprocess/http_apis/test_reconfigure_api.py:308
Function
test_hs_eviction_does_not_imply_kv_eviction
()
tests/v1/test_hidden_state_store.py:221
Function
test_hs_pool_is_independent_object
Each HS store owns its own ``MixedMemoryAllocator`` (and pinned buffer). Filling one store's pool does not affect a peer store's contents.
tests/v1/test_hidden_state_store.py:306
Method
test_http_failure_stops_early_returns_partial_count
(self)
tests/v1/mp_coordinator/test_resync_manager.py:130
Method
test_http_frontend_args_registered
(self, parser)
tests/cli/commands/test_server.py:68
Function
test_idempotent_publish
()
tests/v1/mp_coordinator/test_blend_directory_api.py:72
Method
test_idempotent_store_no_double_count
(self, adapter_with_capacity)
tests/v1/distributed/test_native_connector_l2_adapter.py:1341
Method
test_ignore_eos_adds_extra_body
(self, mock_openai_cls)
tests/cli/commands/bench/engine_bench/test_request_sender.py:220
Method
test_ignore_eos_defaults_false_and_overridable
(self)
tests/cli/commands/bench/engine_bench/test_config.py:73
Method
test_ignores_unknown_request
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:455
Method
test_implementation_completeness
Verify implementations have all methods from their base class.
tests/v1/test_impl_completeness.py:46
Method
test_implements_all_abstract_methods
(self)
tests/v1/storage_backend/test_maru_backend.py:234
Method
test_import
(self)
examples/lmc_external_l2_adapter/tests/test_plugin.py:232
Method
test_import_error_raises
ImportError propagates when module not found.
tests/v1/distributed/test_l2_adapter_factory.py:243
Method
test_import_error_raises
ImportError propagates when module not found.
tests/v1/distributed/test_l2_adapter_factory.py:769
Method
test_in_flight_tracking
(self)
tests/cli/commands/bench/engine_bench/test_progress.py:56
Method
test_include_abstract_keeps_them
(self, temp_pkg: Tuple[str, Path])
tests/v1/test_subclass_discovery.py:162
Method
test_incremental_allowed_after_sync
Test incremental works after sync completion.
tests/v1/cache_controller/test_full_sync.py:344
Method
test_incremental_discarded_during_sync
Test incremental messages discarded during sync.
tests/v1/cache_controller/test_full_sync.py:327
Method
test_index_from_hash_lower_bits
idx = hash & (table_size - 1).
tests/v1/multiprocess/test_token_hasher.py:263
Method
test_inf_limit_is_400
Same rationale as NaN — ``Infinity`` is a Python json extension, so a malicious client can still send it.
tests/v1/multiprocess/test_http_quota_endpoints.py:129
Method
test_inherits_load_plan
Load plan should behave identically to Default.
tests/v1/distributed/test_prefetch_policy.py:296
Function
test_init
Test RuntimePluginLauncher initialization.
tests/v1/plugin/test_runtime_plugin_launcher.py:47
Method
test_init
(self, temp_gds_path, async_loop)
tests/v1/storage_backend/test_gds_backend.py:132
Method
test_init
Test HF3fsConnector initialization via RemoteBackend. This test verifies that the HF3fsConnector can be properly initialized with
tests/v1/storage_backend/test_hf3fs_connector.py:287
Method
test_init
Test LocalCPUBackend initialization.
tests/v1/storage_backend/test_local_cpu_backend.py:120
Method
test_init
Test FSConnector initialization via RemoteBackend.
tests/v1/storage_backend/test_fs_connector.py:150
Method
test_init
Test LocalDiskBackend initialization.
tests/v1/storage_backend/test_local_disk_backend.py:127
Method
test_init_aggregates_configs
Configs are aggregated into a single JSON dict.
tests/v1/multiprocess/test_mp_runtime_plugin_launcher.py:59
Method
test_init_and_lazy_pool
Verify independent lazy async client pool initialization.
tests/v1/storage_backend/test_bigtable_connector.py:262
Method
test_init_blake3
(self)
tests/v1/multiprocess/test_token_hasher.py:28
Method
test_init_blake3_does_not_import_vllm
( self, monkeypatch: pytest.MonkeyPatch )
tests/v1/multiprocess/test_token_hasher.py:33
Method
test_init_calls_factory_methods
Test that __init__ calls all factory creation methods.
tests/v1/test_manager.py:62
Method
test_init_components_exception_makes_unhealthy
Test that exception during factory calls makes manager unhealthy.
tests/v1/test_manager.py:408
Method
test_init_config
Test initialization with various configs.
tests/v1/cache_controller/test_full_sync_sender.py:49
Method
test_init_does_not_call_health_monitor
Test that __init__ does NOT create health monitor (deferred to post_init).
tests/v1/test_manager.py:80
Method
test_init_fallback_raw_dict
When no config class is found, adapter receives a raw dict.
tests/v1/distributed/test_l2_adapter_factory.py:438
Method
test_init_flips_gate_on
(self, trace_path)
tests/v1/mp_observability/trace/test_recorder.py:99
Method
test_init_multi_path
Test initialisation with comma-separated paths.
tests/v1/storage_backend/test_local_disk_backend.py:203
Method
test_init_no_configs
Launcher works with zero extra configs.
tests/v1/multiprocess/test_mp_runtime_plugin_launcher.py:108
Method
test_init_none_hash_vllm_runtime_error_falls_back
( self, monkeypatch: pytest.MonkeyPatch )
tests/v1/multiprocess/test_token_hasher.py:49
Function
test_init_observability_propagates_flag_false
``init_observability`` must forward ``False`` to ``init_otel_metrics``.
tests/v1/mp_observability/test_otel_init.py:55
Function
test_init_observability_propagates_flag_true_by_default
()
tests/v1/mp_observability/test_otel_init.py:65
Function
test_init_otel_metrics_otlp_mode_never_starts_prom_server
OTLP push mode must not spawn a Prometheus HTTP server, regardless of ``start_http_server``.
tests/v1/mp_observability/test_otel_init.py:39
Function
test_init_otel_metrics_skips_http_server_when_disabled
()
tests/v1/mp_observability/test_otel_init.py:33
Function
test_init_otel_metrics_starts_http_server_by_default
()
tests/v1/mp_observability/test_otel_init.py:27
Method
test_init_passes_no_role
MP mode has no role; inner launcher gets role=None.
tests/v1/multiprocess/test_mp_runtime_plugin_launcher.py:119
Method
test_init_registers_both_gauges
(self)
tests/v1/mp_observability/test_event_bus.py:520
Method
test_init_rejects_non_dataclass
Passing a non-dataclass config raises TypeError.
tests/v1/multiprocess/test_mp_runtime_plugin_launcher.py:98
Method
test_init_replaces_global
(self)
tests/v1/mp_observability/test_event_bus.py:443
Method
test_init_stores_config
Test that __init__ stores config correctly.
tests/v1/test_manager.py:47
Method
test_init_with_convention_config_class
Config class discovered via ClassName+'Config' convention.
tests/v1/distributed/test_l2_adapter_factory.py:416
Method
test_init_with_explicit_config_class
Explicit config_class_name should be used.
tests/v1/distributed/test_l2_adapter_factory.py:394
Method
test_init_with_layerwise_config
Test LocalCPUBackend initialization with layerwise configuration.
tests/v1/storage_backend/test_local_cpu_backend.py:150
Method
test_init_with_lookup_server_and_worker
Test LocalCPUBackend initialization with lookup server and worker.
tests/v1/storage_backend/test_local_cpu_backend.py:135
← previous
next →
10,601–10,700 of 13,371, ranked by callers