Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/sipcapture/homer
/ functions
Functions
4,264 in github.com/sipcapture/homer
⨍
Functions
4,264
◇
Types & classes
750
↓ 2 callers
Function
splitAtUnescapedSpace
splitAtUnescapedSpace splits s into (before, after) at the first space that is not preceded by a backslash. An open quoted string (") swallows spaces.
src/lineprotoreceiver/parser.go:175
↓ 2 callers
Function
splitFromTables
Table refs from one FROM…JOIN… segment (comma / JOIN).
src/ui/src/components/ui/sql-lake-column-completion.ts:63
↓ 2 callers
Function
splitHostPort
(addr string)
src/siprecreceiver/server.go:404
↓ 2 callers
Function
splitNonEmpty
(s string)
src/cli/migrate_hep.go:501
↓ 2 callers
Function
splitSIPSource
(src string)
src/vqrtcpreceiver/server.go:268
↓ 2 callers
Function
sqlStringLiteral
(value string)
src/node/node.go:308
↓ 2 callers
Function
sqliteLines
(catalogPath, sql string)
src/storage/ducklake/ducklake.go:929
↓ 2 callers
Function
startWorkers
startWorkers manually spins up n decoder workers. We deliberately do NOT use HEPInput.Run() because it also starts logStats / reloadWorker goroutines
src/server/mpps_benchmark_test.go:213
↓ 2 callers
Function
stopGnetServer
stopGnetServer stops a gnet listener by address with a short timeout. gnet.Run blocks until Stop is called; without this, the per-sub-bench engine and
src/server/mpps_benchmark_test.go:234
↓ 2 callers
Function
strHue
(s)
src/ui/src/dashboard/OTLPTraceModal.tsx:87
↓ 2 callers
Method
streamFromNode
( ctx context.Context, node config.NodeEndpoint, query string, )
src/coordinator/flightsql_proxy.go:169
↓ 2 callers
Function
stripOrderByForStream
stripOrderByForStream rewrites a `... ORDER BY timestamp DESC LIMIT N` query into `... LIMIT N` (no ORDER BY). DuckDB then stops scanning after N rows
src/node/node.go:641
↓ 2 callers
Function
strptr
(s string)
src/storage/ducklake/compactor/compactor_test.go:362
↓ 2 callers
Method
tableExists
tableExists checks if a table exists in a specific lake
src/storage/ducklake/tiered_query.go:291
↓ 2 callers
Function
tableFileAbs
tableFileAbs builds the absolute filesystem path of a catalog file entry.
src/storage/ducklake/compactor/compactor.go:321
↓ 2 callers
Function
tableNameFromFQN
(table string)
src/writer/compaction.go:927
↓ 2 callers
Method
tableNames
()
src/cli/cli_complete.go:83
↓ 2 callers
Function
tableShortName
(qualifier string)
src/cli/cli_complete.go:315
↓ 2 callers
Method
tickClock
tickClock subtracts elapsed time from the side-to-move's clock and updates lastMoveAt. Caller holds hub.mu.
src/coordinator/games/netchess/hub.go:464
↓ 2 callers
Method
tieredQueryDBForRead
()
src/node/node.go:935
↓ 2 callers
Function
tieredSQLIdentLiteral
(s string)
src/node/node.go:1122
↓ 2 callers
Function
toFloat
(value interface{})
src/coordinator/handlers/dashboards_v4.go:377
↓ 2 callers
Function
toFsqlFloat64
(v interface{})
src/node/fsql_arrow.go:266
↓ 2 callers
Function
tokenFilePath
()
src/cli/api_client.go:152
↓ 2 callers
Function
tokenizeSQL
(s string)
src/cli/cli_complete.go:188
↓ 2 callers
Function
transactionRowSortNanos
(row map[string]interface{})
src/coordinator/handlers/transactions_v4.go:1119
↓ 2 callers
Function
transactionRowSortTie
(row map[string]interface{})
src/coordinator/handlers/transactions_v4.go:1128
↓ 2 callers
Function
trim
(arr)
src/ui/public/game/websockets-doom.js:1739
↓ 2 callers
Function
truncate
truncate caps a string for log lines so a pathological script can't flood the logs with megabyte-sized payloads.
src/scripting/correlation/sql_bridge.go:160
↓ 2 callers
Function
truncateFlowDescription
(s: string, maxLen = SIP_FLOW_DESCRIPTION_MAX_LEN)
src/ui/src/dashboard/flow/sip-flow-label.ts:155
↓ 2 callers
Function
tryDuckLakeQuery
tryDuckLakeQuery attaches the catalog and runs a query that forces DuckLake to resolve the latest snapshot; returns the error (nil on success). It mus
src/storage/ducklake/repair_e2e_test.go:136
↓ 2 callers
Function
tryUci
(game: Chess, uci: string)
src/ui/src/dashboard/widgets/chessCore.ts:202
↓ 2 callers
Function
uint16Chunk
(t uint16, v uint16)
src/cli/migrate_hep.go:137
↓ 2 callers
Function
unixToTime
(n int64)
src/pcapwriter/rows.go:133
↓ 2 callers
Method
unlock
()
src/storage/ducklake/compactor/compactor.go:46
↓ 2 callers
Function
update
(modal)
src/ui/src/dashboard/TransactionModal.tsx:760
↓ 2 callers
Method
updateFocus
()
src/cli/tui.go:345
↓ 2 callers
Function
upload
(file: File | undefined)
src/ui/src/dashboard/widgets/PcapUploaderPanel.tsx:19
↓ 2 callers
Function
useMappings
()
src/ui/src/hooks/useMappings.ts:95
↓ 2 callers
Function
useWidgetSearch
(widgetId: string)
src/ui/src/dashboard/context/DashboardContext.tsx:377
↓ 2 callers
Function
usernameFromContext
usernameFromContext extracts the JWT username claim placed by the v4 auth middleware. Returns "" when the claim is missing — caller must treat that as
src/coordinator/handlers/games_v4.go:462
↓ 2 callers
Function
validateCSRFForCookieAuth
validateCSRFForCookieAuth ensures cross-site POST/PUT/PATCH/DELETE cannot ride the browser's session cookie (SameSite=Lax is the primary guard; this i
src/coordinator/handlers/auth_session_cookie.go:130
↓ 2 callers
Function
validateVirtualJSONPath
(path string)
src/coordinator/services/fields_virtual.go:107
↓ 2 callers
Function
valueToString
(L *lua.State, v reflect.Value)
src/scripting/luar/proxy.go:277
↓ 2 callers
Function
visibleFocusStack
(open: Record<string, OpenWindowEntry>, focusStack: string[])
src/ui/src/dashboard/stores/window-registry.ts:33
↓ 2 callers
Method
warnMaintenanceS3Failure
(op string, err error)
src/writer/compaction.go:216
↓ 2 callers
Function
warnOnce
(text)
src/ui/public/game/websockets-doom.js:229
↓ 2 callers
Function
waveConfig
(wave: number)
src/ui/src/dashboard/widgets/JitterBufferHeroPanel.tsx:76
↓ 2 callers
Function
whiteRelativeCp
(side: ChessColor, sideToMoveScore: number)
src/ui/src/dashboard/widgets/chessEngine.ts:398
↓ 2 callers
Function
writeAsciiToMemory
(str, buffer, dontAddNull)
src/ui/public/game/websockets-doom.js:898
↓ 2 callers
Function
writeFrame
writeFrame marshals evt with the subscriber's payload preference and pushes it down the socket. Returns any fatal error so the caller can tear the con
src/node/stream_handler.go:169
↓ 2 callers
Function
writeTestParquet
(t *testing.T, path string, ids []int64, vals []string)
src/storage/ducklake/compactor/parquet_test.go:25
↓ 2 callers
Method
writeTransactionExportPcap
(c echo.Context, rows []map[string]interface{}, filename string)
src/coordinator/handlers/transactions_v4.go:1619
↓ 2 callers
Method
writeTransactionExportText
(c echo.Context, rows []map[string]interface{}, filename string)
src/coordinator/handlers/transactions_v4.go:1587
↓ 2 callers
Function
zcEqCI4
(a []byte, b0, b1, b2, b3 byte)
src/sipparser/zerocopy.go:619
↓ 2 callers
Function
zcExtractParam
zcExtractParam finds ";key=value" and returns value bytes (zero-copy).
src/sipparser/zerocopy.go:535
↓ 2 callers
Function
zcFindBytesCI
zcFindBytesCI finds needle in data case-insensitively.
src/sipparser/zerocopy.go:628
↓ 2 callers
Function
zcParseAuthUser
zcParseAuthUser extracts username from Authorization header.
src/sipparser/zerocopy.go:434
↓ 2 callers
Function
zcParseContact
zcParseContact extracts user, host from Contact header.
src/sipparser/zerocopy.go:396
↓ 2 callers
Function
zcParseVia
zcParseVia extracts Via header and branch.
src/sipparser/zerocopy.go:425
↓ 1 callers
Method
AddHEP
AddHEP adds a HEP packet to the catalog (to all relevant tables)
src/flight/catalog.go:68
↓ 1 callers
Function
ApplyDuckDBS3ClientSettings
ApplyDuckDBS3ClientSettings configures DuckDB's built-in S3/httpfs client (SET s3_*) on the given DB handle. Use the same rules everywhere: writer Mul
src/storage/ducklake/tuning.go:88
↓ 1 callers
Function
ApplyUDPBuffers
ApplyUDPBuffers writes sysctl values via /proc/sys. Requires CAP_SYS_ADMIN or root. Skips knobs that are already at or above the requested value.
src/utils/sysctl/udp_tune_linux.go:45
↓ 1 callers
Method
ArrowSchema
ArrowSchema returns the Arrow schema with optional column projection
src/node/catalog.go:316
↓ 1 callers
Method
ChatJSON
ChatJSON sends a chat-completions request with json_object response_format and decodes the (possibly fenced) response body into out. It returns the mo
src/mcp/llm.go:142
↓ 1 callers
Function
ColumnsForTableKey
ColumnsForTableKey returns queryable column names for a canonical table key.
src/storage/ducklake/validation.go:104
↓ 1 callers
Function
CompactTable
CompactTable merges the small parquet files of one table into files up to TargetFileSizeBytes, **partition by partition**: for each partition it write
src/storage/ducklake/compactor/compactor.go:89
↓ 1 callers
Method
Configured
()
src/coordinator/handlers/system_v4.go:62
↓ 1 callers
Method
Consume
(token string)
src/coordinator/handlers/auth_store.go:88
↓ 1 callers
Method
ConsumePayload
ConsumePayload increments open count and returns the payload while open_count < max_opens and not expired.
src/coordinator/services/transaction_view_token.go:119
↓ 1 callers
Method
Create
(ctx context.Context, item HepScript)
src/coordinator/services/scripts_service.go:119
↓ 1 callers
Function
Decode
Decode parses a wire frame and trims the type field so the room loop doesn't have to second-guess. Rejects empty payloads.
src/coordinator/games/netchess/protocol.go:133
↓ 1 callers
Function
DefaultConfig
DefaultConfig returns the recommended publisher-side defaults. Values chosen so a single-box install can turn the feature on without tuning and still
src/stream/hepstream/config.go:47
↓ 1 callers
Function
DefaultWidgetControl
DefaultWidgetControl returns all categories enabled.
src/config/widgets.go:24
↓ 1 callers
Method
DeleteAll
(ctx context.Context)
src/coordinator/services/alerts_service.go:78
↓ 1 callers
Method
DeleteByCategory
(ctx context.Context, username, category string)
src/coordinator/services/user_settings_service.go:221
↓ 1 callers
Method
DeleteDashboard
(ctx context.Context, username, dashboardID string)
src/coordinator/services/dashboard_service.go:157
↓ 1 callers
Method
DeleteMapping
(ctx context.Context, guid string)
src/coordinator/services/mapping_service.go:243
↓ 1 callers
Method
DeleteUser
DeleteUser deletes a user and returns true if deleted
src/coordinator/services/user_service.go:269
↓ 1 callers
Function
DuckJSONPath
DuckJSONPath returns a DuckDB JSON path literal like '$.to_tag' or '$.custom_headers."X-icc_uuid"' when a segment contains hyphens or other characters
src/coordinator/services/fields_virtual.go:124
↓ 1 callers
Function
EnableSQLiteWALMode
EnableSQLiteWALMode enables WAL (Write-Ahead Logging) mode for SQLite catalog This allows concurrent reads and writes, reducing "database is locked" e
src/storage/ducklake/ducklake.go:881
↓ 1 callers
Method
Enabled
Enabled reports whether LDAP login should be offered and accepted.
src/coordinator/services/ldap_auth.go:48
↓ 1 callers
Function
Encode
Encode serialises an envelope to its JSON wire form. The error branch is unreachable for the fields we use but kept for clarity at the call site.
src/coordinator/games/netris/protocol.go:92
↓ 1 callers
Function
EnrichRowIPAliases
EnrichRowIPAliases sets aliasSrc and aliasDst only when a matching alias exists (same contract as homer-app: raw src_ip/dst_ip stay unchanged). When p
src/coordinator/services/alias_map.go:332
↓ 1 callers
Method
EnsureAuth
EnsureAuth logs in if no token is available (either from flag or cache). Returns an error only if login is required but fails.
src/cli/api_client.go:189
↓ 1 callers
Function
EnsureLimit
EnsureLimit appends "LIMIT max" when the query is SELECT/WITH and has no real LIMIT clause. Non-limitable statements (SHOW, PRAGMA, …) are unchanged.
src/coordinator/sqlvalidator/validator.go:518
↓ 1 callers
Method
EnsureVqrtcpSchema
EnsureVqrtcpSchema creates vqrtcpxr_stats if missing.
src/storage/ducklake/vqrtcp_storage.go:100
↓ 1 callers
Method
EventType
EventType returns VQSessionReport or VQIntervalReport label.
src/vqrtcpreceiver/parser.go:103
↓ 1 callers
Method
Float64
()
src/decoder/hep.pb.go:398
↓ 1 callers
Function
FormatTextLine
FormatTextLine returns the header line for a SIP message in homer style (text export).
src/coordinator/handlers/export_format.go:13
↓ 1 callers
Function
GCOrphanInlineTables
GCOrphanInlineTables drops empty `ducklake_inlined_data_*` physical tables left behind in the catalog. DuckLake never DROPs them: schema_version bumps
src/storage/ducklake/ducklake.go:957
↓ 1 callers
Method
Get
Get returns one override by storage key "{hepid}_{profile}" (param).
src/coordinator/services/user_mapping_service.go:56
↓ 1 callers
Method
GetBufferStats
GetBufferStats returns only the in-memory buffer totals across all shards. This is much cheaper than GetStats because it skips expensive lake-wide COU
src/storage/ducklake/manager.go:188
↓ 1 callers
Method
GetByGUID
(ctx context.Context, guid string)
src/coordinator/services/scripts_service.go:92
↓ 1 callers
Method
GetByUUID
(ctx context.Context, uuid string)
src/coordinator/services/agent_subscription_service.go:131
↓ 1 callers
Method
GetCatalog
GetCatalog returns the HEP catalog for adding data
src/flight/server.go:135
↓ 1 callers
Function
GetDuckDBVersion
---- DuckDB version -------------------------------------------------------- GetDuckDBVersion returns the DuckDB version string.
src/cli/system_cmd.go:937
↓ 1 callers
Method
GetEnabledModules
GetEnabledModules returns a list of enabled module names
src/config/config.go:1954
↓ 1 callers
Method
GetListenAddr
GetListenAddr returns the actual listen address
src/node/node.go:1449
↓ 1 callers
Method
GetMappingByGUID
(ctx context.Context, guid string)
src/coordinator/services/mapping_service.go:103
← previous
next →
1,301–1,400 of 4,264, ranked by callers