MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_all_unique
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:126
Methodtest_all_workers_same_chunk_different_keys
Test that same chunk_hash with different worker_ids creates distinct entries in storage and can be stored/retrieved independently.
tests/v1/distributed/test_object_key_parallel.py:577
Methodtest_alloc_one_returns_single_element
(self)
tests/v1/test_device_id_race.py:72
Functiontest_alloc_pinned_ptr_is_page_aligned
(size: int)
tests/v1/test_python_ops_fallback.py:2848
Methodtest_alloc_zero_returns_empty
(self)
tests/v1/test_device_id_race.py:65
Methodtest_allocate
Test allocate().
tests/v1/storage_backend/test_local_cpu_backend.py:388
Methodtest_allocate_and_free
Allocate one huge page worth of memory and free it.
tests/v1/test_memory_management.py:927
Methodtest_allocate_basic
Test basic allocation returns a valid MemoryObj.
tests/v1/test_memory_management.py:588
Methodtest_allocate_busy_loop_false_single_attempt
allocate with busy_loop=False makes exactly one attempt.
tests/v1/storage_backend/test_gds_backend.py:558
Methodtest_allocate_free_cycle
Test a complete allocate-free cycle.
tests/v1/distributed/test_l1_memory_manager.py:439
Methodtest_allocate_is_thread_safe
Test that allocate is thread-safe with concurrent allocations.
tests/v1/distributed/test_l1_memory_manager.py:212
Methodtest_allocate_multiple_pages
Allocate several huge pages and verify the buffer is usable.
tests/v1/test_memory_management.py:942
Methodtest_allocate_multiple_shapes_and_dtypes
Test allocation with multiple shapes and dtypes.
tests/v1/test_memory_management.py:626
Methodtest_allocate_retry_then_succeed
allocate retries on None and returns the obj once the allocator succeeds.
tests/v1/storage_backend/test_gds_backend.py:541
Methodtest_allocate_returns_correct_count
Test that allocate returns the requested number of memory objects.
tests/v1/distributed/test_l1_memory_manager.py:157
Methodtest_allocate_returns_empty_list_on_failure
Test that the memory object list is empty when allocation fails.
tests/v1/distributed/test_l1_memory_manager.py:198
Methodtest_allocate_returns_memory_obj
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:258
Methodtest_allocate_returns_none_when_out_of_memory
Test that allocation returns None when memory is exhausted.
tests/v1/test_memory_management.py:643
Methodtest_allocate_returns_out_of_memory_when_exhausted
Test that allocate returns OUT_OF_MEMORY and empty list when memory is exhausted.
tests/v1/distributed/test_l1_memory_manager.py:180
Methodtest_allocate_returns_success_and_memory_objs
Test that allocate returns SUCCESS and valid memory objects.
tests/v1/distributed/test_l1_memory_manager.py:142
Methodtest_allocate_routes_through_local_cpu_backend
(self, monkeypatch)
tests/v1/storage_backend/test_nixl_shared_pool.py:551
Methodtest_allocate_various_dtypes
Test allocation with various data types.
tests/v1/test_memory_management.py:855
Methodtest_allocate_with_format
Test allocation with explicit memory format.
tests/v1/test_memory_management.py:607
Methodtest_allocate_with_format
Test allocate() with specific format.
tests/v1/storage_backend/test_local_cpu_backend.py:402
Methodtest_allocate_with_layerwise_config
Test allocate() with layerwise configuration.
tests/v1/storage_backend/test_local_cpu_backend.py:415
Methodtest_allocate_with_multi_tensor_layout
Test allocation with multiple tensor shapes in the layout.
tests/v1/distributed/test_l1_memory_manager.py:169
Methodtest_allocate_with_non_lazy_config
Test allocation with non-lazy (MixedMemoryAllocator) configuration.
tests/v1/distributed/test_l1_memory_manager.py:250
Methodtest_allocation_and_free_interleaved
Test interleaved allocation and free operations.
tests/v1/test_memory_management.py:884
Methodtest_allocation_exact_size
Test allocation with exact aligned size.
tests/v1/test_address_manager.py:106
Methodtest_allocation_failure_out_of_memory
Test that allocation fails when out of memory.
tests/v1/test_address_manager.py:115
Methodtest_allocation_failure_too_large
Test allocation failure when requested size is too large.
tests/v1/test_address_manager.py:132
Methodtest_allocator_no_shm_name_without_extra_config
Verify that shm_name is None when extra_config does not contain shm_name.
tests/v1/shm_allocator/test_shm_allocator.py:307
Methodtest_allocator_receives_shm_name_from_config
Verify that initialize_allocator passes shm_name when extra_config contains shm_name.
tests/v1/shm_allocator/test_shm_allocator.py:293
Methodtest_allowed_for_workloads_with_the_parameter
(self, workload: str)
tests/cli/commands/bench/engine_bench/workloads/test_create_workload.py:85
Methodtest_already_read_locked
Test that key with both write+read locks returns KEY_IN_WRONG_STATE. This is an unexpected state — normally a key shouldn't be both w
tests/v1/distributed/test_l1_manager.py:1109
Methodtest_alternating_start_end
Test alternating start and end patterns.
tests/v1/native_storage_ops/test_pattern_matcher.py:692
Methodtest_and_different_sizes_other_longer
(self)
tests/v1/native_storage_ops/test_bitmap.py:255
Methodtest_and_different_sizes_result_truncated
(self)
tests/v1/native_storage_ops/test_bitmap.py:242
Methodtest_and_same_size_all_overlap
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:217
Methodtest_and_same_size_intersection
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:230
Methodtest_appends_v1
(self)
tests/cli/commands/bench/engine_bench/test_request_sender.py:135
Functiontest_apply_mm_hashes_to_token_ids_handles_non_hex_mm_hash
()
lmcache/integration/vllm/tests/test_mm_hash_utils.py:75
Functiontest_apply_mm_hashes_to_token_ids_multiple_placeholders_and_length_mismatch
()
lmcache/integration/vllm/tests/test_mm_hash_utils.py:94
Functiontest_apply_mm_hashes_to_token_ids_out_of_bounds_is_safe
()
lmcache/integration/vllm/tests/test_mm_hash_utils.py:85
Methodtest_apply_remote_configs_default_override_is_true
Test that default override behavior is True when not specified.
tests/v1/test_config.py:490
Methodtest_apply_remote_configs_empty_configs
Test applying empty configs list.
tests/v1/test_config.py:525
Methodtest_apply_remote_configs_extra_config_override_false_current_none
Test override=False when current extra_config is None.
tests/v1/test_config.py:477
Methodtest_apply_remote_configs_extra_config_override_false_merge
Test override=False merges extra_config dictionaries.
tests/v1/test_config.py:455
Methodtest_apply_remote_configs_extra_config_override_true
Test override=True completely replaces extra_config.
tests/v1/test_config.py:440
Methodtest_apply_remote_configs_invalid_config_item
Test that invalid config items are skipped.
tests/v1/test_config.py:534
Methodtest_apply_remote_configs_multiple_items_mixed_override
Test applying multiple config items with different override settings.
tests/v1/test_config.py:504
Methodtest_apply_remote_configs_nonexistent_key
Test applying config with non-existent key.
tests/v1/test_config.py:547
Methodtest_apply_remote_configs_override_false_basic_set_when_default
Test override=False for basic config - set value if using default.
tests/v1/test_config.py:427
Methodtest_apply_remote_configs_override_false_basic_skip
Test override=False for basic config - skip if user-set.
tests/v1/test_config.py:414
Methodtest_apply_remote_configs_override_true
Test that override=True completely replaces the config value.
tests/v1/test_config.py:403
Methodtest_approximate_length
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:149
Methodtest_approximate_length
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:171
Functiontest_arbitrary_config_keys_round_trip
(configs, expected_key)
tests/v1/multiprocess/http_apis/test_conf_api.py:113
Methodtest_args_dict
(self)
tests/v1/mp_observability/trace/test_codecs.py:139
Methodtest_asdict_shape_is_stable
(self)
tests/v1/distributed/test_encoded_object_key.py:68
Functiontest_async_lookup_and_prefetch_layerwise
(autorelease_v1)
tests/v1/test_cache_engine.py:986
Functiontest_async_lookup_and_prefetch_layerwise_partial_layer_missing
(autorelease_v1)
tests/v1/test_cache_engine.py:1060
Functiontest_async_response_decoded_as_sync
()
tests/v1/storage_backend/test_pd_backend_async.py:880
Methodtest_async_save_bytes_metadata_write_failure
Test that metadata write failures during task execution trigger cache cleanup.
tests/v1/storage_backend/test_gds_backend.py:368
Methodtest_async_save_bytes_to_disk_write_error_handling
Test error handling when GDS write operation fails.
tests/v1/storage_backend/test_gds_backend.py:341
Methodtest_at_least_one_when_ratio_positive
Matches ``LRUEvictionPolicy`` — a positive ratio that rounds to zero still yields one eviction so the caller makes forward progress.
tests/v1/distributed/test_isolated_lru_eviction_policy.py:103
Functiontest_atexit_registration
Test that cleanup handler is registered at initialization.
tests/v1/plugin/test_runtime_plugin_launcher.py:356
Functiontest_attempt_permute_preserves_bare_tensor
A bare torch.Tensor input (cross-layer shape) must pass through attempt_permute_to_contiguous_view unchanged — no list wrapping — so the Disco
tests/v1/gpu_connector/test_utils_shape_desc.py:183
Functiontest_attempt_permute_recurses_all_shapes
attempt_permute_to_contiguous_view must descend into every DiscoverableKVCache shape and permute non-contiguous tensor leaves.
tests/v1/gpu_connector/test_utils_shape_desc.py:193
Methodtest_auto_exit_configuration
(self)
tests/v1/lookup_client/test_chunk_statistics_lookup_client.py:227
Methodtest_b128_first_8_hex_encode_slot_index
(self)
tests/v1/test_nixl_doca_memos.py:112
Methodtest_b128_keys_are_128bit_hex
(self)
tests/v1/test_nixl_doca_memos.py:103
Methodtest_b128_keys_are_unique
(self)
tests/v1/test_nixl_doca_memos.py:108
Methodtest_b128_max_pool_size_is_2_32
(self)
tests/v1/test_nixl_doca_memos.py:128
Methodtest_b128_rejects_pool_size_above_max
(self)
tests/v1/test_nixl_doca_memos.py:124
Methodtest_bad_byte_length_raises
(self)
tests/v1/mp_coordinator/test_blend_directory.py:254
Methodtest_bad_callback_doesnt_block_good
(self, bus)
tests/v1/mp_observability/test_event_bus.py:270
Methodtest_bad_chunk_size
(self)
tests/v1/mp_coordinator/test_blend_directory.py:127
Methodtest_bad_magic_rejected
(self, trace_path)
tests/v1/mp_observability/trace/test_recorder.py:206
Methodtest_bad_probe_stride
(self)
tests/v1/mp_coordinator/test_blend_directory.py:131
Functiontest_banner_contains_version_links_and_opt_out_hint
()
tests/test_banner.py:35
Functiontest_banner_disabled_by_env_var
(monkeypatch, value)
tests/test_banner.py:70
Functiontest_banner_is_colored_on_tty_stream
()
tests/test_banner.py:52
Functiontest_banner_is_plain_on_non_tty_stream
()
tests/test_banner.py:46
Functiontest_banner_not_disabled_by_falsy_env_var
(monkeypatch)
tests/test_banner.py:77
Functiontest_banner_prints_at_most_once_per_process
()
tests/test_banner.py:60
Methodtest_bare_cuda_no_gpu_selects_first
Bare 'cuda' with no GPU falls back to device 0.
tests/v1/storage_backend/test_path_sharder.py:147
Methodtest_bare_cuda_uses_current_device
Bare 'cuda' resolves to torch_dev.current_device().
tests/v1/storage_backend/test_path_sharder.py:132
Methodtest_base_class_itself_is_skipped
(self, temp_pkg: Tuple[str, Path])
tests/v1/test_subclass_discovery.py:132
Methodtest_basic
(self)
tests/cli/commands/bench/test_server_bench.py:176
Methodtest_basic
(self)
tests/v1/distributed/test_bitmap_ops.py:322
Methodtest_basic_acquire_release
Test basic lock acquisition and release.
tests/v1/cache_controller/test_locks.py:263
Methodtest_basic_batching
Test basic message batching functionality.
tests/v1/storage_backend/test_batched_message_sender.py:79
Functiontest_basic_batching_with_skip
Skipped items are dropped and reported indices stay in original space.
tests/v1/multiprocess/test_batched_iteration_with_skip.py:13
Methodtest_basic_calculation
(self, mock_fetch)
tests/cli/commands/bench/engine_bench/test_config.py:261
Methodtest_basic_insert_and_contains
(self)
tests/tools/test_cache_simulator.py:26
Methodtest_basic_insert_and_contains
(self)
tests/tools/test_cache_simulator.py:78
Methodtest_basic_key
(self)
tests/cli/commands/bench/test_server_bench.py:200
Methodtest_basic_lookup_communication
Test basic lookup communication between client and server.
tests/v1/lookup_client/test_lmcache_lookup_client.py:115
Methodtest_basic_parsing
(self, base_namespace)
tests/cli/commands/bench/engine_bench/test_config.py:136
← previousnext →9,001–9,100 of 13,371, ranked by callers