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_matches_manual_md5
Full oracle: recompute MD5 by hand and compare.
tests/v1/multiprocess/test_compute_mp_checksums.py:171
Method
test_matches_python_reference
(self)
tests/v1/native_storage_ops/test_bitmap.py:661
Method
test_matches_reference
(self, dtype, seq_len)
tests/v1/compute/attention/test_triton_kernels.py:103
Method
test_matches_reference_on_large_random_input
(self)
tests/v1/mp_coordinator/test_blend_directory.py:139
Method
test_max_batch_size
(self)
tests/v1/platform/test_gpu_cache_context.py:432
Method
test_max_batch_size_property
(self)
tests/v1/platform/test_gpu_cache_context.py:220
Method
test_max_files_limit
(self, log_dir: Path, bus: EventBus)
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:205
Method
test_max_length_salt_accepted
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:357
Method
test_max_output_length_rejected_for_unsupported_workload
( self, tmp_path, # type: ignore[no-untyped-def] )
tests/cli/commands/bench/test_bench_command.py:338
Method
test_max_samples
(self)
tests/tools/test_cache_simulator.py:202
Method
test_max_tokens_is_one
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:221
Function
test_maybe_from_env
(monkeypatch: pytest.MonkeyPatch)
tests/v1/mp_coordinator/test_blend_client.py:194
Method
test_md5_hex_format
(self)
tests/v1/multiprocess/test_compute_mp_checksums.py:103
Method
test_memcheck_consistent_through_cycles
(self)
tests/v1/distributed/memory_manager/test_gds_l1_memory_manager.py:69
Method
test_memcheck_returns_true_after_operations
Test that memcheck returns True after valid operations.
tests/v1/test_memory_management.py:777
Method
test_memory_efficiency
(self)
tests/v1/lookup_client/test_chunk_statistics_lookup_client.py:201
Function
test_memory_layout_desc_empty_mq_roundtrip
An empty layout descriptor must round-trip through the mq dispatch.
tests/v1/multiprocess/test_p2p_controller.py:115
Function
test_memory_layout_desc_mq_roundtrip
The mq encode/decode dispatch must round-trip MemoryLayoutDesc, whose torch.Size / torch.dtype fields ride the customized enc_hook / dec_hook.
tests/v1/multiprocess/test_p2p_controller.py:100
Method
test_memory_metrics
(self)
tests/v1/lookup_client/test_chunk_statistics_lookup_client.py:114
Function
test_memory_obj_metadata_to_and_from_dict
()
tests/v1/test_memory_management.py:304
Method
test_memory_usage_matches_size
(self)
tests/v1/test_bloom_filter.py:162
Method
test_merge_cli_args
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:326
Method
test_message_contains_prefix
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:362
Method
test_message_contains_shared_suffix
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:367
Method
test_message_format
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:265
Method
test_message_has_user_role
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:356
Function
test_messaging_future_basic_usage
Test basic usage of MessagingFuture: set result and retrieve it.
tests/v1/multiprocess/test_futures.py:34
Function
test_messaging_future_complex_type
Test MessagingFuture with complex types like lists and dicts.
tests/v1/multiprocess/test_futures.py:157
Function
test_messaging_future_multiple_result_calls
Test that result can be retrieved multiple times after being set.
tests/v1/multiprocess/test_futures.py:142
Function
test_messaging_future_result_timeout
Test result method raises TimeoutError when timeout is reached.
tests/v1/multiprocess/test_futures.py:110
Function
test_messaging_future_to_cuda_future
Test converting MessagingFuture to CUDAMessagingFuture using to_cuda_future method.
tests/v1/multiprocess/test_futures.py:524
Function
test_messaging_future_wait_no_timeout
Test wait method without timeout (waits indefinitely until result is set).
tests/v1/multiprocess/test_futures.py:123
Function
test_messaging_future_wait_success
Test wait method when result becomes available.
tests/v1/multiprocess/test_futures.py:77
Function
test_messaging_future_wait_timeout
Test wait method when timeout is reached.
tests/v1/multiprocess/test_futures.py:96
Function
test_messaging_future_with_thread
Test MessagingFuture with result set from another thread.
tests/v1/multiprocess/test_futures.py:52
Function
test_metadata
()
tests/v1/test_health_monitor_fallback_recovery.py:125
Method
test_metadata
Create test metadata.
tests/v1/internal_api_server/test_load_fs_chunks.py:67
Method
test_metadata_preserved
(self, bus)
tests/v1/mp_observability/test_event_bus.py:219
Method
test_method_signatures_match
(self)
tests/v1/storage_backend/test_maru_backend.py:242
Method
test_metrics_setup
Test metrics are properly set up.
tests/v1/cache_controller/test_registration_controller.py:608
Method
test_metrics_setup
Test metrics are properly set up.
tests/v1/cache_controller/test_kv_controller.py:694
Method
test_metrics_setup_no_logger
Test metrics setup when no logger is available.
tests/v1/cache_controller/test_registration_controller.py:621
Method
test_metrics_setup_no_logger
Test metrics setup when no logger is available.
tests/v1/cache_controller/test_kv_controller.py:712
Method
test_middle_tier_partial_retrieval
Test Case 2: Middle tier only got partial chunks, subsequent tier ignored.
tests/v1/storage_backend/test_storage_manager.py:156
Function
test_migrate_finalizer_unlinks_on_gc
Once the migrated tensor is GC-ed, its SHM segment is unlinked.
tests/v1/platform/test_cpu_shm.py:89
Function
test_migrate_handles_empty_tensor
Empty tensors must not call ``mmap`` (length 0 is EINVAL). Regression for the case where ``nbytes == 0``: the wrapper carries an empty ``shm_
tests/v1/platform/test_cpu_shm.py:52
Function
test_migrate_ignores_stale_entry_from_id_reuse
A cached entry whose weakref is dead must not be reused. Simulates CPython recycling an object id by injecting a stale ``(dead_ref, old_name)
tests/v1/platform/test_cpu_shm.py:240
Function
test_migrate_is_idempotent_on_same_tensor
Re-wrapping the same tensor reuses the existing SHM segment.
tests/v1/platform/test_cpu_shm.py:69
Function
test_migrate_to_shm_and_wrap_zero_copy_view
After migrate, writes via the original tensor are visible via wrapper.
tests/v1/platform/test_cpu_shm.py:35
Method
test_minimal_range_selection
Test that the first end pattern is selected (minimal range).
tests/v1/native_storage_ops/test_pattern_matcher.py:462
Method
test_missing_block_ids
400 when block_ids is not supplied.
tests/v1/multiprocess/test_http_server.py:155
Function
test_missing_body_rejected
()
tests/v1/mp_coordinator/test_l2_api.py:92
Method
test_missing_cache_salt_raises
``IsolatedLRU`` is per-bucket only — calling without an explicit ``cache_salt`` raises ``ValueError`` rather than silently falling bac
tests/v1/distributed/test_isolated_lru_eviction_policy.py:92
Method
test_missing_chunk_size
400 when chunk_size is missing.
tests/v1/multiprocess/test_http_server.py:162
Method
test_missing_class_name_raises
(self)
tests/v1/distributed/test_l2_adapter_factory.py:191
Method
test_missing_class_raises
AttributeError when class not in module.
tests/v1/distributed/test_l2_adapter_factory.py:256
Method
test_missing_class_raises
AttributeError when class not in module.
tests/v1/distributed/test_l2_adapter_factory.py:787
Method
test_missing_correlation_fields_skips
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l2_throughput.py:280
Method
test_missing_device_skips_tracking
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_l1_throughput.py:268
Method
test_missing_engine_id_still_records_without_attr
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_engine.py:194
Method
test_missing_engine_url
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:106
Method
test_missing_fields_returns_zero
(self)
tests/tools/test_cache_simulator.py:139
Method
test_missing_fields_show_na
Verify missing nested fields render as None (N/A in terminal).
tests/cli/test_describe.py:243
Method
test_missing_hosts_raises
(self)
tests/v1/distributed/test_aerospike_l2_adapter_config.py:52
Method
test_missing_key
(self)
tests/cli/test_describe.py:128
Method
test_missing_key_with_default
(self)
tests/cli/test_describe.py:132
Method
test_missing_labels_record_without_attrs
(self, bus, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_lookup.py:334
Method
test_missing_layout_hints_raises
(self)
tests/v1/test_trtllm_integration.py:151
Method
test_missing_limit_gb_is_400
(self, client)
tests/v1/multiprocess/test_http_quota_endpoints.py:92
Method
test_missing_lookup_result_for_adapter
Adapter with no lookup result is skipped.
tests/v1/distributed/test_prefetch_policy.py:187
Method
test_missing_metadata_uses_safe_defaults
A tick event with empty metadata still increments ``ticks`` (and leaves ``triggered`` unchanged) without crashing.
tests/v1/mp_observability/subscribers/metrics/test_l1_eviction_loop.py:97
Method
test_missing_method_raises
TypeError when connector is missing a required method.
tests/v1/distributed/test_l2_adapter_factory.py:806
Method
test_missing_model_raises
(self)
tests/cli/commands/bench/engine_bench/test_config.py:222
Method
test_missing_module_path_raises
(self)
tests/v1/distributed/test_l2_adapter_factory.py:186
Method
test_missing_rank_breaks_chunk
(self)
tests/v1/distributed/test_bitmap_ops.py:515
Method
test_missing_session_id_skips_tracking
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_l1_throughput.py:256
Method
test_missing_workload
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:111
Method
test_mixed
(self)
tests/test_utils.py:79
Method
test_mixed
(self)
tests/test_utils.py:125
Function
test_mixed_alloc
(alloc_cls)
tests/v1/test_memory_management.py:288
Function
test_mixed_allocator_owns_returned_tensor_object
()
tests/v1/test_memory_management.py:239
Method
test_mixed_block_ids
Mixed format 0,[1,2] is accepted for block_ids.
tests/v1/multiprocess/test_http_server.py:125
Function
test_mixed_device_types_raises
Cross-device batches are unsupported and must fail loudly.
tests/v1/platform/test_cache_context_dispatch.py:177
Method
test_mixed_format
(self)
tests/test_utils.py:146
Method
test_mixed_hits_and_misses
(self)
tests/v1/multiprocess/test_token_hasher.py:345
Method
test_mixed_local_and_remote
First key from cache, remaining from remote.
tests/v1/test_nixl_batched_contains.py:246
Method
test_mixed_lookup_existing_and_missing
Lookup a mix of stored and non-stored keys.
tests/v1/distributed/test_resp_l2_adapter_integration.py:250
Method
test_mixed_lookup_existing_and_missing
Lookup a mix of stored and non-stored keys.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:759
Method
test_mixed_operations_order
Test that admit and evict operations maintain order.
tests/v1/storage_backend/test_batched_message_sender.py:282
Method
test_mixed_positive_negative
Test with mixed positive and negative numbers.
tests/v1/native_storage_ops/test_pattern_matcher.py:198
Method
test_mixed_prefix_gap_shifted
Prefix hit at chunk 0, gap, aligned hit, shifted hit — all three buckets.
tests/v1/multiprocess/test_optimized_lookup_v3.py:474
Method
test_mixed_prefix_then_shifted
Contiguous prefix hit, chain break, shifted hit past the break.
tests/v1/multiprocess/test_optimized_lookup_v3.py:451
Function
test_mixed_remote_operations
(stats_monitor)
tests/test_observability.py:180
Method
test_mixed_salts_in_single_event
A single event with keys from two tenants splits correctly.
tests/v1/mp_observability/subscribers/metrics/test_l1.py:155
Method
test_mixed_success_failure
(self)
tests/cli/commands/bench/engine_bench/test_stats.py:162
Method
test_mixed_sw_kernel_groups_share_single_object_group
(self)
tests/v1/test_kv_layer_groups_manager.py:453
Method
test_mixed_ticks
Ratio of triggered to ticks reflects how often eviction fired.
tests/v1/mp_observability/subscribers/metrics/test_l1_eviction_loop.py:83
Method
test_mixed_uri_and_raw
(self)
tests/v1/storage_backend/test_local_disk_backend.py:372
Method
test_mla_as_5d_kv_size_one
5D layout with ``kv_size=1`` (MLA-in-5D) hashes cleanly.
tests/v1/multiprocess/test_compute_mp_checksums.py:128
Method
test_mock_factory_is_registered
Mock adapter factory should be auto-registered on import.
tests/v1/distributed/test_l2_adapter_factory.py:79
← previous
next →
11,101–11,200 of 13,371, ranked by callers