MCPcopy Create free account

hub / github.com/Avarok-Cybersecurity/atlas / functions

Functions7,049 in github.com/Avarok-Cybersecurity/atlas

Functiontest_system_content_text
()
crates/spark-server/src/anthropic/tests/types_convert.rs:92
Functiontest_target_size_downscale
()
crates/spark-model/src/vision_preprocess.rs:155
Functiontest_target_size_max_pixels
()
crates/spark-model/src/vision_preprocess.rs:164
Functiontest_target_size_no_upscale
()
crates/spark-model/src/vision_preprocess.rs:146
Functiontest_task_delegation
()
crates/spark-server/src/hint_injector.rs:426
Methodtest_temperature_diversity
Five requests at temp=1.0 must not all return the same response. Uses 5 runs (not 3) to tolerate NVFP4 probability concentration: a q
scripts/dev/coherence_test.py:131
Functiontest_tensor_parallelism_range
()
crates/atlas-core/src/config/tests.rs:354
Functiontest_tensor_parallelism_range
()
crates/atlas-core/src/config/tests/tests_b.rs:87
Methodtest_thinking_mode
enable_thinking=True must not crash; response must be non-empty.
scripts/dev/coherence_test.py:186
Functiontest_tool_use_response_serialization
()
crates/spark-server/src/anthropic/tests/types_convert.rs:218
Functiontest_top_n_sigma_disabled_at_zero
()
crates/spark-runtime/src/sampler/tests.rs:131
Functiontest_top_n_sigma_filters_extreme_outliers
()
crates/spark-runtime/src/sampler/tests.rs:249
Functiontest_top_n_sigma_keeps_high_logits
()
crates/spark-runtime/src/sampler/tests.rs:86
Functiontest_try_alloc_block
()
crates/spark-runtime/src/kv_cache/tests.rs:123
Functiontest_unsupported_model_type
()
crates/spark-model/src/factory.rs:110
Functiontest_vision_pad_tokens_are_image_blind_collision
()
crates/spark-runtime/src/radix_tree/tests/basic.rs:386
Functiontest_weight_name_patterns
()
crates/spark-model/src/weight_map/tests.rs:60
Methodtext_chunk
Content text chunk.
crates/spark-server/src/openai/completions.rs:155
Methodthink_end_token_id
(&self)
crates/spark-server/src/tokenizer/chat_impl.rs:268
Functionthinking_disabled_discards_reasoning_keeps_answer
()
crates/spark-server/src/reasoning_parser/tests.rs:86
Functionthinking_off_tagless_output_is_content
()
crates/spark-server/src/reasoning_parser/tests.rs:76
Functionthinking_on_tagless_output_is_reasoning_not_content
()
crates/spark-server/src/reasoning_parser/tests.rs:48
Functionthree_byte_codepoint
()
crates/xgrammar/src/grammar/functor/char_range_tests.rs:17
Functionthree_call_parallel_fanout_stays_under_cap
()
crates/spark-server/src/api/chat_stream/tool_handlers.rs:510
Functionthree_distinct_messages_no_loop
()
crates/spark-server/src/loop_detector/tests.rs:23
Functionthree_identical_intros_fire_loop
()
crates/spark-server/src/loop_detector/tests.rs:33
Functionties_break_to_oldest_access
()
crates/spark-storage/src/eviction.rs:101
Functiontime_like_pattern
()
crates/xgrammar/src/fsm/builder/regex_tests.rs:127
Functiontime_pattern
()
crates/xgrammar/src/regex/tests_patterns.rs:103
Methodto_compact
Pack into the compact form.
crates/xgrammar/src/fsm/with_start_end.rs:188
Functionto_dfa_removes_epsilon_and_accepts
()
crates/xgrammar/src/fsm/algorithms_tests.rs:28
Functionto_dfa_state_limit
()
crates/xgrammar/src/fsm/algorithms_tests.rs:40
Methodto_fsm
Expand into the mutable form.
crates/xgrammar/src/fsm/compact_with_start_end.rs:137
Methodto_json
Serialize to the compact JSON form C++ `DetectMetadataFromHF` produces: `{"vocab_type":N,"add_prefix_space":bool}`.
crates/xgrammar/src/tokenizer/hf_metadata.rs:35
Functionto_json_format
()
crates/xgrammar/src/tokenizer/hf_metadata.rs:278
Functiontojson_filter_default_compact_hf_ref_opt_in
()
crates/spark-server/src/tokenizer/tests.rs:344
Functiontoken_bitmask_fill_all_respects_vocab_padding
()
crates/xgrammar/src/matcher/tests/bitmask_tests.rs:34
Functiontoken_bitmask_rejected_tokens_list
()
crates/xgrammar/src/matcher/tests/bitmask_tests.rs:45
Functiontoken_bitmask_set_get_roundtrip
()
crates/xgrammar/src/matcher/tests/bitmask_tests.rs:21
Functiontoken_bucket_blocks_on_oversized_request
()
crates/spark-server/src/rate_limiter/tests.rs:35
Methodtoken_count
Number of distinct tokens loaded. For startup logging only — never log the tokens themselves.
crates/spark-server/src/auth.rs:80
Functiontoken_embedding_lookup
Token embedding lookup — fetch embedding vectors by token ID. This is a simple gather operation. On SM121 it's memory-bound (embedding table is in LP
crates/atlas-embed/src/token.rs:9
Functiontoken_ids_absent_by_default_keeps_wire_byte_identical
()
crates/spark-server/src/openai/tests.rs:217
Functiontoken_refund_restores_budget
()
crates/spark-server/src/rate_limiter/tests.rs:81
Methodtokenize
Tokenize `input` into a flat token vector terminated by `EndOfFile`.
crates/xgrammar/src/grammar/lexer.rs:38
Methodtokenizer_info
The associated tokenizer info.
crates/xgrammar/src/compiler/compiled_grammar.rs:205
Methodtool_call_args_fragment
Tool call argument fragment chunk — emits a partial arguments string. Per OpenAI streaming spec, subsequent deltas carry incremental argument fragment
crates/spark-server/src/openai/stream_chunk.rs:189
Functiontool_call_colon_prefix_falls_through_to_embedded_json_name
()
crates/spark-server/src/tool_parser/tests/group_f.rs:136
Functiontool_call_format_from_str
()
crates/spark-server/src/tool_parser/tests/group_b.rs:168
Functiontool_call_format_from_str_qwen3_xml
()
crates/spark-server/src/tool_parser/tests/group_e.rs:283
Functiontool_call_name_split_after_tool_streams_intact
()
crates/spark-server/src/api/chat_stream/handle_token.rs:858
Methodtool_call_start_chunk
Tool call start chunk — emits role, id, type, name with empty arguments. Per OpenAI streaming spec, the first tool_call delta carries `role: "assistan
crates/spark-server/src/openai/stream_chunk.rs:148
Functiontool_call_zone_caps_temperature
()
crates/spark-server/src/adaptive_sampler.rs:229
Functiontool_def
Build a tool def with the given name + parameters JSON schema.
crates/spark-server/src/tool_parser/tests/streaming_frag.rs:174
Functiontool_describe_name_split_after_tool_streams_intact
()
crates/spark-server/src/api/chat_stream/handle_token.rs:870
Functiontool_schema_separates_scaffolding_from_value_slots
()
crates/xgrammar/src/compiler/tests/decompose_tests.rs:79
Functiontool_search_name_split_after_tool_streams_intact
()
crates/spark-server/src/api/chat_stream/handle_token.rs:846
Methodtotal
Total retrieval heads identified across all layers.
crates/spark-server/src/retrieval_heads.rs:87
Methodtotal_bytes
Total bytes across all buffers.
crates/spark-runtime/src/buffers/sizes.rs:408
Methodtotal_count
Total number of (token, expert) pairs (should equal num_tokens * top_k).
crates/spark-model/src/layers/ep_dispatch.rs:45
Methodtotal_memory
(&self)
crates/spark-runtime/src/metal_backend.rs:561
Methodtotal_memory
(&self)
crates/spark-runtime/src/cuda_backend/gpu_impl.rs:366
Methodtotal_memory_bytes
(&self)
crates/spark-server/src/lqer.rs:114
Methodtotal_slots
Total snapshot slots across all sessions.
crates/spark-server/src/session_manager.rs:123
Methodtotal_static_bytes
(&self)
crates/xgrammar/src/compiler/decompose.rs:244
Methodtouch
Move the entry at `idx` to the back of the LRU list (most- recently-used), fixing every shifted index. Port of the C++ `List::MoveBack`.
crates/xgrammar/src/compiler/rule_cache.rs:237
Methodtp_shard_dim
Per-rank shard size for a `total`-sized dimension under TP.
crates/atlas-core/src/config/methods.rs:144
Methodtp_shard_range
Range `[start, end)` of a `total`-sized dimension owned by this TP rank. `total` must be divisible by `tp_world_size`. Returns `(0, total)` when TP is
crates/atlas-core/src/config/methods.rs:128
Methodtpot_ms
Client-measured TPOT: decode phase duration / (tokens − 1).
bench/bench_concurrency.py:82
Functiontrailing_garbage_errors
()
crates/xgrammar/src/schema/tests_objects.rs:457
Functiontrailing_sentence_punct_stripped
()
crates/spark-server/src/openai/tests.rs:31
Functiontranslator_handles_real_claude_code_system_prompt
()
crates/spark-server/src/anthropic/tests/translator_b.rs:302
Functiontranslator_prepends_real_fixture_to_synthetic_user_text
()
crates/spark-server/src/anthropic/tests/translator_b.rs:339
Functiontranslator_strips_x_anthropic_system_billing_blocks
()
crates/spark-server/src/anthropic/tests/translator_a.rs:270
Functiontranslator_text_only_request_roundtrips
()
crates/spark-server/src/anthropic/tests/translator_a.rs:6
Functiontranslator_tool_choice_any_maps_to_required
()
crates/spark-server/src/anthropic/tests/translator_a.rs:240
Functiontranslator_tool_result_blocks_split_into_role_tool
()
crates/spark-server/src/anthropic/tests/translator_a.rs:85
Functiontranslator_tool_result_is_error_default_serde
()
crates/spark-server/src/anthropic/tests/translator_a.rs:215
Functiontranslator_tool_result_is_error_prepends_marker
()
crates/spark-server/src/anthropic/tests/translator_a.rs:126
Functiontranslator_tool_result_no_is_error_passes_text_unchanged
()
crates/spark-server/src/anthropic/tests/translator_a.rs:170
Functiontranslator_tool_use_assistant_msg_collapses_to_tool_calls
()
crates/spark-server/src/anthropic/tests/translator_a.rs:43
Methodtranspose_moe_for_prefill
Allocate the transposed MoE expert weights used by the coalesced prefill GEMM kernels. Called as a post-load pass from `factory::build` after LM-head
crates/spark-model/src/layer/transformer_layer.rs:334
Methodtranspose_moe_for_prefill_hybrid
Block C Path 2 hybrid-layout MoE transpose: build persistent transposed gate/up/down alongside the untransposed originals (no frees). Doubles MoE-weig
crates/spark-model/src/layer/transformer_layer.rs:391
Methodtranspose_moe_for_prefill_unified
Phase 8a unified-layout MoE transpose: build persistent transposed gate/up/down for all experts and free the untransposed copies. Phased flow keeps me
crates/spark-model/src/layer/transformer_layer.rs:375
Methodtranspose_moe_gate_up_for_prefill
Like `transpose_moe_for_prefill` but only transposes the gate+up projections (skips the down projection), reducing the transpose cost from 3× to 2× pe
crates/spark-model/src/layer/transformer_layer.rs:346
Functiontranspose_nvfp4_packed_kton
( _src_packed_t: u64, _dst_packed: u64, _n: u32, _k: u32, _stream: u64, )
crates/spark-runtime/src/cutlass_metal_stub.rs:95
Functiontrie_builder_facade
()
crates/xgrammar/src/fsm/builder/mod.rs:64
Functiontrie_prefix_subtree_nesting
()
crates/xgrammar/src/tokenizer/tests.rs:194
Functiontrie_ranges_length_matches_sorted
()
crates/xgrammar/src/tokenizer/tests.rs:176
Functiontrie_then_compact
()
crates/xgrammar/src/fsm/mod.rs:205
Functiontriggered_tags_at_least_one_stop_after_first
()
crates/xgrammar/src/structural_tag/tests.rs:189
Functiontriggered_tags_free_text_then_tag
()
crates/xgrammar/src/structural_tag/tests.rs:163
Functiontriggered_tags_grammar_has_tag_dispatch
()
crates/xgrammar/src/structural_tag/tests.rs:201
Functiontriggered_tags_multiple_tags
()
crates/xgrammar/src/structural_tag/tests.rs:176
Functiontruncate_after_drops_entries_past_keep_len
()
crates/spark-server/src/scheduler/ssm_decode_ring_tests.rs:89
Functiontruncate_after_keeps_exact_boundary_snapshot
()
crates/spark-server/src/scheduler/ssm_decode_ring_tests.rs:104
Functiontruncate_rewinds_cursor_to_preserve_survivors
()
crates/spark-server/src/scheduler/ssm_decode_ring_tests.rs:179
Functiontruncate_to_empty_resets_cursor
()
crates/spark-server/src/scheduler/ssm_decode_ring_tests.rs:200
Functiontruncated_reasoning_with_partial_tag_streamed_in
()
crates/spark-server/src/reasoning_parser/tests.rs:96
Methodttft_ms
Client-measured TTFT: request_start → first content token.
bench/bench_concurrency.py:75
← previousnext →6,801–6,900 of 7,049, ranked by callers