MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_get_lookup_info_scheduler
Test get lookup info for scheduler role.
tests/v1/internal_api_server/test_lookup_api.py:78
Methodtest_get_lookup_info_worker
Test get lookup info for worker role.
tests/v1/internal_api_server/test_lookup_api.py:88
Functiontest_get_lookup_server_worker_ids
(use_mla)
tests/v1/test_config.py:171
Methodtest_get_memory_allocator_returns_adapter
(self, backend, adapter)
tests/v1/storage_backend/test_maru_backend.py:211
Methodtest_get_memory_allocator_returns_local_cpu_allocator
storage_manager.memcheck() iterates AllocatorBackendInterface backends and calls get_memory_allocator().memcheck(). In CPU mode the NI
tests/v1/storage_backend/test_nixl_shared_pool.py:628
Methodtest_get_missing_batches
Test missing batches detection.
tests/v1/cache_controller/test_full_sync.py:184
Methodtest_get_missing_batches_edge_cases
Test missing batches edge cases.
tests/v1/cache_controller/test_full_sync.py:203
Methodtest_get_mode_returns_none_for_unknown
(self)
tests/v1/test_basic_check.py:37
Methodtest_get_mode_triggers_load
get_mode should call load_modes if not yet loaded.
tests/v1/test_basic_check.py:107
Methodtest_get_nonexistent_key
get() on a missing key returns None.
tests/v1/shm_allocator/test_shm_allocator.py:222
Methodtest_get_num_blocks
(self)
tests/v1/test_trtllm_integration.py:202
Methodtest_get_num_heads
(self)
tests/v1/test_trtllm_integration.py:218
Methodtest_get_num_layers
(self)
tests/v1/test_trtllm_integration.py:194
Methodtest_get_object_state_existing_returns_state
Test that get_object_state returns L1ObjectState for existing keys.
tests/v1/distributed/test_l1_manager.py:1325
Methodtest_get_object_state_non_existing_returns_none
Test that get_object_state returns None for non-existing keys.
tests/v1/distributed/test_l1_manager.py:1312
Methodtest_get_object_state_read_locked
Test get_object_state for read-locked objects.
tests/v1/distributed/test_l1_manager.py:1361
Methodtest_get_object_state_write_locked
Test get_object_state for write-locked objects.
tests/v1/distributed/test_l1_manager.py:1345
Methodtest_get_or_create_different_ids
(self, session_manager: SessionManager)
tests/v1/multiprocess/test_session.py:112
Methodtest_get_or_create_existing
(self, session_manager: SessionManager)
tests/v1/multiprocess/test_session.py:107
Methodtest_get_or_create_new
(self, session_manager: SessionManager)
tests/v1/multiprocess/test_session.py:103
Methodtest_get_page_buffer_size
(self)
tests/v1/test_trtllm_integration.py:244
Methodtest_get_peer_init_url
Test getting peer init URL for a worker.
tests/v1/cache_controller/test_registration_controller.py:302
Methodtest_get_peer_init_url_nonexistent
Test getting peer init URL for non-existent worker.
tests/v1/cache_controller/test_registration_controller.py:322
Functiontest_get_rejects_download_size_mismatch
Downloads should return None when bucket objects are not full chunks.
tests/v1/storage_backend/test_hfbucket_connector.py:490
Methodtest_get_returns_instance
(self)
tests/v1/mp_observability/test_event_bus.py:439
Methodtest_get_scratch_returns_correct_size
_get_scratch returns buffer at least as large as requested.
tests/v1/test_staging_buffer.py:122
Methodtest_get_shape
(self)
tests/v1/test_trtllm_integration.py:312
Methodtest_get_shape_desc_by_group_idx
(self)
tests/v1/test_kv_layer_groups_manager.py:179
Methodtest_get_socket
Test getting socket for a worker.
tests/v1/cache_controller/test_registration_controller.py:274
Methodtest_get_socket_nonexistent
Test getting socket for non-existent worker.
tests/v1/cache_controller/test_registration_controller.py:295
Methodtest_get_store_event_fd_returns_valid_fd
get_store_event_fd should return a valid file descriptor.
tests/v1/distributed/test_mock_l2_adapter.py:132
Methodtest_get_store_event_fd_returns_valid_fd
get_store_event_fd should return a valid file descriptor.
tests/v1/distributed/test_nixl_store_l2_adapter.py:178
Methodtest_get_store_event_fd_returns_valid_fd
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:200
Methodtest_get_strategies_discovers_all_strategies
(self)
tests/v1/lookup_client/test_chunk_statistics_lookup_client.py:86
Methodtest_get_succeeds_after_pool_saturation_via_eviction
After N promotions saturate the shared pool, the (N+1)th batched_get_blocking still returns a valid MemoryObj (eviction fires via the
tests/v1/storage_backend/test_nixl_shared_pool.py:420
Methodtest_get_temp_kernel_group_buffer
(self)
tests/v1/platform/test_gpu_cache_context.py:442
Methodtest_get_temp_object_group_buffer
(self)
tests/v1/platform/test_gpu_cache_context.py:450
Functiontest_get_unknown_returns_zero
()
tests/v1/mp_coordinator/test_usage_manager.py:145
Methodtest_get_usage_after_delete
(self, adapter_with_capacity)
tests/v1/distributed/test_native_connector_l2_adapter.py:1298
Methodtest_get_usage_after_store
(self, adapter_with_capacity)
tests/v1/distributed/test_native_connector_l2_adapter.py:1282
Methodtest_get_usage_decreases_after_delete
get_usage() should drop back to 0 after deleting the only stored key.
tests/v1/distributed/test_mock_l2_adapter.py:727
Methodtest_get_usage_decreases_after_delete
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:549
Methodtest_get_usage_empty_adapter_is_zero
get_usage() on a fresh adapter should report 0 bytes.
tests/v1/distributed/test_mock_l2_adapter.py:710
Methodtest_get_usage_empty_adapter_is_zero
get_usage() on a fresh adapter should return (0.0, 0.0).
tests/v1/distributed/test_nixl_store_l2_adapter.py:893
Methodtest_get_usage_empty_is_zero
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:532
Methodtest_get_usage_filters_zero_buckets
Snapshot only includes positive-byte buckets.
tests/v1/distributed/test_l2_adapter_base.py:175
Methodtest_get_usage_increases_after_store
get_usage() should report positive bytes after a store.
tests/v1/distributed/test_mock_l2_adapter.py:717
Methodtest_get_usage_increases_after_store
get_usage() current value should be > 0 after storing an object.
tests/v1/distributed/test_nixl_store_l2_adapter.py:900
Methodtest_get_usage_increases_after_store
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:537
Methodtest_get_usage_reflects_multiple_stores
get_usage() should increase monotonically as more objects are stored.
tests/v1/distributed/test_nixl_store_l2_adapter.py:911
Methodtest_get_usage_returns_immutable_by_cache_salt_view
``bytes_by_cache_salt`` is a read-only ``Mapping`` so a caller cannot mutate the snapshot or the adapter's live state.
tests/v1/distributed/test_l2_adapter_base.py:207
Methodtest_get_usage_snapshot_is_detached
A held ``AdapterUsage`` reference does not see later accounting changes — each call returns a fresh snapshot.
tests/v1/distributed/test_l2_adapter_base.py:220
Methodtest_get_usage_starts_at_zero
(self, adapter_with_capacity)
tests/v1/distributed/test_native_connector_l2_adapter.py:1277
Methodtest_get_usage_store_delete_cycle
(self, adapter_with_capacity)
tests/v1/distributed/test_native_connector_l2_adapter.py:1318
Methodtest_get_usage_without_capacity
Without max_capacity_bytes, usage_fraction == -1 (sentinel).
tests/v1/distributed/test_native_connector_l2_adapter.py:1271
Methodtest_get_workers
Test getting workers for an instance.
tests/v1/cache_controller/test_registration_controller.py:329
Methodtest_get_workers_nonexistent
Test getting workers for non-existent instance.
tests/v1/cache_controller/test_registration_controller.py:351
Methodtest_good_subscriber_not_counted
(self, bus)
tests/v1/mp_observability/test_event_bus.py:412
Methodtest_gpu_affinity_selects_path
Different cuda devices select different paths via modulo.
tests/v1/storage_backend/test_gds_backend.py:803
Methodtest_gpu_affinity_selects_path
Different cuda devices select different paths via modulo.
tests/v1/storage_backend/test_local_disk_backend.py:229
Methodtest_gpu_mode_accepts_enable_p2p
The P2P + NIXL storage combo is only rejected in CPU mode; the GPU-mode path doesn't touch LocalCPUBackend's allocator.
tests/v1/test_config.py:951
Methodtest_gpu_mode_accepts_nixl_buffer_size
(self)
tests/v1/test_config.py:924
Methodtest_gpu_mode_drops_flag_without_aliasing
In GPU mode the flag was always a no-op; alias would be misleading (LocalCPUBackend's hugepages should not be toggled by a NIXL knob in
tests/v1/test_config.py:1029
Methodtest_gpu_mode_still_requires_nixl_buffer_size
(self)
tests/v1/test_config.py:919
Functiontest_gpu_noop_register_refreshes_without_latching
Re-registering a known instance refreshes last_seen but does not rebuild the context or latch the ping-proven flag.
tests/v1/multiprocess/test_worker_liveness.py:75
Functiontest_gpu_reap_two_tier_windows
Ping-proven entries reap at the timeout; never-pinged ones survive until the larger registration grace.
tests/v1/multiprocess/test_worker_liveness.py:106
Functiontest_gpu_register_inserts_unlatched_entry
register_kv_cache inserts an entry that is not yet ping-proven.
tests/v1/multiprocess/test_worker_liveness.py:60
Functiontest_gpu_touch_latches_get_does_not
touch_instance marks ping-proven; get_and_touch_context_entry only refreshes.
tests/v1/multiprocess/test_worker_liveness.py:92
Functiontest_gpu_unregister_cleans_up
unregister_kv_cache pops and releases; missing id is a no-op.
tests/v1/multiprocess/test_worker_liveness.py:126
Methodtest_gqa
Test grouped-query attention (H > KV_H).
tests/v1/compute/attention/test_triton_kernels.py:116
Methodtest_gqa_sparse
GQA with sparse mask.
tests/v1/compute/attention/test_triton_kernels.py:190
Functiontest_group_size_is_two_on_both_endpoints
()
tests/v1/distributed/serde/test_asym_k16_v8_multi.py:68
Functiontest_group_size_is_two_on_both_endpoints
()
tests/v1/distributed/serde/test_asym_k16_v8_v_only.py:82
Functiontest_group_size_must_be_positive
()
tests/v1/distributed/serde/test_multi.py:248
Functiontest_group_size_property_is_fixed
()
tests/v1/distributed/serde/test_multi.py:241
Methodtest_groups_honour_per_group_shape_and_dtype
Multi-group spec must allocate per-layer shape / dtype. Regression for Bugbot #3150738055: previously every layer was allocated with
tests/cli/commands/bench/test_server_bench.py:365
Methodtest_growth_and_compaction
Matching survives a table grow rebuild and a mass-evict compaction.
tests/v1/mp_coordinator/test_blend_directory.py:99
Methodtest_half_gb
(self)
tests/v1/storage_backend/test_maru_backend.py:221
Methodtest_handle_mode_sends_unregister_kv_cache
Handle mode uses the GPU/SHM ``UNREGISTER_KV_CACHE`` protocol.
tests/cli/commands/bench/test_server_bench.py:570
Methodtest_handler_exception_does_not_kill_thread
(self, dispatcher, stream)
tests/v1/multiprocess/test_completion_recorder.py:122
Methodtest_handler_failure_counted
(self, trace_path)
tests/cli/commands/trace/test_driver.py:244
Methodtest_happy_path_defaults_to_primary
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:142
Methodtest_happy_path_defaults_to_primary
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:327
Methodtest_has_bench_target
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:269
Functiontest_has_key_returns_false_for_unknown
()
tests/v1/mp_coordinator/test_usage_manager.py:121
Methodtest_has_output_attrs
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:274
Methodtest_hash_and_eq
(self, basic_key)
tests/test_utils.py:262
Methodtest_hash_includes_layer_id
(self, layer_key)
tests/test_utils.py:409
Methodtest_hash_to_bytes_from_bytes
(self)
tests/v1/multiprocess/test_token_hasher.py:127
Methodtest_hash_to_bytes_from_int
(self)
tests/v1/multiprocess/test_token_hasher.py:131
Methodtest_hash_tokens_deterministic
(self, hasher: TokenHasher)
tests/v1/multiprocess/test_token_hasher.py:70
Methodtest_hash_tokens_different_input
(self, hasher: TokenHasher)
tests/v1/multiprocess/test_token_hasher.py:75
Methodtest_hash_tokens_returns_bytes
(self, hasher: TokenHasher)
tests/v1/multiprocess/test_token_hasher.py:66
Methodtest_hash_tokens_with_prefix
Rolling hash: same tokens with different prefix produces different hash.
tests/v1/multiprocess/test_token_hasher.py:80
Methodtest_hashable_as_dict_key
(self)
tests/v1/test_kv_layer_groups_manager.py:361
Methodtest_header_roundtrip
(self, trace_path)
tests/v1/mp_observability/trace/test_recorder.py:70
Methodtest_header_without_attach
When ``attach_storage_config`` is never called, the file is still readable; config fields are empty.
tests/v1/mp_observability/trace/test_recorder.py:88
Methodtest_health_check_creation_and_basic_checks
Test health check creation and basic pass/fail scenarios.
tests/v1/test_health_monitor_fallback_recovery.py:194
Methodtest_health_check_handles_none_connection
Test health check handles None connection gracefully.
tests/v1/test_health_monitor_fallback_recovery.py:498
Methodtest_health_check_handles_ping_timeout
Test health check handles ping timeout correctly.
tests/v1/test_health_monitor_fallback_recovery.py:459
← previousnext →10,501–10,600 of 13,371, ranked by callers