MCPcopy Create free account

hub / github.com/acking-you/static_flow / functions

Functions7,843 in github.com/acking-you/static_flow

↓ 6,449 callersMethodclone
(&self)
crates/frontend/src/components/stream_chunk_batcher.rs:57
↓ 1,275 callersMethodget
(&self, name: &str)
crates/llm-access-kiro/src/parser/header.rs:87
↓ 1,190 callersMethodis_empty
Return true if this batch has no deltas to apply.
crates/llm-access-core/src/store/usage.rs:176
↓ 864 callersMethodpush
Push a chunk into the pending buffer. Arms a one-shot Timeout if none is queued; otherwise returns immediately — the existing timer will pick up this
crates/frontend/src/components/stream_chunk_batcher.rs:112
↓ 831 callersMethodtrim
Drop all but the newest `max_entries` by `(touched_ms, hex)`. Top-K is composable, so trimming after every fold yields the same survivors as a single
crates/llm-access-kiro/src/cache_sim/snapshot.rs:379
↓ 748 callersMethodlen
Current entry count.
crates/llm-access-kiro/src/cache_sim/anchor_index.rs:192
↓ 724 callersMethodok
(model_ids: Vec<String>, started: Instant, checked_at_ms: i64, status_code: u16)
crates/llm-access/src/anthropic_upstream_probe.rs:37
↓ 601 callersMethodget
(&'r self, index: I)
crates/llm-access-store/src/postgres.rs:80
↓ 541 callersMethodinsert
(&mut self, name: String, value: HeaderValue)
crates/llm-access-kiro/src/parser/header.rs:83
↓ 464 callersMethodinto_response
(self)
crates/llm-access/src/admin.rs:950
↓ 425 callersMethodwith_context
(mut self, context: UserInputMessageContext)
crates/llm-access-kiro/src/wire.rs:114
↓ 361 callersMethodlock
( &self, )
crates/llm-access-store/src/duckdb/catalog.rs:191
↓ 337 callersMethodexecute
( &self, sql: &str, params: &[&(dyn SqlxBindParam + Sync)], )
crates/llm-access-store/src/postgres.rs:255
↓ 181 callersMethodis_empty
Whether the backing cache holds no entries.
crates/llm-access-kiro/src/cache_sim/anchor_index.rs:184
↓ 180 callersMethodfind
Scan tokenized text and return the first phrase hit that aligns to term boundaries. `normalized_text` must already be [`normalize_moderation_text`] ou
crates/llm-access-core/src/moderation.rs:195
↓ 177 callersMethodas_str
(self)
crates/store/src/optimize.rs:61
↓ 176 callersMethodquery
( &self, sql: &str, params: &[&(dyn SqlxBindParam + Sync)], )
crates/llm-access-store/src/postgres.rs:242
↓ 155 callersMethodinto_response
(self)
crates/llm-access/src/provider/kiro_error.rs:75
↓ 137 callersFunctioninternal_error
(message: &str)
crates/llm-access/src/admin.rs:8457
↓ 124 callersMethodpath
Current consuming path.
crates/llm-access/src/rollup_backlog.rs:44
↓ 122 callersFunctioninternal_error
(message: &str, err: impl std::fmt::Display)
crates/backend/src/handlers.rs:3694
↓ 118 callersMethodappend
Appends one redacted event as a JSON line.
crates/llm-access-codex-image/src/logging.rs:156
↓ 113 callersMethodensure_connection_alive
(&self)
crates/llm-access-store/src/postgres.rs:654
↓ 111 callersMethodstatus
(&self)
crates/llm-access/src/provider/kiro_error.rs:71
↓ 107 callersFunctionprovider_entry
Authenticate a provider request before handing it to provider dispatch.
crates/llm-access/src/provider/entry.rs:28
↓ 101 callersFunctionensure_admin_access
Enforce admin access rules using the configured token and local-only policy.
crates/backend/src/handlers.rs:3282
↓ 101 callersFunctionspawn
Spawn the periodic flush task. It re-reads the runtime config every tick so an admin toggling the feature on/off takes effect without a restart, and f
crates/llm-access/src/kiro_cache_snapshot.rs:241
↓ 99 callersFunctionbase_request
(messages: Vec<AnthropicMessage>)
crates/llm-access-kiro/src/anthropic/converter/mod.rs:370
↓ 96 callersFunctionbad_request
(message: &str)
crates/llm-access/src/admin.rs:8422
↓ 90 callersFunctionapi_get
(url: &str)
crates/frontend/src/api.rs:186
↓ 90 callersMethodnext
(&mut self)
crates/llm-access-kiro/src/parser/decoder.rs:193
↓ 88 callersFunctionconvert_request
(req: &MessagesRequest)
crates/llm-access-kiro/src/anthropic/converter/convert.rs:121
↓ 86 callersFunctionensure_admin_access
(headers: &HeaderMap)
crates/llm-access/src/admin.rs:5228
↓ 85 callersMethodselect
Select one eligible channel name.
crates/llm-access-anthropic-pool/src/lib.rs:49
↓ 79 callersFunctionheader_value
(headers: &HeaderMap, name: &str)
crates/llm-access/src/provider/codex_auth.rs:84
↓ 77 callersMethodwith_context
(self, context: impl AsRef<str>)
crates/llm-access/src/provider/kiro_media.rs:23
↓ 74 callersMethodis_empty
(&self)
crates/llm-access-store/src/duckdb/catalog.rs:35
↓ 71 callersMethodas_str
(self)
crates/llm-access/src/provider/cctest.rs:24
↓ 71 callersFunctionnow_ms
()
crates/llm-access/src/admin.rs:5265
↓ 67 callersFunctionvalue_string_opt
(array: &StringArray, idx: usize)
crates/store/src/llm_gateway_store/codec.rs:1892
↓ 66 callersMethodreplace
(&self, next: Gpt2ApiRsConfig)
crates/backend/src/gpt2api_rs.rs:241
↓ 64 callersFunctionbad_request
(message: &str)
crates/backend/src/handlers.rs:3609
↓ 63 callersFunctionapi_post
(url: &str)
crates/frontend/src/api.rs:191
↓ 62 callersFunctionprepare_gateway_request
( gateway_path: &str, query: &str, method: Method, headers: &HeaderMap, body: Body, ma
crates/llm-access-codex/src/request/prepare.rs:50
↓ 61 callersFunctionnot_found
(message: &str)
crates/llm-access/src/admin.rs:8450
↓ 60 callersMethodpath
Path of the backing YAML config file.
crates/gateway/src/config.rs:255
↓ 58 callersFunctionstring_array
(batch: &'a RecordBatch, column: &str)
crates/store/src/comments_store.rs:1693
↓ 57 callersFunctionkiro_json_error
(status: StatusCode, error_type: &str, message: &str)
crates/llm-access/src/provider/kiro_error.rs:157
↓ 56 callersFunctionensure_nullable_utf8_column
Adds a nullable UTF-8 column to an existing table without rewriting old rows.
crates/store/src/llm_gateway_store/schema.rs:618
↓ 56 callersFunctionrequired_str_col
(batch: &'a RecordBatch, name: &str)
crates/store/src/llm_gateway_store/codec.rs:1843
↓ 55 callersFunctionserve
Run the HTTP server until interrupted.
crates/llm-access/src/lib.rs:614
↓ 53 callersMethodas_str
Stable diagnostic label for this source.
crates/llm-access-codex/src/types.rs:48
↓ 53 callersFunctiontest_usage_event
()
crates/llm-access-store/src/duckdb/tests.rs:13
↓ 51 callersFunctionroute_path
Helper function to construct route paths
crates/frontend/src/config.rs:18
↓ 46 callersMethoddelete
(&self, key: &str)
crates/llm-access-store/src/request_cache.rs:705
↓ 45 callersFunctionsleep
(ms: number)
crates/frontend/gpt2api-app/src/App.tsx:1182
↓ 45 callersMethodwrite
(&self, out: &mut Vec<u8>)
crates/llm-access-kiro/src/cache_sim/snapshot.rs:95
↓ 44 callersMethodappend_usage_event
(&self, _event: &UsageEvent)
crates/llm-access-core/src/store/empty.rs:394
↓ 44 callersMethodas_str
(&self)
crates/llm-access-kiro/src/anthropic/converter/mod.rs:225
↓ 43 callersFunctionappend_optional_str
(builder: &mut StringBuilder, value: Option<&str>)
crates/store/src/llm_gateway_store/codec.rs:1965
↓ 42 callersMethodcount_rows
( &self, count_all_sql: &str, count_status_sql: &str, status: Option<&str>,
crates/llm-access-store/src/postgres.rs:696
↓ 42 callersFunctionstring_array
(batch: &'a RecordBatch, name: &str)
crates/store/src/lancedb_api.rs:3073
↓ 41 callersFunctionconnect_db
(db_path: &Path)
crates/cli/src/db.rs:29
↓ 41 callersFunctioninvalid_request
(message: impl Into<String>)
crates/llm-access-kiro/src/anthropic/converter/mod.rs:295
↓ 39 callersMethoddispatch
( &self, key: AuthenticatedKey, request: Request<Body>, _deps: super::Provider
crates/llm-access/src/provider/tests.rs:1444
↓ 38 callersFunctiontest_router
()
crates/llm-access/src/lib.rs:862
↓ 36 callersMethodas_str
Stable serialized representation.
crates/llm-access-core/src/proxy.rs:21
↓ 36 callersFunctionlog_query_result
(query: &str, path: &str, rows: usize, elapsed_ms: u128)
crates/store/src/lancedb_api.rs:1795
↓ 36 callersFunctionvalue_string
(array: &StringArray, row: usize)
crates/store/src/lancedb_api.rs:3131
↓ 35 callersFunctionbad_request
Build a `400 Bad Request` error.
crates/llm-access-codex/src/error.rs:29
↓ 35 callersFunctionextract_string
(batch: &RecordBatch, col: &str, row: usize)
crates/store/src/music_store.rs:626
↓ 34 callersMethodprocess_assistant_response
(&mut self, content: &str)
crates/llm-access-kiro/src/anthropic/stream/context.rs:492
↓ 34 callersFunctionproxy_json_request
( state: &Gpt2ApiRsState, scope: TokenScope, method: Method, path: &str, query: Option<&[(
crates/backend/src/gpt2api_rs.rs:1283
↓ 33 callersFunctionensure_scalar_index
(table: &Table, column: &str)
crates/store/src/llm_gateway_store/schema.rs:603
↓ 33 callersFunctionstatic_kiro_route
()
crates/llm-access/src/provider/tests.rs:1536
↓ 31 callersMethodbuild
Compile normalized keywords — each paired with its risk-category codes — into one scan automaton. Empty patterns (and their categories) are skipped; r
crates/llm-access-core/src/moderation.rs:136
↓ 31 callersFunctionmkShadow
()
docs/create-pptx.js:19
↓ 31 callersFunctionnormalize_optional_string_option
(raw: Option<&str>)
crates/llm-access/src/admin.rs:7497
↓ 31 callersFunctionnormalize_optional_text
(value: Option<String>)
crates/store/src/comments_store.rs:849
↓ 31 callersFunctionopen_table
(db: &Connection, table: &str)
crates/cli/src/commands/db_manage.rs:2194
↓ 31 callersMethodparse
Parse CLI arguments.
crates/llm-access/src/config.rs:103
↓ 30 callersMethodbump_dispatch_generation
(&self, provider: &str)
crates/llm-access-store/src/postgres.rs:681
↓ 30 callersMethodclose
(&self)
crates/llm-access-store/src/postgres.rs:289
↓ 30 callersMethodgenerate_final_events
Flushes remaining thinking/text buffers and emits final SSE events. If only a thinking block was produced (no text or tool_use), sets stop_reason to
crates/llm-access-kiro/src/anthropic/stream/context.rs:1005
↓ 29 callersMethodload
Load one config file and prepare it for future hot reloads.
crates/gateway/src/config.rs:231
↓ 29 callersMethodstatus
(&self)
crates/backend/src/geoip.rs:116
↓ 28 callersFunctionbad_request
(message: &str)
crates/llm-access/src/submission.rs:1055
↓ 28 callersFunctioncollect_delta_text
(events: &[SseEvent], delta_type: &str, field: &str)
crates/llm-access-kiro/src/anthropic/stream/context.rs:1603
↓ 28 callersMethoddecode
Try to decode one frame from the buffer. Returns `Ok(None)` when there is not enough data for a complete frame.
crates/llm-access-kiro/src/parser/decoder.rs:90
↓ 28 callersMethodgenerate_initial_events
Emits `message_start` and (if thinking is disabled) the initial text block start event.
crates/llm-access-kiro/src/anthropic/stream/context.rs:420
↓ 28 callersMethodopen_table
(&self, table_name: &str)
crates/store/src/music_store.rs:818
↓ 28 callersFunctionpages_from_keys
(keys: &[u128])
crates/llm-access-kiro/src/cache_sim/prefix_tree.rs:1175
↓ 28 callersMethodquery_one
( &self, sql: &str, params: &[&(dyn SqlxBindParam + Sync)], )
crates/llm-access-store/src/postgres.rs:229
↓ 27 callersMethodname
(self)
crates/gateway/src/config.rs:343
↓ 27 callersFunctionrequired_str_col
(batch: &'a RecordBatch, name: &str)
crates/store/src/interactive_store.rs:883
↓ 27 callersFunctionsleep
(ms)
skills/github-password-rotator/scripts/drive_github_password_change.mjs:20
↓ 27 callersFunctionstring_col
(batch: &'a RecordBatch, name: &str)
crates/store/src/article_request_store.rs:912
↓ 26 callersFunctionnow_ms
Convenience helper returning the current Unix timestamp in milliseconds.
crates/store/src/llm_gateway_store/types.rs:694
↓ 26 callersFunctionnullable_string_value
(array: &StringArray, idx: usize)
crates/store/src/comments_store.rs:1723
↓ 26 callersMethodquery_opt
( &self, sql: &str, params: &[&(dyn SqlxBindParam + Sync)], )
crates/llm-access-store/src/postgres.rs:216
next →1–100 of 7,843, ranked by callers