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_length_matches_input
Output length always matches input length.
tests/v1/distributed/test_prefetch_policy.py:284
Method
test_levels_1_1_matches_default
(self, temp_pkg: Tuple[str, Path])
tests/v1/test_subclass_discovery.py:414
Method
test_levels_1_2_combines_both_layers
(self, temp_pkg: Tuple[str, Path])
tests/v1/test_subclass_discovery.py:444
Method
test_levels_2_2_only_grandchildren
(self, temp_pkg: Tuple[str, Path])
tests/v1/test_subclass_discovery.py:429
Function
test_lfu
()
tests/v1/test_cache_policy.py:106
Function
test_lfu_with_pin
()
tests/v1/test_cache_policy.py:135
Method
test_list
( self, mock_http, cmd, parser, capsys, )
tests/cli/commands/test_quota.py:108
Method
test_list
Verify list() returns parsed standardized LMCache key metadata formats.
tests/v1/storage_backend/test_bigtable_connector.py:755
Method
test_list
(self)
tests/v1/mp_observability/trace/test_codecs.py:35
Method
test_list_empty_registry
(self, client)
tests/v1/multiprocess/test_http_quota_endpoints.py:235
Method
test_list_exception
(self, client_with_engine, mock_storage_manager)
tests/v1/internal_api_server/test_backend_api.py:108
Method
test_list_input
(self)
tests/test_utils.py:223
Method
test_list_is_complete
(self)
tests/v1/distributed/test_quota_manager.py:81
Method
test_list_keys
list() returns keys for all stored files.
tests/v1/shm_allocator/test_shm_allocator.py:248
Method
test_list_mode
--mode list should print available modes.
tests/v1/test_basic_check.py:197
Method
test_list_no_engine
(self, client_without_engine)
tests/v1/internal_api_server/test_backend_api.py:104
Method
test_list_recursively_sanitized
(self)
tests/v1/test_json_utils.py:44
Method
test_list_reports_usage_for_each_salt
(self, client)
tests/v1/multiprocess/test_http_quota_endpoints.py:241
Method
test_list_returns_snapshot
(self)
tests/v1/distributed/test_quota_manager.py:73
Method
test_list_success
(self, client_with_engine, mock_storage_manager)
tests/v1/internal_api_server/test_backend_api.py:97
Method
test_listener_delete_skips_missing_keys
on_l2_keys_deleted should only include keys that were actually removed.
tests/v1/distributed/test_mock_l2_adapter.py:811
Method
test_listener_delete_skips_pinned_key
on_l2_keys_deleted should not include keys that were skipped due to pinning.
tests/v1/distributed/test_nixl_store_l2_adapter.py:1045
Method
test_listener_load_skips_missing_keys
on_l2_keys_accessed should only include keys that were actually loaded.
tests/v1/distributed/test_mock_l2_adapter.py:851
Method
test_listener_load_skips_missing_keys
on_l2_keys_accessed should only include keys that were actually loaded.
tests/v1/distributed/test_nixl_store_l2_adapter.py:996
Method
test_listener_notified_on_delete
Listener.on_l2_keys_deleted should be called after delete().
tests/v1/distributed/test_mock_l2_adapter.py:798
Method
test_listener_notified_on_delete
Listener.on_l2_keys_deleted should be called after delete().
tests/v1/distributed/test_nixl_store_l2_adapter.py:1031
Method
test_listener_notified_on_delete
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:508
Method
test_listener_notified_on_load
Listener.on_l2_keys_accessed should be called after a load completes.
tests/v1/distributed/test_mock_l2_adapter.py:828
Method
test_listener_notified_on_load
Listener.on_l2_keys_accessed should be called after a load completes.
tests/v1/distributed/test_nixl_store_l2_adapter.py:964
Method
test_listener_notified_on_store
Listener.on_l2_keys_stored should be called after a store completes.
tests/v1/distributed/test_mock_l2_adapter.py:785
Method
test_listener_notified_on_store
Listener.on_l2_keys_stored should be called after a store completes.
tests/v1/distributed/test_nixl_store_l2_adapter.py:950
Method
test_listener_notified_on_store
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:493
Method
test_lists_all_adapters_with_primary_flag
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:118
Method
test_lists_all_keys_when_unfiltered
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:809
Function
test_lists_available_reconfigure_backends
()
tests/v1/multiprocess/http_apis/test_reconfigure_api.py:188
Function
test_lm_connector
(url, autorelease_v1, lmserver_v1_process)
tests/v1/test_connector.py:36
Method
test_lmcache_engine_metadata_property
Test lmcache_engine_metadata property returns the metadata.
tests/v1/test_manager.py:117
Method
test_lmcache_engine_property
Test lmcache_engine property returns the engine.
tests/v1/test_manager.py:109
Function
test_lmcache_exports_torch_dev_and_torch_device_type
The contract used by every accelerator-aware module is the ``torch_dev`` / ``torch_device_type`` pair exported from ``lmcache``. Re-import to
tests/v1/test_musa_support.py:270
Function
test_lmcache_get_or_create_config_validates_pd_settings
()
tests/v1/test_config.py:739
Function
test_lmcache_memcpy_async
()
tests/v1/test_mem_kernels.py:731
Function
test_lmcache_memcpy_async_int8_hidden132
Test lmcache_memcpy_async with int8 dtype and hidden_size=132. hidden_size=132 means each token occupies 132 bytes, which is NOT a multiple o
tests/v1/test_mem_kernels.py:846
Method
test_lmcache_url_resolves
When --lmcache-url is set, tokens_per_gb is resolved from server.
tests/cli/commands/bench/test_bench_command.py:465
Method
test_lmcache_url_resolves_tokens_per_gb
( self, mock_resolve, base_namespace, )
tests/cli/commands/bench/engine_bench/test_config.py:169
Method
test_load_all_adapters_imports_everything
All pending modules are imported.
tests/v1/distributed/test_l2_adapter_factory.py:581
Method
test_load_all_adapters_skips_failures
Modules that fail to import are silently skipped.
tests/v1/distributed/test_l2_adapter_factory.py:597
Method
test_load_completed_counts
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l2.py:297
Function
test_load_controller_config_with_overrides
Test loading controller config with overrides, especially for controller_monitor_ports
tests/v1/cache_controller/test_config.py:277
Method
test_load_counters_balance_to_zero
(self, l1_manager)
tests/v1/distributed/test_l1_l2_state_metrics.py:286
Function
test_load_deadline_expired_yields_failure
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:319
Function
test_load_ec_engine_config_applies_storage_defaults
()
tests/v1/test_config.py:77
Function
test_load_ec_engine_config_prefixed_file_and_env_overrides
( tmp_path: Path, monkeypatch, )
tests/v1/test_config.py:41
Method
test_load_existing_key_copies_data
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:614
Method
test_load_existing_key_copies_data
Loading an existing key should copy data to the provided buffer.
tests/v1/distributed/test_mock_l2_adapter.py:453
Method
test_load_existing_key_copies_data
Loading an existing key should copy data to the provided buffer.
tests/v1/distributed/test_nixl_store_l2_adapter.py:522
Method
test_load_existing_key_copies_data
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:342
Method
test_load_external_adapter
Successfully load an external adapter class.
tests/v1/distributed/test_l2_adapter_factory.py:216
Method
test_load_fs_chunks_all_chunks
Test load-fs-chunks loading all chunks without max_chunks limit.
tests/v1/internal_api_server/test_load_fs_chunks.py:263
Method
test_load_fs_chunks_empty_directory
Test load-fs-chunks with empty FSConnector directory.
tests/v1/internal_api_server/test_load_fs_chunks.py:225
Method
test_load_fs_chunks_invalid_config
Test load-fs-chunks with invalid config file.
tests/v1/internal_api_server/test_load_fs_chunks.py:213
Method
test_load_fs_chunks_no_engine
Test load-fs-chunks when engine is not configured.
tests/v1/internal_api_server/test_load_fs_chunks.py:200
Method
test_load_fs_chunks_success
Test successful load-fs-chunks operation with real FSConnector.
tests/v1/internal_api_server/test_load_fs_chunks.py:166
Function
test_load_gap_cleared_lookup_intact
A gapped load clears exactly those load bits, leaving lookup intact.
tests/v1/distributed/test_fault_inject_l2_adapter.py:154
Function
test_load_invalid_address_is_failure_not_raise
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:379
Method
test_load_miss_returns_zero_bit
(self, adapter: HFBucketL2Adapter)
tests/v1/distributed/test_hfbucket_l2_adapter.py:299
Method
test_load_miss_returns_zero_bit
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:506
Function
test_load_missing_address_is_failure_not_raise
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:366
Method
test_load_modes_called_once
Second call to load_modes should be a no-op.
tests/v1/test_basic_check.py:90
Method
test_load_modes_discovers_decorated_functions
Verify that load_modes discovers check_mode_ modules.
tests/v1/test_basic_check.py:42
Method
test_load_modes_skips_import_errors
load_modes should not crash on ImportError.
tests/v1/test_basic_check.py:73
Method
test_load_native_connector
Successfully load a native connector.
tests/v1/distributed/test_l2_adapter_factory.py:743
Function
test_load_native_module_returns_none_when_missing
Missing optional ``musa_aiter`` must not break LMCache imports.
tests/v1/test_musa_native.py:90
Method
test_load_nonexistent_key_fails
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:637
Method
test_load_nonexistent_key_returns_bitmap_with_zeros
Loading a non-existent key should return a bitmap with 0.
tests/v1/distributed/test_mock_l2_adapter.py:439
Method
test_load_nonexistent_key_returns_bitmap_with_zeros
Loading a non-existent key should return a bitmap with 0.
tests/v1/distributed/test_nixl_store_l2_adapter.py:507
Function
test_load_not_finished_returns_none
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:305
Function
test_load_reads_into_local_objects
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:273
Method
test_load_signals_event_fd
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:606
Method
test_load_signals_event_fd
Load completion should signal the load event fd.
tests/v1/distributed/test_mock_l2_adapter.py:427
Method
test_load_signals_event_fd
Load completion should signal the load event fd.
tests/v1/distributed/test_nixl_store_l2_adapter.py:494
Method
test_load_size_mismatch_returns_zero_bit
( self, adapter: HFBucketL2Adapter, fake_client: _FakeBucketClient, )
tests/v1/distributed/test_hfbucket_l2_adapter.py:307
Function
test_load_store_op_accepts_per_group_block_ids
()
tests/v1/test_vllm_mp_adapter.py:307
Method
test_load_submitted_counts
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l2.py:276
Method
test_load_task_completed_carries_l2_name
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l2.py:448
Method
test_loads_and_sorts_by_timestamp
(self)
tests/tools/test_cache_simulator.py:156
Method
test_local_cpu_false_does_not_promote_to_hot_cache
With local_cpu=False the LocalCPUBackend is a NIXL staging buffer only: batched_submit_put_task is a no-op, so a subsequent get_blocki
tests/v1/storage_backend/test_nixl_shared_pool.py:521
Method
test_local_cpu_hot_cache_toggle
Test LocalCPUBackend hot cache can be toggled.
tests/v1/test_health_monitor_fallback_recovery.py:609
Method
test_local_ttl_cache_hits
Verify that exists calls accelerate via local TTL cache without hitting Bigtable.
tests/v1/storage_backend/test_bigtable_connector.py:415
Method
test_lock_after_reset
Test that lock works correctly after reset.
tests/v1/native_storage_ops/test_ttl_lock.py:98
Method
test_lock_after_ttl_expired_resets_counter
Test that lock() after TTL expires resets counter to 1.
tests/v1/native_storage_ops/test_ttl_lock.py:148
Method
test_lock_blocks_delete
( self, adapter: HFBucketL2Adapter, fake_client: _FakeBucketClient, )
tests/v1/distributed/test_hfbucket_l2_adapter.py:374
Method
test_lock_blocks_delete
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:546
Method
test_lock_expires_after_ttl
Test that lock expires after TTL duration.
tests/v1/native_storage_ops/test_ttl_lock.py:113
Method
test_lock_increments_counter
Test that lock() increments the counter.
tests/v1/native_storage_ops/test_ttl_lock.py:28
Method
test_lock_refreshes_ttl
Test that each lock() call refreshes the TTL.
tests/v1/native_storage_ops/test_ttl_lock.py:126
Method
test_lock_unlock_lock_pattern
Test lock-unlock-lock pattern.
tests/v1/native_storage_ops/test_ttl_lock.py:432
Method
test_locks_released_after_full_hit
All L2 locks should be released after a successful prefetch.
tests/v1/distributed/test_prefetch_controller.py:614
Method
test_locks_released_after_no_hits
L2 locks released even when nothing is found.
tests/v1/distributed/test_prefetch_controller.py:676
Method
test_locks_released_after_prefix_trim
L2 locks released for both prefix and non-prefix keys.
tests/v1/distributed/test_prefetch_controller.py:644
Method
test_log_and_shutdown_writes_file
( self, config: LookupHashLogConfig, log_dir: Path, bus: EventBus, )
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:109
← previous
next →
10,901–11,000 of 13,371, ranked by callers