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_carries_model_name_and_cache_salt
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_lookup.py:258
Method
test_ceiling_division
(self)
tests/test_utils.py:34
Method
test_cell_size_validation_skips_large_writes
Validate chunk size at write time. Skips > 90MB rather than failing.
tests/v1/storage_backend/test_bigtable_connector.py:488
Method
test_chat_content
(self)
tests/cli/commands/bench/engine_bench/test_request_sender.py:102
Method
test_chat_no_choices
(self)
tests/cli/commands/bench/engine_bench/test_request_sender.py:106
Method
test_chat_none_content
(self)
tests/cli/commands/bench/engine_bench/test_request_sender.py:110
Method
test_check_finish_delegates_to_executor
Test check_finish operation delegates to cluster executor.
tests/v1/cache_controller/test_kv_controller.py:679
Method
test_check_finish_msg_serialization
Test CheckFinishMsg encode/decode.
tests/v1/cache_controller/test_messages.py:429
Method
test_check_finish_ret_msg_serialization
Test CheckFinishRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:561
Function
test_check_native_abi_rejects_missing_symbol
The adapter falls back when the optional native module is incomplete.
tests/v1/test_musa_native.py:104
Function
test_check_native_abi_rejects_non_callable_symbol
Native symbols must be callable to be considered ABI-compatible.
tests/v1/test_musa_native.py:111
Function
test_check_native_abi_requires_expected_symbols
LMCache accepts only the Stage2 LMCache-compatible native ABI.
tests/v1/test_musa_native.py:99
Method
test_check_sync_timeout
Test timeout detection.
tests/v1/cache_controller/test_full_sync.py:132
Method
test_checksums_are_valid_md5
All checksums are 32-char hex strings.
tests/v1/multiprocess/test_http_server.py:207
Method
test_choice_items_have_choices
(self)
tests/cli/commands/bench/engine_bench/interactive/test_schema.py:31
Method
test_chunk_hash_hex
(self, basic_key)
tests/test_utils.py:357
Method
test_chunk_hash_hex_bytes
(self)
tests/test_utils.py:360
Method
test_chunk_not_divisible_by_ratio_raises
(self)
tests/v1/test_kv_layer_groups_manager.py:329
Method
test_chunk_size_rounded_up_to_alignment
(self)
tests/v1/distributed/memory_manager/test_gds_l1_memory_manager.py:49
Method
test_chunked_prefill
Chunked prefill: tracker has first chunk, processing second.
tests/v1/test_decode_save_and_preemption.py:172
Function
test_chunked_token_database
(chunk_length, save_unfull_chunk)
tests/v1/test_token_database.py:30
Function
test_chunks_align_with_kv_keys
HS uses the engine's TokenDatabase, so chunk keys equal KV chunk keys.
tests/v1/test_hidden_state_store.py:109
Method
test_chunks_evicted
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:207
Method
test_chunks_evicted_logs
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/logging/test_cb_server.py:177
Method
test_chunks_evicted_no_crash
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:510
Method
test_circuit_breaker_blocks_listing
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:880
Method
test_cleanup_expired
Sessions older than TTL should be cleaned up.
tests/v1/multiprocess/test_session.py:131
Method
test_cleanup_keeps_fresh
Fresh sessions should not be cleaned up.
tests/v1/multiprocess/test_session.py:143
Function
test_cleanup_memory_objs_handles_mixed_pin_state
Cleanup must unpin chunks that were pinned during prefetch and skip unpin for chunks that were not, leaving every chunk with a non-negati
tests/v1/test_cache_engine_cleanup.py:41
Method
test_clear
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:32
Method
test_clear_cache_no_engine
503 when engine is not set.
tests/v1/multiprocess/test_http_server.py:276
Method
test_clear_cache_success
200 and engine.clear() called.
tests/v1/multiprocess/test_http_server.py:281
Method
test_clear_delegates_to_executor
Test clear operation delegates to cluster executor.
tests/v1/cache_controller/test_kv_controller.py:605
Function
test_clear_delegates_to_management_module
()
tests/v1/multiprocess/test_engine_passthroughs.py:46
Method
test_clear_msg_serialization
Test ClearMsg encode/decode.
tests/v1/cache_controller/test_messages.py:336
Function
test_clear_raises_without_management_module
()
tests/v1/multiprocess/test_engine_passthroughs.py:53
Method
test_clear_resets_state
(self)
tests/v1/test_bloom_filter.py:150
Method
test_clear_ret_msg_serialization
Test ClearRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:483
Method
test_clear_worker_msg_serialization
Test ClearWorkerMsg encode/decode.
tests/v1/cache_controller/test_messages.py:216
Method
test_clear_worker_ret_msg
Test ClearWorkerRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:652
Function
test_cli_hybrid_l1_keeps_ordinary_l2_adapters
( tmp_path, adapter_spec, expected_adapter_type )
tests/v1/distributed/test_devdax_l1_allocator.py:478
Function
test_cli_hybrid_l1_splits_matching_dax_device_and_keeps_other_l2
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:521
Function
test_cli_infers_l1_devdax_overflow_from_registered_dax_adapter
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:431
Function
test_cli_parses_l1_devdax_path
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:388
Function
test_cli_rejects_devdax_l1_with_gds_l1
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:410
Method
test_client_timeout_handling
Test client timeout handling when server is not responding.
tests/v1/lookup_client/test_lmcache_lookup_client.py:323
Method
test_clo_all_ones
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:180
Method
test_clo_all_zeros
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:187
Method
test_clo_first_zero_at_3
(self)
tests/v1/native_storage_ops/test_bitmap.py:191
Method
test_clo_partial_byte_first_zero_at_5
(self)
tests/v1/native_storage_ops/test_bitmap.py:206
Method
test_clo_partial_byte_size_10
(self)
tests/v1/native_storage_ops/test_bitmap.py:199
Method
test_close
(self, gds_backend)
tests/v1/storage_backend/test_gds_backend.py:398
Method
test_close_after_operations
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:748
Method
test_close_after_operations
close() should work after store/lookup/load operations.
tests/v1/distributed/test_mock_l2_adapter.py:597
Method
test_close_after_operations
close() should work after store/lookup/load operations.
tests/v1/distributed/test_nixl_store_l2_adapter.py:727
Method
test_close_calls_client_close
(self, mock_openai_cls)
tests/cli/commands/bench/engine_bench/test_request_sender.py:505
Method
test_close_calls_handler_and_allocator
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:753
Function
test_close_cleans_temp_dir
Connector close should clean up its per-connector temp directory.
tests/v1/storage_backend/test_hfbucket_connector.py:507
Method
test_close_cleans_temp_dir
( self, tmp_path: Path, fake_client: _FakeBucketClient, )
tests/v1/distributed/test_hfbucket_l2_adapter.py:567
Method
test_close_clears_objects
Test that close clears all objects from the manager.
tests/v1/distributed/test_l1_manager.py:1413
Method
test_close_does_not_close_borrowed_allocator
NixlStorageBackend.close() must not close the LocalCPUBackend allocator it borrowed — that allocator is owned by LocalCPUBackend.
tests/v1/storage_backend/test_nixl_shared_pool.py:486
Method
test_close_does_not_raise
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:743
Method
test_close_does_not_raise
close() should not raise an exception.
tests/v1/distributed/test_mock_l2_adapter.py:589
Method
test_close_does_not_raise
close() should not raise an exception.
tests/v1/distributed/test_nixl_store_l2_adapter.py:705
Method
test_close_does_not_raise
(self)
tests/v1/distributed/memory_manager/test_gds_l1_memory_manager.py:84
Method
test_close_drains_pending_put_tasks
close() should wait for in-flight put tasks to complete.
tests/v1/storage_backend/test_maru_backend.py:759
Method
test_close_empty_manager
Test that close works on an empty manager.
tests/v1/distributed/test_l1_manager.py:1395
Method
test_close_exception
(self, client_with_engine, mock_storage_manager)
tests/v1/internal_api_server/test_backend_api.py:141
Method
test_close_idempotent
(self, trace_path)
tests/v1/mp_observability/trace/test_recorder.py:108
Function
test_close_is_idempotent
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:416
Method
test_close_is_idempotent
Calling close() twice does not raise.
tests/v1/test_event_notifier.py:77
Method
test_close_lookup_scheduler
Test close lookup client for scheduler.
tests/v1/internal_api_server/test_lookup_api.py:114
Method
test_close_lookup_worker
Test close lookup server for worker.
tests/v1/internal_api_server/test_lookup_api.py:124
Method
test_close_methods
Test proper cleanup of client and server close methods.
tests/v1/lookup_client/test_lmcache_lookup_client.py:386
Method
test_close_no_engine
(self, client_without_engine)
tests/v1/internal_api_server/test_backend_api.py:137
Method
test_close_not_found
(self, client_with_engine, mock_storage_manager)
tests/v1/internal_api_server/test_backend_api.py:130
Function
test_close_removes_all_adapters
close drains every tracked peer adapter.
tests/v1/multiprocess/test_p2p_controller.py:364
Function
test_close_stops_thread
close() stops the background event-loop thread.
tests/v1/storage_backend/test_pd_backend_async.py:793
Method
test_close_success
(self, client_with_engine, mock_storage_manager)
tests/v1/internal_api_server/test_backend_api.py:122
Function
test_close_unregisters_fds_and_closes_client
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:403
Method
test_close_update_conf_create_flow
1. DELETE /backends/RemoteBackend 2. POST /conf to update remote_url 3. POST /backends to create new RemoteBackend 4.
tests/v1/internal_api_server/test_backend_api.py:223
Method
test_close_with_objects
Test that close frees all objects in the manager.
tests/v1/distributed/test_l1_manager.py:1402
Method
test_close_with_pending_messages
Test that close() flushes pending messages.
tests/v1/storage_backend/test_batched_message_sender.py:390
Method
test_close_without_persist_deletes_files
With persist_enabled=False, close() deletes all data files.
tests/v1/distributed/test_nixl_store_dynamic_l2_adapter.py:747
Method
test_closed_fd_does_not_crash
(self)
tests/v1/native_storage_ops/test_periodic_event_notifier.py:224
Function
test_cluster_metadata_without_kv_bytes
(url, autorelease_v1)
tests/v1/test_connector.py:364
Method
test_clz_all_zeros
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:150
Method
test_clz_clo_consistent_with_test
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:612
Method
test_clz_first_bit_set
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:155
Method
test_clz_last_bit_only_size_9
(self)
tests/v1/native_storage_ops/test_bitmap.py:174
Method
test_clz_middle_bits_set
(self)
tests/v1/native_storage_ops/test_bitmap.py:166
Method
test_clz_second_bit_set
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:161
Method
test_coalescing_allows_larger_allocation
Test that freeing adjacent blocks allows larger allocation.
tests/v1/test_address_manager.py:453
Method
test_coalescing_both_sides
Test that freeing a block coalesces with both neighbors.
tests/v1/test_address_manager.py:500
Method
test_coalescing_predecessor
Test that freeing blocks coalesces with predecessor.
tests/v1/test_address_manager.py:477
Method
test_cold_cache_zero_hits
(self)
tests/tools/test_cache_simulator.py:253
Method
test_collapses_one_element_list
(self)
tests/v1/test_trtllm_integration.py:128
Method
test_collision_last_write_wins
When two hashes map to the same slot, the last value is stored.
tests/v1/multiprocess/test_token_hasher.py:281
Method
test_combine_found_pattern
(self)
tests/v1/native_storage_ops/test_bitmap.py:670
Function
test_combined_operations
(stats_monitor)
tests/test_observability.py:203
← previous
next →
9,301–9,400 of 13,371, ranked by callers