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_obj_keys_cache_miss_falls_back
If the cache doesn't contain every match's hash, retrieve must fall back to recompute (handled in the engine; this test just pins the detectio
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:194
Function
test_obj_keys_cache_round_trip_tp1
At world_size=1, retrieve can rebuild from the cache exactly.
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:138
Function
test_obj_keys_cache_round_trip_tp_expanded
world_size>1: cached entry per hash is a list of length world_size, rebuilt list is flat chunk-major.
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:167
Method
test_obj_uses_url_safe
(self)
tests/v1/test_nixl_doca_memos.py:216
Method
test_object_group_id_distinguishes_filenames
Keys differing only in object_group_id must not collide.
tests/v1/distributed/test_fs_l2_adapter_keys.py:52
Method
test_object_group_id_embedded
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:234
Method
test_object_group_id_embedded
(self)
tests/v1/distributed/test_hfbucket_l2_adapter.py:219
Method
test_object_group_id_embedded
(self)
tests/v1/distributed/test_s3_l2_adapter.py:414
Method
test_object_group_id_propagates_to_all_keys
A non-zero object_group_id reaches every produced ObjectKey, including the worker-expansion (scheduler) path.
tests/v1/distributed/test_fs_l2_adapter_keys.py:184
Method
test_object_group_id_roundtrip
(self)
tests/v1/mp_observability/trace/test_codecs.py:53
Method
test_object_group_id_zero
(self)
tests/v1/distributed/test_fs_l2_adapter_keys.py:170
Method
test_object_groups_non_overlapping
Object-group buffers across batch slots occupy disjoint memory.
tests/v1/platform/test_gpu_cache_context.py:347
Method
test_odd_element_count
Non-power-of-2 element count. Tests alignment edge cases. numel = 7 * 13 * 3 = 273, not divisible by any common alignment.
tests/v1/distributed/serde/test_serde_e2e.py:546
Method
test_off_by_two_still_fails
Off-by-two should still be caught.
tests/v1/test_decode_save_and_preemption.py:286
Method
test_offload_server_property
Test offload_server property returns the server.
tests/v1/test_manager.py:141
Method
test_ok
(self)
tests/cli/test_ping.py:95
Method
test_ok
(self)
tests/cli/test_ping.py:157
Method
test_old_assertion_would_fail
Verify the OLD strict assertion would crash on the full-hit case.
tests/v1/test_decode_save_and_preemption.py:269
Function
test_old_dax_routes_are_not_registered
()
tests/v1/multiprocess/http_apis/test_reconfigure_api.py:367
Method
test_old_three_field_format_returns_none
The pre-object_group_id 3-field shape is no longer accepted.
tests/v1/distributed/test_fs_l2_adapter_keys.py:102
Method
test_oldest_event_lag_grows_with_age
(self, bus)
tests/v1/mp_observability/test_event_bus.py:329
Method
test_oldest_event_lag_returns_zero_after_drain
(self, bus)
tests/v1/mp_observability/test_event_bus.py:338
Method
test_oldest_event_lag_zero_when_empty
(self, bus)
tests/v1/mp_observability/test_event_bus.py:326
Method
test_on_complete_callback_exception_does_not_propagate
A callback that raises must not crash the put pipeline.
tests/v1/storage_backend/test_gds_backend.py:658
Method
test_on_complete_callback_invoked
on_complete_callback is called with the key after the write finishes.
tests/v1/storage_backend/test_gds_backend.py:644
Method
test_on_l1_keys_accessed_calls_policy_on_keys_touched
on_l1_keys_accessed should delegate to policy.on_keys_touched.
tests/v1/multiprocess/test_unified_touch.py:71
Method
test_on_l1_keys_accessed_with_lru_policy
on_l1_keys_accessed should update LRU order via real LRU policy.
tests/v1/multiprocess/test_unified_touch.py:91
Method
test_on_l1_keys_read_finished_also_touches
on_l1_keys_read_finished should call on_keys_touched.
tests/v1/multiprocess/test_unified_touch.py:81
Method
test_on_l1_keys_read_finished_updates_lru
on_l1_keys_read_finished should update LRU order.
tests/v1/multiprocess/test_unified_touch.py:109
Method
test_on_l1_keys_write_finished_enqueues_keys
Keys passed to on_l1_keys_write_finished should be retrievable via pop.
tests/v1/distributed/test_store_controller.py:179
Method
test_on_l1_keys_write_finished_signals_eventfd
The eventfd should become readable after on_l1_keys_write_finished.
tests/v1/distributed/test_store_controller.py:199
Function
test_on_lookup_finished
(stats_monitor)
tests/test_observability.py:82
Function
test_on_lookup_request
(stats_monitor)
tests/test_observability.py:70
Function
test_on_lookup_touches_key
()
tests/v1/mp_coordinator/test_eviction_manager.py:78
Function
test_on_lookup_unknown_key_is_noop
()
tests/v1/mp_coordinator/test_eviction_manager.py:89
Method
test_on_record_callback_fires_per_record
(self, trace_path)
tests/cli/commands/trace/test_driver.py:200
Function
test_on_remove
()
tests/v1/mp_coordinator/test_eviction_manager.py:102
Function
test_on_remove_cleans_empty_bucket
()
tests/v1/mp_coordinator/test_eviction_manager.py:128
Function
test_on_remove_subtracts_bytes_from_usage
()
tests/v1/mp_coordinator/test_eviction_manager.py:116
Method
test_on_request_finished_decrements_to_zero
(self)
tests/cli/commands/bench/engine_bench/test_progress.py:66
Method
test_on_request_finished_does_not_go_negative
(self)
tests/cli/commands/bench/engine_bench/test_progress.py:72
Method
test_on_request_finished_noop
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:234
Method
test_on_request_finished_noop
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:280
Method
test_on_request_finished_noop
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:391
Function
test_on_retrieve_finished
(stats_monitor)
tests/test_observability.py:32
Function
test_on_retrieve_request
(stats_monitor)
tests/test_observability.py:22
Function
test_on_store_request_and_finished
(stats_monitor)
tests/test_observability.py:44
Function
test_on_store_tracks_key
()
tests/v1/mp_coordinator/test_eviction_manager.py:70
Method
test_one_element
(self)
tests/test_utils.py:37
Method
test_one_path_inf
When one LSE is -inf, output should be entirely from the other.
tests/v1/compute/attention/test_triton_kernels.py:234
Method
test_oom_is_all_or_nothing
(self)
tests/v1/distributed/memory_manager/test_gds_l1_memory_manager.py:40
Function
test_open_pool_as_mmap_zero_copy_view
()
tests/v1/multiprocess/test_posix_shm.py:56
Method
test_operation_distribution
Test operation distribution calculation
tests/tools/test_controller_zmq_benchmark.py:405
Method
test_operation_handler_registry
Test operation handler registry
tests/tools/test_controller_zmq_benchmark.py:197
Method
test_optimal_sizing_matches_golden_values
( self, expected_elements: int, false_positive_rate: float, expected_size: int
tests/v1/test_bloom_filter.py:44
Method
test_optional_args_parse_without_engine_url
(self)
tests/cli/commands/bench/test_bench_command.py:168
Method
test_optional_fields_default
(self)
tests/v1/distributed/test_encoded_object_key.py:63
Method
test_optional_flags
( self, flag: str, value: str, attr: str, expected: object, )
tests/v1/test_basic_check.py:163
Method
test_or_both_empty
(self)
tests/v1/native_storage_ops/test_bitmap.py:335
Method
test_or_different_sizes_result_truncated
(self)
tests/v1/native_storage_ops/test_bitmap.py:322
Method
test_or_same_size_no_overlap
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:299
Method
test_or_same_size_with_overlap
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:312
Method
test_order_of_first_encounter_preserved
IDs appear in the order they are first seen in the hash stream.
tests/v1/multiprocess/test_token_hasher.py:354
Method
test_out_of_memory_error_code_value
Test that OUT_OF_MEMORY is a valid enum member.
tests/v1/distributed/test_l1_memory_manager.py:549
Method
test_out_of_range_ignored
(self)
tests/v1/native_storage_ops/test_bitmap.py:640
Method
test_out_of_range_no_op
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:44
Method
test_out_of_tree_plugin_init
Verify standalone out-of-tree plugin initialization via class_name/module_path.
tests/v1/storage_backend/test_bigtable_connector.py:306
Method
test_output_dtype
(self)
tests/v1/multiprocess/test_token_hasher.py:191
Method
test_output_dtype
(self)
tests/v1/multiprocess/test_token_hasher.py:246
Method
test_output_dtype
(self)
tests/v1/multiprocess/test_token_hasher.py:370
Method
test_output_dtype
(self, dtype)
tests/v1/compute/attention/test_triton_kernels.py:268
Method
test_output_dtype_matches_input
(self)
tests/v1/compute/attention/test_triton_kernels.py:128
Method
test_output_length
(self)
tests/v1/multiprocess/test_token_hasher.py:142
Method
test_output_length
(self)
tests/v1/multiprocess/test_token_hasher.py:198
Method
test_over_budget_salt_gets_evicted
Alice exceeds 50% of her 2 KB quota (watermark=0.8) — the controller evicts enough of her keys to bring her below.
tests/v1/distributed/test_cache_salt_l2_eviction.py:149
Function
test_over_quota
()
tests/v1/mp_coordinator/test_eviction_manager.py:155
Method
test_overlap_first_wins
Both adapters have key 1. Adapter 0 (lower index) loads it.
tests/v1/distributed/test_prefetch_controller.py:471
Method
test_overlapping_patterns
Test when patterns overlap.
tests/v1/native_storage_ops/test_pattern_matcher.py:88
Method
test_override_false_respects_user_set_for_non_none_defaults
Test override=False respects user-set keys even for non-None defaults.
tests/v1/test_config.py:633
Function
test_override_from_dict
Test overriding configuration with dictionary
tests/v1/cache_controller/test_config.py:79
Method
test_override_true_ignores_user_set_keys
Test that override=True changes value even if user-set.
tests/v1/test_config.py:649
Method
test_overwrite_existing_quota
(self, client)
tests/v1/multiprocess/test_http_quota_endpoints.py:83
Method
test_p0_and_p100
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:92
Method
test_p0_returns_min
(self)
tests/cli/commands/trace/test_stats.py:24
Method
test_p100_returns_max
(self)
tests/cli/commands/trace/test_stats.py:27
Function
test_p2p_adapter_end_to_end
()
tests/v1/distributed/l2_adapters/test_p2p_l2_adapter_integration.py:116
Function
test_p2p_advertised_url_defaults_to_empty
()
tests/v1/mp_coordinator/test_api.py:145
Function
test_p2p_advertised_url_round_trips
()
tests/v1/mp_coordinator/test_api.py:130
Method
test_p2p_backend_initialization
Test the basic initialization of P2P backend with mock_memory transfer channel. This test verifies that: - P2P backend can b
tests/v1/storage_backend/test_p2p_backend_with_controller.py:353
Method
test_p2p_backend_no_hits
Test P2P backend behavior when the controller returns no matching data. This test verifies: - The backend correctly handles
tests/v1/storage_backend/test_p2p_backend_with_controller.py:506
Method
test_p2p_backend_normal_flow
Test the complete P2P data retrieval flow between two peers with controller coordination. This test verifies: - Two
tests/v1/storage_backend/test_p2p_backend_with_controller.py:385
Function
test_p2p_lookup_and_lock_protocol
P2P_LOOKUP_AND_LOCK payload is [list[ObjectKey], MemoryLayoutDesc], returns int, and is BLOCKING.
tests/v1/multiprocess/test_p2p_controller.py:66
Method
test_p2p_lookup_handler
Test P2PLookupHandler functionality
tests/tools/test_controller_zmq_benchmark.py:184
Function
test_p2p_query_lookup_results_protocol
P2P_QUERY_LOOKUP_RESULTS payload is [int], returns the optional address list, and is BLOCKING.
tests/v1/multiprocess/test_p2p_controller.py:75
Function
test_p2p_request_types_registered
The three P2P request types should be members of RequestType.
tests/v1/multiprocess/test_p2p_controller.py:55
Function
test_p2p_unlock_objects_protocol
P2P_UNLOCK_OBJECTS payload is [list[ObjectKey]], returns None, BLOCKING.
tests/v1/multiprocess/test_p2p_controller.py:88
Method
test_p50_even_count
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:78
Method
test_p50_odd_count
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:82
Method
test_p50_on_100_values
(self)
tests/cli/commands/trace/test_stats.py:30
Method
test_p90
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:86
← previous
next →
11,501–11,600 of 13,371, ranked by callers