MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_deregister_handler
Test DeregisterHandler functionality
tests/tools/test_controller_zmq_benchmark.py:175
Functiontest_deregister_is_idempotent
()
tests/v1/mp_coordinator/test_api.py:86
Methodtest_deregister_msg_serialization
Test DeRegisterMsg encode/decode.
tests/v1/cache_controller/test_messages.py:99
Methodtest_deregister_nonexistent_worker
Test deregistering a non-existent worker.
tests/v1/cache_controller/test_registration_controller.py:221
Methodtest_deregister_partial_cleanup
Test deregister only removes specific instance-worker.
tests/v1/cache_controller/test_kv_controller.py:573
Methodtest_deregister_partial_workers
Test deregistering one of multiple workers.
tests/v1/cache_controller/test_registration_controller.py:234
Functiontest_deregister_returns_instance
()
tests/v1/mp_coordinator/test_registry.py:38
Methodtest_deregister_worker
Test deregistering a worker.
tests/v1/cache_controller/test_registration_controller.py:184
Functiontest_descriptor_class_parity
For every descriptor class shared between c_ops and the fallback, every public, non-callable attribute on the c_ops instance must also be pres
tests/v1/test_c_ops_fallback_parity.py:367
Functiontest_deserialize_raises_on_missing_tensor
()
tests/v1/distributed/serde/test_fp8.py:99
Functiontest_deserialize_signals_fd_and_result_is_true
()
tests/v1/distributed/serde/test_async_processor.py:95
Functiontest_deserialize_with_none_slot_leaves_caller_buffer_untouched
()
tests/v1/distributed/serde/test_multi.py:330
Methodtest_detailed_metrics
(self)
tests/v1/lookup_client/test_chunk_statistics_lookup_client.py:141
Functiontest_detect_device_cuda_fallback_when_no_alt_accelerator
Default fallback is CUDA so existing CUDA tests/paths keep working.
tests/v1/test_musa_support.py:146
Functiontest_detect_device_falls_back_past_unavailable_musa
Falls through MUSA when ``torch.musa.is_available()`` is False.
tests/v1/test_musa_support.py:134
Functiontest_detect_device_prefers_musa_when_available
``_detect_device`` returns MUSA whenever ``torch.musa.is_available()``.
tests/v1/test_musa_support.py:119
Methodtest_deterministic
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:130
Methodtest_deterministic
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:154
Methodtest_deterministic
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:182
Methodtest_deterministic
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:208
Methodtest_deterministic
(self)
tests/v1/multiprocess/test_token_hasher.py:158
Methodtest_deterministic
(self)
tests/v1/multiprocess/test_token_hasher.py:214
Methodtest_deterministic
(self)
tests/v1/multiprocess/test_compute_mp_checksums.py:96
Methodtest_deterministic
Same request produces identical checksums.
tests/v1/multiprocess/test_http_server.py:110
Methodtest_deterministic_for_same_key
(self)
tests/v1/test_nixl_doca_memos.py:71
Methodtest_deterministic_path_selection
Same device always selects the same path.
tests/v1/storage_backend/test_gds_backend.py:854
Methodtest_deterministic_sampling_is_consistent
Same key always gets the same sampling decision.
tests/v1/mp_observability/subscribers/metrics/test_l1_lifecycle.py:247
Functiontest_devdax_allocator_falls_back_when_cuda_host_register_fails
( tmp_path, monkeypatch )
tests/v1/distributed/test_devdax_l1_allocator.py:237
Functiontest_devdax_allocator_registers_cuda_host_mapping
(tmp_path, monkeypatch)
tests/v1/distributed/test_devdax_l1_allocator.py:219
Functiontest_devdax_allocator_uses_mmap_backing_file
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:194
Functiontest_devdax_close_failure_preserves_allocator_state
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:264
Functiontest_devdax_config_accepts_explicit_lazy_and_shm_disable
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:146
Functiontest_devdax_config_rejects_lazy_allocation
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:121
Functiontest_devdax_config_rejects_shm
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:133
Functiontest_devdax_l1_does_not_advertise_shm_pool
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:568
Functiontest_devdax_l1_is_not_single_region
()
tests/v1/distributed/test_l1_single_region.py:47
Functiontest_devdax_overflow_allows_mooncake_without_rdma
(tmp_path, monkeypatch)
tests/v1/distributed/test_devdax_l1_allocator.py:182
Functiontest_devdax_overflow_rejects_single_region_l2_adapters
( tmp_path, monkeypatch, adapter_name, adapter_config )
tests/v1/distributed/test_devdax_l1_allocator.py:169
Functiontest_device_allocators
(alloc_cls, use_paging)
tests/v1/test_memory_management.py:166
Methodtest_diagonal_mask
(self)
tests/v1/compute/attention/test_triton_kernels.py:293
Methodtest_dict
(self)
tests/v1/mp_observability/trace/test_codecs.py:38
Methodtest_dict_recursively_sanitized
(self)
tests/v1/test_json_utils.py:36
Methodtest_different_base_different_output
(self)
tests/v1/multiprocess/test_token_hasher.py:171
Methodtest_different_block_sets_differ
(self)
tests/v1/multiprocess/test_compute_mp_checksums.py:219
Methodtest_different_cache_salts_accumulate_independently
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1.py:133
Methodtest_different_inputs_different_outputs
(self)
tests/v1/multiprocess/test_token_hasher.py:164
Methodtest_different_inputs_different_outputs
(self)
tests/v1/multiprocess/test_token_hasher.py:220
Functiontest_different_keys_parallel
Tasks with different affinity keys can run concurrently.
tests/v1/multiprocess/test_affinity_pool.py:68
Methodtest_different_keys_produce_different_strings
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:218
Methodtest_different_l2_names_accumulate_independently
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l2.py:469
Methodtest_different_models_accumulate_independently
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_lookup.py:289
Methodtest_different_models_or_salts_accumulate_independently
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_engine.py:145
Methodtest_different_reasons_counted_separately
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l2_failures.py:138
Methodtest_different_reasons_counted_separately
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l1_failures.py:227
Methodtest_different_salts_are_unequal
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:386
Methodtest_different_salts_produce_different_strings
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:255
Methodtest_different_seeds_differ
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:135
Methodtest_different_seeds_differ
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:159
Methodtest_different_seq_no
(self)
tests/cli/commands/bench/test_server_bench.py:187
Methodtest_different_tokens_triggers_eviction
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_lifecycle.py:276
Methodtest_different_workers_are_independent
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_engine.py:119
Methodtest_disable_hot_cache_exception
(self, client_with_engine, mock_engine)
tests/v1/internal_api_server/test_hot_cache_api.py:79
Methodtest_disable_hot_cache_no_engine
(self, client_without_engine)
tests/v1/internal_api_server/test_hot_cache_api.py:75
Methodtest_disable_hot_cache_success
(self, client_with_engine, mock_engine)
tests/v1/internal_api_server/test_hot_cache_api.py:67
Methodtest_disable_require_defined_keeps_reexports_but_dedups
( self, temp_pkg: Tuple[str, Path] )
tests/v1/test_subclass_discovery.py:220
Methodtest_disabled_bus_drops_events
(self)
tests/v1/mp_observability/test_event_bus.py:231
Methodtest_disabled_bus_skips_recording
(self, stream)
tests/v1/mp_observability/test_event_recorder.py:187
Methodtest_disabled_by_default
(self)
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:23
Methodtest_disabled_config_not_enabled
(self)
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:160
Methodtest_disabled_noop
(self)
tests/v1/mp_observability/test_event_bus.py:111
Methodtest_disabled_returns_minus_one
(self, tmp_path: Path)
tests/v1/distributed/test_hfbucket_l2_adapter.py:417
Methodtest_disabled_returns_minus_one
(self)
tests/v1/distributed/test_s3_l2_adapter.py:587
Methodtest_disabled_statistics
(self)
tests/v1/lookup_client/test_chunk_statistics_lookup_client.py:133
Functiontest_discover_adapters
Validate adapter discovery filters modules and tolerates failures. Args: monkeypatch: Pytest fixture for patching module discovery.
tests/v1/test_connector_discovery.py:12
Methodtest_discovers_api_modules
Modules ending with ``_api`` that expose an APIRouter are discovered.
tests/v1/multiprocess/test_http_api_registry.py:35
Methodtest_discovers_class_in_subpackage_init
A class defined directly in a sub-package ``__init__.py`` must be discovered at the sub-package's depth (depth 1). This matches the p
tests/v1/test_subclass_discovery.py:521
Functiontest_discovery_rejects_odd_trailing_dim
()
tests/v1/gpu_connector/test_blocks_first_fused_kv_format.py:58
Functiontest_discovery_splits_fused_axis
()
tests/v1/gpu_connector/test_blocks_first_fused_kv_format.py:49
Methodtest_disjoint_adapters
Adapter 0 has {0,1}, adapter 1 has {2,3} → full prefix of 4.
tests/v1/distributed/test_prefetch_controller.py:439
Methodtest_dispatch_to_registered_handler
(self, dispatcher, stream)
tests/v1/multiprocess/test_completion_recorder.py:104
Methodtest_dispatch_unknown_qualname_raises_keyerror
(self)
tests/cli/commands/trace/test_dispatch.py:84
Functiontest_dispatches_by_cpu_device_type
Wrappers reporting ``cpu`` tensors must yield the cpu-registered class.
tests/v1/platform/test_cache_context_dispatch.py:146
Functiontest_dispatches_by_cuda_device_type
Wrappers reporting a non-cpu device type must route to the matching registered class -- no isinstance branching.
tests/v1/platform/test_cache_context_dispatch.py:158
Methodtest_distinct_keys_differ
(self)
tests/v1/test_nixl_doca_memos.py:75
Methodtest_do_get_into_copies_only_n_bytes
Only the bytes actually received are copied into destination.
tests/v1/test_staging_buffer.py:143
Methodtest_doca_memos_cpu_is_valid
(self)
tests/v1/test_nixl_doca_memos.py:143
Methodtest_doca_memos_creates_b128_object_pool
(self)
tests/v1/test_nixl_doca_memos.py:157
Methodtest_doca_memos_cuda_is_rejected
(self)
tests/v1/test_nixl_doca_memos.py:146
Methodtest_doca_memos_cuda_with_index_is_rejected
(self)
tests/v1/test_nixl_doca_memos.py:149
Methodtest_doca_memos_uses_b128
(self)
tests/v1/test_nixl_doca_memos.py:211
Methodtest_document_fill_tokens
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:199
Methodtest_document_format
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:194
Methodtest_does_not_crash_on_empty_keys
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1.py:110
Methodtest_does_not_crash_on_empty_keys
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1_lifecycle.py:325
Methodtest_does_not_overwrite_set_values
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:208
Methodtest_does_not_subscribe_to_l1_events
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_l1_throughput.py:126
Methodtest_does_not_subscribe_to_request_level_load_events
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l2_throughput.py:174
Methodtest_dormancy_and_wake
(self)
tests/v1/native_storage_ops/test_periodic_event_notifier.py:144
Methodtest_double_create_idempotent
(self)
tests/v1/native_storage_ops/test_periodic_event_notifier.py:83
Functiontest_double_initialize_raises_runtime_error
(fake_type)
tests/v1/distributed/transfer_channel/test_context_lifecycle.py:95
← previousnext →9,801–9,900 of 13,371, ranked by callers