MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_serialization_is_deterministic
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:212
Functiontest_serialize_and_deserialize
(num_groups)
tests/v1/test_remote_metadata.py:18
Functiontest_serialize_and_deserialize_fds_are_distinct
()
tests/v1/distributed/serde/test_async_processor.py:71
Functiontest_serialize_failure_does_not_narrow_dst
If the serializer raises, the processor must NOT narrow the destination -- failure cleanup typically reuses the original allocation and the ne
tests/v1/distributed/serde/test_async_processor.py:194
Functiontest_serialize_failure_reports_false
If the sync serializer raises, query_serialize_result returns False.
tests/v1/distributed/serde/test_async_processor.py:108
Functiontest_serialize_narrows_dst_to_actual_bytes_written
After a successful serialize that returns ``n``, the processor calls ``dst.set_used_size(n)`` so the over-allocated destination buffer reports
tests/v1/distributed/serde/test_async_processor.py:178
Functiontest_serialize_raises_on_missing_tensor
A MemoryObj without ``.tensor`` is rejected rather than silently no-op'd.
tests/v1/distributed/serde/test_fp8.py:90
Functiontest_serialize_rejects_k_present
K slot must be None — providing K is a contract error.
tests/v1/distributed/serde/test_asym_k16_v8_v_only.py:89
Functiontest_serialize_rejects_none_slot_in_storage_only_mode
Storage-only-dequant mode requires both K and V.
tests/v1/distributed/serde/test_asym_k16_v8_multi.py:93
Functiontest_serialize_requires_v
()
tests/v1/distributed/serde/test_asym_k16_v8_v_only.py:99
Functiontest_serialize_signals_fd_and_result_is_true
()
tests/v1/distributed/serde/test_async_processor.py:81
Functiontest_serialize_skips_narrowing_when_serializer_returns_non_int
A serializer that does not honor the ``serialize() -> int`` contract and returns ``None`` must not crash the processor. The narrowing call is
tests/v1/distributed/serde/test_async_processor.py:233
Functiontest_serialize_with_none_slot_skips_payload
()
tests/v1/distributed/serde/test_multi.py:297
Functiontest_serialize_works_when_dst_lacks_set_used_size
Backward compatibility: a duck-typed destination that does NOT implement ``set_used_size`` (e.g. a bare ``object()`` in older tests) must stil
tests/v1/distributed/serde/test_async_processor.py:218
Functiontest_server_engine_driven_reregister_returns_existing_shm_response
Ensure duplicate non-GPU registration returns existing SHM response.
tests/v1/multiprocess/test_engine_driven_transfer.py:1204
Functiontest_server_free_lookup_locks_calls_finish_read_prefetched
LookupModule.free_lookup_locks should resolve hash keys and call finish_read_prefetched on the storage manager.
tests/v1/multiprocess/test_free_locks.py:90
Functiontest_server_free_lookup_locks_no_matching_chunks
LookupModule.free_lookup_locks with no chunks in range should be a no-op.
tests/v1/multiprocess/test_free_locks.py:117
Functiontest_server_handler_registered
LookupModule should have a free_lookup_locks method.
tests/v1/multiprocess/test_free_locks.py:144
Functiontest_server_handler_registered
LookupModule should have a query_prefetch_lookup_hits method.
tests/v1/multiprocess/test_query_lookup_hits.py:208
Methodtest_server_helpers_live_under_server_bench_package
Helpers backing ``bench server`` must live inside the ``server_bench`` sub-package, mirroring the engine / l2 layout.
tests/cli/commands/bench/test_server_bench.py:67
Functiontest_server_is_available_from_context
(shared_contexts)
tests/v1/distributed/transfer_channel/test_nixl_impl.py:234
Functiontest_server_lookup_hits_divides_by_world_size
Result should be divided by world_size for tensor parallelism.
tests/v1/multiprocess/test_query_lookup_hits.py:153
Functiontest_server_lookup_hits_returns_count
query_prefetch_lookup_hits returns chunk count when lookup is done.
tests/v1/multiprocess/test_query_lookup_hits.py:143
Functiontest_server_lookup_hits_returns_none_when_in_progress
Returns None when storage manager lookup is still in progress.
tests/v1/multiprocess/test_query_lookup_hits.py:162
Functiontest_server_lookup_hits_returns_zero_after_prefetch_consumed
Returns 0 after query_prefetch_status has consumed the job. This prevents the caller from spinning forever on a completed request.
tests/v1/multiprocess/test_query_lookup_hits.py:183
Functiontest_server_lookup_hits_returns_zero_for_invalid_request
Returns 0 for a request_id that doesn't exist (prevents infinite spin).
tests/v1/multiprocess/test_query_lookup_hits.py:171
Functiontest_server_lookup_hits_zero_count
Returns 0 when no keys matched (not None).
tests/v1/multiprocess/test_query_lookup_hits.py:198
Functiontest_server_prepare_store_includes_chunk_indices
prepare_store response context includes chunk_indices for SHM mode. Regression test: the server must return the positional indices of the res
tests/v1/multiprocess/test_engine_driven_transfer.py:1316
Functiontest_server_prepare_store_releases_unused_reserved_write_locks
Ensure SHM prepare_store releases reserved keys that have no writable tensor.
tests/v1/multiprocess/test_engine_driven_transfer.py:1134
Functiontest_server_register_and_find_non_cuda_context_layout
Ensure non-CUDA registration stores metadata and lookup finds layout.
tests/v1/multiprocess/test_engine_driven_transfer.py:1040
Functiontest_server_running
Test that the server process is running.
tests/v1/multiprocess/test_cache_server.py:373
Functiontest_server_shm_commit_store_allows_noop_when_all_keys_exist
Regression: repeated prompt after worker restart should no-op-store cleanly. When all object keys already exist in cache, SHM ``prepare_store`` r
tests/v1/multiprocess/test_engine_driven_transfer.py:1098
Functiontest_server_shm_transport_uses_engine_level_config
Ensure all instances share the same engine-level SHM transport setting.
tests/v1/multiprocess/test_engine_driven_transfer.py:1169
Functiontest_server_store_and_retrieve_cpu_chunks
Validate mocked server-side CPU chunk store and retrieve behavior.
tests/v1/multiprocess/test_engine_driven_transfer.py:1057
Functiontest_server_unregister_engine_driven_context_releases_pending_shm_locks
Ensure unregister releases pending SHM read/write reservations.
tests/v1/multiprocess/test_engine_driven_transfer.py:1224
Methodtest_session_end_closes_root_immediately_when_no_gpu_ops
( self, bus, registry, subscriber )
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:81
Methodtest_session_end_closes_root_immediately_when_no_store
( self, bus, registry, subscriber )
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:76
Methodtest_session_end_deferred_until_both_store_and_retrieve_finish
Root span stays open until both a store and a retrieve finish.
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:377
Methodtest_session_end_deferred_until_retrieve_finishes
( self, bus, registry, subscriber )
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:199
Methodtest_session_end_deferred_until_retrieve_finishes
( self, bus, registry, subscriber )
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:317
Methodtest_session_end_deferred_until_store_final_finishes
( self, bus, registry, subscriber )
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:260
Methodtest_session_end_deferred_until_store_finishes
(self, bus, registry, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:121
Methodtest_session_end_deferred_until_store_pre_computed_finishes
( self, bus, registry, subscriber )
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:135
Methodtest_session_history
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:297
Methodtest_session_prompts
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:292
Methodtest_sessions_start_ready
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:302
Methodtest_set
( self, mock_http, cmd, parser, capsys, )
tests/cli/commands/test_quota.py:63
Methodtest_set_alias
(self)
tests/v1/distributed/test_aerospike_l2_adapter_config.py:40
Methodtest_set_and_clear
(self)
tests/v1/mp_observability/trace/test_decorator.py:33
Methodtest_set_and_get
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:79
Methodtest_set_and_get
(self)
tests/v1/distributed/test_quota_manager.py:23
Methodtest_set_and_test
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:22
Methodtest_set_basic_config_override_false_set_when_not_user_set
Test override=False sets value for non-user-set keys (default values).
tests/v1/test_config.py:348
Methodtest_set_basic_config_override_false_skip_user_set_none
Test override=False skips even if user explicitly set value to None.
tests/v1/test_config.py:375
Methodtest_set_basic_config_override_false_skip_when_user_set
Test override=False skips setting value for user-set config keys.
tests/v1/test_config.py:334
Methodtest_set_basic_config_override_false_with_none_default
Test override=False sets value for None default keys when not user-set.
tests/v1/test_config.py:362
Methodtest_set_basic_config_override_true_always_sets
Test that override=True always sets the value regardless of current value.
tests/v1/test_config.py:389
Methodtest_set_basic_config_value
Test setting a basic configuration value.
tests/v1/test_config.py:198
Methodtest_set_extra_config_default_override_is_true
Test that default behavior is override=True.
tests/v1/test_config.py:310
Methodtest_set_extra_config_invalid_json_string
Test setting extra_config with invalid JSON string.
tests/v1/test_config.py:323
Methodtest_set_extra_config_override_false_current_none
Test override=False when current extra_config is None.
tests/v1/test_config.py:275
Methodtest_set_extra_config_override_false_empty_string
Test override=False when new value is empty string.
tests/v1/test_config.py:298
Methodtest_set_extra_config_override_false_merge
Test that override=False merges extra_config dictionaries.
tests/v1/test_config.py:243
Methodtest_set_extra_config_override_false_new_value_none
Test override=False when new value is None, should keep current.
tests/v1/test_config.py:287
Methodtest_set_extra_config_override_false_with_json_string
Test merge with JSON string input when override=False.
tests/v1/test_config.py:262
Methodtest_set_extra_config_override_true
Test that override=True completely replaces extra_config.
tests/v1/test_config.py:227
Methodtest_set_extra_config_with_dict
Test setting extra_config with a dictionary value.
tests/v1/test_config.py:211
Methodtest_set_extra_config_with_json_string
Test setting extra_config with a JSON string value.
tests/v1/test_config.py:219
Methodtest_set_interval_ms
(self)
tests/v1/native_storage_ops/test_periodic_event_notifier.py:168
Methodtest_set_nonexistent_key
Test setting a non-existent configuration key.
tests/v1/test_config.py:205
Methodtest_set_overwrites
(self)
tests/v1/distributed/test_quota_manager.py:29
Functiontest_set_quota
()
tests/v1/mp_coordinator/test_l2_api.py:50
Methodtest_set_quota_for_named_salt
(self, client)
tests/v1/multiprocess/test_http_quota_endpoints.py:62
Methodtest_set_quota_sentinel_maps_to_empty_salt
`_default` in the URL must resolve to the empty-string salt in the registry — un-salted traffic doesn't have its own distinct path par
tests/v1/multiprocess/test_http_quota_endpoints.py:72
Methodtest_set_range_accumulates
(self)
tests/v1/native_storage_ops/test_bitmap.py:93
Methodtest_set_range_matches_per_bit
(self, size, start, end)
tests/v1/native_storage_ops/test_bitmap.py:83
Methodtest_set_range_random_against_per_bit
(self)
tests/v1/native_storage_ops/test_bitmap.py:99
Methodtest_set_tokens_replaces
(self, session: Session)
tests/v1/multiprocess/test_session.py:36
Methodtest_set_used_size_at_physical_size_is_allowed
(self)
tests/v1/test_memory_management.py:1036
Methodtest_set_used_size_keeps_tensor_and_shm_length_consistent
A narrowed buffer must expose ``tensor``, ``shm_byte_length``, ``get_size`` and ``byte_array`` at the same length. The SHM transport
tests/v1/test_memory_management.py:1009
Methodtest_set_used_size_narrows_get_size_and_byte_array
(self)
tests/v1/test_memory_management.py:1002
Methodtest_set_used_size_rejects_out_of_range
(self)
tests/v1/test_memory_management.py:1041
Methodtest_set_used_size_zero_is_allowed
(self)
tests/v1/test_memory_management.py:1030
Methodtest_sets_listed_bits
(self)
tests/v1/native_storage_ops/test_bitmap.py:629
Functiontest_sglang_connector_with_gpu_and_mla
(use_gpu, use_mla)
tests/v1/test_gpu_connector.py:830
Functiontest_sglang_layerwise_uses_kernel_transfers
Ensure layerwise SGLang path dispatches through kernel transfer ops.
tests/v1/test_xpu_sglang_connector.py:589
Functiontest_sglang_layerwise_uses_mla_kernel_transfers
Ensure MLA layerwise path dispatches through single_layer_kv_transfer.
tests/v1/test_xpu_sglang_connector.py:730
Functiontest_sglang_lmcache_get_config_validates_pd_settings
(tmp_path)
tests/v1/test_config.py:769
Functiontest_sglang_mha_depth2_fused
()
tests/v1/gpu_connector/test_kv_format_detection.py:82
Functiontest_sglang_mha_mp_reshape
()
tests/v1/gpu_connector/test_kv_format_detection.py:88
Functiontest_sglang_mla_depth1
()
tests/v1/gpu_connector/test_kv_format_detection.py:76
Functiontest_sglang_xpu_connector_roundtrip
Roundtrip: XPU kvcaches -> CPU memobj -> XPU kvcaches_dst, then compare.
tests/v1/test_xpu_sglang_connector.py:91
Functiontest_sglang_xpu_connector_roundtrip_flat_mha_kvcaches
Non-layerwise SGLang can pass flat MHA kvcaches; ensure roundtrip works.
tests/v1/test_xpu_sglang_connector.py:274
Functiontest_sglang_xpu_connector_roundtrip_layerwise
Layerwise roundtrip using generator protocol.
tests/v1/test_xpu_sglang_connector.py:368
Functiontest_sglang_xpu_connector_roundtrip_layerwise_multi_chunk
Layerwise multi-chunk roundtrip.
tests/v1/test_xpu_sglang_connector.py:476
Functiontest_sglang_xpu_connector_roundtrip_multi_chunk
Multi-chunk roundtrip with non-contiguous token ranges.
tests/v1/test_xpu_sglang_connector.py:179
Methodtest_shadow_map_populated
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_lifecycle.py:130
Functiontest_shape
Standard test shape for tensors.
tests/v1/distributed/test_object_key_parallel.py:65
Methodtest_shape_and_dtype
(self)
tests/v1/platform/test_gpu_cache_context.py:226
Methodtest_shape_compressed_group
For a compressed group, the token dim is divided by compress_ratio.
tests/v1/platform/test_gpu_cache_context.py:373
← previousnext →12,401–12,500 of 13,371, ranked by callers