MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_create_lookup_dryrun_scheduler
Test dryrun create lookup client for scheduler.
tests/v1/internal_api_server/test_lookup_api.py:158
Methodtest_create_lookup_dryrun_worker
Test dryrun create lookup server for worker.
tests/v1/internal_api_server/test_lookup_api.py:175
Methodtest_create_lookup_error
Test create lookup with error.
tests/v1/internal_api_server/test_lookup_api.py:190
Methodtest_create_lookup_scheduler
Test create lookup client for scheduler.
tests/v1/internal_api_server/test_lookup_api.py:136
Methodtest_create_lookup_worker
Test create lookup server for worker.
tests/v1/internal_api_server/test_lookup_api.py:148
Functiontest_create_map_munmap_unlink_roundtrip
()
tests/v1/multiprocess/test_posix_shm.py:29
Methodtest_create_mock_adapter
create_l2_adapter dispatches to MockL2Adapter.
tests/v1/distributed/test_l2_adapter_factory.py:671
Methodtest_create_mock_via_registry
create_l2_adapter_from_registry creates a MockL2Adapter.
tests/v1/distributed/test_l2_adapter_factory.py:99
Methodtest_create_no_engine
(self, client_without_engine)
tests/v1/internal_api_server/test_backend_api.py:163
Methodtest_create_no_remote_backend
(self)
tests/v1/test_health_monitor.py:267
Methodtest_create_raw_block_via_registry
(self)
tests/v1/distributed/test_l2_adapter_factory.py:119
Methodtest_create_returns_event_notifier
Factory returns an EventNotifier subclass.
tests/v1/test_event_notifier.py:24
Functiontest_create_serde_unknown_type_raises
()
tests/v1/distributed/serde/test_factory.py:54
Methodtest_create_success
(self, client_with_engine, mock_storage_manager)
tests/v1/internal_api_server/test_backend_api.py:155
Functiontest_create_transfer_context_env_var_overrides_default
``LMCACHE_MP_TRANSFER_MODE=lmcache_driven`` must force the LMCache-driven path.
tests/v1/multiprocess/test_engine_driven_transfer.py:581
Functiontest_create_transfer_context_force_engine_driven_mode_on_cpu
``mode='engine_driven'`` on CPU returns EngineDrivenTransferContext (data path; no wrapper-factory capability check is performed).
tests/v1/multiprocess/test_engine_driven_transfer.py:349
Functiontest_create_transfer_context_force_lmcache_driven_mode
``mode='lmcache_driven'`` must always pick LMCacheDrivenTransferContext (handle path); CPU also works because the CPU SHM wrapper factory is r
tests/v1/multiprocess/test_engine_driven_transfer.py:329
Functiontest_create_transfer_context_handle_mode_unsupported_device_raises
``mode='lmcache_driven'`` must raise when no wrapper factory exists for the device.
tests/v1/multiprocess/test_engine_driven_transfer.py:373
Functiontest_create_transfer_context_invalid_mode_raises
Unknown mode strings must raise a clear ValueError.
tests/v1/multiprocess/test_engine_driven_transfer.py:364
Functiontest_create_transfer_context_uses_non_cuda_context_on_cpu
Ensure factory returns EngineDrivenTransferContext for CPU KV.
tests/v1/multiprocess/test_engine_driven_transfer.py:255
Functiontest_create_unregistered_type_raises_value_error
()
tests/v1/distributed/transfer_channel/test_factory.py:99
Methodtest_create_via_registry
(self, adapter)
examples/lmc_external_l2_adapter/tests/test_plugin.py:266
Methodtest_create_with_remote_backend
(self)
tests/v1/test_health_monitor.py:247
Methodtest_creates_observable_gauge
Gauge is created on the correct meter.
tests/v1/mp_observability/test_register_gauge.py:15
Methodtest_creates_output_dir
(self, config: LookupHashLogConfig)
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:104
Methodtest_credentials_path_init
Verify passing credentials_path initializes client with explicit service account.
tests/v1/storage_backend/test_bigtable_connector.py:347
Functiontest_cuda_messaging_future_basic_usage
Test basic usage of CUDAMessagingFuture: create, wait, and get result.
tests/v1/multiprocess/test_futures.py:185
Functiontest_cuda_messaging_future_complex_type
Test CUDAMessagingFuture with complex types like lists and dicts.
tests/v1/multiprocess/test_futures.py:488
Functiontest_cuda_messaging_future_multiple_result_calls
Test that result can be retrieved multiple times after being set.
tests/v1/multiprocess/test_futures.py:419
Functiontest_cuda_messaging_future_query_before_and_after
Test query method returns False before completion and True after.
tests/v1/multiprocess/test_futures.py:452
Functiontest_cuda_messaging_future_result_timeout_reached
Test that result method raises TimeoutError when timeout is reached.
tests/v1/multiprocess/test_futures.py:401
Functiontest_cuda_messaging_future_result_with_timeout_success
Test that result method works correctly with timeout when result is available.
tests/v1/multiprocess/test_futures.py:366
Functiontest_cuda_messaging_future_wait_no_timeout
Test wait method without timeout (waits indefinitely until result is set).
tests/v1/multiprocess/test_futures.py:271
Functiontest_cuda_messaging_future_wait_timeout_reached
Test that wait method returns False when timeout is reached.
tests/v1/multiprocess/test_futures.py:345
Functiontest_cuda_messaging_future_wait_with_timeout_success
Test that wait method works correctly with timeout when result is available.
tests/v1/multiprocess/test_futures.py:309
Functiontest_cuda_messaging_future_with_explicit_device
Test CUDAMessagingFuture with explicit device parameter.
tests/v1/multiprocess/test_futures.py:561
Functiontest_cuda_messaging_future_with_thread
Test CUDAMessagingFuture with result set from another thread.
tests/v1/multiprocess/test_futures.py:227
Functiontest_cudaipc_wrapper_list_serialization
Test custom encoder/decoder for list of CudaIPCWrapper objects.
tests/v1/multiprocess/test_custom_types.py:95
Functiontest_cudaipc_wrapper_multiprocess_serialization
Test CudaIPCWrapper serialization across processes using spawn method. This verifies that CUDA IPC handles can be properly shared between pro
tests/v1/multiprocess/test_custom_types.py:155
Functiontest_cudaipc_wrapper_serialization
Test custom encoder/decoder for single CudaIPCWrapper object.
tests/v1/multiprocess/test_custom_types.py:69
Methodtest_cur_st_ascending_with_stride
(self)
tests/v1/mp_coordinator/test_blend_directory.py:189
Methodtest_custom_default_destination
Custom default destination should be used.
tests/v1/distributed/test_lru_eviction_policy.py:211
Methodtest_custom_operations
Test custom operation distribution
tests/tools/test_controller_zmq_benchmark.py:63
Methodtest_custom_row_key_template
Verify substituting {model} and {hash} placeholders flexibly.
tests/v1/storage_backend/test_bigtable_connector.py:387
Methodtest_custom_start_end
(self)
tests/cli/commands/bench/test_server_bench.py:214
Methodtest_custom_ttl
Test custom TTL values.
tests/v1/native_storage_ops/test_ttl_lock.py:180
Methodtest_custom_values
( self, parser: argparse.ArgumentParser, )
tests/cli/commands/bench/test_server_bench.py:113
Methodtest_custom_values
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:29
Methodtest_custom_values
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:32
Methodtest_custom_values
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:35
Methodtest_custom_values
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:35
Methodtest_custom_values
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:39
Methodtest_data
Generate test data
tests/tools/test_controller_zmq_benchmark.py:125
Methodtest_data_consistency_after_concurrent_ops
Verify data consistency after heavy concurrent operations.
tests/v1/cache_controller/test_registry_tree.py:700
Methodtest_data_differs_with_different_seed
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:287
Methodtest_data_is_deterministic_with_seed
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:280
Methodtest_data_mode_sends_engine_driven_unregister
Data mode uses the engine-driven context unregister protocol.
tests/cli/commands/bench/test_server_bench.py:589
Functiontest_data_ptrs_shape
(case)
tests/v1/gpu_connector/test_kv_format_specs.py:286
Methodtest_data_too_short
Test when data is shorter than start + end patterns.
tests/v1/native_storage_ops/test_pattern_matcher.py:522
Methodtest_dataclass_class_rejected
A dataclass *type* (not instance) must be rejected.
tests/v1/test_json_utils.py:100
Methodtest_dataclass_configs_serialized
(self)
tests/v1/multiprocess/http_apis/test_conf_api.py:49
Methodtest_dataclass_converted_with_non_serializable_fields
(self)
tests/v1/test_json_utils.py:84
Functiontest_dax_adapter_close_waits_for_inflight_tasks
(tmp_path, monkeypatch)
tests/v1/distributed/test_dax_l2_adapter.py:682
Functiontest_dax_adapter_full_arena_does_not_evict_internally
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:603
Functiontest_dax_adapter_implements_generic_reconfigure_status
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:249
Functiontest_dax_adapter_registers_and_has_distinct_eventfds
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:202
Functiontest_dax_adapter_restart_is_volatile_only
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:722
Functiontest_dax_adapter_store_lookup_load_and_one_shot_results
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:477
Functiontest_dax_adapter_unlock_refcount_and_delete_skips_locked_keys
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:534
Functiontest_dax_adapter_usage_and_status_track_pending_free_slots
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:568
Functiontest_dax_adapter_usage_tracks_cache_salt_by_slot
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:641
Functiontest_dax_backend_allocator_exhaustion_fails_without_internal_eviction
( memory_allocator, loop_in_thread, )
tests/v1/storage_backend/test_dax_backend.py:1287
Functiontest_dax_backend_async_close_waits_for_active_put
( memory_allocator, loop_in_thread, monkeypatch, )
tests/v1/storage_backend/test_dax_backend.py:2005
Functiontest_dax_backend_batched_get_blocking_handles_heterogeneous_chunk_shapes
( memory_allocator, loop_in_thread, )
tests/v1/storage_backend/test_dax_backend.py:321
Functiontest_dax_backend_batched_get_blocking_keeps_positional_holes
( memory_allocator, loop_in_thread, )
tests/v1/storage_backend/test_dax_backend.py:195
Functiontest_dax_backend_batched_get_blocking_passes_cached_fmt_to_allocator
( memory_allocator, loop_in_thread, monkeypatch, )
tests/v1/storage_backend/test_dax_backend.py:248
Functiontest_dax_backend_batched_get_blocking_releases_lock_during_restore
( memory_allocator, loop_in_thread, monkeypatch, )
tests/v1/storage_backend/test_dax_backend.py:916
Functiontest_dax_backend_batched_get_non_blocking_stops_at_first_miss
( memory_allocator, loop_in_thread, )
tests/v1/storage_backend/test_dax_backend.py:376
Functiontest_dax_backend_batched_memcpy_helper
()
tests/v1/storage_backend/test_dax_backend.py:514
Functiontest_dax_backend_blocking_and_async_share_restore_dispatch
( memory_allocator, loop_in_thread, monkeypatch, )
tests/v1/storage_backend/test_dax_backend.py:426
Functiontest_dax_backend_close_rejects_new_ops_after_shutdown
()
tests/v1/storage_backend/test_dax_backend.py:1950
Functiontest_dax_backend_failed_init_does_not_leak_fds
()
tests/v1/storage_backend/test_dax_backend.py:610
Functiontest_dax_backend_full_arena_does_not_evict_pinned_or_unpinned_keys
( memory_allocator, loop_in_thread )
tests/v1/storage_backend/test_dax_backend.py:1364
Functiontest_dax_backend_get_blocking_releases_lock_during_read
( memory_allocator, loop_in_thread, monkeypatch, )
tests/v1/storage_backend/test_dax_backend.py:821
Functiontest_dax_backend_get_read_failure_releases_cpu_memory_obj
( memory_allocator, loop_in_thread, monkeypatch, )
tests/v1/storage_backend/test_dax_backend.py:1204
Functiontest_dax_backend_multi_tensor_put_skips_without_indexing_or_leaking_slots
( memory_allocator, loop_in_thread, )
tests/v1/storage_backend/test_dax_backend.py:757
Functiontest_dax_backend_multithread_put_get_smoke
(memory_allocator, loop_in_thread)
tests/v1/storage_backend/test_dax_backend.py:1612
Functiontest_dax_backend_overlapping_pin_unpin
Regression: overlapping pin/unpin must use ref-counting, not a plain set.
tests/v1/storage_backend/test_dax_backend.py:1443
Functiontest_dax_backend_oversized_put_raises_error
( memory_allocator, loop_in_thread, )
tests/v1/storage_backend/test_dax_backend.py:650
Functiontest_dax_backend_put_rejects_mismatched_key_and_obj_lengths
( memory_allocator, loop_in_thread, )
tests/v1/storage_backend/test_dax_backend.py:702
Functiontest_dax_backend_rejects_multi_group_metadata_at_init
()
tests/v1/storage_backend/test_dax_backend.py:583
Functiontest_dax_backend_rejects_tp_gt_1
(loop_in_thread)
tests/v1/storage_backend/test_dax_backend.py:529
Functiontest_dax_backend_remove_during_batched_restore_defers_slot_reclaim
( memory_allocator, loop_in_thread, monkeypatch, )
tests/v1/storage_backend/test_dax_backend.py:1111
Functiontest_dax_backend_remove_during_read_defers_slot_reclaim
( memory_allocator, loop_in_thread, monkeypatch, )
tests/v1/storage_backend/test_dax_backend.py:1005
Functiontest_dax_backend_remove_inflight_reclaims_slot
(memory_allocator, loop_in_thread)
tests/v1/storage_backend/test_dax_backend.py:1551
Functiontest_dax_backend_requires_local_cpu_backend
()
tests/v1/storage_backend/test_dax_backend.py:556
Functiontest_dax_backend_roundtrip
(memory_allocator, loop_in_thread)
tests/v1/storage_backend/test_dax_backend.py:139
Functiontest_dax_backend_sync_close_waits_for_active_batched_restore
( memory_allocator, loop_in_thread, monkeypatch, )
tests/v1/storage_backend/test_dax_backend.py:1862
Functiontest_dax_backend_sync_close_waits_for_active_get
( memory_allocator, loop_in_thread, monkeypatch, )
tests/v1/storage_backend/test_dax_backend.py:1765
Functiontest_dax_backend_sync_close_waits_for_active_put
( memory_allocator, loop_in_thread, monkeypatch, )
tests/v1/storage_backend/test_dax_backend.py:1671
← previousnext →9,601–9,700 of 13,371, ranked by callers