MCPcopy Create free account

hub / github.com/LMCache/LMCache / functions

Functions13,371 in github.com/LMCache/LMCache

Functiontest_no_endpoint_list_leaves_backend_params_unchanged
When nixl_endpoint_list is absent, endpoint_override must not be injected.
tests/disagg/test_nixl_storage_backend.py:230
Methodtest_no_engine
503 when engine is not initialized.
tests/v1/multiprocess/test_http_server.py:137
Methodtest_no_event_subscriptions
(self)
tests/v1/mp_observability/subscribers/metrics/test_event_bus_self_metrics.py:91
Methodtest_no_false_negatives
(self)
tests/v1/test_bloom_filter.py:60
Methodtest_no_filter_passes_none_to_adapter
(self)
tests/v1/multiprocess/http_apis/test_l2_api.py:396
Methodtest_no_full_hit_exact_match
No full hit (lmcache < num_tokens): num_computed == expected.
tests/v1/test_decode_save_and_preemption.py:224
Methodtest_no_full_windows
(self)
tests/v1/multiprocess/test_token_hasher.py:209
Methodtest_no_gpu_context_records_zero_tokens
``no_gpu_context`` lookups emit ``hit_tokens=0`` and ``requested_tokens=0`` — neither counter should move so the ratio stays meaningfu
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:333
Methodtest_no_gpu_meta_raises
(self, mock_fetch)
tests/cli/commands/bench/engine_bench/test_config.py:295
Methodtest_no_hit_rate_attrs_on_store_only_path
Store-only request (no LP_END) leaves root span without hit rate attrs.
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:738
Methodtest_no_hits
Disjoint query → empty result, empty buckets.
tests/v1/multiprocess/test_optimized_lookup_v3.py:392
Methodtest_no_hits
()
tests/v1/storage_backend/test_p2p_backend_with_controller.py:541
Methodtest_no_hits_all_empty
(self)
tests/v1/multiprocess/test_token_hasher.py:311
Methodtest_no_hits_returns_empty
Empty bitmaps → empty plan.
tests/v1/distributed/test_prefetch_policy.py:117
Methodtest_no_interactive_flag_accepted
(self)
tests/cli/commands/bench/test_bench_command.py:222
Methodtest_no_interactive_missing_engine_url
(self)
tests/cli/commands/bench/test_bench_command.py:231
Methodtest_no_interactive_missing_tokens_and_lmcache
(self)
tests/cli/commands/bench/test_bench_command.py:251
Methodtest_no_interactive_missing_workload
(self)
tests/cli/commands/bench/test_bench_command.py:241
Methodtest_no_interactive_passes_with_all_args
(self)
tests/cli/commands/bench/test_bench_command.py:264
Methodtest_no_interactive_passes_with_lmcache_url
(self)
tests/cli/commands/bench/test_bench_command.py:269
Methodtest_no_keys_in_l2
Prefetch keys not in any L2 → 0 prefix hits.
tests/v1/distributed/test_prefetch_controller.py:513
Methodtest_no_layout_raises
(self, mock_fetch)
tests/cli/commands/bench/engine_bench/test_config.py:332
Methodtest_no_leak_after_shutdown_with_inflight_loads
(self, l1_manager)
tests/v1/distributed/test_l1_l2_state_metrics.py:326
Methodtest_no_match
(self)
tests/v1/mp_coordinator/test_blend_directory.py:75
Methodtest_no_matches
Test when pattern is not found in data.
tests/v1/native_storage_ops/test_pattern_matcher.py:38
Methodtest_no_matches
Test when no start pattern is found.
tests/v1/native_storage_ops/test_pattern_matcher.py:418
Methodtest_no_memory_leak_after_full_cycle
After write → store → clear → prefetch → finish_read, L1 is clean.
tests/v1/distributed/serde/test_serde_e2e.py:258
Methodtest_no_memory_leak_without_serde
No-serde path should also leave L1 clean after a full cycle.
tests/v1/distributed/serde/test_serde_e2e.py:319
Methodtest_no_otel_logs_debug
When opentelemetry is missing, log debug and skip.
tests/v1/mp_observability/test_register_gauge.py:87
Methodtest_no_phantom_hit_when_load_fails
update_on_hit must NOT be called when load_bytes_from_disk returns None.
tests/v1/storage_backend/test_local_disk_backend.py:414
Methodtest_no_publish_when_disabled
(self)
tests/v1/mp_observability/trace/test_decorator.py:43
Methodtest_no_publish_when_disabled
(self)
tests/v1/mp_observability/trace/test_decorator.py:156
Functiontest_no_quotas_evicts_all
()
tests/v1/mp_coordinator/test_eviction_manager.py:138
Methodtest_no_raw_slash_or_at
(self)
tests/v1/test_nixl_doca_memos.py:87
Methodtest_no_root_span_before_any_event
(self, registry)
tests/v1/mp_observability/subscribers/tracing/test_cb_server.py:74
Methodtest_no_root_span_before_any_event
(self, registry)
tests/v1/mp_observability/subscribers/tracing/test_mp_server.py:69
Methodtest_no_signature_bind_when_disabled
Signature is bound at decoration time only when ENABLED. We assert this indirectly: a function whose signature would raise on bind (e
tests/v1/mp_observability/trace/test_decorator.py:54
Methodtest_no_subscription_for_lifecycle_sentinels
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_cb_server.py:62
Methodtest_no_subscription_for_lifecycle_sentinels
(self, subscriber)
tests/v1/mp_observability/subscribers/logging/test_cb_server.py:45
Methodtest_no_subscription_for_normal_l1_events
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1_failures.py:282
Methodtest_no_subscription_for_normal_l2_events
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l2_failures.py:188
Methodtest_no_subscription_for_reserved_events
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1.py:91
Methodtest_no_subscription_for_reserved_events
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l1_lifecycle.py:320
Methodtest_no_system_message_when_empty
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:342
Methodtest_no_tags_when_no_tag_prefix
(self)
tests/test_utils.py:382
Methodtest_no_tokens_per_gb_no_lmcache_url_raises
( self, base_namespace, )
tests/cli/commands/bench/engine_bench/test_config.py:156
Methodtest_no_valid_groups_raises
Test that spec with only separators raises.
tests/v1/test_kv_layer_groups_manager.py:261
Methodtest_no_worker_id_version_preserves_salt
(self)
tests/v1/distributed/test_fs_l2_adapter_keys.py:269
Methodtest_non_consecutive_order_preserved
(self)
tests/test_utils.py:83
Methodtest_non_contiguous_raises
(self)
tests/v1/test_trtllm_integration.py:52
Methodtest_non_data_file_returns_none
(self)
tests/v1/distributed/test_fs_l2_adapter_keys.py:96
Methodtest_non_dataclass_raises
(self)
tests/v1/test_json_utils.py:96
Methodtest_non_default_values_set
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:245
Methodtest_non_dict_intermediate
(self)
tests/cli/test_describe.py:136
Methodtest_non_excluded_command_has_audit_log
Test that non-excluded commands generate audit logs
tests/v1/storage_backend/test_audit_connector.py:446
Functiontest_non_gpu_reap_pops_strategy_as_pair
Reaping a non-GPU entry pops its strategy in the same scan, keeping 'strategy present iff entry present'.
tests/v1/multiprocess/test_worker_liveness.py:140
Functiontest_non_gpu_resolve_for_transfer_refreshes_and_raises
_resolve_for_transfer returns (entry, strategy) and refreshes last_seen; an unknown id raises ValueError.
tests/v1/multiprocess/test_worker_liveness.py:161
Methodtest_non_layerwise_shape
(self)
tests/v1/multiprocess/test_compute_mp_checksums.py:52
Methodtest_non_layerwise_shape
(self)
tests/v1/multiprocess/test_compute_mp_checksums.py:146
Methodtest_non_numeric_limit_is_400
(self, client)
tests/v1/multiprocess/test_http_quota_endpoints.py:98
Functiontest_non_overlapping_after_prefix
Prefix filter + leftmost-greedy overlap dedup, filter applied first.
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:424
Methodtest_non_package_raises_type_error
(self)
tests/v1/test_subclass_discovery.py:324
Functiontest_non_positive_intervals_rejected
()
tests/v1/mp_coordinator/test_config.py:20
Methodtest_non_salt_chars_are_accepted
(self)
tests/v1/distributed/test_native_connector_l2_adapter.py:371
Methodtest_non_serializable_falls_back_to_str
(self)
tests/v1/test_json_utils.py:51
Methodtest_none
(self)
tests/cli/test_describe.py:119
Methodtest_none
(self)
tests/v1/storage_backend/test_local_disk_backend.py:352
Methodtest_none_input
(self)
tests/test_utils.py:215
Methodtest_none_missing
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:139
Methodtest_none_values_not_set
(self)
tests/cli/commands/bench/engine_bench/interactive/test_state.py:232
Methodtest_nonexistent_key_is_not_evictable
A key that does not exist should not be evictable.
tests/v1/distributed/test_l1_manager.py:1825
Methodtest_nonpositive_duration_is_noop
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l0_l1_throughput.py:245
Methodtest_nonpositive_duration_is_noop
(self, subscriber)
tests/v1/mp_observability/subscribers/metrics/test_l2_throughput.py:272
Methodtest_nonzero_storage_offset_raises
(self)
tests/v1/test_trtllm_integration.py:60
Methodtest_noop
(self)
tests/cli/commands/bench/engine_bench/workloads/test_long_doc_permutator.py:488
Methodtest_noop_eviction_never_evicts
NoOpEvictionPolicy should never return eviction actions.
tests/v1/distributed/test_store_controller.py:687
Methodtest_noop_when_uninitialized
(self, monkeypatch)
tests/v1/gpu_connector/test_gds_context.py:68
Functiontest_normal_pool_error_on_sync_handler
Test that add_normal_thread_pool raises TypeError for SYNC handlers.
tests/v1/multiprocess/test_mq.py:771
Methodtest_normal_transition
Test normal write-locked -> read-locked transition.
tests/v1/distributed/test_l1_manager.py:1045
Methodtest_normalize_heartbeat_url_localhost_connection
Test heartbeat URL normalization when connecting to localhost
tests/tools/test_controller_zmq_benchmark.py:507
Methodtest_normalize_heartbeat_url_remote_connection
Test heartbeat URL normalization when connecting to remote host
tests/tools/test_controller_zmq_benchmark.py:539
Methodtest_normalize_url
(self)
tests/cli/commands/test_quota.py:44
Methodtest_not_audit_decorator
Test that @NotAudit methods don't generate operation audit logs
tests/v1/storage_backend/test_audit_connector.py:481
Methodtest_not_divisible_raises
(self)
tests/v1/test_kv_layer_groups_manager.py:324
Methodtest_not_equal_different_hash
(self, basic_key)
tests/test_utils.py:273
Methodtest_not_equal_different_type
(self, basic_key)
tests/test_utils.py:283
Methodtest_not_exact_multiple
(self)
tests/test_utils.py:51
Methodtest_not_subclass_raises
TypeError when class is not an L2AdapterInterface subclass.
tests/v1/distributed/test_l2_adapter_factory.py:270
Methodtest_not_whole_chunks_raises
(self)
tests/v1/platform/test_gpu_cache_context.py:386
Methodtest_not_write_locked
Test that non-write-locked key returns KEY_IN_WRONG_STATE.
tests/v1/distributed/test_l1_manager.py:1091
Methodtest_nothing_present_is_empty
(self)
tests/v1/distributed/test_bitmap_ops.py:311
Methodtest_notify_consume_roundtrip
(self, force_pipe)
tests/v1/test_event_notifier.py:225
Methodtest_notify_then_consume
notify() makes the fd readable; consume() drains it.
tests/v1/test_event_notifier.py:40
Methodtest_notify_when_pipe_full_is_noop
notify() does not raise when pipe buffer is full.
tests/v1/test_event_notifier.py:105
Functiontest_num_blocks_and_block_size
(case)
tests/v1/gpu_connector/test_kv_format_specs.py:273
Methodtest_num_computed_above_expected_fails
num_computed > expected should fail.
tests/v1/test_decode_save_and_preemption.py:327
Methodtest_num_computed_ahead_of_tracker
The PR #2821 scenario: num_computed_tokens was incremented (e.g. by _update_after_schedule) but tracker hasn't been updated yet.
tests/v1/test_decode_save_and_preemption.py:106
Methodtest_num_computed_ahead_old_code_fails
Verify the OLD code (using num_computed_tokens directly) would fail.
tests/v1/test_decode_save_and_preemption.py:124
Methodtest_numerator_smaller_than_denominator
(self)
tests/test_utils.py:40
Methodtest_obj_creates_non_b128_object_pool
(self)
tests/v1/test_nixl_doca_memos.py:171
← previousnext →11,401–11,500 of 13,371, ranked by callers