MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Methodtest_carries_model_name_and_cache_salt
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_lookup.py:258
Methodtest_ceiling_division
(self)
tests/test_utils.py:34
Methodtest_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
Methodtest_chat_content
(self)
tests/cli/commands/bench/engine_bench/test_request_sender.py:102
Methodtest_chat_no_choices
(self)
tests/cli/commands/bench/engine_bench/test_request_sender.py:106
Methodtest_chat_none_content
(self)
tests/cli/commands/bench/engine_bench/test_request_sender.py:110
Methodtest_check_finish_delegates_to_executor
Test check_finish operation delegates to cluster executor.
tests/v1/cache_controller/test_kv_controller.py:679
Methodtest_check_finish_msg_serialization
Test CheckFinishMsg encode/decode.
tests/v1/cache_controller/test_messages.py:429
Methodtest_check_finish_ret_msg_serialization
Test CheckFinishRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:561
Functiontest_check_native_abi_rejects_missing_symbol
The adapter falls back when the optional native module is incomplete.
tests/v1/test_musa_native.py:104
Functiontest_check_native_abi_rejects_non_callable_symbol
Native symbols must be callable to be considered ABI-compatible.
tests/v1/test_musa_native.py:111
Functiontest_check_native_abi_requires_expected_symbols
LMCache accepts only the Stage2 LMCache-compatible native ABI.
tests/v1/test_musa_native.py:99
Methodtest_check_sync_timeout
Test timeout detection.
tests/v1/cache_controller/test_full_sync.py:132
Methodtest_checksums_are_valid_md5
All checksums are 32-char hex strings.
tests/v1/multiprocess/test_http_server.py:207
Methodtest_choice_items_have_choices
(self)
tests/cli/commands/bench/engine_bench/interactive/test_schema.py:31
Methodtest_chunk_hash_hex
(self, basic_key)
tests/test_utils.py:357
Methodtest_chunk_hash_hex_bytes
(self)
tests/test_utils.py:360
Methodtest_chunk_not_divisible_by_ratio_raises
(self)
tests/v1/test_kv_layer_groups_manager.py:329
Methodtest_chunk_size_rounded_up_to_alignment
(self)
tests/v1/distributed/memory_manager/test_gds_l1_memory_manager.py:49
Methodtest_chunked_prefill
Chunked prefill: tracker has first chunk, processing second.
tests/v1/test_decode_save_and_preemption.py:172
Functiontest_chunked_token_database
(chunk_length, save_unfull_chunk)
tests/v1/test_token_database.py:30
Functiontest_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
Methodtest_chunks_evicted
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:207
Methodtest_chunks_evicted_logs
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/logging/test_cb_server.py:177
Methodtest_chunks_evicted_no_crash
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:510
Methodtest_circuit_breaker_blocks_listing
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:880
Methodtest_cleanup_expired
Sessions older than TTL should be cleaned up.
tests/v1/multiprocess/test_session.py:131
Methodtest_cleanup_keeps_fresh
Fresh sessions should not be cleaned up.
tests/v1/multiprocess/test_session.py:143
Functiontest_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
Methodtest_clear
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:32
Methodtest_clear_cache_no_engine
503 when engine is not set.
tests/v1/multiprocess/test_http_server.py:276
Methodtest_clear_cache_success
200 and engine.clear() called.
tests/v1/multiprocess/test_http_server.py:281
Methodtest_clear_delegates_to_executor
Test clear operation delegates to cluster executor.
tests/v1/cache_controller/test_kv_controller.py:605
Functiontest_clear_delegates_to_management_module
()
tests/v1/multiprocess/test_engine_passthroughs.py:46
Methodtest_clear_msg_serialization
Test ClearMsg encode/decode.
tests/v1/cache_controller/test_messages.py:336
Functiontest_clear_raises_without_management_module
()
tests/v1/multiprocess/test_engine_passthroughs.py:53
Methodtest_clear_resets_state
(self)
tests/v1/test_bloom_filter.py:150
Methodtest_clear_ret_msg_serialization
Test ClearRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:483
Methodtest_clear_worker_msg_serialization
Test ClearWorkerMsg encode/decode.
tests/v1/cache_controller/test_messages.py:216
Methodtest_clear_worker_ret_msg
Test ClearWorkerRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:652
Functiontest_cli_hybrid_l1_keeps_ordinary_l2_adapters
( tmp_path, adapter_spec, expected_adapter_type )
tests/v1/distributed/test_devdax_l1_allocator.py:478
Functiontest_cli_hybrid_l1_splits_matching_dax_device_and_keeps_other_l2
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:521
Functiontest_cli_infers_l1_devdax_overflow_from_registered_dax_adapter
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:431
Functiontest_cli_parses_l1_devdax_path
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:388
Functiontest_cli_rejects_devdax_l1_with_gds_l1
(tmp_path)
tests/v1/distributed/test_devdax_l1_allocator.py:410
Methodtest_client_timeout_handling
Test client timeout handling when server is not responding.
tests/v1/lookup_client/test_lmcache_lookup_client.py:323
Methodtest_clo_all_ones
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:180
Methodtest_clo_all_zeros
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:187
Methodtest_clo_first_zero_at_3
(self)
tests/v1/native_storage_ops/test_bitmap.py:191
Methodtest_clo_partial_byte_first_zero_at_5
(self)
tests/v1/native_storage_ops/test_bitmap.py:206
Methodtest_clo_partial_byte_size_10
(self)
tests/v1/native_storage_ops/test_bitmap.py:199
Methodtest_close
(self, gds_backend)
tests/v1/storage_backend/test_gds_backend.py:398
Methodtest_close_after_operations
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:748
Methodtest_close_after_operations
close() should work after store/lookup/load operations.
tests/v1/distributed/test_mock_l2_adapter.py:597
Methodtest_close_after_operations
close() should work after store/lookup/load operations.
tests/v1/distributed/test_nixl_store_l2_adapter.py:727
Methodtest_close_calls_client_close
(self, mock_openai_cls)
tests/cli/commands/bench/engine_bench/test_request_sender.py:505
Methodtest_close_calls_handler_and_allocator
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:753
Functiontest_close_cleans_temp_dir
Connector close should clean up its per-connector temp directory.
tests/v1/storage_backend/test_hfbucket_connector.py:507
Methodtest_close_cleans_temp_dir
( self, tmp_path: Path, fake_client: _FakeBucketClient, )
tests/v1/distributed/test_hfbucket_l2_adapter.py:567
Methodtest_close_clears_objects
Test that close clears all objects from the manager.
tests/v1/distributed/test_l1_manager.py:1413
Methodtest_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
Methodtest_close_does_not_raise
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:743
Methodtest_close_does_not_raise
close() should not raise an exception.
tests/v1/distributed/test_mock_l2_adapter.py:589
Methodtest_close_does_not_raise
close() should not raise an exception.
tests/v1/distributed/test_nixl_store_l2_adapter.py:705
Methodtest_close_does_not_raise
(self)
tests/v1/distributed/memory_manager/test_gds_l1_memory_manager.py:84
Methodtest_close_drains_pending_put_tasks
close() should wait for in-flight put tasks to complete.
tests/v1/storage_backend/test_maru_backend.py:759
Methodtest_close_empty_manager
Test that close works on an empty manager.
tests/v1/distributed/test_l1_manager.py:1395
Methodtest_close_exception
(self, client_with_engine, mock_storage_manager)
tests/v1/internal_api_server/test_backend_api.py:141
Methodtest_close_idempotent
(self, trace_path)
tests/v1/mp_observability/trace/test_recorder.py:108
Functiontest_close_is_idempotent
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:416
Methodtest_close_is_idempotent
Calling close() twice does not raise.
tests/v1/test_event_notifier.py:77
Methodtest_close_lookup_scheduler
Test close lookup client for scheduler.
tests/v1/internal_api_server/test_lookup_api.py:114
Methodtest_close_lookup_worker
Test close lookup server for worker.
tests/v1/internal_api_server/test_lookup_api.py:124
Methodtest_close_methods
Test proper cleanup of client and server close methods.
tests/v1/lookup_client/test_lmcache_lookup_client.py:386
Methodtest_close_no_engine
(self, client_without_engine)
tests/v1/internal_api_server/test_backend_api.py:137
Methodtest_close_not_found
(self, client_with_engine, mock_storage_manager)
tests/v1/internal_api_server/test_backend_api.py:130
Functiontest_close_removes_all_adapters
close drains every tracked peer adapter.
tests/v1/multiprocess/test_p2p_controller.py:364
Functiontest_close_stops_thread
close() stops the background event-loop thread.
tests/v1/storage_backend/test_pd_backend_async.py:793
Methodtest_close_success
(self, client_with_engine, mock_storage_manager)
tests/v1/internal_api_server/test_backend_api.py:122
Functiontest_close_unregisters_fds_and_closes_client
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter.py:403
Methodtest_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
Methodtest_close_with_objects
Test that close frees all objects in the manager.
tests/v1/distributed/test_l1_manager.py:1402
Methodtest_close_with_pending_messages
Test that close() flushes pending messages.
tests/v1/storage_backend/test_batched_message_sender.py:390
Methodtest_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
Methodtest_closed_fd_does_not_crash
(self)
tests/v1/native_storage_ops/test_periodic_event_notifier.py:224
Functiontest_cluster_metadata_without_kv_bytes
(url, autorelease_v1)
tests/v1/test_connector.py:364
Methodtest_clz_all_zeros
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:150
Methodtest_clz_clo_consistent_with_test
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:612
Methodtest_clz_first_bit_set
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:155
Methodtest_clz_last_bit_only_size_9
(self)
tests/v1/native_storage_ops/test_bitmap.py:174
Methodtest_clz_middle_bits_set
(self)
tests/v1/native_storage_ops/test_bitmap.py:166
Methodtest_clz_second_bit_set
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:161
Methodtest_coalescing_allows_larger_allocation
Test that freeing adjacent blocks allows larger allocation.
tests/v1/test_address_manager.py:453
Methodtest_coalescing_both_sides
Test that freeing a block coalesces with both neighbors.
tests/v1/test_address_manager.py:500
Methodtest_coalescing_predecessor
Test that freeing blocks coalesces with predecessor.
tests/v1/test_address_manager.py:477
Methodtest_cold_cache_zero_hits
(self)
tests/tools/test_cache_simulator.py:253
Methodtest_collapses_one_element_list
(self)
tests/v1/test_trtllm_integration.py:128
Methodtest_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
Methodtest_combine_found_pattern
(self)
tests/v1/native_storage_ops/test_bitmap.py:670
Functiontest_combined_operations
(stats_monitor)
tests/test_observability.py:203
← previousnext →9,301–9,400 of 13,371, ranked by callers