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_double_invert_is_identity
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:483
Method
test_double_remove_is_safe
Removing an already-removed adapter signals immediately.
tests/v1/distributed/test_runtime_adapters.py:248
Method
test_double_shutdown_idempotent
(self)
tests/v1/native_storage_ops/test_periodic_event_notifier.py:88
Method
test_double_start_is_idempotent
(self, bus)
tests/v1/mp_observability/test_event_bus.py:126
Method
test_double_stop
(self, bus)
tests/v1/mp_observability/test_event_bus.py:133
Method
test_drain_calls_on_request_finished
(self)
tests/cli/commands/bench/engine_bench/workloads/test_base_workload.py:98
Method
test_drain_clears_buffer
(self, stream)
tests/v1/mp_observability/test_event_recorder.py:113
Method
test_drain_empties_queue
(self)
tests/cli/commands/bench/engine_bench/workloads/test_base_workload.py:105
Method
test_drain_empty
(self)
tests/v1/multiprocess/test_completion_recorder.py:65
Method
test_drain_empty
(self)
tests/v1/mp_observability/test_event_recorder.py:55
Method
test_drain_empty_queue
(self)
tests/cli/commands/bench/engine_bench/workloads/test_base_workload.py:93
Method
test_drains_pending_dict_on_completed
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l2_throughput.py:212
Method
test_drains_pending_dict_on_end
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_l1_throughput.py:171
Method
test_draw_calls_stats_collector
(self)
tests/cli/commands/bench/engine_bench/test_progress.py:132
Method
test_dropped_counter_callback_reflects_drops
(self)
tests/v1/mp_observability/subscribers/metrics/test_event_bus_self_metrics.py:50
Method
test_dropped_events_count_increments_on_drop
(self)
tests/v1/mp_observability/test_event_bus.py:351
Method
test_dropped_events_count_starts_zero
(self, bus)
tests/v1/mp_observability/test_event_bus.py:348
Function
test_dropped_retrieve_reported_once_via_healthy_get_finished
A retrieve dropped while unhealthy is still reported exactly once by the healthy branch of ``get_finished`` after the server recovers.
tests/v1/test_vllm_mp_adapter.py:493
Function
test_dropped_retrieve_reported_once_via_unhealthy_get_finished
A retrieve submitted while unhealthy is dropped (blocks flagged, nothing sent) and reported exactly once by the unhealthy branch of ``get_fini
tests/v1/test_vllm_mp_adapter.py:466
Method
test_dsv4_flash_style_mixed_compression
(self)
tests/v1/test_kv_layer_groups_manager.py:507
Function
test_dtype
Standard test dtype for tensors.
tests/v1/distributed/test_object_key_parallel.py:71
Method
test_dual_fs_instances
Test two fs_connector instances with different paths.
tests/v1/storage_backend/test_fs_connector.py:194
Method
test_duplicate_factory_raises
Registering the same factory name twice should raise ValueError.
tests/v1/distributed/test_l2_adapter_factory.py:141
Method
test_duplicate_registration_raises
(self)
tests/cli/commands/trace/test_dispatch.py:78
Method
test_duplicates_idempotent
(self)
tests/v1/native_storage_ops/test_bitmap.py:651
Method
test_duration
(self)
tests/cli/commands/trace/test_stats.py:70
Method
test_during_l1_retrieve_write_locked
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l1_failures.py:199
Method
test_during_l1_store_single_model
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l1_failures.py:57
Method
test_during_l2_prefetch_single_model
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l1_failures.py:80
Method
test_during_l2_store_not_found
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l1_failures.py:171
Method
test_dynamic_backend_batched_contains_called_via_storage_manager
Test that StorageManager calls batched_contains on the dynamic backend.
tests/v1/storage_backend/test_storage_plugin.py:389
Method
test_dynamic_backend_contains_called_via_storage_manager
Test that StorageManager calls the dynamic backend's contains method.
tests/v1/storage_backend/test_storage_plugin.py:281
Method
test_dynamic_backend_get_blocking_called_via_storage_manager
Test that StorageManager can retrieve data through the dynamic backend.
tests/v1/storage_backend/test_storage_plugin.py:318
Method
test_dynamic_backend_remove_called_via_storage_manager
Test that StorageManager can remove data through the dynamic backend.
tests/v1/storage_backend/test_storage_plugin.py:353
Method
test_dynamic_backend_with_invalid_module_path
Test that invalid module path is handled gracefully.
tests/v1/storage_backend/test_storage_plugin.py:453
Method
test_dynamic_backend_without_storage_plugins_config
Test that no dynamic backend is loaded when storage_plugins is not configured.
tests/v1/storage_backend/test_storage_plugin.py:424
Method
test_each_call_re_reads_the_list
(self)
tests/v1/distributed/test_storage_manager_l2_keys.py:87
Method
test_each_entry_is_tuple_messages_and_perm_idx
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:328
Method
test_each_key_appears_at_most_once
No key should be assigned to multiple adapters.
tests/v1/distributed/test_prefetch_policy.py:199
Method
test_each_submit_store_task_has_uniform_shape
(self)
tests/v1/distributed/test_multimodel.py:84
Method
test_early_exit_contributes_zero
Early-exit lookups (no layout_desc or empty chunk_hashes) emit `MP_LOOKUP_PREFETCH_END` with both token fields set to 0, so they must
tests/v1/mp_observability/subscribers/metrics/test_lookup.py:175
Function
test_ec_roundtrip_save_then_load
()
tests/v1/test_ec_connector.py:77
Method
test_emit_final_metrics_json
(self)
tests/cli/commands/bench/test_bench_command.py:431
Method
test_emit_final_metrics_terminal
(self)
tests/cli/commands/bench/test_bench_command.py:411
Method
test_empty
(self)
tests/test_utils.py:116
Method
test_empty
(self)
tests/v1/mp_coordinator/test_blend_directory.py:240
Method
test_empty_adapter_list_returns_empty_array
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:108
Method
test_empty_adapters_returns_empty
No adapters means no store targets.
tests/v1/distributed/test_store_policy.py:69
Method
test_empty_adapters_returns_empty
No adapters means no plan.
tests/v1/distributed/test_prefetch_policy.py:131
Method
test_empty_block_ids
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_lifecycle.py:406
Method
test_empty_bucket_dropped_after_removal
When a bucket empties the policy forgets the salt entirely — keeps status / list snapshots compact.
tests/v1/distributed/test_isolated_lru_eviction_policy.py:44
Method
test_empty_bucket_returns_empty_page
(self, adapter)
tests/v1/distributed/test_s3_l2_adapter.py:804
Method
test_empty_cache_query_response
Empty CacheQueryResponse (no cache hits) works.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:157
Method
test_empty_cache_salt_omits_attribute
Empty salt produces a dimensionless counter (no cache_salt attr).
tests/v1/mp_observability/subscribers/metrics/test_l1.py:172
Method
test_empty_configs_returns_empty_object
(self)
tests/v1/multiprocess/http_apis/test_conf_api.py:98
Method
test_empty_csv_raises
(self)
tests/v1/storage_backend/test_path_sharder.py:72
Method
test_empty_data
Test with empty data.
tests/v1/native_storage_ops/test_pattern_matcher.py:129
Method
test_empty_data
Test with empty data.
tests/v1/native_storage_ops/test_pattern_matcher.py:511
Method
test_empty_data_raises
(self, mock_openai_cls)
tests/cli/commands/bench/engine_bench/test_config.py:112
Method
test_empty_dataclass
(self)
tests/v1/test_json_utils.py:93
Method
test_empty_engine_url
(self)
tests/cli/commands/bench/engine_bench/test_config.py:77
Function
test_empty_events_batch
()
tests/v1/mp_coordinator/test_l2_api.py:142
Method
test_empty_filter_contains_nothing
(self)
tests/v1/test_bloom_filter.py:69
Method
test_empty_for_zero_length
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:146
Method
test_empty_generator_returns_sized_bitmap
A generator is truthy even when empty; the result is still size-5.
tests/v1/distributed/test_prefetch_controller.py:1304
Method
test_empty_generator_returns_sized_bitmap
A generator is truthy even when empty; the result is still size-5.
tests/v1/distributed/test_bitmap_ops.py:273
Function
test_empty_group_windows_raises
()
tests/v1/distributed/test_bitmap_ops.py:223
Method
test_empty_groups_raises
(self)
tests/v1/test_kv_layer_groups_manager.py:291
Method
test_empty_hashes
(self)
tests/v1/multiprocess/test_token_hasher.py:364
Method
test_empty_hashes_no_change
(self)
tests/v1/multiprocess/test_token_hasher.py:299
Method
test_empty_input_returns_sized_bitmap
Empty input -> num_keys-sized all-zeros bitmap (not Bitmap(0)), so a downstream ``&`` with a same-sized mask never hits a size mismatch.
tests/v1/distributed/test_prefetch_controller.py:1295
Method
test_empty_input_returns_sized_bitmap
Empty input -> num_keys-sized all-zeros bitmap (not Bitmap(0)), so a downstream ``&`` with a same-sized mask never hits a size mismatch.
tests/v1/distributed/test_bitmap_ops.py:264
Method
test_empty_is_noop
(self)
tests/v1/native_storage_ops/test_bitmap.py:645
Method
test_empty_keys
(self)
tests/v1/test_nixl_batched_contains.py:195
Method
test_empty_keys
Empty keys list returns empty list.
tests/v1/distributed/test_prefetch_policy.py:234
Method
test_empty_keys
Empty keys list returns empty list.
tests/v1/distributed/test_prefetch_policy.py:271
Method
test_empty_keys_is_noop
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l2_failures.py:195
Method
test_empty_keys_list_is_noop
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l1_failures.py:289
Method
test_empty_keys_returns_empty
Empty input should return empty output.
tests/v1/distributed/test_store_policy.py:113
Method
test_empty_keys_returns_empty
Empty keys list → empty plan.
tests/v1/distributed/test_prefetch_policy.py:140
Method
test_empty_keys_returns_empty_lists
Empty keys list should produce empty lists for each adapter.
tests/v1/distributed/test_store_policy.py:78
Method
test_empty_kv_caches
404 when kv_tensors is empty.
tests/v1/multiprocess/test_http_server.py:178
Function
test_empty_kv_caches_raises
(isolated_registry: None)
tests/v1/platform/test_cache_context_dispatch.py:172
Function
test_empty_list
An empty input yields no batches regardless of skip_count.
tests/v1/multiprocess/test_batched_iteration_with_skip.py:78
Method
test_empty_list
(self)
tests/test_utils.py:65
Method
test_empty_list
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:72
Method
test_empty_list
(self)
tests/v1/test_nixl_batched_contains.py:89
Method
test_empty_manager_has_no_groups
(self)
tests/v1/test_kv_layer_groups_manager.py:477
Method
test_empty_mask
(self)
tests/v1/compute/attention/test_triton_kernels.py:287
Method
test_empty_mask_returns_zeros
All-empty CSR → output zeros, LSE -inf.
tests/v1/compute/attention/test_triton_kernels.py:171
Method
test_empty_not_ready
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:98
Method
test_empty_policy_has_no_tracked_keys
A new policy should have no tracked keys.
tests/v1/distributed/test_lru_eviction_policy.py:41
Method
test_empty_policy_returns_no_eviction_actions
An empty policy should return no eviction actions.
tests/v1/distributed/test_lru_eviction_policy.py:46
Method
test_empty_returns_minus_one
(self)
tests/v1/distributed/test_bitmap_ops.py:328
Method
test_empty_returns_zero
(self)
tests/cli/commands/trace/test_stats.py:21
Method
test_empty_salt_is_a_real_bucket
Un-salted traffic accumulates under the empty-string key. ``bytes_by_cache_salt`` must reflect that so legacy/unisolated traffic is ob
tests/v1/distributed/test_l2_adapter_base.py:165
Method
test_empty_salt_is_a_valid_key
``cache_salt=""`` is a real bucket (anonymous traffic) — the registry treats it like any other key.
tests/v1/distributed/test_quota_manager.py:63
Method
test_empty_salt_is_accepted
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:366
Method
test_empty_salt_is_unequal_to_any_salted
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:393
Method
test_empty_salt_passes_through
(self)
tests/v1/distributed/test_fs_l2_adapter_keys.py:156
← previous
next →
9,901–10,000 of 13,371, ranked by callers