Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/LMCache/LMCache
/ functions
Functions
13,371 in github.com/LMCache/LMCache
⨍
Functions
13,371
◇
Types & classes
2,044
↳
Endpoints
181
Method
test_shape_description_strings
(self)
tests/v1/test_trtllm_integration.py:274
Method
test_shape_scales_with_num_tokens
(self)
tests/v1/platform/test_gpu_cache_context.py:362
Function
test_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
Function
test_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
Function
test_shared_loop_recreate
Test that closing all clients and creating new ones starts a fresh loop.
tests/v1/multiprocess/test_mq.py:686
Method
test_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
Function
test_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
Function
test_shm_create_unlink_roundtrip
``shm_create_readwrite`` succeeds and ``shm_unlink`` cleans up.
tests/v1/platform/test_cpu_shm.py:25
Method
test_should_not_skip_when_connection_is_none
(self, mock_backend)
tests/v1/test_health_monitor.py:240
Method
test_should_request_full_sync
Test sync request logic.
tests/v1/cache_controller/test_full_sync.py:42
Function
test_should_skip_plugin
Test plugin skipping logic.
tests/v1/plugin/test_runtime_plugin_launcher.py:326
Method
test_shuffle_policy_tile
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:68
Method
test_shutdown_before_create
(self)
tests/v1/native_storage_ops/test_periodic_event_notifier.py:93
Method
test_shutdown_clears_instance
(self)
tests/v1/native_storage_ops/test_periodic_event_notifier.py:78
Method
test_shutdown_closes_all_components
Test stop_services() closes all components.
tests/v1/test_manager.py:263
Method
test_shutdown_exception_isolated
(self, bus)
tests/v1/mp_observability/test_event_bus.py:284
Method
test_shutdown_handles_component_errors
Test stop_services() handles errors from components gracefully.
tests/v1/test_manager.py:309
Method
test_shutdown_handles_none_components
Test stop_services() handles None components gracefully.
tests/v1/test_manager.py:295
Method
test_shutdown_is_idempotent
( self, config: LookupHashLogConfig, bus: EventBus, )
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:166
Function
test_shutdown_no_wait
()
tests/v1/multiprocess/test_affinity_pool.py:130
Function
test_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
Function
test_shutdown_wait
()
tests/v1/multiprocess/test_affinity_pool.py:117
Function
test_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
Method
test_simple_free
Test simple allocation and free.
tests/v1/test_address_manager.py:419
Method
test_simple_health_check_variants
( self, healthy, skip, expected_check, expected_skip )
tests/v1/test_health_monitor.py:122
Method
test_simple_method_forwarded_with_kwargs
(self)
tests/cli/commands/trace/test_dispatch.py:110
Method
test_simple_numbers
(self)
tests/test_utils.py:136
Method
test_single_adapter_all_keys
All keys should be sent to the single adapter.
tests/v1/distributed/test_store_policy.py:46
Method
test_single_adapter_all_keys_found
All found keys assigned to the single adapter.
tests/v1/distributed/test_prefetch_policy.py:64
Method
test_single_adapter_partial_hits
Only found keys are in the plan.
tests/v1/distributed/test_prefetch_policy.py:75
Method
test_single_adapter_round_trip
(self)
tests/v1/distributed/test_storage_manager_l2_keys.py:76
Method
test_single_alloc_returns_sequential_range
(self)
tests/v1/test_device_id_race.py:51
Method
test_single_allocation
Test a single allocation.
tests/v1/test_address_manager.py:64
Method
test_single_and_last_bit
(self)
tests/v1/distributed/test_bitmap_ops.py:332
Method
test_single_batch
Test batched_allocate with batch_size=1 behaves like allocate.
tests/v1/test_address_manager.py:146
Method
test_single_bit_size_one
(self)
tests/v1/native_storage_ops/test_bitmap.py:55
Method
test_single_block_single_chunk
Single block with chunk_size=1 block produces one chunk.
tests/v1/multiprocess/test_http_server.py:197
Method
test_single_chunk_full_skip
(self)
tests/v1/multiprocess/test_skip_first_n_tokens.py:165
Method
test_single_chunk_no_skip
(self)
tests/v1/multiprocess/test_skip_first_n_tokens.py:173
Method
test_single_chunk_partial_skip
(self)
tests/v1/multiprocess/test_skip_first_n_tokens.py:181
Method
test_single_completion_payload_is_bytes
(self, stream)
tests/v1/multiprocess/test_completion_recorder.py:69
Method
test_single_context_single_permutation
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:213
Method
test_single_element
(self)
tests/test_utils.py:68
Method
test_single_element
(self)
tests/test_utils.py:99
Method
test_single_element
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:75
Method
test_single_element_pattern
Test with a single-element pattern.
tests/v1/native_storage_ops/test_pattern_matcher.py:99
Method
test_single_element_patterns
Test with single-element patterns.
tests/v1/native_storage_ops/test_pattern_matcher.py:496
Method
test_single_event
(self, stream)
tests/v1/mp_observability/test_event_recorder.py:59
Method
test_single_failure
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:144
Method
test_single_file_uri
(self)
tests/v1/storage_backend/test_local_disk_backend.py:358
Method
test_single_file_uri_no_trailing_slash
(self)
tests/v1/storage_backend/test_local_disk_backend.py:361
Function
test_single_full_group_equals_leading_ones
(present, expected_hit)
tests/v1/distributed/test_bitmap_ops.py:78
Method
test_single_group
Test parsing a single group spec.
tests/v1/test_kv_layer_groups_manager.py:199
Method
test_single_group
(self)
tests/v1/test_kv_layer_groups_manager.py:270
Method
test_single_hit
(self)
tests/v1/multiprocess/test_token_hasher.py:317
Method
test_single_int
(self)
tests/test_utils.py:119
Method
test_single_key
Single key returns single False.
tests/v1/distributed/test_prefetch_policy.py:240
Method
test_single_key
Single key returns single True.
tests/v1/distributed/test_prefetch_policy.py:277
Method
test_single_key_missing_remote
(self)
tests/v1/test_nixl_batched_contains.py:338
Method
test_single_key_present
(self)
tests/v1/test_nixl_batched_contains.py:333
Method
test_single_large_allocation
Test allocating entire space at once.
tests/v1/test_address_manager.py:1087
Function
test_single_layer_kernel
(num_tokens, token_major, engine_kv_format)
tests/v1/test_mem_kernels.py:496
Function
test_single_layer_kernel_hnd
Round-trip test for HND single-layer kernel: D2H then H2D per layer.
tests/v1/test_mem_kernels.py:663
Method
test_single_match
Test when pattern appears once.
tests/v1/native_storage_ops/test_pattern_matcher.py:48
Method
test_single_object_group_covers_all_kernel_groups
(self)
tests/v1/test_kv_layer_groups_manager.py:386
Method
test_single_page_records_all_entries
(self)
tests/v1/mp_coordinator/test_resync_manager.py:67
Method
test_single_path
(self)
tests/v1/storage_backend/test_path_sharder.py:20
Method
test_single_path_backward_compat
A single gds_path (no commas) behaves like before.
tests/v1/storage_backend/test_gds_backend.py:765
Method
test_single_path_backward_compat
A single path (no commas) works exactly as before.
tests/v1/storage_backend/test_local_disk_backend.py:273
Method
test_single_range
(self)
tests/test_utils.py:122
Method
test_single_range
Test when there's a single range in the data.
tests/v1/native_storage_ops/test_pattern_matcher.py:407
Method
test_single_raw_path
(self)
tests/v1/storage_backend/test_local_disk_backend.py:355
Method
test_single_retrieve_adds_retrieved_count
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_engine.py:111
Method
test_single_shared_suffix
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:275
Method
test_single_success
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:132
Method
test_single_tier_partial_retrieval
Test with single tier that only got partial chunks.
tests/v1/storage_backend/test_storage_manager.py:299
Function
test_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
Function
test_single_to_multi_serializer_rejects_non_unit_group
()
tests/v1/distributed/serde/test_multi.py:428
Function
test_single_to_multi_serializer_rejects_none_slot
()
tests/v1/distributed/serde/test_multi.py:437
Function
test_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
Method
test_single_window
(self)
tests/v1/multiprocess/test_token_hasher.py:147
Method
test_singleton_identity
(self)
tests/v1/gpu_connector/test_gds_context.py:55
Function
test_singleton_pattern
Test thread-safe singleton pattern
tests/v1/cache_controller/test_config.py:104
Method
test_size_based_rotation
(self, log_dir: Path, bus: EventBus)
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:182
Method
test_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
Method
test_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
Method
test_skip_all_chunks
skip >= total tokens → everything skipped, nothing written.
tests/v1/multiprocess/test_skip_first_n_tokens.py:88
Function
test_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
Function
test_skip_equal_to_length_yields_nothing
Skipping the entire list yields no batches.
tests/v1/multiprocess/test_batched_iteration_with_skip.py:64
Method
test_skip_exactly_one_chunk
skip == chunk_size → chunk 0 skipped, chunk 1+ written.
tests/v1/multiprocess/test_skip_first_n_tokens.py:65
Method
test_skip_half_chunk
skip == chunk_size / 2 → chunk 0 written with half skip.
tests/v1/multiprocess/test_skip_first_n_tokens.py:110
Method
test_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
Method
test_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
Method
test_skip_into_second_chunk
skip lands in the middle of chunk 1.
tests/v1/multiprocess/test_skip_first_n_tokens.py:145
Function
test_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
Method
test_skip_last_token_of_chunk
skip == chunk_size - 1 → chunk 0 almost entirely skipped.
tests/v1/multiprocess/test_skip_first_n_tokens.py:134
Method
test_skip_more_than_all_tokens
skip far exceeds total tokens → still nothing written.
tests/v1/multiprocess/test_skip_first_n_tokens.py:97
Method
test_skip_multiple_chunks
skip == 2 * chunk_size → chunks 0 and 1 skipped.
tests/v1/multiprocess/test_skip_first_n_tokens.py:76
Method
test_skip_one_token
skip == 1 → chunk 0 written with skip_in_chunk=1.
tests/v1/multiprocess/test_skip_first_n_tokens.py:125
Method
test_skips_abstract_by_default
(self, temp_pkg: Tuple[str, Path])
tests/v1/test_subclass_discovery.py:150
← previous
next →
12,501–12,600 of 13,371, ranked by callers