MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Functiontest_raw_block_l2_adapter_config_explicit_io_engine_wins_over_legacy_flag
()
tests/v1/distributed/test_raw_block_l2_adapter.py:194
Functiontest_raw_block_l2_adapter_config_legacy_use_uring_maps_to_iouring
(legacy_key)
tests/v1/distributed/test_raw_block_l2_adapter.py:188
Functiontest_raw_block_l2_adapter_config_parses_uring_flags
()
tests/v1/distributed/test_raw_block_l2_adapter.py:227
Functiontest_raw_block_l2_adapter_config_rejects_invalid_io_engine
()
tests/v1/distributed/test_raw_block_l2_adapter.py:182
Functiontest_raw_block_l2_adapter_config_validates_iouring_queue_depth
()
tests/v1/distributed/test_raw_block_l2_adapter.py:202
Functiontest_raw_block_l2_adapter_delete_makes_key_miss
(tmp_path)
tests/v1/multiprocess/test_raw_block_l2_adapter.py:100
Functiontest_raw_block_l2_adapter_delete_respects_lock_until_unlock
()
tests/v1/distributed/test_raw_block_l2_adapter.py:316
Functiontest_raw_block_l2_adapter_does_not_notify_duplicate_store
()
tests/v1/distributed/test_raw_block_l2_adapter.py:412
Functiontest_raw_block_l2_adapter_error_bitmaps_keep_submitted_size
()
tests/v1/distributed/test_raw_block_l2_adapter.py:598
Functiontest_raw_block_l2_adapter_listener_errors_do_not_block_eventfds
()
tests/v1/distributed/test_raw_block_l2_adapter.py:435
Functiontest_raw_block_l2_adapter_recovered_keys_seed_l2_eviction_state
()
tests/v1/distributed/test_raw_block_l2_adapter.py:532
Functiontest_raw_block_l2_adapter_recovers_unknown_checkpoint_dtype
()
tests/v1/distributed/test_raw_block_l2_adapter.py:569
Functiontest_raw_block_l2_adapter_recovery_from_checkpoint
()
tests/v1/distributed/test_raw_block_l2_adapter.py:467
Functiontest_raw_block_l2_adapter_recovery_seeds_usage_by_cache_salt
()
tests/v1/distributed/test_raw_block_l2_adapter.py:500
Functiontest_raw_block_l2_adapter_store_lookup_load_roundtrip
()
tests/v1/distributed/test_raw_block_l2_adapter.py:269
Functiontest_raw_block_l2_adapter_store_lookup_load_roundtrip
(tmp_path)
tests/v1/multiprocess/test_raw_block_l2_adapter.py:63
Functiontest_raw_block_l2_adapter_uring_cmd_rejects_regular_file
()
tests/v1/distributed/test_raw_block_l2_adapter.py:252
Functiontest_raw_block_l2_adapter_uses_global_eviction_accounting
()
tests/v1/distributed/test_raw_block_l2_adapter.py:348
Functiontest_raw_block_object_group_id_distinguishes_encoding
Keys differing only in object_group_id must encode differently.
tests/v1/storage_backend/test_raw_block_key_codec.py:54
Functiontest_raw_block_object_key_codec_preserves_sep_literal
Object-key encoding must not treat literal -SEP- as a slash escape.
tests/v1/storage_backend/test_raw_block_key_codec.py:11
Functiontest_raw_block_object_key_codec_roundtrips_object_group_id
object_group_id must survive encode/decode for salted and unsalted keys.
tests/v1/storage_backend/test_raw_block_key_codec.py:40
Functiontest_raw_block_object_key_codec_roundtrips_slash_and_sep
Object-key encoding must round-trip slashes and literal -SEP- strings.
tests/v1/storage_backend/test_raw_block_key_codec.py:25
Functiontest_re_register_reports_true
()
tests/v1/mp_coordinator/test_api.py:62
Methodtest_read_after_write_records_reuse_gap
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1_lifecycle.py:145
Methodtest_read_ahead_size_none_becomes_zero
read_ahead_size=None should be passed as 0 to the native client.
tests/v1/distributed/test_l2_adapter_factory.py:1068
Methodtest_read_carries_cache_salt
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1.py:118
Functiontest_read_copies_remote_data_into_local_buffer
(shared_contexts)
tests/v1/distributed/transfer_channel/test_nixl_impl.py:122
Methodtest_read_dedupes_tp_fanout
Same logical chunk fanned across TP ranks counts as one access.
tests/v1/mp_observability/subscribers/metrics/test_sm_lifecycle.py:317
Methodtest_read_finished_increments_counter
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1.py:63
Methodtest_read_hugepage_info
_read_hugepage_info returns valid data on Linux.
tests/v1/test_memory_management.py:951
Functiontest_read_into_offset_region
(shared_contexts)
tests/v1/distributed/transfer_channel/test_nixl_impl.py:136
Methodtest_read_lock_context_manager
Test read lock context manager.
tests/v1/cache_controller/test_locks.py:144
Methodtest_read_lock_context_manager_timeout
Test read lock context manager raises on timeout.
tests/v1/cache_controller/test_locks.py:156
Methodtest_read_lock_released_after_all_adapters_complete
Read locks should be released after all adapter stores complete.
tests/v1/distributed/test_store_controller.py:445
Methodtest_read_lock_released_after_store
After L2 store completes, L1 read locks should be released.
tests/v1/distributed/test_store_controller.py:322
Methodtest_read_lock_timeout
Test read lock timeout when writer holds the lock.
tests/v1/cache_controller/test_locks.py:118
Methodtest_read_locked_key_is_not_evictable
A read-locked key should not be evictable.
tests/v1/distributed/test_l1_manager.py:1809
Methodtest_read_prefetched_basic
Test reading prefetched objects.
tests/v1/distributed/test_distributed_storage_manager.py:313
Methodtest_read_prefetched_enter_exit_fifo
Two overlapping contexts with identical keys exit in FIFO order.
tests/cli/commands/trace/test_dispatch.py:126
Methodtest_read_prefetched_not_found
Test reading prefetched objects that were not found.
tests/v1/distributed/test_distributed_storage_manager.py:349
Functiontest_read_result_default_succeeded_masks_are_independent
()
tests/v1/distributed/transfer_channel/test_api.py:66
Functiontest_read_result_is_finished_reflects_finished_flag
()
tests/v1/distributed/transfer_channel/test_api.py:54
Functiontest_read_result_succeeded_mask_defaults_to_empty_list
()
tests/v1/distributed/transfer_channel/test_api.py:49
Functiontest_read_result_succeeded_mask_returns_flags
()
tests/v1/distributed/transfer_channel/test_api.py:61
Methodtest_read_task_no_cache_hits
batched_submit_read_task returns 0 when decoder has no cached blocks.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:227
Methodtest_read_task_with_cache_hits
batched_submit_read_task reads cached blocks via NIXL READ.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:251
Methodtest_read_then_read_records_gap
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_sm_lifecycle.py:120
Methodtest_read_then_write_no_emission
Read → write does not record a sample. Write only updates anchor.
tests/v1/mp_observability/subscribers/metrics/test_sm_lifecycle.py:180
Methodtest_read_untracked_key_no_gap
Reading a key never written should not record a gap.
tests/v1/mp_observability/subscribers/metrics/test_l1_lifecycle.py:169
Methodtest_real_controller_manager_not_available
(self, client_without_controller)
tests/v1/internal_api_server/test_worker_info_api.py:302
Methodtest_real_nonexistent_instance
(self, client_with_real_controller)
tests/v1/internal_api_server/test_worker_info_api.py:293
Methodtest_real_nonexistent_worker
(self, client_with_real_controller)
tests/v1/internal_api_server/test_worker_info_api.py:280
Methodtest_real_specific_worker_query
( self, client_with_real_controller, req_socket, heartbeat_socket )
tests/v1/internal_api_server/test_worker_info_api.py:259
Methodtest_real_worker_registration_and_query
( self, client_with_real_controller, req_socket, heartbeat_socket )
tests/v1/internal_api_server/test_worker_info_api.py:205
Methodtest_real_workers_by_instance
(self, client_with_real_controller, req_socket)
tests/v1/internal_api_server/test_worker_info_api.py:242
Methodtest_realistic_batch_preemption_scenario
Realistic scenario from the bug report: batch_size=32, preemption during decode with save_decode_cache=True.
tests/v1/test_decode_save_and_preemption.py:341
Methodtest_reason_l1_oom
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l2_failures.py:56
Methodtest_reason_not_found
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l2_failures.py:79
Methodtest_receive_batch_wrong_sync_id
Test batch with wrong sync ID rejected.
tests/v1/cache_controller/test_full_sync.py:110
Methodtest_receive_batches
Test batch receiving.
tests/v1/cache_controller/test_full_sync.py:97
Functiontest_receiver_admission_control
Reservation-based admission: concurrent requests can proceed.
tests/v1/storage_backend/test_pd_backend_async.py:710
Functiontest_receiver_alloc_timeout
allocate() returning None past deadline → RuntimeError; prior batches rolled back.
tests/v1/storage_backend/test_pd_backend_async.py:636
Functiontest_receiver_batch_failure_rolls_back_prior_batches
Second batch allocation timeout → both batches rolled back. Verifies that when a batch fails mid-allocation, all previously allocated keys fr
tests/v1/storage_backend/test_pd_backend_async.py:1004
Functiontest_receiver_cancel_notif_releases_keys_and_reservation
CancelNotif removes keys, releases reservation, and cleans up tracking. Verifies that when a CancelNotif arrives via _handle_alloc_request, all
tests/v1/storage_backend/test_pd_backend_async.py:949
Functiontest_receiver_dedup_multiple_existing_keys_each_pinned_once
Each pre-existing key gets exactly one ref_count_up call.
tests/v1/storage_backend/test_pd_backend_async.py:1130
Functiontest_receiver_dedup_pins_existing_key_via_ref_count_up
_async_allocate_and_put calls ref_count_up on pre-existing key (via contains(pin=True)).
tests/v1/storage_backend/test_pd_backend_async.py:1100
Functiontest_receiver_error_response
_handle_alloc_request sends error AllocResponse when allocation fails.
tests/v1/storage_backend/test_pd_backend_async.py:764
Functiontest_receiver_fail_fast_overflow
Cumulative chunks > declared total_chunks → RuntimeError; all keys rolled back.
tests/v1/storage_backend/test_pd_backend_async.py:595
Functiontest_receiver_flow_control_inflight
Allocation blocks when memory is full, unblocks when remove() frees a chunk.
tests/v1/storage_backend/test_pd_backend_async.py:527
Functiontest_receiver_is_last_batch_cleanup
is_last_batch=True removes req_id from _req_allocated_keys.
tests/v1/storage_backend/test_pd_backend_async.py:679
Functiontest_receiver_last_chunk_shape_override
Last chunk's token dim is overridden to last_chunk_toks.
tests/v1/storage_backend/test_pd_backend_async.py:565
Functiontest_receiver_no_req_id_skips_admission
Empty req_id bypasses reservation admission and chunk accounting. Verifies that anonymous requests (req_id="") are allocated without touching
tests/v1/storage_backend/test_pd_backend_async.py:984
Functiontest_receiver_nonblocking_async_sleep
Busy-wait retries yield via asyncio.sleep, not time.sleep.
tests/v1/storage_backend/test_pd_backend_async.py:475
Functiontest_receiver_reject_legacy_sender_zero_total_chunks
req_id + total_chunks=0 → RuntimeError (legacy sender rejected). Verifies that a request with a req_id but total_chunks=0 is rejected immedia
tests/v1/storage_backend/test_pd_backend_async.py:897
Functiontest_receiver_reservation_admission_timeout
Admission times out when buffer is fully reserved by another request. Verifies that when the entire buffer is reserved by an in-progress request,
tests/v1/storage_backend/test_pd_backend_async.py:914
Functiontest_receiver_reservation_released_unblocks_waiting_request
Releasing a reservation unblocks a concurrently waiting admission. Covers the notify_all() call in async_release_reservation.
tests/v1/storage_backend/test_pd_backend_async.py:1047
Methodtest_receiver_role_still_works
Existing 'receiver' role still works.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:86
Methodtest_recent_access_promotes_to_mru
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:649
Functiontest_reconcile_adds_new_peer
A newly discovered peer gets one P2P L2 adapter with the right urls.
tests/v1/multiprocess/test_p2p_controller.py:297
Functiontest_reconcile_keeps_peer_within_grace
A peer absent for up to _MAX_MISSES cycles keeps its adapter.
tests/v1/multiprocess/test_p2p_controller.py:324
Functiontest_reconcile_no_op_when_peer_unchanged
A still-present, unchanged peer is not re-added on the next cycle.
tests/v1/multiprocess/test_p2p_controller.py:312
Functiontest_reconcile_readds_on_url_change
A peer whose advertised url changes is removed and re-added.
tests/v1/multiprocess/test_p2p_controller.py:350
Functiontest_reconcile_removes_peer_after_grace
A peer absent beyond _MAX_MISSES cycles has its adapter removed.
tests/v1/multiprocess/test_p2p_controller.py:337
Functiontest_reconfigure_post_rejects_missing_backend_adapter
()
tests/v1/multiprocess/http_apis/test_reconfigure_api.py:350
Methodtest_record_and_summary
(self)
tests/cli/commands/trace/test_stats.py:37
Methodtest_record_answer
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:196
Functiontest_record_evicted_partial_when_multiple_keys
()
tests/v1/mp_coordinator/test_usage_manager.py:106
Functiontest_record_evicted_removes_zero_entry
()
tests/v1/mp_coordinator/test_usage_manager.py:98
Functiontest_record_evicted_returns_freed_bytes
()
tests/v1/mp_coordinator/test_usage_manager.py:83
Functiontest_record_evicted_unknown_key_returns_zero
()
tests/v1/mp_coordinator/test_usage_manager.py:93
Methodtest_record_multiple_answers
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:207
Functiontest_record_stored_basic
()
tests/v1/mp_coordinator/test_usage_manager.py:26
Functiontest_record_stored_distinct_keys_accumulate
()
tests/v1/mp_coordinator/test_usage_manager.py:34
Functiontest_record_stored_same_key_new_size_replaces
()
tests/v1/mp_coordinator/test_usage_manager.py:58
Functiontest_record_stored_same_key_same_size_is_idempotent
()
tests/v1/mp_coordinator/test_usage_manager.py:47
Functiontest_record_stored_shrink_adjusts_down
()
tests/v1/mp_coordinator/test_usage_manager.py:69
Methodtest_records_answer_in_session
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:444
Methodtest_records_failed_separately
(self)
tests/cli/commands/trace/test_stats.py:52
Methodtest_records_gbps_with_attrs
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_l1_throughput.py:138
Methodtest_records_gbps_with_attrs
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_l1_throughput.py:184
← previousnext →11,901–12,000 of 13,371, ranked by callers