MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_run_loop_stops_on_irrecoverable_exception
Test that _run_loop exits when IrrecoverableException is raised.
tests/v1/test_health_monitor.py:299
Methodtest_run_script_endpoint_present
/run_script must be registered on the mp server.
tests/v1/multiprocess/http_apis/test_common_api.py:39
Methodtest_run_script_from_file
Test script execution by directly uploading script files.
tests/v1/internal_api_server/test_run_script.py:87
Methodtest_run_script_no_file
Test run_script with no file provided.
tests/v1/internal_api_server/test_run_script.py:134
Methodtest_rust_odirect_auto_alignment_for_mixed_allocator
(self, monkeypatch)
tests/v1/storage_backend/test_local_cpu_backend.py:660
Functiontest_rust_raw_block_backend_batched_get_blocking_prefix_stop
Batched blocking get should stop at the first miss and preserve order.
tests/v1/storage_backend/test_rust_raw_block_backend.py:455
Functiontest_rust_raw_block_backend_batched_get_handles_allocator_exhaustion
( memory_allocator, loop_in_thread )
tests/v1/storage_backend/test_rust_raw_block_backend.py:715
Functiontest_rust_raw_block_backend_batched_get_non_blocking_prefix_stop
Async batched get should return only the successful prefix.
tests/v1/storage_backend/test_rust_raw_block_backend.py:465
Functiontest_rust_raw_block_backend_batched_get_releases_allocation_on_read_error
( memory_allocator, loop_in_thread )
tests/v1/storage_backend/test_rust_raw_block_backend.py:785
Functiontest_rust_raw_block_backend_batched_get_releases_loaded_prefix_on_read_error
( memory_allocator, loop_in_thread )
tests/v1/storage_backend/test_rust_raw_block_backend.py:868
Functiontest_rust_raw_block_backend_batched_get_resets_inflight_on_rawdev_error
( memory_allocator, loop_in_thread )
tests/v1/storage_backend/test_rust_raw_block_backend.py:643
Functiontest_rust_raw_block_backend_batched_get_with_uring
Test batched_get_blocking and batched_get_non_blocking with io_uring enabled.
tests/v1/storage_backend/test_rust_raw_block_backend.py:2161
Functiontest_rust_raw_block_backend_close_is_thread_safe
Concurrent close calls should not double-clean raw-block resources.
tests/v1/storage_backend/test_rust_raw_block_backend.py:576
Functiontest_rust_raw_block_backend_close_with_inflight
Test that RawBlockDevice close handles queued / inflight io_uring writes.
tests/v1/storage_backend/test_rust_raw_block_backend.py:2098
Functiontest_rust_raw_block_backend_data_offsets_start_after_metadata
Slot allocations must begin after reserved metadata region.
tests/v1/storage_backend/test_rust_raw_block_backend.py:1217
Functiontest_rust_raw_block_backend_device_checkpoint_roundtrip
Test on-device metadata checkpoint persistence across backend restarts.
tests/v1/storage_backend/test_rust_raw_block_backend.py:1058
Functiontest_rust_raw_block_backend_ignores_torn_newer_checkpoint
If a newer checkpoint copy is torn, loader falls back to the older valid copy.
tests/v1/storage_backend/test_rust_raw_block_backend.py:1283
Functiontest_rust_raw_block_backend_pin_and_contains_are_idempotent
( memory_allocator, loop_in_thread )
tests/v1/storage_backend/test_rust_raw_block_backend.py:475
Functiontest_rust_raw_block_backend_put_get_roundtrip
Test basic put/get roundtrip with RustRawBlockBackend.
tests/v1/storage_backend/test_rust_raw_block_backend.py:384
Functiontest_rust_raw_block_backend_recovers_legacy_key_dtype
Checkpoint recovery should fall back to dtype encoded in legacy keys.
tests/v1/storage_backend/test_rust_raw_block_backend.py:1471
Functiontest_rust_raw_block_backend_rejects_when_full
Test that raw-block writes fail when no slot has been freed.
tests/v1/storage_backend/test_rust_raw_block_backend.py:965
Functiontest_rust_raw_block_backend_skips_checkpoint_on_init
Skip on-device metadata checkpoint loading when configured.
tests/v1/storage_backend/test_rust_raw_block_backend.py:1137
Functiontest_rust_raw_block_backend_skips_invalid_checkpoint_entries
Checkpoint restore should reject invalid offset/size metadata entries.
tests/v1/storage_backend/test_rust_raw_block_backend.py:1379
Functiontest_rust_raw_block_backend_tp4_comprehensive_io
Comprehensive TP=4 I/O test covering roundtrip, multiple ops, and isolation.
tests/v1/storage_backend/test_rust_raw_block_backend.py:1686
Functiontest_rust_raw_block_backend_tp4_initialization
Test TP=4 initialization with per-TP device paths.
tests/v1/storage_backend/test_rust_raw_block_backend.py:1561
Functiontest_rust_raw_block_backend_tp4_initialization_accepts_integer_yaml_keys
Accept integer per-TP YAML keys in addition to quoted string keys.
tests/v1/storage_backend/test_rust_raw_block_backend.py:1623
Functiontest_rust_raw_block_backend_tp_paths_must_be_unique
Reject TP config when multiple ranks point to the same partition.
tests/v1/storage_backend/test_rust_raw_block_backend.py:1816
Functiontest_rust_raw_block_backend_uring_put_get_roundtrip
Test batched write with io_uring and verify data integrity on read. Writes 128 items asynchronously, then reads them back and verifies the da
tests/v1/storage_backend/test_rust_raw_block_backend.py:1992
Functiontest_rust_raw_block_backend_warns_on_cross_rank_metadata_load
Warn when loading metadata whose first entry belongs to another worker.
tests/v1/storage_backend/test_rust_raw_block_backend.py:1867
Methodtest_salt_with_forbidden_char_returns_none
(self)
tests/v1/distributed/test_fs_l2_adapter_keys.py:109
Methodtest_salted_format
Salted keys append ``@<cache_salt>`` before the extension.
tests/v1/distributed/test_fs_l2_adapter_keys.py:84
Methodtest_salted_serialization_format
Salted keys append ``@<cache_salt>`` as a 5th field.
tests/v1/distributed/test_native_connector_l2_adapter.py:244
Functiontest_same_key_serialization
Tasks with the same affinity key execute sequentially.
tests/v1/multiprocess/test_affinity_pool.py:48
Methodtest_same_req_same_block_ignored
Same request reporting same block again should be ignored.
tests/v1/mp_observability/subscribers/metrics/test_l0_lifecycle.py:416
Methodtest_same_salt_are_equal
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:399
Methodtest_same_session_id_different_devices_do_not_collide
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_l1_throughput.py:297
Methodtest_same_task_id_different_adapters_do_not_collide
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l2_throughput.py:291
Methodtest_sample_rate_1_tracks_all
With sample_rate=1.0, all keys should be tracked.
tests/v1/mp_observability/subscribers/metrics/test_l1_lifecycle.py:229
Methodtest_sample_rate_zero_tracks_none
With near-zero sample rate, no keys should be tracked.
tests/v1/mp_observability/subscribers/metrics/test_l1_lifecycle.py:238
Methodtest_save_and_load
(self, tmp_path: object)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:300
Methodtest_sbrk_after_fragmentation
Test sbrk after memory fragmentation.
tests/v1/test_address_manager.py:636
Methodtest_sbrk_allows_larger_allocation
Test that sbrk allows allocating larger blocks.
tests/v1/test_address_manager.py:615
Methodtest_sbrk_basic
Test basic sbrk expansion.
tests/v1/test_address_manager.py:578
Methodtest_sbrk_increases_free_size
Test that sbrk increases free size.
tests/v1/test_address_manager.py:598
Functiontest_scalar_geometry
(case)
tests/v1/gpu_connector/test_kv_format_specs.py:256
Methodtest_scan_discovers_entries_across_all_paths
Startup scan finds metadata written under a non-affinity path. cuda:0 has affinity to paths[0], but a metadata file is placed under p
tests/v1/storage_backend/test_gds_backend.py:871
Methodtest_scan_metadata_layer_key
_scan_metadata_subdir must reconstruct LayerCacheEngineKey filenames with a trailing layer_id (e.g. ...@dtype@4).
tests/v1/storage_backend/test_gds_backend.py:672
Functiontest_scatter_respects_skip_first_n_tokens
Ensure scatter honors skip_first_n_tokens and preserves skipped blocks.
tests/v1/multiprocess/test_engine_driven_transfer.py:785
Functiontest_scatter_rounds_down_partial_block_skip_first_n_tokens
Scatter rounds non-block-aligned prefix skips down to whole blocks.
tests/v1/multiprocess/test_engine_driven_transfer.py:846
Methodtest_scatter_span_nests_under_cb_retrieve
(self, exporter)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:1034
Methodtest_schedule_length
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:249
Functiontest_scheduler_does_not_overwrite_worker_adapter
Scheduler initialized after worker must not break worker endpoints.
tests/v1/internal_api_server/test_per_instance_app.py:66
Methodtest_scheduler_role_nixl_cpu_rejected
(self)
tests/v1/storage_backend/test_nixl_shared_pool.py:666
Methodtest_scheduler_role_without_nixl_ok
(self)
tests/v1/storage_backend/test_nixl_shared_pool.py:675
Methodtest_schemas_module_still_exposes_encoded_object_key
(self)
tests/v1/distributed/test_encoded_object_key.py:104
Methodtest_scope_isolation
(self)
tests/v1/mp_coordinator/test_blend_directory.py:65
Methodtest_scoped_eviction_empty_bucket_returns_empty
(self)
tests/v1/distributed/test_isolated_lru_eviction_policy.py:85
Methodtest_scoped_eviction_stays_in_bucket
Eviction scoped to a salt only returns keys from that bucket — other salts' data is untouched.
tests/v1/distributed/test_isolated_lru_eviction_policy.py:74
Methodtest_scratch_reuse_across_calls
Scratch buffer grows and is reused without reallocation.
tests/v1/test_staging_buffer.py:94
Methodtest_scratch_unaffected_by_slab_reuse
Scratch buffer retains correct data even after slab is recycled.
tests/v1/test_staging_buffer.py:74
Methodtest_second_identical_request_hits
(self)
tests/tools/test_cache_simulator.py:264
Methodtest_second_key_in_put_tasks
(self)
tests/v1/test_nixl_batched_contains.py:221
Methodtest_second_step_does_not_redispatch
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:190
Methodtest_secondary_lookup_and_load_data
After secondary lookup, load returns the same data that was stored.
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:662
Methodtest_secondary_lookup_finds_key
Lookup finds keys whose files exist on disk via secondary lookup.
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:637
Methodtest_secondary_lookup_misses_when_file_deleted
Secondary lookup returns miss for keys whose files are absent on disk.
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:693
Methodtest_secondary_lookup_usage_updates
Secondary lookup populates _total_bytes so get_usage reflects disk files.
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:718
Functiontest_segment_token_database
(prefix_length, chunk_lengths)
tests/v1/test_token_database.py:73
Methodtest_segmented_prefix
Chunk 0 mismatch → cb_aligned picks up the rest with no re-rope.
tests/v1/multiprocess/test_optimized_lookup_v3.py:709
Methodtest_segmented_prefix_aligned_gap
First chunk differs (chain breaks at 0), later chunks align positionally. Stored: [A B C D] at positions 0..4*c Query: [X B C D] — c
tests/v1/multiprocess/test_optimized_lookup_v3.py:406
Methodtest_segmented_prefix_keeps_all_found
(self)
tests/v1/distributed/test_bitmap_ops.py:253
Methodtest_segmented_prefix_keeps_gaps
(self)
tests/v1/distributed/test_prefetch_controller.py:1275
Methodtest_segmented_prefix_with_gap
SEGMENTED_PREFIX retains the post-gap keys: L2 {0,1,3,4} -> {0,1,3,4}. The PREFIX counterpart (test_prefix_with_gap) truncates the same gap t
tests/v1/distributed/test_prefetch_controller.py:318
Functiontest_send_heartbeat_builds_expected_params
(patched_httpx)
tests/lmcache_frontend/test_heartbeat.py:72
Functiontest_send_heartbeat_returns_false_on_http_error
(patched_httpx)
tests/lmcache_frontend/test_heartbeat.py:104
Functiontest_send_heartbeat_uses_version_from_target_nodes
(patched_httpx)
tests/lmcache_frontend/test_heartbeat.py:114
Methodtest_send_lookup_void_reply_is_success
LOOKUP handler returns None (void) — must not be timeout.
tests/cli/commands/bench/test_server_bench.py:474
Methodtest_send_messages_success
Test successful message sending
tests/tools/test_controller_zmq_benchmark.py:278
Methodtest_send_messages_timeout
Test message sending timeout
tests/tools/test_controller_zmq_benchmark.py:295
Methodtest_send_request_success
Test successful request sending via DEALER socket
tests/tools/test_controller_zmq_benchmark.py:310
Methodtest_send_request_timeout
Test request sending timeout via DEALER socket
tests/tools/test_controller_zmq_benchmark.py:332
Methodtest_send_sync_batch
Test sending batch messages.
tests/v1/cache_controller/test_full_sync_sender.py:123
Methodtest_send_sync_end
Test sending end message.
tests/v1/cache_controller/test_full_sync_sender.py:140
Methodtest_send_sync_start
Test sync start responses.
tests/v1/cache_controller/test_full_sync_sender.py:243
Functiontest_sender_chunk_ordering
Last prefill chunk waits for prior slow chunk before sending ProxyNotif.
tests/v1/storage_backend/test_pd_backend_async.py:323
Functiontest_sender_dedup_calls_ref_count_down_on_skipped_chunks
Sender calls ref_count_down on dedup'd chunks without RDMA write.
tests/v1/storage_backend/test_pd_backend_async.py:1200
Functiontest_sender_flow_control_backpressure
allocate() blocks when staging buffer is physically full, unblocks on notify.
tests/v1/storage_backend/test_pd_backend_async.py:288
Functiontest_sender_nonblocking_fifo_transfers
batched_submit_put_task returns immediately; all requests complete.
tests/v1/storage_backend/test_pd_backend_async.py:260
Functiontest_sender_per_receiver_concurrency
Different-receiver requests run concurrently.
tests/v1/storage_backend/test_pd_backend_async.py:392
Methodtest_sender_role_still_works
Existing 'sender' role still works.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:62
Methodtest_sentinel_reads_empty_salt_entry
(self, client)
tests/v1/multiprocess/test_http_quota_endpoints.py:186
Methodtest_sequence_discontinuity_detection
Test detection of gaps in sequence numbers.
tests/v1/cache_controller/test_kv_controller.py:278
Methodtest_sequence_number_continuous
Test continuous sequence numbers don't trigger warnings.
tests/v1/cache_controller/test_kv_controller.py:256
Methodtest_sequence_number_first_message
Test first message from a source initializes sequence tracker.
tests/v1/cache_controller/test_kv_controller.py:239
Methodtest_sequence_number_increment
Test sequence number monotonic increment
tests/tools/test_controller_zmq_benchmark.py:248
Methodtest_sequence_number_isolation
Test sequence number isolation between different keys
tests/tools/test_controller_zmq_benchmark.py:262
Methodtest_sequence_numbers
Test that sequence numbers are monotonically increasing.
tests/v1/storage_backend/test_batched_message_sender.py:173
Methodtest_sequence_tracking_per_source
Test sequence tracking is independent per source.
tests/v1/cache_controller/test_kv_controller.py:306
Methodtest_serde_uses_shared_ext_code
Ext code 1 dispatches via ``DeviceIPCWrapper`` for all wrappers.
tests/v1/test_trtllm_integration.py:387
Methodtest_serialization_format
Unsalted keys use the 4-field shape with object_group_id embedded right after kv_rank.
tests/v1/distributed/test_native_connector_l2_adapter.py:223
← previousnext →12,301–12,400 of 13,371, ranked by callers