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_1_scenario
Run a single scenario with a specific backend configuration. Each (scenario, backend) pair is a separate pytest test case, giving per
tests/v1/test_python_ops_fallback.py:2753
Method
test_1gb
(self)
tests/v1/storage_backend/test_maru_backend.py:224
Method
test_2_compare
Compare results across backends for a single scenario. When multiple backends ran (CUDA available), asserts that python fallback equi
tests/v1/test_python_ops_fallback.py:2773
Method
test_400_on_invalid_page_size
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:428
Method
test_400_on_malformed_page_token_from_adapter
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:444
Method
test_400_on_object_key_invariant_violation
Bodies that type-check but violate ``ObjectKey`` invariants surface as 400 from our handler.
tests/v1/multiprocess/http_apis/test_l2_api.py:291
Method
test_400_when_batch_exceeds_cap
The handler enforces the ``_MAX_DELETE_BATCH`` cap (the dataclass body type no longer carries a Pydantic Field constraint).
tests/v1/multiprocess/http_apis/test_l2_api.py:301
Method
test_404_when_adapter_selector_no_match
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:200
Method
test_404_when_adapter_selector_no_match
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:390
Method
test_422_on_pydantic_validation_failure
Pydantic-level body-shape errors surface as 422 (FastAPI's default for request validation).
tests/v1/multiprocess/http_apis/test_l2_api.py:255
Method
test_4d_tensor_reshape_to_6d
(self)
tests/v1/test_trtllm_integration.py:100
Method
test_4gb
(self)
tests/v1/storage_backend/test_maru_backend.py:218
Method
test_501_when_selected_adapter_does_not_support_listing
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:418
Method
test_503
(self)
tests/cli/test_ping.py:69
Method
test_503
(self)
tests/cli/test_describe.py:366
Method
test_503_error
Verify sys.exit(1) on HTTP 503.
tests/cli/test_describe.py:302
Method
test_503_exits_1
(self)
tests/cli/test_ping.py:122
Method
test_503_exits_1
(self)
tests/cli/test_ping.py:183
Method
test_503_when_engine_not_initialized
(self, no_engine_client)
tests/v1/multiprocess/test_http_quota_endpoints.py:152
Method
test_503_when_engine_not_initialized
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:130
Method
test_503_when_engine_not_initialized
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:232
Method
test_503_when_engine_not_initialized
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:439
Method
test_503_when_no_adapters_configured
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:225
Method
test_503_when_no_adapters_configured
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:412
Method
test_absent_field_falls_back_to_submitted_bytes
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l2_throughput.py:388
Method
test_accepts_module_object
(self, temp_pkg: Tuple[str, Path])
tests/v1/test_subclass_discovery.py:115
Method
test_accepts_tuple
(self)
tests/v1/native_storage_ops/test_bitmap.py:656
Method
test_access_moves_to_mru
(self)
tests/tools/test_cache_simulator.py:102
Method
test_access_refreshes_lru_order
(self)
tests/tools/test_cache_simulator.py:42
Method
test_accessed_fires_on_hit
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:692
Method
test_accessed_notify_unchanged_signature
``_notify_keys_accessed`` does not affect bytes — its signature is unchanged from before the refactor.
tests/v1/distributed/test_l2_adapter_base.py:315
Function
test_accessors
()
tests/v1/gpu_connector/test_blocks_first_fused_kv_format.py:64
Method
test_accumulate_after_reset
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:366
Method
test_accumulates_across_events
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l1_failures.py:143
Method
test_accumulates_with_existing
(self)
tests/v1/native_storage_ops/test_bitmap.py:634
Method
test_acquire_timeout
Test lock acquisition timeout.
tests/v1/cache_controller/test_locks.py:320
Method
test_acquire_without_timeout
Test lock acquisition without timeout.
tests/v1/cache_controller/test_locks.py:269
Function
test_adapter_can_parse_plugin_urls
The adapter should match plugin URLs with and without instances.
tests/v1/storage_backend/test_hfbucket_connector.py:254
Function
test_adapter_config_rejects_non_dict_serde
()
tests/v1/distributed/serde/test_factory.py:162
Function
test_adapter_config_rejects_serde_without_type
()
tests/v1/distributed/serde/test_factory.py:169
Function
test_adapter_config_with_serde
()
tests/v1/distributed/serde/test_factory.py:152
Function
test_adapter_config_without_serde
()
tests/v1/distributed/serde/test_factory.py:147
Function
test_adapter_create_connector_uses_plugin_scoped_config
Adapter connector creation should pass through the resolved plugin config.
tests/v1/storage_backend/test_hfbucket_connector.py:288
Function
test_adapter_free_lookup_locks_key_matches_lookup
The key created by free_lookup_locks should match the key created by maybe_submit_lookup_request (no_worker_id_version, same start/end).
tests/v1/multiprocess/test_free_locks.py:209
Function
test_adapter_free_lookup_locks_sends_request
LMCacheMPSchedulerAdapter.free_lookup_locks should send a FREE_LOOKUP_LOCKS request with the correct key payload.
tests/v1/multiprocess/test_free_locks.py:158
Method
test_adapter_order_matters
Adapter with lower index always has priority, regardless of order in the adapters list.
tests/v1/distributed/test_prefetch_policy.py:150
Method
test_adapter_params_forwarded
adapter_params are forwarded as kwargs to the connector class.
tests/v1/distributed/test_l2_adapter_factory.py:827
Method
test_adapter_query_param_selects_non_primary
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:182
Method
test_adapter_query_param_selects_non_primary
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:375
Method
test_add_adapter_routes_new_stores
A key written after add_adapter is stored to the new adapter.
tests/v1/distributed/test_runtime_adapters.py:163
Function
test_add_affinity_thread_pool
Test that add_affinity_thread_pool assigns AffinityThreadPool executors.
tests/v1/multiprocess/test_mq.py:739
Method
test_add_after_delete_routes_to_new_adapter
A fresh adapter added after a delete receives new stores.
tests/v1/distributed/test_runtime_adapters.py:351
Function
test_add_normal_thread_pool
Test that add_normal_thread_pool assigns handler executors.
tests/v1/multiprocess/test_mq.py:715
Method
test_add_pending_module_appends
Module path is appended to the pending list.
tests/v1/distributed/test_l2_adapter_factory.py:489
Method
test_add_pending_module_dedup
Duplicate paths are not added twice.
tests/v1/distributed/test_l2_adapter_factory.py:500
Function
test_add_rejects_invalid_size_payloads
( payload: dict[str, object], status_code: int, )
tests/v1/multiprocess/http_apis/test_reconfigure_api.py:261
Function
test_add_rejects_pathological_size_string_without_echoing_input
()
tests/v1/multiprocess/http_apis/test_reconfigure_api.py:269
Function
test_add_resolves_public_dax_index_to_generic_reconfigure_index
()
tests/v1/multiprocess/http_apis/test_reconfigure_api.py:221
Method
test_add_then_store
Keys written after add_l2_adapter land in the new adapter.
tests/v1/distributed/test_runtime_adapters.py:289
Method
test_add_to_empty_manager
add_l2_adapter wires a new adapter into all controllers.
tests/v1/distributed/test_runtime_adapters.py:273
Function
test_address_is_immutable
()
tests/v1/distributed/transfer_channel/test_api.py:32
Function
test_address_stores_offset_and_size
()
tests/v1/distributed/transfer_channel/test_api.py:26
Function
test_addresses_with_same_fields_are_equal
()
tests/v1/distributed/transfer_channel/test_api.py:38
Method
test_adds_http
(self)
tests/cli/test_describe.py:96
Method
test_adjacent_start_end
Test when start and end patterns are adjacent.
tests/v1/native_storage_ops/test_pattern_matcher.py:474
Method
test_admit_duplicate_key
Test admitting same key to different instances.
tests/v1/cache_controller/test_kv_controller.py:60
Method
test_admit_handler
Test AdmitHandler functionality
tests/tools/test_controller_zmq_benchmark.py:129
Method
test_admit_multiple_keys
Test admitting multiple different keys.
tests/v1/cache_controller/test_kv_controller.py:84
Method
test_admit_new_key
Test admitting a new KV chunk to the controller.
tests/v1/cache_controller/test_kv_controller.py:42
Function
test_affinity_pool_error_on_sync_handler
Test that add_affinity_thread_pool raises TypeError for SYNC handlers.
tests/v1/multiprocess/test_mq.py:786
Function
test_affinity_routing
Tasks with the same affinity_key always run on the same thread.
tests/v1/multiprocess/test_affinity_pool.py:22
Method
test_alice_over_quota_does_not_touch_bob
Scoped eviction — only alice's keys are candidates, even though bob has some keys that are globally older.
tests/v1/distributed/test_cache_salt_l2_eviction.py:213
Method
test_alignment_edge_cases
Test allocation with sizes at alignment boundaries.
tests/v1/test_address_manager.py:1049
Method
test_all_are_valid_permutations
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:199
Function
test_all_c_ops_callables_have_fallback
Every public callable in c_ops must exist in python_ops_fallback.
tests/v1/test_c_ops_fallback_parity.py:337
Function
test_all_c_ops_descriptors_have_fallback
Every public descriptor class in c_ops must exist in python_ops_fallback.
tests/v1/test_c_ops_fallback_parity.py:353
Function
test_all_c_ops_enums_have_fallback
Every public enum in c_ops must exist in python_ops_fallback.
tests/v1/test_c_ops_fallback_parity.py:345
Method
test_all_chunks_retrieved_successfully
Test Case 1: All chunks retrieved successfully from all tiers.
tests/v1/storage_backend/test_storage_manager.py:112
Method
test_all_chunks_written
(self)
tests/v1/multiprocess/test_skip_first_n_tokens.py:53
Method
test_all_directories_created
All paths in gds_paths get their directories created.
tests/v1/storage_backend/test_gds_backend.py:823
Method
test_all_directories_created
All paths in the list get their directories created.
tests/v1/storage_backend/test_local_disk_backend.py:254
Method
test_all_engine_types
(self)
tests/v1/test_trtllm_integration.py:38
Method
test_all_exist
(self)
tests/v1/test_nixl_batched_contains.py:93
Method
test_all_expected_routes_present
All four expected routes are registered.
tests/v1/multiprocess/test_http_api_registry.py:191
Function
test_all_extension_formats_registered
()
tests/v1/gpu_connector/test_kv_format_specs.py:300
Method
test_all_flags_registered
Every MPCoordinatorConfig field is settable via a CLI flag.
tests/cli/commands/test_coordinator.py:38
Function
test_all_full_is_require_all_intersection
(group_a, group_b, expected_hit)
tests/v1/distributed/test_bitmap_ops.py:138
Method
test_all_hits_after_repeat_within_capacity
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:640
Method
test_all_ids_globally_unique_across_many_allocs
(self)
tests/v1/test_device_id_race.py:85
Method
test_all_input_types_valid
(self)
tests/cli/commands/bench/engine_bench/interactive/test_schema.py:38
Function
test_all_instances_snapshot_is_independent
()
tests/v1/mp_coordinator/test_registry.py:48
Method
test_all_items_have_unique_keys
(self)
tests/cli/commands/bench/engine_bench/interactive/test_schema.py:20
Method
test_all_items_non_empty
(self)
tests/cli/commands/bench/engine_bench/interactive/test_schema.py:17
Method
test_all_keys_remote
No local hits; all keys go to batched_nixl_desc_exists.
tests/v1/test_nixl_batched_contains.py:232
Method
test_all_local_cache_hits
Every key resolved from the local presence cache.
tests/v1/test_nixl_batched_contains.py:199
Method
test_all_misses_when_no_repeats
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:636
Method
test_all_missing
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:132
Method
test_all_non_consecutive
(self)
tests/test_utils.py:93
Method
test_all_paths_returns_copy
(self)
tests/v1/storage_backend/test_path_sharder.py:112
Method
test_all_permutations_when_small
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:190
← previous
next →
8,901–9,000 of 13,371, ranked by callers