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_empty_shapes_returns_zero
(self)
tests/tools/test_cache_simulator.py:136
Method
test_empty_spec_raises
Test that empty spec raises ValueError.
tests/v1/test_kv_layer_groups_manager.py:232
Method
test_empty_state
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:73
Method
test_empty_stats
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:123
Method
test_empty_string
(self)
tests/test_utils.py:182
Method
test_empty_string
(self)
tests/v1/storage_backend/test_local_disk_backend.py:380
Method
test_empty_token_lookup
Test lookup with empty token list.
tests/v1/lookup_client/test_lmcache_lookup_client.py:420
Method
test_empty_when_no_adapters_configured
(self)
tests/v1/distributed/test_storage_manager_l2_keys.py:70
Method
test_enable_hot_cache_exception
(self, client_with_engine, mock_engine)
tests/v1/internal_api_server/test_hot_cache_api.py:58
Method
test_enable_hot_cache_no_engine
(self, client_without_engine)
tests/v1/internal_api_server/test_hot_cache_api.py:52
Method
test_enable_hot_cache_success
(self, client_with_engine, mock_engine)
tests/v1/internal_api_server/test_hot_cache_api.py:44
Method
test_enabled_when_output_dir_set
(self)
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:28
Method
test_encode_preserves_all_fields
(self)
tests/v1/distributed/test_encoded_object_key.py:30
Method
test_end_session_empty_hashes_produces_no_keys
end_session should produce no keys when session has no computed hashes.
tests/v1/multiprocess/test_unified_touch.py:266
Method
test_end_session_expands_keys_for_world_size
end_session should expand keys for all workers when world_size > 1.
tests/v1/multiprocess/test_unified_touch.py:218
Method
test_end_session_generates_correct_keys
end_session should generate ObjectKeys from session hashes and lookup key.
tests/v1/multiprocess/test_unified_touch.py:195
Method
test_end_session_hashes_cover_retrieve_and_store
Session hashes should cover both retrieve and store ranges. Simulates the typical flow: 1. lookup computes all hashes (but via TokenH
tests/v1/multiprocess/test_unified_touch.py:285
Method
test_end_session_no_lookup_key_skips_touch
end_session should skip touch when session has no lookup_ipc_key.
tests/v1/multiprocess/test_unified_touch.py:253
Method
test_end_session_no_session_skips_touch
end_session should skip touch when session doesn't exist.
tests/v1/multiprocess/test_unified_touch.py:246
Method
test_end_session_releases_block
After END_SESSION, block with no remaining owners is RELEASED.
tests/v1/mp_observability/subscribers/metrics/test_l0_lifecycle.py:199
Method
test_end_session_unknown_req
END_SESSION for unknown req_id should not crash.
tests/v1/mp_observability/subscribers/metrics/test_l0_lifecycle.py:435
Method
test_end_session_with_coowner_stays_active
If another request still owns the block, it stays ACTIVE.
tests/v1/mp_observability/subscribers/metrics/test_l0_lifecycle.py:213
Method
test_end_without_start
Test when end pattern exists but no start pattern before it.
tests/v1/native_storage_ops/test_pattern_matcher.py:440
Method
test_end_without_start_is_noop
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_l1_throughput.py:228
Function
test_endpoint_list_does_not_mutate_original_config
Setting nixl_endpoint_list must not mutate the original backend_params dict.
tests/disagg/test_nixl_storage_backend.py:203
Function
test_endpoint_list_empty_raises
nixl_endpoint_list=[] should raise ValueError before any nixl ops.
tests/disagg/test_nixl_storage_backend.py:220
Function
test_endpoint_list_malformed_url_raises
A non-http(s) entry in nixl_endpoint_list should raise ValueError.
tests/disagg/test_nixl_storage_backend.py:241
Function
test_endpoint_list_overrides_endpoint_override
nixl_endpoint_list takes precedence over backend_params endpoint_override.
tests/disagg/test_nixl_storage_backend.py:181
Function
test_endpoint_list_round_robin
nixl_endpoint_list should assign endpoints to workers round-robin.
tests/disagg/test_nixl_storage_backend.py:164
Method
test_engine_args_registered
(self, parser: argparse.ArgumentParser)
tests/cli/commands/test_query.py:67
Function
test_engine_context_shm_pool_info
Ensure engine context computes SHM pool metadata for lazy and non-lazy modes.
tests/v1/multiprocess/test_engine_driven_transfer.py:1014
Method
test_engine_default
Verify that url=None resolves to localhost:8000/health.
tests/cli/test_ping.py:222
Function
test_engine_driven_context_shm_close_is_idempotent
()
tests/v1/multiprocess/test_engine_driven_transfer.py:1543
Function
test_engine_driven_context_shm_init_raises_when_segment_missing
()
tests/v1/multiprocess/test_engine_driven_transfer.py:1488
Function
test_engine_driven_context_shm_store_retrieve_flow_with_mocked_mq
()
tests/v1/multiprocess/test_engine_driven_transfer.py:1416
Function
test_engine_driven_context_shm_tensor_view_from_buffer
()
tests/v1/multiprocess/test_engine_driven_transfer.py:1376
Function
test_engine_group_info_old_payload_defaults_sw_size
A pre-sw_size_tokens msgspec payload decodes with the -1 default.
tests/v1/test_kv_cache_groups.py:47
Function
test_engine_group_infos_build_per_layer_engine_group_indices
()
tests/v1/test_kv_cache_groups.py:22
Function
test_engine_group_infos_default_to_one_engine_group
()
tests/v1/test_kv_cache_groups.py:16
Function
test_engine_group_infos_exclude_uncovered_layers
Layers not referenced by any group are tagged EXCLUDED_ENGINE_GROUP. Cross-layer KV-sharing layers (e.g. google/gemma-4-E4B-it) alias a target
tests/v1/test_kv_cache_groups.py:72
Function
test_engine_group_infos_expand_engine_block_ids
()
tests/v1/test_kv_cache_groups.py:33
Function
test_engine_group_infos_msgspec_round_trip
The groups encode/decode losslessly via msgspec (the IPC path).
tests/v1/test_kv_cache_groups.py:58
Function
test_engine_group_infos_reject_out_of_range_layer
()
tests/v1/test_kv_cache_groups.py:91
Method
test_engine_subparser_exists
(self)
tests/cli/commands/bench/test_bench_command.py:145
Method
test_enqueues_to_queue
(self)
tests/cli/commands/bench/engine_bench/workloads/test_base_workload.py:78
Method
test_ensure_already_registered
No import happens when name is already in the registry.
tests/v1/distributed/test_l2_adapter_factory.py:514
Method
test_ensure_imports_until_found
Modules are imported one-by-one until the requested name appears in the registry.
tests/v1/distributed/test_l2_adapter_factory.py:530
Method
test_ensure_no_error_when_not_found_silently
When pending modules import OK but name is still missing, no error is raised (no last_err).
tests/v1/distributed/test_l2_adapter_factory.py:566
Method
test_ensure_peer_connection_race_condition
(self, async_loop)
tests/v1/storage_backend/test_p2p_backend_with_controller.py:553
Method
test_ensure_raises_last_import_error
When all pending modules fail, the last ImportError is raised.
tests/v1/distributed/test_l2_adapter_factory.py:551
Method
test_entry_only_published_on_exception
Even when the wrapped function raises, the entry event has already been published. No exit event is emitted.
tests/v1/mp_observability/trace/test_decorator.py:135
Function
test_enum_parity
For every enum that python_ops_fallback defines, its members and values must match c_ops.
tests/v1/test_c_ops_fallback_parity.py:319
Method
test_env_api_key
(self, mock_openai_cls)
tests/cli/commands/bench/engine_bench/test_request_sender.py:167
Function
test_env_fallback
(monkeypatch)
tests/v1/multiprocess/test_config.py:69
Method
test_env_vars_used_when_config_empty
Env vars should be used when config values are empty/default.
tests/v1/distributed/test_resp_env_vars.py:16
Method
test_env_vars_used_when_config_empty
(self, monkeypatch)
tests/v1/distributed/test_aerospike_l2_adapter_config.py:66
Method
test_env_vars_used_when_extra_config_empty
Env vars should be used when extra_config has no credentials.
tests/v1/distributed/test_resp_env_vars.py:109
Method
test_eq_different_base_key
(self, layer_key)
tests/test_utils.py:432
Method
test_eq_same_layer
(self, layer_key)
tests/test_utils.py:421
Method
test_equal_lse_averages
When LSE values are equal, output should be average of both.
tests/v1/compute/attention/test_triton_kernels.py:256
Method
test_error_codes_are_distinct
Test that error codes are distinct values.
tests/v1/distributed/test_l1_memory_manager.py:554
Method
test_error_handling_auth_raises
PermissionDenied / Unauthenticated propagate up.
tests/v1/storage_backend/test_bigtable_connector.py:558
Method
test_error_handling_timeouts_as_miss
TimeoutError / DeadlineExceeded treated as cache miss and fall through.
tests/v1/storage_backend/test_bigtable_connector.py:528
Method
test_error_lists_available
(self)
tests/cli/commands/bench/engine_bench/test_config.py:226
Method
test_error_msg_describe
Test ErrorMsg describe method.
tests/v1/cache_controller/test_messages.py:735
Method
test_error_msg_serialization
Test ErrorMsg encode/decode.
tests/v1/cache_controller/test_messages.py:638
Method
test_error_only_bucket
A qualname that only ever failed still appears with zero latency stats.
tests/cli/commands/trace/test_stats.py:60
Method
test_escape_unescape_salt
(self)
tests/cli/commands/test_quota.py:48
Function
test_estimate_serialized_size_delegates_to_serializer
()
tests/v1/distributed/serde/test_async_processor.py:134
Function
test_estimate_serialized_size_is_non_decreasing_in_chunk_size
Sanity: larger chunks predict larger byte budgets.
tests/v1/distributed/serde/test_asym_k16_v8_multi.py:166
Function
test_estimate_serialized_size_meets_actual_blob_length
estimate_serialized_size must be an upper bound on the produced blob.
tests/v1/distributed/serde/test_asym_k16_v8_multi.py:180
Function
test_estimate_serialized_size_multi_group
Multi-group layouts sum element counts across groups.
tests/v1/distributed/serde/test_fp8.py:48
Function
test_estimate_serialized_size_rejects_k_layout_present
()
tests/v1/distributed/serde/test_asym_k16_v8_v_only.py:109
Function
test_estimate_serialized_size_single_group
Estimate is exactly num_elements bytes (1 byte/elem, no margin).
tests/v1/distributed/serde/test_fp8.py:37
Method
test_event_construction
(self)
tests/v1/mp_observability/trace/test_recorder.py:262
Method
test_event_fds_are_different
Each operation should have a distinct event fd.
tests/v1/distributed/test_mock_l2_adapter.py:150
Method
test_event_fds_are_different
Each operation should have a distinct event fd.
tests/v1/distributed/test_nixl_store_l2_adapter.py:199
Method
test_event_fds_are_different
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:218
Method
test_event_fds_are_distinct
(self)
tests/v1/distributed/test_resp_l2_adapter_integration.py:133
Method
test_event_fds_are_distinct
Each operation should have a distinct event fd.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:641
Method
test_event_fds_are_distinct
(self, adapter)
examples/lmc_external_l2_adapter/tests/test_plugin.py:274
Function
test_event_fds_are_distinct_and_registered
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:151
Method
test_event_only_dispatched_to_matching_subscribers
(self, bus)
tests/v1/mp_observability/test_event_bus.py:188
Method
test_event_reaches_subscriber
(self, bus)
tests/v1/mp_observability/test_event_bus.py:148
Method
test_events_discarded_when_queue_full
(self)
tests/v1/mp_observability/test_event_bus.py:303
Method
test_events_dispatched_in_order
(self, bus)
tests/v1/mp_observability/test_event_bus.py:174
Method
test_evict_by_location
Test evicting only matches specific location.
tests/v1/cache_controller/test_kv_controller.py:197
Method
test_evict_existing_key
Test evicting an existing KV chunk.
tests/v1/cache_controller/test_kv_controller.py:111
Method
test_evict_handler
Test EvictHandler functionality
tests/tools/test_controller_zmq_benchmark.py:143
Method
test_evict_nonexistent_key
Test evicting a non-existent key does nothing.
tests/v1/cache_controller/test_kv_controller.py:141
Method
test_evict_partial_metadata
Test evicting from one instance while another instance still has it.
tests/v1/cache_controller/test_kv_controller.py:157
Function
test_evict_reaches_matcher
()
tests/v1/mp_coordinator/test_blend_client.py:126
Function
test_evict_stale_noop_when_all_fresh
()
tests/v1/mp_coordinator/test_health.py:35
Function
test_evict_stale_removes_only_expired
()
tests/v1/mp_coordinator/test_health.py:22
Method
test_evictable_key_in_ready_state
A key that has been written and finished should be evictable.
tests/v1/distributed/test_l1_manager.py:1782
Method
test_evicted_groups_by_salt
Eviction counter groups by cache_salt.
tests/v1/mp_observability/subscribers/metrics/test_l2.py:746
Method
test_evicted_increments_counter
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1.py:85
Method
test_evicted_key_tracked_in_evicted_at
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1_lifecycle.py:200
Method
test_eviction_clears_old_owners
Eviction should clear old owner references.
tests/v1/mp_observability/subscribers/metrics/test_l0_lifecycle.py:312
Method
test_eviction_controller_status_shape
(self, storage_manager_no_l2)
tests/v1/distributed/test_report_status.py:188
← previous
next →
10,001–10,100 of 13,371, ranked by callers