MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_log_message_max_lines
(self)
tests/cli/commands/bench/engine_bench/test_progress.py:84
Methodtest_long_data_with_sparse_patterns
Test long data with patterns far apart.
tests/v1/native_storage_ops/test_pattern_matcher.py:670
Methodtest_long_doc_qa
(self)
tests/cli/commands/bench/engine_bench/workloads/test_create_workload.py:98
Methodtest_long_doc_qa
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:159
Methodtest_long_doc_qa_custom_args
(self)
tests/cli/commands/bench/engine_bench/workloads/test_create_workload.py:114
Functiontest_lookup_20K_tokens
In this test, it will run engine.lookup to lookup 200K tokens in total. The configs are carefully tuned to have: - Each request has 2K to
tests/benchmarks/test_benchmark.py:351
Functiontest_lookup_20K_tokens
( benchmark, device_type, backend, use_gpu, save_unfull_chunk, create_config, auto
tests/benchmarks/test_xpu_layerwise_connector_benchmark.py:519
Functiontest_lookup_20k_tokens_v2
( benchmark, device_type, backend, use_gpu, save_unfull_chunk, create_config, auto
tests/benchmarks/test_xpu_connector_benchmark.py:399
Functiontest_lookup_and_lock_submits_skip_l2_and_returns_task_id
p2p_lookup_and_lock submits a skip_l2 prefetch and returns a fresh id.
tests/v1/multiprocess/test_p2p_controller.py:152
Methodtest_lookup_client_property
Test lookup_client property returns the client.
tests/v1/test_manager.py:125
Methodtest_lookup_completed_counts_hits
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l2.py:262
Functiontest_lookup_deadline_expired_yields_miss
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:246
Methodtest_lookup_end_logs
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/logging/test_cb_server.py:65
Methodtest_lookup_end_no_gpu_context_flag
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:101
Methodtest_lookup_end_normal
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:82
Methodtest_lookup_existing_key
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:510
Methodtest_lookup_existing_key_returns_bitmap_with_ones
Looking up an existing key should return a bitmap with 1.
tests/v1/distributed/test_mock_l2_adapter.py:306
Methodtest_lookup_existing_key_returns_bitmap_with_ones
Looking up an existing key should return a bitmap with 1.
tests/v1/distributed/test_nixl_store_l2_adapter.py:366
Methodtest_lookup_existing_key_returns_ones
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:302
Functiontest_lookup_forwards_layout_desc_and_returns_addresses
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:171
Methodtest_lookup_hit
Test successful lookup with prefix match.
tests/v1/cache_controller/test_kv_controller.py:340
Methodtest_lookup_ipc_key_default_none
lookup_ipc_key should default to None.
tests/v1/multiprocess/test_session.py:278
Methodtest_lookup_ipc_key_set_and_get
lookup_ipc_key should be settable and retrievable.
tests/v1/multiprocess/test_session.py:282
Methodtest_lookup_miss
Test lookup with no matches.
tests/v1/cache_controller/test_kv_controller.py:377
Methodtest_lookup_mixed_keys
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:529
Methodtest_lookup_mixed_keys
Lookup of mixed existing/non-existing keys returns correct bitmap.
tests/v1/distributed/test_mock_l2_adapter.py:327
Methodtest_lookup_mixed_keys
Lookup of mixed existing/non-existing keys returns correct bitmap.
tests/v1/distributed/test_nixl_store_l2_adapter.py:388
Methodtest_lookup_mixed_keys
Lookup of existing + non-existing keys.
examples/lmc_external_l2_adapter/tests/test_plugin.py:354
Methodtest_lookup_msg_describe
Test LookupMsg describe method.
tests/v1/cache_controller/test_messages.py:729
Methodtest_lookup_msg_serialization
Test LookupMsg encode/decode.
tests/v1/cache_controller/test_messages.py:322
Methodtest_lookup_nonexistent_key
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:499
Methodtest_lookup_nonexistent_key_returns_bitmap_with_zeros
Looking up a non-existent key should return a bitmap with 0.
tests/v1/distributed/test_mock_l2_adapter.py:293
Methodtest_lookup_nonexistent_key_returns_bitmap_with_zeros
Looking up a non-existent key should return a bitmap with 0.
tests/v1/distributed/test_nixl_store_l2_adapter.py:352
Methodtest_lookup_nonexistent_key_returns_zeros
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:291
Methodtest_lookup_nonexistent_keys
Lookup for keys not in Redis should return all zeros.
tests/v1/distributed/test_resp_l2_adapter_integration.py:166
Methodtest_lookup_nonexistent_keys
Lookup for keys not stored should return all zeros.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:675
Methodtest_lookup_partial_match
Test lookup with partial prefix match.
tests/v1/cache_controller/test_kv_controller.py:395
Methodtest_lookup_prefetch_end_logs
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/logging/test_mp_server.py:100
Methodtest_lookup_prefetch_span_lifecycle
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:549
Methodtest_lookup_prefetch_start_logs
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/logging/test_mp_server.py:89
Functiontest_lookup_query_not_ready_then_ready
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:201
Methodtest_lookup_result_available_before_prefetch_completes
Lookup result is available while load is still in progress.
tests/v1/distributed/test_prefetch_controller.py:1095
Methodtest_lookup_result_cleaned_up_by_prefetch_result
query_prefetch_result cleans up the lookup result entry.
tests/v1/distributed/test_prefetch_controller.py:1210
Methodtest_lookup_result_nonexistent_request
Querying a nonexistent request ID returns None.
tests/v1/distributed/test_prefetch_controller.py:1240
Methodtest_lookup_result_not_popped_by_query
query_lookup_result does not consume the result (idempotent reads).
tests/v1/distributed/test_prefetch_controller.py:1181
Methodtest_lookup_result_with_prefix_gap
Lookup result reflects prefix-only hits (gap breaks prefix).
tests/v1/distributed/test_prefetch_controller.py:1126
Methodtest_lookup_result_zero_hits
Lookup result is 0 when no keys are found in L2.
tests/v1/distributed/test_prefetch_controller.py:1155
Methodtest_lookup_ret_msg_serialization
Test LookupRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:470
Methodtest_lookup_returns_zero_when_init_failed
Test that lookup returns 0 when engine is marked as init failed.
tests/v1/test_manager.py:498
Methodtest_lookup_server_property
Test lookup_server property returns the server.
tests/v1/test_manager.py:133
Methodtest_lookup_signals_event_fd
Lookup completion should signal the lookup event fd.
tests/v1/distributed/test_mock_l2_adapter.py:282
Methodtest_lookup_signals_event_fd
Lookup completion should signal the lookup event fd.
tests/v1/distributed/test_nixl_store_l2_adapter.py:340
Methodtest_lookup_span_lifecycle
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:408
Methodtest_lookup_start_increments_counter
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:70
Methodtest_lookup_start_logs
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/logging/test_cb_server.py:53
Functiontest_lookup_submit_timeout_yields_miss
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:224
Methodtest_lookup_submitted_counts
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l2.py:241
Methodtest_lookup_subspans_nest_under_cb_lookup
(self, exporter)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:946
Methodtest_lookup_with_request_configs
Test lookup with request configurations and tag-based cache isolation.
tests/v1/lookup_client/test_lmcache_lookup_client.py:192
Functiontest_lru
()
tests/v1/test_cache_policy.py:14
Methodtest_lru_policy_ignores_quota_manager
Sanity check: even if a QuotaManager is wired in, a non-isolation policy falls through to the aggregate watermark branch. Here that br
tests/v1/distributed/test_cache_salt_l2_eviction.py:237
Functiontest_lru_with_pin
()
tests/v1/test_cache_policy.py:36
Functiontest_make_aligned_tensor_returns_aligned_buffer
()
tests/cli/commands/bench/l2_adapter_bench/test_data.py:14
Functiontest_make_memory_objects_can_use_different_fill_pattern
()
tests/cli/commands/bench/l2_adapter_bench/test_data.py:49
Functiontest_make_memory_objects_uses_shared_l1_range
()
tests/cli/commands/bench/l2_adapter_bench/test_data.py:32
Functiontest_make_shape_desc_sglang_mha
()
tests/v1/gpu_connector/test_utils_shape_desc.py:95
Functiontest_make_shape_desc_sglang_mla
()
tests/v1/gpu_connector/test_utils_shape_desc.py:80
Functiontest_make_shape_desc_vllm_flash_attn_nhd
()
tests/v1/gpu_connector/test_utils_shape_desc.py:31
Functiontest_make_shape_desc_vllm_flash_infer_nhd
()
tests/v1/gpu_connector/test_utils_shape_desc.py:50
Functiontest_make_shape_desc_vllm_mla
()
tests/v1/gpu_connector/test_utils_shape_desc.py:65
Functiontest_make_temp_key_differs_from_original
Suffix ensures temp_hash ≠ original_hash so temps cannot collide with real keys in the L1 namespace.
tests/v1/distributed/serde/test_utils.py:36
Functiontest_make_temp_key_propagates_cache_salt
Temp keys inherit ``cache_salt`` so per-tenant L1 byte accounting keeps temp buffers attributed to the same bucket as their originals.
tests/v1/distributed/serde/test_utils.py:19
Functiontest_make_temp_key_propagates_other_fields
Non-hash identity fields are preserved verbatim.
tests/v1/distributed/serde/test_utils.py:27
Functiontest_make_temp_key_unique_across_calls
Two temp keys for the same original are distinct.
tests/v1/distributed/serde/test_utils.py:45
Methodtest_malformed_base64_raises
(self)
tests/v1/mp_coordinator/test_blend_directory.py:250
Methodtest_malformed_device_empty_index_falls_back
cuda:' (no int) falls back to current_device.
tests/v1/storage_backend/test_path_sharder.py:185
Methodtest_malformed_device_non_numeric_falls_back
cuda:foo' falls back to 0 when CUDA is unavailable.
tests/v1/storage_backend/test_path_sharder.py:200
Methodtest_malformed_entries_skipped
(self)
tests/v1/mp_coordinator/test_resync_manager.py:155
Functiontest_mamba_window_one
()
tests/v1/distributed/test_bitmap_ops.py:115
Methodtest_mamba_window_one
(self)
tests/v1/distributed/test_bitmap_ops.py:507
Functiontest_management_ping_touches_targets
ping refreshes every target for a real id; None is ignored.
tests/v1/multiprocess/test_worker_liveness.py:214
Functiontest_management_reaper_disabled_when_timeout_zero
timeout == 0 starts no reaper thread.
tests/v1/multiprocess/test_worker_liveness.py:243
Functiontest_management_reaper_reaps_and_drops
The reaper scans targets and calls drop_instance_state for reaped ids.
tests/v1/multiprocess/test_worker_liveness.py:224
Functiontest_management_report_status_summarizes_liveness
report_status reports a worker_liveness summary when targets exist.
tests/v1/multiprocess/test_worker_liveness.py:254
Methodtest_manual_flush
Test manual flush functionality.
tests/v1/storage_backend/test_batched_message_sender.py:143
Methodtest_manual_values
Verify polynomial hash values against manual computation. For arr=[1,2,3,4,5], k=3, base=31: power = 31^2 = 961 window [1
tests/v1/multiprocess/test_token_hasher.py:177
Methodtest_manual_values
Verify chunk hashes against manual computation. For arr=[1,2,3,4,5,6], k=3, base=31: window 0 [1,2,3]: ((0*31+1)*31+2)*31+3 = 1026
tests/v1/multiprocess/test_token_hasher.py:234
Methodtest_many_completions_in_order
(self, stream)
tests/v1/multiprocess/test_completion_recorder.py:86
Methodtest_many_concurrent_records_no_deadlock
(self, dispatcher, stream)
tests/v1/multiprocess/test_completion_recorder.py:161
Methodtest_many_matches_in_large_data
Test with many pattern occurrences in large data.
tests/v1/native_storage_ops/test_pattern_matcher.py:324
Methodtest_many_salts
Sanity: large registries don't trip a size limit.
tests/v1/distributed/test_quota_manager.py:188
Methodtest_many_small_allocations
Test many small allocations.
tests/v1/test_address_manager.py:1066
Methodtest_maps_slice_to_base_and_offset
(self, monkeypatch)
tests/v1/gpu_connector/test_gds_context.py:121
Methodtest_mark_init_failed_makes_engine_unhealthy
Test that mark_init_failed makes engine report unhealthy.
tests/v1/test_manager.py:537
Functiontest_match_after_register
()
tests/v1/mp_coordinator/test_blend_client.py:91
Functiontest_match_error_degrades_to_empty
()
tests/v1/mp_coordinator/test_blend_client.py:167
Functiontest_match_malformed_tokens_b64_returns_422
A bad tokens_b64 is a client error (422), not an unhandled 500.
tests/v1/mp_coordinator/test_blend_directory_api.py:80
Functiontest_match_miss_returns_empty
()
tests/v1/mp_coordinator/test_blend_directory_api.py:48
Methodtest_matches_documented_algorithm
(self)
tests/v1/test_nixl_doca_memos.py:66
Methodtest_matches_legacy_transform
(self)
tests/v1/test_nixl_doca_memos.py:91
← previousnext →11,001–11,100 of 13,371, ranked by callers