Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/acking-you/static_flow
/ functions
Functions
7,843 in github.com/acking-you/static_flow
⨍
Functions
7,843
◇
Types & classes
1,680
↓ 6,449 callers
Method
clone
(&self)
crates/frontend/src/components/stream_chunk_batcher.rs:57
↓ 1,275 callers
Method
get
(&self, name: &str)
crates/llm-access-kiro/src/parser/header.rs:87
↓ 1,190 callers
Method
is_empty
Return true if this batch has no deltas to apply.
crates/llm-access-core/src/store/usage.rs:176
↓ 864 callers
Method
push
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 callers
Method
trim
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 callers
Method
len
Current entry count.
crates/llm-access-kiro/src/cache_sim/anchor_index.rs:192
↓ 724 callers
Method
ok
(model_ids: Vec<String>, started: Instant, checked_at_ms: i64, status_code: u16)
crates/llm-access/src/anthropic_upstream_probe.rs:37
↓ 601 callers
Method
get
(&'r self, index: I)
crates/llm-access-store/src/postgres.rs:80
↓ 541 callers
Method
insert
(&mut self, name: String, value: HeaderValue)
crates/llm-access-kiro/src/parser/header.rs:83
↓ 464 callers
Method
into_response
(self)
crates/llm-access/src/admin.rs:950
↓ 425 callers
Method
with_context
(mut self, context: UserInputMessageContext)
crates/llm-access-kiro/src/wire.rs:114
↓ 361 callers
Method
lock
( &self, )
crates/llm-access-store/src/duckdb/catalog.rs:191
↓ 337 callers
Method
execute
( &self, sql: &str, params: &[&(dyn SqlxBindParam + Sync)], )
crates/llm-access-store/src/postgres.rs:255
↓ 181 callers
Method
is_empty
Whether the backing cache holds no entries.
crates/llm-access-kiro/src/cache_sim/anchor_index.rs:184
↓ 180 callers
Method
find
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 callers
Method
as_str
(self)
crates/store/src/optimize.rs:61
↓ 176 callers
Method
query
( &self, sql: &str, params: &[&(dyn SqlxBindParam + Sync)], )
crates/llm-access-store/src/postgres.rs:242
↓ 155 callers
Method
into_response
(self)
crates/llm-access/src/provider/kiro_error.rs:75
↓ 137 callers
Function
internal_error
(message: &str)
crates/llm-access/src/admin.rs:8457
↓ 124 callers
Method
path
Current consuming path.
crates/llm-access/src/rollup_backlog.rs:44
↓ 122 callers
Function
internal_error
(message: &str, err: impl std::fmt::Display)
crates/backend/src/handlers.rs:3694
↓ 118 callers
Method
append
Appends one redacted event as a JSON line.
crates/llm-access-codex-image/src/logging.rs:156
↓ 113 callers
Method
ensure_connection_alive
(&self)
crates/llm-access-store/src/postgres.rs:654
↓ 111 callers
Method
status
(&self)
crates/llm-access/src/provider/kiro_error.rs:71
↓ 107 callers
Function
provider_entry
Authenticate a provider request before handing it to provider dispatch.
crates/llm-access/src/provider/entry.rs:28
↓ 101 callers
Function
ensure_admin_access
Enforce admin access rules using the configured token and local-only policy.
crates/backend/src/handlers.rs:3282
↓ 101 callers
Function
spawn
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 callers
Function
base_request
(messages: Vec<AnthropicMessage>)
crates/llm-access-kiro/src/anthropic/converter/mod.rs:370
↓ 96 callers
Function
bad_request
(message: &str)
crates/llm-access/src/admin.rs:8422
↓ 90 callers
Function
api_get
(url: &str)
crates/frontend/src/api.rs:186
↓ 90 callers
Method
next
(&mut self)
crates/llm-access-kiro/src/parser/decoder.rs:193
↓ 88 callers
Function
convert_request
(req: &MessagesRequest)
crates/llm-access-kiro/src/anthropic/converter/convert.rs:121
↓ 86 callers
Function
ensure_admin_access
(headers: &HeaderMap)
crates/llm-access/src/admin.rs:5228
↓ 85 callers
Method
select
Select one eligible channel name.
crates/llm-access-anthropic-pool/src/lib.rs:49
↓ 79 callers
Function
header_value
(headers: &HeaderMap, name: &str)
crates/llm-access/src/provider/codex_auth.rs:84
↓ 77 callers
Method
with_context
(self, context: impl AsRef<str>)
crates/llm-access/src/provider/kiro_media.rs:23
↓ 74 callers
Method
is_empty
(&self)
crates/llm-access-store/src/duckdb/catalog.rs:35
↓ 71 callers
Method
as_str
(self)
crates/llm-access/src/provider/cctest.rs:24
↓ 71 callers
Function
now_ms
()
crates/llm-access/src/admin.rs:5265
↓ 67 callers
Function
value_string_opt
(array: &StringArray, idx: usize)
crates/store/src/llm_gateway_store/codec.rs:1892
↓ 66 callers
Method
replace
(&self, next: Gpt2ApiRsConfig)
crates/backend/src/gpt2api_rs.rs:241
↓ 64 callers
Function
bad_request
(message: &str)
crates/backend/src/handlers.rs:3609
↓ 63 callers
Function
api_post
(url: &str)
crates/frontend/src/api.rs:191
↓ 62 callers
Function
prepare_gateway_request
( gateway_path: &str, query: &str, method: Method, headers: &HeaderMap, body: Body, ma
crates/llm-access-codex/src/request/prepare.rs:50
↓ 61 callers
Function
not_found
(message: &str)
crates/llm-access/src/admin.rs:8450
↓ 60 callers
Method
path
Path of the backing YAML config file.
crates/gateway/src/config.rs:255
↓ 58 callers
Function
string_array
(batch: &'a RecordBatch, column: &str)
crates/store/src/comments_store.rs:1693
↓ 57 callers
Function
kiro_json_error
(status: StatusCode, error_type: &str, message: &str)
crates/llm-access/src/provider/kiro_error.rs:157
↓ 56 callers
Function
ensure_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 callers
Function
required_str_col
(batch: &'a RecordBatch, name: &str)
crates/store/src/llm_gateway_store/codec.rs:1843
↓ 55 callers
Function
serve
Run the HTTP server until interrupted.
crates/llm-access/src/lib.rs:614
↓ 53 callers
Method
as_str
Stable diagnostic label for this source.
crates/llm-access-codex/src/types.rs:48
↓ 53 callers
Function
test_usage_event
()
crates/llm-access-store/src/duckdb/tests.rs:13
↓ 51 callers
Function
route_path
Helper function to construct route paths
crates/frontend/src/config.rs:18
↓ 46 callers
Method
delete
(&self, key: &str)
crates/llm-access-store/src/request_cache.rs:705
↓ 45 callers
Function
sleep
(ms: number)
crates/frontend/gpt2api-app/src/App.tsx:1182
↓ 45 callers
Method
write
(&self, out: &mut Vec<u8>)
crates/llm-access-kiro/src/cache_sim/snapshot.rs:95
↓ 44 callers
Method
append_usage_event
(&self, _event: &UsageEvent)
crates/llm-access-core/src/store/empty.rs:394
↓ 44 callers
Method
as_str
(&self)
crates/llm-access-kiro/src/anthropic/converter/mod.rs:225
↓ 43 callers
Function
append_optional_str
(builder: &mut StringBuilder, value: Option<&str>)
crates/store/src/llm_gateway_store/codec.rs:1965
↓ 42 callers
Method
count_rows
( &self, count_all_sql: &str, count_status_sql: &str, status: Option<&str>,
crates/llm-access-store/src/postgres.rs:696
↓ 42 callers
Function
string_array
(batch: &'a RecordBatch, name: &str)
crates/store/src/lancedb_api.rs:3073
↓ 41 callers
Function
connect_db
(db_path: &Path)
crates/cli/src/db.rs:29
↓ 41 callers
Function
invalid_request
(message: impl Into<String>)
crates/llm-access-kiro/src/anthropic/converter/mod.rs:295
↓ 39 callers
Method
dispatch
( &self, key: AuthenticatedKey, request: Request<Body>, _deps: super::Provider
crates/llm-access/src/provider/tests.rs:1444
↓ 38 callers
Function
test_router
()
crates/llm-access/src/lib.rs:862
↓ 36 callers
Method
as_str
Stable serialized representation.
crates/llm-access-core/src/proxy.rs:21
↓ 36 callers
Function
log_query_result
(query: &str, path: &str, rows: usize, elapsed_ms: u128)
crates/store/src/lancedb_api.rs:1795
↓ 36 callers
Function
value_string
(array: &StringArray, row: usize)
crates/store/src/lancedb_api.rs:3131
↓ 35 callers
Function
bad_request
Build a `400 Bad Request` error.
crates/llm-access-codex/src/error.rs:29
↓ 35 callers
Function
extract_string
(batch: &RecordBatch, col: &str, row: usize)
crates/store/src/music_store.rs:626
↓ 34 callers
Method
process_assistant_response
(&mut self, content: &str)
crates/llm-access-kiro/src/anthropic/stream/context.rs:492
↓ 34 callers
Function
proxy_json_request
( state: &Gpt2ApiRsState, scope: TokenScope, method: Method, path: &str, query: Option<&[(
crates/backend/src/gpt2api_rs.rs:1283
↓ 33 callers
Function
ensure_scalar_index
(table: &Table, column: &str)
crates/store/src/llm_gateway_store/schema.rs:603
↓ 33 callers
Function
static_kiro_route
()
crates/llm-access/src/provider/tests.rs:1536
↓ 31 callers
Method
build
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 callers
Function
mkShadow
()
docs/create-pptx.js:19
↓ 31 callers
Function
normalize_optional_string_option
(raw: Option<&str>)
crates/llm-access/src/admin.rs:7497
↓ 31 callers
Function
normalize_optional_text
(value: Option<String>)
crates/store/src/comments_store.rs:849
↓ 31 callers
Function
open_table
(db: &Connection, table: &str)
crates/cli/src/commands/db_manage.rs:2194
↓ 31 callers
Method
parse
Parse CLI arguments.
crates/llm-access/src/config.rs:103
↓ 30 callers
Method
bump_dispatch_generation
(&self, provider: &str)
crates/llm-access-store/src/postgres.rs:681
↓ 30 callers
Method
close
(&self)
crates/llm-access-store/src/postgres.rs:289
↓ 30 callers
Method
generate_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 callers
Method
load
Load one config file and prepare it for future hot reloads.
crates/gateway/src/config.rs:231
↓ 29 callers
Method
status
(&self)
crates/backend/src/geoip.rs:116
↓ 28 callers
Function
bad_request
(message: &str)
crates/llm-access/src/submission.rs:1055
↓ 28 callers
Function
collect_delta_text
(events: &[SseEvent], delta_type: &str, field: &str)
crates/llm-access-kiro/src/anthropic/stream/context.rs:1603
↓ 28 callers
Method
decode
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 callers
Method
generate_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 callers
Method
open_table
(&self, table_name: &str)
crates/store/src/music_store.rs:818
↓ 28 callers
Function
pages_from_keys
(keys: &[u128])
crates/llm-access-kiro/src/cache_sim/prefix_tree.rs:1175
↓ 28 callers
Method
query_one
( &self, sql: &str, params: &[&(dyn SqlxBindParam + Sync)], )
crates/llm-access-store/src/postgres.rs:229
↓ 27 callers
Method
name
(self)
crates/gateway/src/config.rs:343
↓ 27 callers
Function
required_str_col
(batch: &'a RecordBatch, name: &str)
crates/store/src/interactive_store.rs:883
↓ 27 callers
Function
sleep
(ms)
skills/github-password-rotator/scripts/drive_github_password_change.mjs:20
↓ 27 callers
Function
string_col
(batch: &'a RecordBatch, name: &str)
crates/store/src/article_request_store.rs:912
↓ 26 callers
Function
now_ms
Convenience helper returning the current Unix timestamp in milliseconds.
crates/store/src/llm_gateway_store/types.rs:694
↓ 26 callers
Function
nullable_string_value
(array: &StringArray, idx: usize)
crates/store/src/comments_store.rs:1723
↓ 26 callers
Method
query_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