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_basic_prefetch
Test basic prefetch functionality.
tests/v1/distributed/test_distributed_storage_manager.py:257
Method
test_basic_read_lock
Test basic read lock acquisition and release.
tests/v1/cache_controller/test_locks.py:27
Method
test_basic_reserve_write
Test basic reserve and write functionality.
tests/v1/distributed/test_distributed_storage_manager.py:206
Method
test_basic_update
(self)
tests/v1/multiprocess/test_token_hasher.py:256
Method
test_basic_write_lock
Test basic write lock acquisition and release.
tests/v1/cache_controller/test_locks.py:33
Method
test_batch_admit_kv_basic
Test basic batch admit functionality using handle_batched_kv_operations.
tests/v1/cache_controller/test_registry_tree.py:778
Method
test_batch_after_free
Test batched_allocate after freeing memory.
tests/v1/test_address_manager.py:264
Method
test_batch_after_sbrk
Test batched_allocate after sbrk expansion.
tests/v1/test_address_manager.py:362
Method
test_batch_allocate_all_memory
Test batched_allocate that exhausts all memory.
tests/v1/test_address_manager.py:193
Method
test_batch_atomicity_on_failure
Test that failed batched_allocate does not modify state.
tests/v1/test_address_manager.py:245
Method
test_batch_carves_from_large_block
Test batched_allocate carving multiple chunks from a single large free block.
tests/v1/test_address_manager.py:313
Method
test_batch_dedups_when_all_bits_already_set
(self)
tests/v1/test_bloom_filter.py:131
Method
test_batch_delete_mixed_existing_and_missing
Batch delete a mix of stored and non-stored keys.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:827
Method
test_batch_evict_kv_basic
Test basic batch evict functionality using handle_batched_kv_operations.
tests/v1/cache_controller/test_registry_tree.py:809
Method
test_batch_evict_nonexistent_keys
Test batch evict with some non-existent keys using handle_batched_kv_operations.
tests/v1/cache_controller/test_registry_tree.py:858
Method
test_batch_exact_aligned_size
Test batched_allocate with exact aligned size.
tests/v1/test_address_manager.py:178
Method
test_batch_failure_insufficient_memory
Test batched_allocate fails when not enough memory for all blocks.
tests/v1/test_address_manager.py:220
Method
test_batch_failure_out_of_memory
Test that batched_allocate fails when out of memory.
tests/v1/test_address_manager.py:206
Method
test_batch_failure_too_large_single_block
Test batched_allocate failure when single block size is too large.
tests/v1/test_address_manager.py:234
Method
test_batch_free_and_rebatch
Test free after batched_allocate and re-allocate.
tests/v1/test_address_manager.py:381
Method
test_batch_from_fragmented_memory
Test batched_allocate from fragmented free list.
tests/v1/test_address_manager.py:285
Method
test_batch_handling
Test batch adds keys.
tests/v1/cache_controller/test_full_sync.py:257
Method
test_batch_mixed_with_single_allocate
Test batched_allocate interleaved with single allocate.
tests/v1/test_address_manager.py:343
Method
test_batch_operations_nonexistent_worker
Test batch operations on non-existent worker using handle_batched_kv_operations.
tests/v1/cache_controller/test_registry_tree.py:954
Method
test_batch_returns_unique_count_for_distinct_positions
(self)
tests/v1/test_bloom_filter.py:122
Function
test_batch_size_larger_than_remaining
A batch_size exceeding the remaining items yields one full-remainder batch.
tests/v1/multiprocess/test_batched_iteration_with_skip.py:84
Method
test_batch_size_zero
Test batched_allocate with batch_size=0.
tests/v1/test_address_manager.py:404
Method
test_batch_staging_copies_all_buffers
Batched path stages into scratch then copies to each slab.
tests/v1/test_staging_buffer.py:162
Function
test_batch_start_indices_are_original_indices
Reported start index is the original list index, accounting for skip.
tests/v1/multiprocess/test_batched_iteration_with_skip.py:41
Method
test_batch_store
(self, adapter)
tests/v1/distributed/test_native_connector_l2_adapter.py:481
Method
test_batch_store_and_lookup
Store a batch of 2 objects then lookup both.
examples/lmc_external_l2_adapter/tests/test_plugin.py:331
Method
test_batch_store_lookup_load
Batch workflow with multiple objects.
tests/v1/distributed/test_resp_l2_adapter_integration.py:213
Method
test_batch_store_lookup_load
Batch workflow with multiple objects.
tests/v1/distributed/test_mooncake_store_l2_adapter.py:722
Method
test_batch_treats_partial_overlap_as_new
(self)
tests/v1/test_bloom_filter.py:140
Method
test_batch_with_non_aligned_size
Test batched_allocate with non-aligned size request.
tests/v1/test_address_manager.py:328
Method
test_batch_wrong_sync_id_rejected
Test batch with wrong sync ID rejected.
tests/v1/cache_controller/test_full_sync.py:271
Function
test_batched_alloc
(alloc_cls)
tests/v1/test_memory_management.py:261
Method
test_batched_allocate
Test batched_allocate().
tests/v1/storage_backend/test_local_cpu_backend.py:431
Method
test_batched_allocate_basic
Test batched allocation returns correct number of MemoryObjs.
tests/v1/test_memory_management.py:694
Method
test_batched_allocate_busy_loop_false_single_attempt
batched_allocate with busy_loop=False makes exactly one attempt.
tests/v1/storage_backend/test_gds_backend.py:593
Method
test_batched_allocate_fails_while_group_pinned_then_recovers
(self)
tests/v1/storage_backend/test_local_cpu_backend.py:553
Method
test_batched_allocate_from_zero_size_manager
Test batched_allocate on a zero-size manager.
tests/v1/test_address_manager.py:1160
Method
test_batched_allocate_recovers_with_fully_evictable_group
(self)
tests/v1/storage_backend/test_local_cpu_backend.py:604
Method
test_batched_allocate_repeated_cycles
Test repeated batched_allocate and free cycles.
tests/v1/test_address_manager.py:1169
Method
test_batched_allocate_retry_then_succeed
batched_allocate retries on None and returns the list once it succeeds.
tests/v1/storage_backend/test_gds_backend.py:573
Method
test_batched_allocate_returns_list
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:264
Method
test_batched_allocate_returns_none_when_out_of_memory
Test that batched allocation returns None when memory is exhausted.
tests/v1/test_memory_management.py:738
Method
test_batched_allocate_routes_through_local_cpu_backend
(self, monkeypatch)
tests/v1/storage_backend/test_nixl_shared_pool.py:588
Method
test_batched_allocate_varied_batch_sizes
Test batched_allocate with varied batch sizes.
tests/v1/test_address_manager.py:1137
Method
test_batched_allocate_with_format
Test batched allocation with explicit memory format.
tests/v1/test_memory_management.py:718
Method
test_batched_async_contains
Verify batched_async_contains returns correct match counts.
tests/v1/storage_backend/test_bigtable_connector.py:679
Method
test_batched_async_contains_all_hit
(self, backend, async_loop)
tests/v1/storage_backend/test_maru_backend.py:612
Method
test_batched_async_contains_empty
(self, backend, async_loop)
tests/v1/storage_backend/test_maru_backend.py:630
Method
test_batched_async_contains_partial_prefix
(self, backend, async_loop)
tests/v1/storage_backend/test_maru_backend.py:621
Method
test_batched_async_contains_with_audit_log
Test batched async contains with audit log
tests/v1/storage_backend/test_audit_connector.py:543
Method
test_batched_contains_all_hit
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:548
Method
test_batched_contains_empty
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:601
Method
test_batched_contains_first_miss
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:562
Method
test_batched_contains_partial_prefix
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:555
Function
test_batched_contains_returns_prefix_hits
Prefix hit counting should stop at the first missing or invalid object.
tests/v1/storage_backend/test_hfbucket_connector.py:428
Method
test_batched_contains_with_pin
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:583
Method
test_batched_contains_with_pin_partial
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:594
Method
test_batched_free_basic
Test batched free invalidates all MemoryObjs.
tests/v1/test_memory_management.py:755
Method
test_batched_get
Verify batched_get retrieves multiple memory objects cleanly.
tests/v1/storage_backend/test_bigtable_connector.py:591
Method
test_batched_get_blocking
batched_get_blocking returns list of MemoryObj via batch_retrieve.
tests/v1/storage_backend/test_maru_backend.py:488
Method
test_batched_get_blocking_no_thread_pool
batched_get_blocking returns None per missing key when thread pool is off.
tests/v1/storage_backend/test_gds_backend.py:613
Method
test_batched_get_blocking_thread_pool
batched_get_blocking returns correct results via the thread pool.
tests/v1/storage_backend/test_gds_backend.py:625
Method
test_batched_get_blocking_with_miss
batched_get_blocking returns None for missing keys.
tests/v1/storage_backend/test_maru_backend.py:510
Method
test_batched_get_non_blocking_all_hit
(self, backend, adapter, async_loop)
tests/v1/storage_backend/test_maru_backend.py:635
Method
test_batched_get_non_blocking_empty
(self, backend, async_loop)
tests/v1/storage_backend/test_maru_backend.py:679
Method
test_batched_get_non_blocking_prefix_stop_on_miss
Second key is a miss -> only first returned (prefix semantics).
tests/v1/storage_backend/test_maru_backend.py:658
Method
test_batched_get_with_audit_log
Test batched get with audit log
tests/v1/storage_backend/test_audit_connector.py:504
Method
test_batched_kv_operation_msg
Test BatchedKVOperationMsg encode/decode.
tests/v1/cache_controller/test_messages.py:152
Function
test_batched_layerwise_vllm_paged_connector_with_gpu
(use_gpu)
tests/v1/test_xpu_connector.py:489
Function
test_batched_layerwise_vllm_paged_connector_with_gpu
(use_gpu)
tests/v1/test_gpu_connector.py:499
Method
test_batched_p2p_lookup_msg
Test BatchedP2PLookupMsg encode/decode.
tests/v1/cache_controller/test_messages.py:196
Method
test_batched_p2p_lookup_no_match
Test batched P2P lookup with no matches.
tests/v1/cache_controller/test_kv_controller.py:463
Method
test_batched_p2p_lookup_partial_match
Test batched P2P lookup with partial matches.
tests/v1/cache_controller/test_kv_controller.py:508
Method
test_batched_p2p_lookup_ret_msg
Test BatchedP2PLookupRetMsg encode/decode.
tests/v1/cache_controller/test_messages.py:621
Method
test_batched_p2p_lookup_same_instance
Test batched P2P lookup filters out same instance.
tests/v1/cache_controller/test_kv_controller.py:481
Method
test_batched_p2p_lookup_success
Test successful batched P2P lookup.
tests/v1/cache_controller/test_kv_controller.py:431
Method
test_batched_put
Verify batched_put packs mutations and sends bulk mutate rows cleanly.
tests/v1/storage_backend/test_bigtable_connector.py:646
Function
test_batched_put_and_batched_get_preserve_order
Batched operations should upload once and preserve result order.
tests/v1/storage_backend/test_hfbucket_connector.py:381
Method
test_batched_put_and_get
Test batched put and get operations. This test verifies that multiple keys can be stored and retrieved in batch.
tests/v1/storage_backend/test_hf3fs_connector.py:411
Method
test_batched_put_and_get
Test batched put and get operations.
tests/v1/storage_backend/test_fs_connector.py:291
Method
test_batched_read_calls_nixl_read
batched_read uses NIXL READ operation.
tests/v1/storage_backend/test_pd_backend_bidirectional.py:297
Function
test_batched_rope_calls_kernel_per_group_per_slot
For N non-prefix slots and G groups, kernel is called N*G times (matching today's CUDA-level work) but the Python ``per-group setup`` runs onl
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:253
Function
test_batched_rope_noop_on_empty_slots
No non-prefix slots → no setup, no kernel calls.
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:301
Function
test_batched_rope_raises_on_compressed_layout
A compressed group (tokens_per_block != slots_per_block) → RuntimeError.
tests/v1/multiprocess/test_blend_v3_load_store_opts.py:322
Method
test_batched_submit_put_calls_callback_per_key
(self, backend, adapter)
tests/v1/storage_backend/test_maru_backend.py:360
Method
test_batched_submit_put_task
(self, gds_backend)
tests/v1/storage_backend/test_gds_backend.py:205
Method
test_batched_submit_put_task
(self, backend, adapter)
tests/v1/storage_backend/test_maru_backend.py:329
Method
test_batched_submit_put_task
Test batched_submit_put_task().
tests/v1/storage_backend/test_local_cpu_backend.py:228
Method
test_batched_submit_put_task_disabled
Test batched_submit_put_task() when local_cpu is disabled.
tests/v1/storage_backend/test_local_cpu_backend.py:245
Method
test_batched_submit_put_task_refcount_down_on_failure
On batch_store failure, ref_count should return to pre-submit level.
tests/v1/storage_backend/test_maru_backend.py:407
Method
test_batched_submit_put_task_skips_in_mla_mode
In MLA worker_id_as0 mode, batched_submit_put_task should skip.
tests/v1/storage_backend/test_maru_backend.py:427
Method
test_batched_unpin
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:719
Method
test_batched_unpin_empty
(self, backend)
tests/v1/storage_backend/test_maru_backend.py:727
Method
test_below_watermark_increments_only_ticks
(self, bus, subscriber, snapshot)
tests/v1/mp_observability/subscribers/metrics/test_l1_eviction_loop.py:61
Function
test_bench_cdf_fallback
(benchmark, ntokens)
tests/benchmarks/test_xpu_kernels_microbench.py:61
← previous
next →
9,101–9,200 of 13,371, ranked by callers