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_file_persistence
Test that files persist after backend closure. This test verifies that data written to 3FS storage persists after the backend is c
tests/v1/storage_backend/test_hf3fs_connector.py:503
Method
test_file_persistence
Test that files persist after backend closure.
tests/v1/storage_backend/test_fs_connector.py:365
Method
test_fileno_is_nonnegative
fileno() returns a valid fd.
tests/v1/test_event_notifier.py:32
Method
test_fills_kv_cache_volume
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:197
Method
test_fills_workload_defaults
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:202
Method
test_final_stats_after_reset
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:379
Method
test_final_stats_no_successful
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:214
Method
test_find_kv_concurrent_with_admit
Test find_kv while concurrent admit operations are happening.
tests/v1/cache_controller/test_registry_tree.py:451
Method
test_finds_block_aligned_shifted_match
Stored chunk at block-aligned, non-chunk-aligned query pos → found. V3 (stride=1) finds these too; strided (stride=block) must as well.
tests/v1/multiprocess/test_optimized_lookup_v3.py:626
Method
test_finds_concrete_subclasses
(self, temp_pkg: Tuple[str, Path])
tests/v1/test_subclass_discovery.py:99
Method
test_finds_matching_model
(self)
tests/cli/commands/bench/engine_bench/test_config.py:211
Method
test_finds_second_model
(self)
tests/cli/commands/bench/engine_bench/test_config.py:215
Function
test_fingerprint_queue_drains_in_order
Jobs enqueued by store() flow through the worker in submission order.
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:42
Function
test_fingerprint_worker_stops_on_signal
``_fingerprint_stop`` event halts the drainer cleanly.
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:115
Function
test_fingerprint_worker_survives_kernel_exception
A failing matcher call doesn't kill the worker.
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:83
Method
test_fingerprints_registered
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:196
Method
test_fingerprints_registered_logs
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/logging/test_cb_server.py:165
Method
test_fingerprints_registered_no_crash
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:498
Method
test_finish_read_extra_count_deletes_temporary
Temp objects deleted when extra_count releases all.
tests/v1/distributed/test_l1_manager.py:731
Method
test_finish_read_extra_count_partial_release
Partial extra_count release leaves remaining locks.
tests/v1/distributed/test_l1_manager.py:704
Method
test_finish_read_extra_count_temp_survives_partial
Temp object survives partial extra_count release.
tests/v1/distributed/test_l1_manager.py:753
Method
test_finish_read_multiple_reads_count_down
Test that multiple finish_reads count down properly.
tests/v1/distributed/test_l1_manager.py:655
Method
test_finish_read_non_existing_key_returns_key_not_exist
Test that finish_read returns KEY_NOT_EXIST for non-existing keys.
tests/v1/distributed/test_l1_manager.py:563
Method
test_finish_read_non_read_locked_returns_wrong_state
Test that finish_read returns KEY_IN_WRONG_STATE if not read-locked.
tests/v1/distributed/test_l1_manager.py:594
Method
test_finish_read_prefetched_partial_extra_count
Partial extra_count release leaves locks held.
tests/v1/distributed/test_distributed_storage_manager.py:423
Method
test_finish_read_success
Test that finish_read returns SUCCESS after proper read reservation.
tests/v1/distributed/test_l1_manager.py:577
Method
test_finish_read_temporary_object_deleted_when_count_zero
Test that temporary objects are deleted when read count reaches zero.
tests/v1/distributed/test_l1_manager.py:629
Method
test_finish_read_with_extra_count_releases_multiple
finish_read(extra_count=2) releases 3 locks at once.
tests/v1/distributed/test_l1_manager.py:680
Method
test_finish_read_write_locked_returns_wrong_state
Test that finish_read returns KEY_IN_WRONG_STATE if write-locked.
tests/v1/distributed/test_l1_manager.py:612
Method
test_finish_write_and_reserve_read_does_not_enqueue
on_l1_keys_finish_write_and_reserve_read should not enqueue keys.
tests/v1/distributed/test_store_controller.py:222
Method
test_finish_write_non_existing_key_returns_key_not_exist
Test that finish_write returns KEY_NOT_EXIST for non-existing keys.
tests/v1/distributed/test_l1_manager.py:973
Method
test_finish_write_non_write_locked_returns_wrong_state
Test that finish_write returns KEY_IN_WRONG_STATE if not write-locked.
tests/v1/distributed/test_l1_manager.py:1008
Method
test_finish_write_success
Test that finish_write returns SUCCESS after proper write reservation.
tests/v1/distributed/test_l1_manager.py:987
Method
test_first_access_is_cold_no_emission
The very first event for a chunk seeds; no histogram sample.
tests/v1/mp_observability/subscribers/metrics/test_sm_lifecycle.py:150
Method
test_first_key_in_put_tasks
(self)
tests/v1/test_nixl_batched_contains.py:213
Method
test_first_missing
(self)
tests/v1/test_nixl_batched_contains.py:107
Method
test_first_step_dispatches_all
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:168
Method
test_first_step_dispatches_one_and_returns_zero
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:424
Method
test_first_tier_partial_retrieval
Test Case 3: First tier only got partial chunks, all subsequent tiers ignored.
tests/v1/storage_backend/test_storage_manager.py:205
Method
test_first_window_matches_rolling
First chunk hash must equal the first rolling-hash window.
tests/v1/multiprocess/test_token_hasher.py:227
Method
test_flag_absent_is_noop
No-op when the deprecated flag isn't set; local_cpu_use_hugepages keeps whatever value the user set.
tests/v1/test_config.py:1041
Function
test_flag_beats_env
(monkeypatch)
tests/v1/multiprocess/test_config.py:79
Function
test_flags_are_parsed
()
tests/v1/multiprocess/test_config.py:53
Method
test_flags_default_to_none
Unset flags default to None so env/config defaults win.
tests/cli/commands/test_coordinator.py:68
Method
test_flat_dim_mismatch_raises
(self)
tests/v1/test_trtllm_integration.py:159
Method
test_flat_uint8
(self)
tests/v1/platform/test_gpu_cache_context.py:285
Method
test_float16
(self)
tests/tools/test_cache_simulator.py:123
Method
test_float16_layout
fp16: 2 bytes/elem KV -> 1 byte/elem fp8. Same ratio as bf16.
tests/v1/distributed/serde/test_serde_e2e.py:509
Method
test_float32_layout
fp32: 4 bytes/elem KV -> 1 byte/elem fp8. 4x compression. The temp buffer (1.5 * numel bytes) is much smaller than the real KV buffer
tests/v1/distributed/serde/test_serde_e2e.py:517
Method
test_floating_point_dtype
(self, dtype: torch.dtype)
tests/cli/commands/bench/test_server_bench.py:352
Method
test_fold_matches_reference
(self)
tests/v1/distributed/test_bitmap_ops.py:373
Function
test_force_store_wait
(autorelease_v1)
tests/v1/test_cache_engine.py:1388
Function
test_format
Standard test memory format.
tests/v1/distributed/test_object_key_parallel.py:85
Method
test_format
(self)
tests/v1/distributed/test_hfbucket_l2_adapter.py:211
Method
test_format
(self)
tests/v1/distributed/test_s3_l2_adapter.py:406
Method
test_format_object_key_called_for_each_remaining_key
_format_object_key must be called once per key that goes remote.
tests/v1/test_nixl_batched_contains.py:314
Method
test_forwards_cache_salt_scheduler_path
worker_id=None explodes one chunk into one ObjectKey per worker.
tests/v1/distributed/test_fs_l2_adapter_keys.py:139
Method
test_forwards_cache_salt_single_worker
(self)
tests/v1/distributed/test_fs_l2_adapter_keys.py:123
Function
test_fp8_is_registered_by_default
The built-in fp8 serde is available without extra setup.
tests/v1/distributed/serde/test_factory.py:37
Method
test_free_all
Test freeing all allocated memory.
tests/v1/test_address_manager.py:526
Method
test_free_allows_reallocation
Test that freed memory can be reallocated.
tests/v1/distributed/test_l1_memory_manager.py:317
Method
test_free_and_realloc
Test that freed memory can be reallocated.
tests/v1/test_address_manager.py:432
Method
test_free_basic
Test that free invalidates the MemoryObj.
tests/v1/test_memory_management.py:658
Method
test_free_empty_list_returns_success
Test that freeing an empty list returns SUCCESS.
tests/v1/distributed/test_l1_memory_manager.py:307
Method
test_free_idempotent
Test that freeing an already freed object does not crash.
tests/v1/test_memory_management.py:676
Method
test_free_invalidates_memory_objects
Test that free invalidates the memory objects.
tests/v1/distributed/test_l1_memory_manager.py:290
Method
test_free_is_thread_safe
Test that free is thread-safe with concurrent operations.
tests/v1/distributed/test_l1_memory_manager.py:336
Function
test_free_locks_handler_type
FREE_LOOKUP_LOCKS should use BLOCKING handler type.
tests/v1/multiprocess/test_free_locks.py:54
Function
test_free_locks_in_request_type
FREE_LOOKUP_LOCKS should be a member of RequestType.
tests/v1/multiprocess/test_free_locks.py:34
Function
test_free_locks_payload_classes
FREE_LOOKUP_LOCKS payload should be [IPCCacheServerKey, int].
tests/v1/multiprocess/test_free_locks.py:40
Function
test_free_locks_response_class
FREE_LOOKUP_LOCKS should have no response (None).
tests/v1/multiprocess/test_free_locks.py:48
Method
test_free_random_order
Test freeing blocks in random order.
tests/v1/test_address_manager.py:546
Method
test_free_returns_all_space
(self)
tests/v1/distributed/memory_manager/test_gds_l1_memory_manager.py:57
Method
test_free_returns_success
Test that free returns SUCCESS for valid memory objects.
tests/v1/distributed/test_l1_memory_manager.py:277
Method
test_free_size_plus_allocated_equals_total
Test that free_size + allocated_size equals total size.
tests/v1/test_address_manager.py:696
Function
test_freeze_direct_api
Test freeze mode via direct engine API (without HTTP server). This test verifies: 1. Freeze mode can be enabled/disabled via direct API
tests/v1/test_freeze_mode_integration.py:242
Function
test_freeze_with_real_cache_engine
Integration test for freeze mode with real cache engine. This test verifies: 1. Normal mode stores KV cache correctly to local_cpu backe
tests/v1/test_freeze_mode_integration.py:27
Method
test_fresh_context_is_off
(self)
tests/v1/gpu_connector/test_gds_context.py:58
Method
test_from_defaults_no_kwargs_empty_user_set_keys
Test that from_defaults without kwargs has empty _user_set_keys.
tests/v1/test_config.py:564
Method
test_from_defaults_user_set_same_as_default
Test that user-set value same as default is still tracked.
tests/v1/test_config.py:581
Method
test_from_defaults_with_kwargs_tracks_user_set_keys
Test that from_defaults with kwargs tracks user-set keys.
tests/v1/test_config.py:570
Method
test_from_dict
(self)
examples/lmc_external_l2_adapter/tests/test_plugin.py:193
Method
test_from_dict_converts_values_to_str
Non-string values should be converted to strings.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:241
Method
test_from_dict_empty_base_path_raises
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:1004
Method
test_from_dict_forwards_boolean_mooncake_keys_as_strings
Non-LMCache boolean keys should be forwarded as strings.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:196
Method
test_from_dict_forwards_unknown_keys
Unknown keys should be forwarded to mooncake unchanged.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:208
Method
test_from_dict_full
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:788
Method
test_from_dict_full
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:860
Method
test_from_dict_full
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:973
Method
test_from_dict_invalid_adapter_params_raises
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:912
Method
test_from_dict_invalid_num_workers_negative
Negative num_workers should raise ValueError.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:271
Method
test_from_dict_invalid_num_workers_raises
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:1013
Method
test_from_dict_invalid_num_workers_string
Non-integer num_workers should raise ValueError.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:277
Method
test_from_dict_invalid_num_workers_zero
num_workers=0 should raise ValueError.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:265
Method
test_from_dict_invalid_per_op_workers
Invalid per_op_workers values should raise ValueError.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:284
Method
test_from_dict_invalid_read_ahead_size_raises
( self, )
tests/v1/distributed/test_native_connector_l2_adapter.py:1075
Method
test_from_dict_invalid_relative_tmp_dir_raises
( self, )
tests/v1/distributed/test_native_connector_l2_adapter.py:1043
Method
test_from_dict_invalid_tag
(self)
tests/test_utils.py:325
Method
test_from_dict_invalid_use_odirect_raises
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:1060
Method
test_from_dict_minimal
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:769
← previous
next →
10,201–10,300 of 13,371, ranked by callers