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_init_with_lookup_server_and_worker
Test LocalDiskBackend initialization with lookup server and worker.
tests/v1/storage_backend/test_local_disk_backend.py:148
Method
test_init_with_non_serializable_fields
Non-serializable fields are converted to str.
tests/v1/multiprocess/test_mp_runtime_plugin_launcher.py:83
Method
test_init_with_none_uses_defaults
(self)
tests/v1/mp_observability/test_event_bus.py:453
Method
test_init_with_plugin
Test HF3fsConnector initialization via RemoteBackend using remote_storage_plugins. This test verifies that the HF3fsConnector can be
tests/v1/storage_backend/test_hf3fs_connector.py:320
Method
test_init_with_plugin
Test FSConnector init via RemoteBackend using remote_storage_plugins.
tests/v1/storage_backend/test_fs_connector.py:171
Method
test_initial_state
(self)
tests/cli/commands/bench/engine_bench/test_progress.py:51
Method
test_initial_state
Test that a new lock starts in unlocked state.
tests/v1/native_storage_ops/test_ttl_lock.py:23
Method
test_initialization
(self, mock_manager)
tests/v1/test_health_monitor.py:142
Method
test_initialization
Test that AddressManager initializes correctly.
tests/v1/test_address_manager.py:19
Method
test_initialization_basic
Test basic initialization
tests/v1/storage_backend/test_audit_connector.py:169
Method
test_initialization_custom_alignment
Test initialization with custom alignment.
tests/v1/test_address_manager.py:28
Method
test_initialization_with_checksum
Test initialization with checksum enabled
tests/v1/storage_backend/test_audit_connector.py:196
Method
test_initialization_with_excluded_cmds
Test initialization with excluded commands
tests/v1/storage_backend/test_audit_connector.py:221
Function
test_initialize_returns_context_and_get_returns_same
(fake_type)
tests/v1/distributed/transfer_channel/test_context_lifecycle.py:84
Method
test_initialize_with_none_is_noop
(self)
tests/v1/gpu_connector/test_gds_context.py:61
Function
test_inplace_modification
(alloc_cls)
tests/v1/test_memory_management.py:195
Method
test_inplace_tensor_modification
Test that allocated tensor data can be modified in place.
tests/v1/test_memory_management.py:805
Method
test_inprocess_mode_basic_script
Script executes and returns result in inProcess mode.
tests/v1/multiprocess/http_apis/test_common_api.py:134
Method
test_inprocess_mode_default_result
Script with no result variable returns default message.
tests/v1/multiprocess/http_apis/test_common_api.py:146
Method
test_insert_existing_key_does_not_grow
(self)
tests/tools/test_cache_simulator.py:52
Method
test_inside_list
(self)
tests/v1/mp_observability/trace/test_codecs.py:64
Method
test_instance_cleanup_on_last_worker_deregister
Test that empty instances are cleaned up correctly.
tests/v1/cache_controller/test_registry_tree.py:604
Function
test_instance_id_dataclass_default_is_distinct
()
tests/v1/multiprocess/test_config.py:127
Function
test_instance_id_defaults_are_distinct
()
tests/v1/multiprocess/test_config.py:122
Function
test_instance_id_defaults_to_uuid4
()
tests/v1/multiprocess/test_config.py:111
Function
test_instance_id_flag_is_preserved
()
tests/v1/multiprocess/test_config.py:117
Function
test_instance_id_is_uuid_derived_63_bit_int
instance_id is a 63-bit int, not the PID, and unique per adapter.
tests/v1/test_vllm_mp_adapter.py:379
Function
test_instance_id_logged_at_info_on_construction
The constructor logs instance_id at INFO for correlating server-side reap warnings. The module logger does not propagate (``propagate=False``),
tests/v1/test_vllm_mp_adapter.py:392
Method
test_int_and_str_use_disjoint_hash_inputs
(self, value: int)
tests/v1/test_bloom_filter.py:104
Method
test_int_items_round_trip
(self)
tests/v1/test_bloom_filter.py:88
Method
test_int_metadata_preserved
(self, stream)
tests/v1/mp_observability/test_event_recorder.py:78
Method
test_int_metadata_roundtrip
(self, stream, bus)
tests/v1/mp_observability/test_event_recorder.py:166
Method
test_int_zero_round_trips
(self)
tests/v1/test_bloom_filter.py:96
Method
test_integer_hashes_handled
Verify integer chunk hashes (not bytes) are also handled.
tests/v1/mp_observability/subscribers/logging/test_lookup_hash_logger.py:300
Method
test_integration_batched_put_and_get
Verify dynamic batching and batched operations with emulator.
tests/v1/storage_backend/test_bigtable_integration.py:164
Method
test_integration_put_and_get
Verify standard put and get of chunk bytes with emulator.
tests/v1/storage_backend/test_bigtable_integration.py:128
Method
test_integration_remove
Verify deleting chunks from emulator works.
tests/v1/storage_backend/test_bigtable_integration.py:220
Method
test_integration_skips_large_writes
Verify writing a chunk larger than max_chunk_size_mb is skipped without failure.
tests/v1/storage_backend/test_bigtable_integration.py:250
Method
test_interleaved_allocate_and_free
Test interleaved allocation and free operations.
tests/v1/distributed/test_l1_memory_manager.py:476
Method
test_interleaved_put_get_simulation
Simulate interleaved PUT (async cleanup) and GET (sync worker) operations to verify the fix prevents the exact race from #44.
tests/v1/test_device_id_race.py:137
Method
test_invalid_adapter_params_raises
(self)
tests/v1/distributed/test_l2_adapter_factory.py:196
Method
test_invalid_batch_idx_raises
(self)
tests/v1/platform/test_gpu_cache_context.py:245
Function
test_invalid_batch_size_raises
A batch_size below 1 raises ValueError.
tests/v1/multiprocess/test_batched_iteration_with_skip.py:92
Method
test_invalid_breaker_tokens
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:83
Method
test_invalid_capacity_raises
(self)
tests/tools/test_cache_simulator.py:67
Method
test_invalid_capacity_raises
(self)
tests/tools/test_cache_simulator.py:112
Method
test_invalid_chat_history_length
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:57
Method
test_invalid_context_length
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:50
Method
test_invalid_context_length_negative
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:67
Method
test_invalid_context_length_zero
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:63
Method
test_invalid_document_length_negative
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:50
Method
test_invalid_document_length_zero
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:46
Method
test_invalid_duration
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:73
Function
test_invalid_event_type_rejected
()
tests/v1/mp_coordinator/test_l2_api.py:152
Method
test_invalid_format
(self)
tests/test_utils.py:177
Method
test_invalid_format_raises
Test that invalid format raises ValueError.
tests/v1/test_kv_layer_groups_manager.py:237
Function
test_invalid_heartbeat_from_env_rejected
(monkeypatch, interval)
tests/v1/multiprocess/test_config.py:93
Function
test_invalid_heartbeat_rejected
(interval)
tests/v1/multiprocess/test_config.py:86
Method
test_invalid_indices_raise
(self)
tests/v1/platform/test_gpu_cache_context.py:317
Method
test_invalid_kernel_group_idx_raises
(self)
tests/v1/platform/test_gpu_cache_context.py:250
Method
test_invalid_kv_bytes_raises
(self)
tests/tools/test_cache_simulator.py:330
Method
test_invalid_kv_cache_volume
(self)
tests/cli/commands/bench/engine_bench/test_config.py:81
Method
test_invalid_levels_raise
( self, temp_pkg: Tuple[str, Path], bad_levels: List[int] )
tests/v1/test_subclass_discovery.py:598
Method
test_invalid_mount_point
Test that invalid mount point raises an error. This test verifies that the connector properly validates the 3FS mount point during
tests/v1/storage_backend/test_hf3fs_connector.py:594
Method
test_invalid_num_concurrent_users
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:77
Method
test_invalid_num_contexts_negative
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:59
Method
test_invalid_num_contexts_zero
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:55
Method
test_invalid_num_inflight_requests
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:58
Method
test_invalid_num_inflight_requests_zero
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:79
Method
test_invalid_num_permutations_zero
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:71
Method
test_invalid_num_prefixes
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:79
Method
test_invalid_num_requests
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:42
Method
test_invalid_number_raises
Test that non-numeric shape values raise ValueError.
tests/v1/test_kv_layer_groups_manager.py:247
Method
test_invalid_operation_percentage
Test invalid operation percentage sum
tests/tools/test_controller_zmq_benchmark.py:88
Method
test_invalid_output_length
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:65
Method
test_invalid_prefix_ratio_negative
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:62
Method
test_invalid_prefix_ratio_one
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:58
Method
test_invalid_prefix_ratio_zero
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:54
Method
test_invalid_qps
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:69
Method
test_invalid_query_per_document
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:54
Method
test_invalid_range_start_gt_end
(self)
tests/test_utils.py:172
Method
test_invalid_request_length
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:34
Method
test_invalid_request_length_negative
(self)
tests/cli/commands/bench/engine_bench/workloads/test_random_prefill.py:38
Method
test_invalid_role_rejected
Invalid roles are rejected.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:110
Method
test_invalid_shared_prompt_length
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:53
Method
test_invalid_shuffle_policy
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_qa.py:62
Method
test_invalid_thrash_negative
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:70
Method
test_invalid_thrash_zero
(self)
tests/cli/commands/bench/engine_bench/workloads/test_prefix_suffix_tuner.py:66
Method
test_invalid_tokens_per_gb
(self)
tests/cli/commands/bench/engine_bench/test_config.py:85
Method
test_invalid_user_input_length
(self)
tests/cli/commands/bench/engine_bench/workloads/test_multi_round_chat.py:61
Method
test_invalid_vocab_size_zero
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:75
Method
test_invert_all_ones_gives_all_zeros
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:464
Method
test_invert_all_zeros_gives_all_ones
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:456
Method
test_invert_and_original_gives_zero
(self)
tests/v1/native_storage_ops/test_bitmap.py:509
Method
test_invert_does_not_mutate_original
(self)
tests/v1/native_storage_ops/test_bitmap.py:492
Method
test_invert_flips_each_bit
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:474
Method
test_invert_or_original_gives_all_ones
(self)
tests/v1/native_storage_ops/test_bitmap.py:516
Method
test_invert_popcount_complement
(self, size)
tests/v1/native_storage_ops/test_bitmap.py:502
Function
test_ipc_cache_engine_key_serialization
Test encoding and decoding of IPCCacheServerKey using msgspec.
tests/v1/multiprocess/test_custom_types.py:21
Function
test_ipc_cache_engine_key_serialization_with_cache_salt
Roundtrip must carry ``cache_salt`` verbatim — it is part of cache identity so eq must hold after encode/decode.
tests/v1/multiprocess/test_custom_types.py:44
← previous
next →
10,701–10,800 of 13,371, ranked by callers