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
Function
test_dax_hotplug_add_sanitizes_mapping_errors
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:356
Function
test_dax_hotplug_drain_stops_new_writes_to_source_device
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:263
Function
test_dax_hotplug_remove_blocked_restores_active_state
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:287
Function
test_dax_hotplug_remove_evict_notifies_logical_delete
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:336
Function
test_dax_hotplug_remove_migrate_preserves_loadability
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:214
Function
test_dax_hotplug_remove_migrate_rejects_duplicate_destination_key
(tmp_path)
tests/v1/distributed/test_dax_l2_adapter.py:307
Function
test_dax_lookup_batches_unmapped_keys_by_device
(tmp_path, monkeypatch)
tests/v1/distributed/test_dax_l2_adapter.py:379
Method
test_decoded_feeds_match
(self)
tests/v1/mp_coordinator/test_blend_directory.py:243
Method
test_decompress_delegates_to_executor
Test decompress operation delegates to cluster executor.
tests/v1/cache_controller/test_kv_controller.py:647
Method
test_decompress_msg_serialization
Test DecompressMsg encode/decode.
tests/v1/cache_controller/test_messages.py:382
Method
test_decompress_ret_msg_serialization
Test DecompressRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:522
Method
test_decompress_worker_msg_serialization
Test DecompressWorkerMsg encode/decode.
tests/v1/cache_controller/test_messages.py:275
Method
test_decompress_worker_ret_msg
Test DecompressWorkerRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:682
Method
test_decorated_function_still_callable
(self)
tests/v1/test_basic_check.py:132
Method
test_decorator_sets_attributes
(self)
tests/v1/test_basic_check.py:124
Method
test_dedup_by_object_key
(self)
tests/v1/mp_coordinator/test_blend_directory.py:59
Function
test_dedup_pin_then_remove_verifies_call_sequence
Full lifecycle: verify ref_count_up/down call counts through dedup + removes.
tests/v1/storage_backend/test_pd_backend_async.py:1279
Method
test_deduplication
Same ID reached via two different hashes is returned only once.
tests/v1/multiprocess/test_token_hasher.py:325
Method
test_default_adapter_params
(self)
tests/v1/distributed/test_l2_adapter_factory.py:177
Method
test_default_api_key
(self, mock_openai_cls)
tests/cli/commands/bench/engine_bench/test_request_sender.py:156
Method
test_default_construction
(self)
tests/v1/test_bloom_filter.py:17
Method
test_default_destination_is_discard
Default destination should be DISCARD.
tests/v1/distributed/test_lru_eviction_policy.py:204
Method
test_default_excludes_reexports
A class re-exported from another module must not be yielded twice when ``require_defined_in_module=True`` (the default).
tests/v1/test_subclass_discovery.py:194
Method
test_default_get_size_is_layout_derived
(self)
tests/v1/test_memory_management.py:996
Method
test_default_handler_logs_and_continues
( self, temp_pkg: Tuple[str, Path], monkeypatch: pytest.MonkeyPatch, )
tests/v1/test_subclass_discovery.py:280
Method
test_default_keeps_legacy_top_level_only
( self, temp_pkg: Tuple[str, Path] )
tests/v1/test_subclass_discovery.py:396
Method
test_default_keys_use_obj_prefix
(self)
tests/v1/test_nixl_doca_memos.py:120
Method
test_default_mode_is_not_paged
Without NIXL flags, the default LocalCPUBackend pool is non-paged (so it cannot be registered with NIXL — the inverse contract of the
tests/v1/storage_backend/test_local_cpu_backend_nixl_paged.py:117
Method
test_default_no_capacity_means_no_eviction
(self)
tests/v1/distributed/test_l2_adapter_base.py:112
Method
test_default_off
(self)
tests/v1/mp_observability/trace/test_decorator.py:30
Method
test_default_omits_extra_body
(self, mock_openai_cls)
tests/cli/commands/bench/engine_bench/test_request_sender.py:238
Method
test_default_operations
Test default operation distribution
tests/tools/test_controller_zmq_benchmark.py:45
Method
test_default_qualname
(self)
tests/v1/mp_observability/trace/test_decorator.py:93
Function
test_default_salt_sentinel
``_default`` in path maps to the empty-string salt.
tests/v1/mp_coordinator/test_l2_api.py:279
Method
test_default_singleton_is_disabled
(self)
tests/v1/mp_observability/test_event_bus.py:449
Method
test_default_ttl_is_300_seconds
Test that default TTL is 300 seconds.
tests/v1/native_storage_ops/test_ttl_lock.py:169
Method
test_default_values
Required args only — everything else should get defaults.
tests/cli/commands/test_query.py:103
Method
test_default_values
Required args only — everything else should get defaults.
tests/cli/commands/test_server.py:99
Method
test_default_values
( self, parser: argparse.ArgumentParser, )
tests/cli/commands/bench/test_server_bench.py:98
Method
test_default_values
(self)
tests/cli/commands/bench/test_bench_command.py:188
Method
test_default_values_not_set
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:239
Method
test_defaults
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:24
Method
test_defaults
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:24
Method
test_defaults
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:25
Method
test_defaults
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:25
Method
test_defaults
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:30
Method
test_defaults
(self)
tests/v1/test_basic_check.py:177
Method
test_defaults
(self)
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:32
Function
test_defaults_are_valid
()
tests/v1/mp_coordinator/test_config.py:15
Function
test_defaults_disable_registration
()
tests/v1/multiprocess/test_config.py:46
Method
test_defaults_when_no_env_and_no_config
Without env vars or config, values should be empty/zero.
tests/v1/distributed/test_resp_env_vars.py:77
Method
test_delete
( self, mock_http, cmd, parser, capsys, )
tests/cli/commands/test_quota.py:129
Method
test_delete_batch
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:1185
Function
test_delete_closes_context_and_get_raises_again
(fake_type)
tests/v1/distributed/transfer_channel/test_context_lifecycle.py:111
Method
test_delete_decrements_aggregate_and_by_cache_salt
(self)
tests/v1/distributed/test_l2_adapter_base.py:142
Method
test_delete_detaches_everywhere
delete_l2_adapter drains and removes the adapter from all controllers.
tests/v1/distributed/test_runtime_adapters.py:308
Method
test_delete_empty_keys
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:1182
Function
test_delete_event_drops_key_from_tracking
A DELETE event subtracts the key's bytes from per-salt usage and removes it from the eviction LRU. The keys' sizes come from the earlier STORE
tests/v1/mp_coordinator/test_l2_api.py:161
Function
test_delete_event_for_unknown_key_is_noop
A DELETE for a key the coordinator never saw a STORE for is accepted but has no observable effect (no usage to subtract from).
tests/v1/mp_coordinator/test_l2_api.py:192
Method
test_delete_existing_key
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:1151
Method
test_delete_existing_salt
(self, client)
tests/v1/multiprocess/test_http_quota_endpoints.py:203
Method
test_delete_frees_pool_slot
delete() should release the storage pool slot back to the pool.
tests/v1/distributed/test_nixl_store_l2_adapter.py:878
Method
test_delete_from_ready_state
Test deletion from ready state.
tests/v1/distributed/test_l1_manager.py:1509
Method
test_delete_keys_decreases_tracked_count
Deleting keys should decrease the tracked key count.
tests/v1/distributed/test_lru_eviction_policy.py:59
Method
test_delete_missing_salt_returns_not_found
(self, client)
tests/v1/multiprocess/test_http_quota_endpoints.py:211
Method
test_delete_multiple_keys
delete() on a batch of keys removes all of them.
tests/v1/distributed/test_mock_l2_adapter.py:691
Method
test_delete_multiple_keys
Test delete with multiple keys in a single call.
tests/v1/distributed/test_l1_manager.py:1274
Method
test_delete_non_existing_key_returns_key_not_exist
Test that delete returns KEY_NOT_EXIST for non-existing keys.
tests/v1/distributed/test_l1_manager.py:1202
Method
test_delete_nonexistent_key
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:1178
Method
test_delete_nonexistent_key_does_not_raise
delete() on a key that was never stored should not raise.
tests/v1/distributed/test_mock_l2_adapter.py:687
Method
test_delete_nonexistent_key_does_not_raise
delete() on a key that was never stored should not raise.
tests/v1/distributed/test_nixl_store_l2_adapter.py:873
Method
test_delete_nonexistent_key_is_safe
Deleting a nonexistent key should not raise an error.
tests/v1/distributed/test_lru_eviction_policy.py:67
Method
test_delete_nonexistent_keys
Deleting keys that don't exist should not raise.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:821
Function
test_delete_nonexistent_quota
()
tests/v1/mp_coordinator/test_l2_api.py:79
Method
test_delete_noop_without_submit_batch_delete
Connector without submit_batch_delete => delete is no-op.
tests/v1/distributed/test_native_connector_l2_adapter.py:1216
Method
test_delete_notify_fires_listener
(self)
tests/v1/distributed/test_l2_adapter_base.py:306
Method
test_delete_on_unknown_key
(self, adapter: HFBucketL2Adapter)
tests/v1/distributed/test_hfbucket_l2_adapter.py:412
Method
test_delete_on_unknown_key
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:576
Method
test_delete_pinned_key_is_skipped
delete() should skip a key that is pinned by an in-flight lookup.
tests/v1/distributed/test_nixl_store_l2_adapter.py:926
Function
test_delete_quota
()
tests/v1/mp_coordinator/test_l2_api.py:68
Method
test_delete_read_locked_returns_key_is_locked
Test that delete returns KEY_IS_LOCKED for read-locked keys.
tests/v1/distributed/test_l1_manager.py:1253
Method
test_delete_removes_key
( self, adapter: HFBucketL2Adapter, fake_client: _FakeBucketClient, )
tests/v1/distributed/test_hfbucket_l2_adapter.py:361
Method
test_delete_removes_key
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:539
Method
test_delete_removes_key
delete() should make the key invisible to subsequent lookups.
tests/v1/distributed/test_mock_l2_adapter.py:672
Method
test_delete_removes_key
delete() should make the key invisible to subsequent lookups.
tests/v1/distributed/test_nixl_store_l2_adapter.py:857
Method
test_delete_removes_key
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:443
Method
test_delete_returns_false_when_absent
(self)
tests/v1/distributed/test_quota_manager.py:42
Method
test_delete_returns_true_when_present
(self)
tests/v1/distributed/test_quota_manager.py:35
Method
test_delete_sentinel_removes_empty_salt_entry
(self, client)
tests/v1/multiprocess/test_http_quota_endpoints.py:217
Method
test_delete_skips_pinned_key
(self, adapter)
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:466
Method
test_delete_stored_key
Delete a stored key, then lookup confirms it is gone.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:792
Method
test_delete_success
Test that delete returns SUCCESS for unlocked keys.
tests/v1/distributed/test_l1_manager.py:1216
Method
test_delete_then_read_returns_zero
After deletion the salt is indistinguishable from an unregistered one — limit is the allowlist default of 0.
tests/v1/distributed/test_quota_manager.py:179
Method
test_delete_unknown_id_raises
(self, empty_storage_manager_config)
tests/v1/distributed/test_runtime_adapters.py:324
Method
test_delete_updates_usage_tracking
Deleting a stored key reduces tracked byte usage.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:869
Function
test_delete_without_initialize_is_noop
(fake_type)
tests/v1/distributed/transfer_channel/test_context_lifecycle.py:124
Method
test_delete_write_locked_returns_key_is_locked
Test that delete returns KEY_IS_LOCKED for write-locked keys.
tests/v1/distributed/test_l1_manager.py:1236
Method
test_deleted_key_is_not_evictable
A key that has been deleted should not be evictable.
tests/v1/distributed/test_l1_manager.py:1900
Method
test_dense_deterministic_pattern
(self)
tests/v1/distributed/test_bitmap_ops.py:552
Method
test_deregister_cleanup
Test deregister cleans up KV pool and sequence tracker.
tests/v1/cache_controller/test_kv_controller.py:541
← previous
next →
9,701–9,800 of 13,371, ranked by callers