MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_shape_description_strings
(self)
tests/v1/test_trtllm_integration.py:274
Methodtest_shape_scales_with_num_tokens
(self)
tests/v1/platform/test_gpu_cache_context.py:362
Functiontest_shared_loop_dispatch
Test that the shared polling loop correctly dispatches responses to multiple clients connected to the same server. Server and clients ru
tests/v1/multiprocess/test_mq.py:641
Functiontest_shared_loop_lifecycle
Test that multiple clients share a single ClientPollingLoop and that the loop is torn down when all clients close.
tests/v1/multiprocess/test_mq.py:608
Functiontest_shared_loop_recreate
Test that closing all clients and creating new ones starts a fresh loop.
tests/v1/multiprocess/test_mq.py:686
Methodtest_shifted_at_block_boundary
Stored chunk appears at block-aligned but not chunk-aligned cur_st.
tests/v1/multiprocess/test_optimized_lookup_v3.py:722
Functiontest_shm_create_cleans_up_on_existing_name
If ``shm_open(O_EXCL)`` fails the helper must not leave the fd open. We exercise the failure path by creating a segment, then asking ``shm_cr
tests/v1/platform/test_cpu_shm.py:108
Functiontest_shm_create_unlink_roundtrip
``shm_create_readwrite`` succeeds and ``shm_unlink`` cleans up.
tests/v1/platform/test_cpu_shm.py:25
Methodtest_should_not_skip_when_connection_is_none
(self, mock_backend)
tests/v1/test_health_monitor.py:240
Methodtest_should_request_full_sync
Test sync request logic.
tests/v1/cache_controller/test_full_sync.py:42
Functiontest_should_skip_plugin
Test plugin skipping logic.
tests/v1/plugin/test_runtime_plugin_launcher.py:326
Methodtest_shuffle_policy_tile
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:68
Methodtest_shutdown_before_create
(self)
tests/v1/native_storage_ops/test_periodic_event_notifier.py:93
Methodtest_shutdown_clears_instance
(self)
tests/v1/native_storage_ops/test_periodic_event_notifier.py:78
Methodtest_shutdown_closes_all_components
Test stop_services() closes all components.
tests/v1/test_manager.py:263
Methodtest_shutdown_exception_isolated
(self, bus)
tests/v1/mp_observability/test_event_bus.py:284
Methodtest_shutdown_handles_component_errors
Test stop_services() handles errors from components gracefully.
tests/v1/test_manager.py:309
Methodtest_shutdown_handles_none_components
Test stop_services() handles None components gracefully.
tests/v1/test_manager.py:295
Methodtest_shutdown_is_idempotent
( self, config: LookupHashLogConfig, bus: EventBus, )
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:166
Functiontest_shutdown_no_wait
()
tests/v1/multiprocess/test_affinity_pool.py:130
Functiontest_shutdown_stops_heartbeat_before_unregister
shutdown() stops the heartbeat before sending UNREGISTER, so no stray heartbeat ping can race the closing mq_client.
tests/v1/test_vllm_mp_adapter.py:519
Functiontest_shutdown_wait
()
tests/v1/multiprocess/test_affinity_pool.py:117
Functiontest_shutdown_without_heartbeat_sends_unregister
shutdown() on an adapter whose heartbeat was never lazily started (cold shutdown before any traffic) still sends UNREGISTER and does not raise
tests/v1/test_vllm_mp_adapter.py:544
Methodtest_simple_free
Test simple allocation and free.
tests/v1/test_address_manager.py:419
Methodtest_simple_health_check_variants
( self, healthy, skip, expected_check, expected_skip )
tests/v1/test_health_monitor.py:122
Methodtest_simple_method_forwarded_with_kwargs
(self)
tests/cli/commands/trace/test_dispatch.py:110
Methodtest_simple_numbers
(self)
tests/test_utils.py:136
Methodtest_single_adapter_all_keys
All keys should be sent to the single adapter.
tests/v1/distributed/test_store_policy.py:46
Methodtest_single_adapter_all_keys_found
All found keys assigned to the single adapter.
tests/v1/distributed/test_prefetch_policy.py:64
Methodtest_single_adapter_partial_hits
Only found keys are in the plan.
tests/v1/distributed/test_prefetch_policy.py:75
Methodtest_single_adapter_round_trip
(self)
tests/v1/distributed/test_storage_manager_l2_keys.py:76
Methodtest_single_alloc_returns_sequential_range
(self)
tests/v1/test_device_id_race.py:51
Methodtest_single_allocation
Test a single allocation.
tests/v1/test_address_manager.py:64
Methodtest_single_and_last_bit
(self)
tests/v1/distributed/test_bitmap_ops.py:332
Methodtest_single_batch
Test batched_allocate with batch_size=1 behaves like allocate.
tests/v1/test_address_manager.py:146
Methodtest_single_bit_size_one
(self)
tests/v1/native_storage_ops/test_bitmap.py:55
Methodtest_single_block_single_chunk
Single block with chunk_size=1 block produces one chunk.
tests/v1/multiprocess/test_http_server.py:197
Methodtest_single_chunk_full_skip
(self)
tests/v1/multiprocess/test_skip_first_n_tokens.py:165
Methodtest_single_chunk_no_skip
(self)
tests/v1/multiprocess/test_skip_first_n_tokens.py:173
Methodtest_single_chunk_partial_skip
(self)
tests/v1/multiprocess/test_skip_first_n_tokens.py:181
Methodtest_single_completion_payload_is_bytes
(self, stream)
tests/v1/multiprocess/test_completion_recorder.py:69
Methodtest_single_context_single_permutation
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:213
Methodtest_single_element
(self)
tests/test_utils.py:68
Methodtest_single_element
(self)
tests/test_utils.py:99
Methodtest_single_element
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:75
Methodtest_single_element_pattern
Test with a single-element pattern.
tests/v1/native_storage_ops/test_pattern_matcher.py:99
Methodtest_single_element_patterns
Test with single-element patterns.
tests/v1/native_storage_ops/test_pattern_matcher.py:496
Methodtest_single_event
(self, stream)
tests/v1/mp_observability/test_event_recorder.py:59
Methodtest_single_failure
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:144
Methodtest_single_file_uri
(self)
tests/v1/storage_backend/test_local_disk_backend.py:358
Methodtest_single_file_uri_no_trailing_slash
(self)
tests/v1/storage_backend/test_local_disk_backend.py:361
Functiontest_single_full_group_equals_leading_ones
(present, expected_hit)
tests/v1/distributed/test_bitmap_ops.py:78
Methodtest_single_group
Test parsing a single group spec.
tests/v1/test_kv_layer_groups_manager.py:199
Methodtest_single_group
(self)
tests/v1/test_kv_layer_groups_manager.py:270
Methodtest_single_hit
(self)
tests/v1/multiprocess/test_token_hasher.py:317
Methodtest_single_int
(self)
tests/test_utils.py:119
Methodtest_single_key
Single key returns single False.
tests/v1/distributed/test_prefetch_policy.py:240
Methodtest_single_key
Single key returns single True.
tests/v1/distributed/test_prefetch_policy.py:277
Methodtest_single_key_missing_remote
(self)
tests/v1/test_nixl_batched_contains.py:338
Methodtest_single_key_present
(self)
tests/v1/test_nixl_batched_contains.py:333
Methodtest_single_large_allocation
Test allocating entire space at once.
tests/v1/test_address_manager.py:1087
Functiontest_single_layer_kernel
(num_tokens, token_major, engine_kv_format)
tests/v1/test_mem_kernels.py:496
Functiontest_single_layer_kernel_hnd
Round-trip test for HND single-layer kernel: D2H then H2D per layer.
tests/v1/test_mem_kernels.py:663
Methodtest_single_match
Test when pattern appears once.
tests/v1/native_storage_ops/test_pattern_matcher.py:48
Methodtest_single_object_group_covers_all_kernel_groups
(self)
tests/v1/test_kv_layer_groups_manager.py:386
Methodtest_single_page_records_all_entries
(self)
tests/v1/mp_coordinator/test_resync_manager.py:67
Methodtest_single_path
(self)
tests/v1/storage_backend/test_path_sharder.py:20
Methodtest_single_path_backward_compat
A single gds_path (no commas) behaves like before.
tests/v1/storage_backend/test_gds_backend.py:765
Methodtest_single_path_backward_compat
A single path (no commas) works exactly as before.
tests/v1/storage_backend/test_local_disk_backend.py:273
Methodtest_single_range
(self)
tests/test_utils.py:122
Methodtest_single_range
Test when there's a single range in the data.
tests/v1/native_storage_ops/test_pattern_matcher.py:407
Methodtest_single_raw_path
(self)
tests/v1/storage_backend/test_local_disk_backend.py:355
Methodtest_single_retrieve_adds_retrieved_count
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_engine.py:111
Methodtest_single_shared_suffix
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:275
Methodtest_single_success
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:132
Methodtest_single_tier_partial_retrieval
Test with single tier that only got partial chunks.
tests/v1/storage_backend/test_storage_manager.py:299
Functiontest_single_to_multi_deserializer_treats_none_slot_as_skip
A length-1 group with None dst is a deliberate no-op, not an error.
tests/v1/distributed/serde/test_multi.py:444
Functiontest_single_to_multi_serializer_rejects_non_unit_group
()
tests/v1/distributed/serde/test_multi.py:428
Functiontest_single_to_multi_serializer_rejects_none_slot
()
tests/v1/distributed/serde/test_multi.py:437
Functiontest_single_to_multi_serializer_round_trip_equivalence
A length-1 group MUST produce the same bytes as direct invocation.
tests/v1/distributed/serde/test_multi.py:398
Methodtest_single_window
(self)
tests/v1/multiprocess/test_token_hasher.py:147
Methodtest_singleton_identity
(self)
tests/v1/gpu_connector/test_gds_context.py:55
Functiontest_singleton_pattern
Test thread-safe singleton pattern
tests/v1/cache_controller/test_config.py:104
Methodtest_size_based_rotation
(self, log_dir: Path, bus: EventBus)
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:182
Methodtest_size_covers_all_kernel_groups
The single object group's flat buffer spans every kernel group's bytes for one chunk.
tests/v1/platform/test_gpu_cache_context.py:292
Methodtest_size_list_length_mismatch_raises
``zip(strict=True)`` catches caller bugs where keys/sizes drift out of sync — that would silently corrupt accounting otherwise.
tests/v1/distributed/test_l2_adapter_base.py:186
Methodtest_skip_all_chunks
skip >= total tokens → everything skipped, nothing written.
tests/v1/multiprocess/test_skip_first_n_tokens.py:88
Functiontest_skip_count_zero_matches_plain_batching
With skip_count=0 every item is yielded, indexed from 0.
tests/v1/multiprocess/test_batched_iteration_with_skip.py:25
Functiontest_skip_equal_to_length_yields_nothing
Skipping the entire list yields no batches.
tests/v1/multiprocess/test_batched_iteration_with_skip.py:64
Methodtest_skip_exactly_one_chunk
skip == chunk_size → chunk 0 skipped, chunk 1+ written.
tests/v1/multiprocess/test_skip_first_n_tokens.py:65
Methodtest_skip_half_chunk
skip == chunk_size / 2 → chunk 0 written with half skip.
tests/v1/multiprocess/test_skip_first_n_tokens.py:110
Methodtest_skip_in_chunk_never_exceeds_chunk_size_minus_one
skip_in_chunk must always be <= chunk_size - 1.
tests/v1/multiprocess/test_skip_first_n_tokens.py:200
Methodtest_skip_in_chunk_never_negative
skip_in_chunk must always be >= 0 regardless of inputs.
tests/v1/multiprocess/test_skip_first_n_tokens.py:189
Methodtest_skip_into_second_chunk
skip lands in the middle of chunk 1.
tests/v1/multiprocess/test_skip_first_n_tokens.py:145
Functiontest_skip_larger_than_length_yields_nothing
Skipping past the end of the list yields no batches and does not raise.
tests/v1/multiprocess/test_batched_iteration_with_skip.py:71
Methodtest_skip_last_token_of_chunk
skip == chunk_size - 1 → chunk 0 almost entirely skipped.
tests/v1/multiprocess/test_skip_first_n_tokens.py:134
Methodtest_skip_more_than_all_tokens
skip far exceeds total tokens → still nothing written.
tests/v1/multiprocess/test_skip_first_n_tokens.py:97
Methodtest_skip_multiple_chunks
skip == 2 * chunk_size → chunks 0 and 1 skipped.
tests/v1/multiprocess/test_skip_first_n_tokens.py:76
Methodtest_skip_one_token
skip == 1 → chunk 0 written with skip_in_chunk=1.
tests/v1/multiprocess/test_skip_first_n_tokens.py:125
Methodtest_skips_abstract_by_default
(self, temp_pkg: Tuple[str, Path])
tests/v1/test_subclass_discovery.py:150
← previousnext →12,501–12,600 of 13,371, ranked by callers