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
Function
test_publish_reaches_matcher
()
tests/v1/mp_coordinator/test_blend_client.py:108
Method
test_publish_stamps_timestamp
(self, bus)
tests/v1/mp_observability/test_event_bus.py:160
Function
test_publish_then_match
()
tests/v1/mp_coordinator/test_blend_directory_api.py:31
Method
test_publishes_when_enabled
(self)
tests/v1/mp_observability/trace/test_decorator.py:72
Method
test_publishes_when_enabled
(self)
tests/v1/mp_observability/trace/test_decorator.py:163
Method
test_pure_non_prefix_shifted
Stored chunk reappears at a different position → cb_shifted only.
tests/v1/multiprocess/test_optimized_lookup_v3.py:430
Method
test_put_and_get_roundtrip
Test put and get roundtrip for HF3fsConnector. This test verifies the basic write-read cycle: 1. Put a memory object to 3FS storag
tests/v1/storage_backend/test_hf3fs_connector.py:379
Method
test_put_and_get_roundtrip
Test put and get roundtrip for FSConnector.
tests/v1/storage_backend/test_fs_connector.py:266
Method
test_put_and_get_roundtrip
Write data via put(), then read via get() and verify byte-for-byte equality.
tests/v1/shm_allocator/test_shm_allocator.py:149
Method
test_put_and_get_with_audit_log
Test put and get operations with audit log verification
tests/v1/storage_backend/test_audit_connector.py:244
Method
test_put_and_get_with_kwargs
Test put and get operations with keyword arguments to ensure robust argument handling.
tests/v1/storage_backend/test_audit_connector.py:370
Function
test_put_duplicate_calls_ref_count_down_on_new_obj
Duplicate put() calls ref_count_down on the *new* (rejected) object.
tests/v1/storage_backend/test_pd_backend_async.py:1183
Function
test_put_get_exists_list_and_remove_roundtrip
Single-object operations should round-trip against the fake client.
tests/v1/storage_backend/test_hfbucket_connector.py:343
Function
test_put_rejects_partial_chunk_upload
Uploads should reject buffers that are smaller than a full chunk.
tests/v1/storage_backend/test_hfbucket_connector.py:471
Method
test_put_task_hit
When the key is in put tasks, return False immediately.
tests/v1/test_nixl_batched_contains.py:138
Method
test_put_with_checksum_audit_log
Test put with checksum calculation and audit log
tests/v1/storage_backend/test_audit_connector.py:332
Method
test_query_before_completion_returns_none
Querying a nonexistent request ID returns None.
tests/v1/distributed/test_prefetch_controller.py:591
Method
test_query_inst_msg_serialization
Test QueryInstMsg encode/decode.
tests/v1/cache_controller/test_messages.py:439
Method
test_query_inst_ret_msg_none_instance
Test QueryInstRetMsg with None instance_id.
tests/v1/cache_controller/test_messages.py:584
Method
test_query_inst_ret_msg_serialization
Test QueryInstRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:571
Method
test_query_is_one_shot
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:550
Method
test_query_length
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:315
Method
test_query_load_is_one_shot
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:650
Method
test_query_load_result_clears_result
Querying load result should remove it (can only query once).
tests/v1/distributed/test_mock_l2_adapter.py:483
Method
test_query_load_result_clears_result
Querying load result should remove it (can only query once).
tests/v1/distributed/test_nixl_store_l2_adapter.py:555
Method
test_query_load_result_clears_result
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:372
Method
test_query_load_result_returns_none_for_unknown_task
Querying an unknown task ID should return None.
tests/v1/distributed/test_mock_l2_adapter.py:478
Method
test_query_load_result_returns_none_for_unknown_task
Querying an unknown task ID should return None.
tests/v1/distributed/test_nixl_store_l2_adapter.py:549
Method
test_query_lookup_result_clears_result
Querying lookup result should remove it (can only query once).
tests/v1/distributed/test_mock_l2_adapter.py:357
Method
test_query_lookup_result_clears_result
Querying lookup result should remove it (can only query once).
tests/v1/distributed/test_nixl_store_l2_adapter.py:420
Method
test_query_lookup_result_clears_result
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:323
Method
test_query_lookup_result_returns_none_for_unknown_task
Querying an unknown task ID should return None.
tests/v1/distributed/test_mock_l2_adapter.py:352
Method
test_query_lookup_result_returns_none_for_unknown_task
Querying an unknown task ID should return None.
tests/v1/distributed/test_nixl_store_l2_adapter.py:414
Function
test_query_lookup_results_builds_addresses_for_prefix
A completed lookup returns one address per key: real offsets for the found prefix, invalid offsets for the rest.
tests/v1/multiprocess/test_p2p_controller.py:171
Function
test_query_lookup_results_exactly_once
Re-querying a completed task returns None (the job is consumed).
tests/v1/multiprocess/test_p2p_controller.py:196
Function
test_query_lookup_results_in_progress
A lookup whose prefetch is not done yet returns None without consuming the job.
tests/v1/multiprocess/test_p2p_controller.py:220
Function
test_query_lookup_results_unknown_task
Querying an unknown task id returns None.
tests/v1/multiprocess/test_p2p_controller.py:214
Method
test_query_lookup_returns_none_after_pop
( self, adapter: HFBucketL2Adapter, )
tests/v1/distributed/test_hfbucket_l2_adapter.py:322
Method
test_query_lookup_returns_none_after_pop
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:515
Function
test_query_prefetch_lookup_hits_handler_type
QUERY_PREFETCH_LOOKUP_HITS should use BLOCKING handler type.
tests/v1/multiprocess/test_query_lookup_hits.py:51
Function
test_query_prefetch_lookup_hits_in_request_type
QUERY_PREFETCH_LOOKUP_HITS should be a member of RequestType.
tests/v1/multiprocess/test_query_lookup_hits.py:32
Function
test_query_prefetch_lookup_hits_payload_classes
QUERY_PREFETCH_LOOKUP_HITS payload should be [str].
tests/v1/multiprocess/test_query_lookup_hits.py:38
Function
test_query_prefetch_lookup_hits_response_class
QUERY_PREFETCH_LOOKUP_HITS response should be int | None.
tests/v1/multiprocess/test_query_lookup_hits.py:45
Method
test_query_returns_int_then_none
Result is consumed on first query; second query returns None.
tests/v1/distributed/test_prefetch_controller.py:565
Function
test_query_returns_none_before_completion
Querying an unknown/not-yet-completed task yields None, not an error.
tests/v1/distributed/serde/test_async_processor.py:123
Method
test_query_single_word
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:320
Method
test_query_sync_status
Test sync status queries.
tests/v1/cache_controller/test_full_sync_sender.py:259
Function
test_query_unknown_task_id_raises_key_error
(shared_contexts)
tests/v1/distributed/transfer_channel/test_nixl_impl.py:159
Function
test_query_unknown_task_returns_none
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:263
Method
test_query_unknown_task_returns_none
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:563
Method
test_query_unknown_task_returns_none
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:664
Method
test_query_worker_info
Test querying worker information.
tests/v1/cache_controller/test_registration_controller.py:473
Method
test_query_worker_info_empty_list
Test querying with empty worker_ids list returns all workers.
tests/v1/cache_controller/test_registration_controller.py:555
Method
test_query_worker_info_msg_serialization
Test QueryWorkerInfoMsg encode/decode.
tests/v1/cache_controller/test_messages.py:452
Method
test_query_worker_info_nonexistent_instance
Test querying worker info for non-existent instance.
tests/v1/cache_controller/test_registration_controller.py:541
Method
test_query_worker_info_ret_msg_serialization
Test QueryWorkerInfoRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:597
Method
test_query_worker_info_specific_workers
Test querying specific workers.
tests/v1/cache_controller/test_registration_controller.py:507
Method
test_question_cycling_with_index
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:273
Method
test_queue_depth_callback_reflects_bus
(self)
tests/v1/mp_observability/test_event_bus.py:529
Method
test_queue_depth_reports_current_size
(self, bus)
tests/v1/mp_observability/test_event_bus.py:319
Method
test_queuing_beyond_max_in_flight
Submit more requests than max_in_flight → all eventually complete.
tests/v1/distributed/test_prefetch_controller.py:749
Method
test_quiet_no_thread
(self)
tests/cli/commands/bench/engine_bench/test_progress.py:99
Method
test_quiet_stop_safe
(self)
tests/cli/commands/bench/engine_bench/test_progress.py:104
Method
test_quiet_suppresses_output
( self, mock_http, cmd, parser, capsys, )
tests/cli/commands/test_quota.py:148
Function
test_random_instance_empty_returns_none
()
tests/v1/mp_coordinator/test_registry.py:80
Function
test_random_instance_samples_from_live_set
()
tests/v1/mp_coordinator/test_registry.py:93
Function
test_random_instance_single_is_deterministic
()
tests/v1/mp_coordinator/test_registry.py:85
Method
test_random_prefill
(self)
tests/cli/commands/bench/engine_bench/workloads/test_create_workload.py:185
Method
test_random_prefill
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:174
Method
test_random_prefill_custom_args
(self)
tests/cli/commands/bench/engine_bench/workloads/test_create_workload.py:201
Method
test_random_schedule_differs_from_tile
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:223
Method
test_random_schedule_reproducible
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:239
Method
test_range_block_ids
Range format [0,1] is accepted for block_ids.
tests/v1/multiprocess/test_http_server.py:117
Method
test_range_format
(self)
tests/test_utils.py:141
Function
test_ranked_chunk_present_only_if_all_ranks_present
()
tests/v1/distributed/test_bitmap_ops.py:185
Function
test_ranked_full_plus_sw_expands_all_ranks
()
tests/v1/distributed/test_bitmap_ops.py:206
Function
test_ranked_invalid_num_ranks_raises
()
tests/v1/distributed/test_bitmap_ops.py:218
Function
test_ranked_reduces_to_unranked_when_one_rank
()
tests/v1/distributed/test_bitmap_ops.py:194
Function
test_rate_drop_is_deterministic_across_instances
Same seed drops the same keys; a different seed (very likely) differs.
tests/v1/distributed/test_fault_inject_l2_adapter.py:217
Function
test_rate_drop_within_tolerance
Rate-based bucketing drops roughly ``rate * N`` keys (wide tolerance).
tests/v1/distributed/test_fault_inject_l2_adapter.py:240
Function
test_rate_zero_is_passthrough
rate=0 passes every key through unchanged (no drops).
tests/v1/distributed/test_fault_inject_l2_adapter.py:135
Method
test_ratio_clamped_to_valid_range
Ratios outside [0, 1] should be clamped.
tests/v1/distributed/test_lru_eviction_policy.py:182
Method
test_ratio_half_returns_half_keys
A ratio of 0.5 should return approximately half the keys.
tests/v1/distributed/test_lru_eviction_policy.py:166
Method
test_ratio_one_returns_all_keys
A ratio of 1.0 should return all keys (up to batch size).
tests/v1/distributed/test_lru_eviction_policy.py:158
Method
test_ratio_zero_returns_no_actions
A ratio of 0 should return no eviction actions.
tests/v1/distributed/test_lru_eviction_policy.py:151
Function
test_raw_block_core_delete_and_missing_load
(tmp_path)
tests/v1/storage_backend/test_raw_block_core.py:82
Function
test_raw_block_core_duplicate_put_keeps_original_payload
(tmp_path)
tests/v1/storage_backend/test_raw_block_core.py:57
Function
test_raw_block_core_non_odirect_rejects_payload_over_slot_capacity
(monkeypatch)
tests/v1/storage_backend/test_rust_raw_block_backend.py:189
Function
test_raw_block_core_odirect_prepare_payload_boundaries
(monkeypatch)
tests/v1/storage_backend/test_rust_raw_block_backend.py:211
Function
test_raw_block_core_passes_io_engine_options_to_rust_binding
(monkeypatch)
tests/v1/storage_backend/test_rust_raw_block_backend.py:125
Function
test_raw_block_core_recovers_checkpoint_from_temp_file
(tmp_path)
tests/v1/storage_backend/test_raw_block_core.py:104
Function
test_raw_block_core_store_load_and_exists
(tmp_path)
tests/v1/storage_backend/test_raw_block_core.py:23
Function
test_raw_block_device_all_io_engines_roundtrip_on_tmp_file
(io_engine)
tests/v1/storage_backend/test_rust_raw_block_backend.py:239
Function
test_raw_block_device_iouring_best_effort_roundtrip
(tmp_path)
tests/v1/storage_backend/test_raw_block_device.py:93
Function
test_raw_block_device_odirect_optional_smoke
(tmp_path)
tests/v1/storage_backend/test_raw_block_device.py:128
Function
test_raw_block_device_posix_roundtrip_on_tmp_file
(tmp_path)
tests/v1/storage_backend/test_raw_block_device.py:42
Function
test_raw_block_device_read_past_capacity_raises
(tmp_path)
tests/v1/storage_backend/test_raw_block_device.py:73
Method
test_raw_block_factory_is_registered
(self)
tests/v1/distributed/test_l2_adapter_factory.py:89
Function
test_raw_block_l2_adapter_config_accepts_io_engine_values
(io_engine)
tests/v1/distributed/test_raw_block_l2_adapter.py:176
Function
test_raw_block_l2_adapter_config_default_io_engine
()
tests/v1/distributed/test_raw_block_l2_adapter.py:169
← previous
next →
11,801–11,900 of 13,371, ranked by callers