MCPcopy Create free account

hub / github.com/sipcapture/homer / functions

Functions4,264 in github.com/sipcapture/homer

↓ 2 callersFunctionsplitAtUnescapedSpace
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 callersFunctionsplitFromTables
Table refs from one FROM…JOIN… segment (comma / JOIN).
src/ui/src/components/ui/sql-lake-column-completion.ts:63
↓ 2 callersFunctionsplitHostPort
(addr string)
src/siprecreceiver/server.go:404
↓ 2 callersFunctionsplitNonEmpty
(s string)
src/cli/migrate_hep.go:501
↓ 2 callersFunctionsplitSIPSource
(src string)
src/vqrtcpreceiver/server.go:268
↓ 2 callersFunctionsqlStringLiteral
(value string)
src/node/node.go:308
↓ 2 callersFunctionsqliteLines
(catalogPath, sql string)
src/storage/ducklake/ducklake.go:929
↓ 2 callersFunctionstartWorkers
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 callersFunctionstopGnetServer
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 callersFunctionstrHue
(s)
src/ui/src/dashboard/OTLPTraceModal.tsx:87
↓ 2 callersMethodstreamFromNode
( ctx context.Context, node config.NodeEndpoint, query string, )
src/coordinator/flightsql_proxy.go:169
↓ 2 callersFunctionstripOrderByForStream
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 callersFunctionstrptr
(s string)
src/storage/ducklake/compactor/compactor_test.go:362
↓ 2 callersMethodtableExists
tableExists checks if a table exists in a specific lake
src/storage/ducklake/tiered_query.go:291
↓ 2 callersFunctiontableFileAbs
tableFileAbs builds the absolute filesystem path of a catalog file entry.
src/storage/ducklake/compactor/compactor.go:321
↓ 2 callersFunctiontableNameFromFQN
(table string)
src/writer/compaction.go:927
↓ 2 callersMethodtableNames
()
src/cli/cli_complete.go:83
↓ 2 callersFunctiontableShortName
(qualifier string)
src/cli/cli_complete.go:315
↓ 2 callersMethodtickClock
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 callersMethodtieredQueryDBForRead
()
src/node/node.go:935
↓ 2 callersFunctiontieredSQLIdentLiteral
(s string)
src/node/node.go:1122
↓ 2 callersFunctiontoFloat
(value interface{})
src/coordinator/handlers/dashboards_v4.go:377
↓ 2 callersFunctiontoFsqlFloat64
(v interface{})
src/node/fsql_arrow.go:266
↓ 2 callersFunctiontokenFilePath
()
src/cli/api_client.go:152
↓ 2 callersFunctiontokenizeSQL
(s string)
src/cli/cli_complete.go:188
↓ 2 callersFunctiontransactionRowSortNanos
(row map[string]interface{})
src/coordinator/handlers/transactions_v4.go:1119
↓ 2 callersFunctiontransactionRowSortTie
(row map[string]interface{})
src/coordinator/handlers/transactions_v4.go:1128
↓ 2 callersFunctiontrim
(arr)
src/ui/public/game/websockets-doom.js:1739
↓ 2 callersFunctiontruncate
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 callersFunctiontruncateFlowDescription
(s: string, maxLen = SIP_FLOW_DESCRIPTION_MAX_LEN)
src/ui/src/dashboard/flow/sip-flow-label.ts:155
↓ 2 callersFunctiontryDuckLakeQuery
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 callersFunctiontryUci
(game: Chess, uci: string)
src/ui/src/dashboard/widgets/chessCore.ts:202
↓ 2 callersFunctionuint16Chunk
(t uint16, v uint16)
src/cli/migrate_hep.go:137
↓ 2 callersFunctionunixToTime
(n int64)
src/pcapwriter/rows.go:133
↓ 2 callersMethodunlock
()
src/storage/ducklake/compactor/compactor.go:46
↓ 2 callersFunctionupdate
(modal)
src/ui/src/dashboard/TransactionModal.tsx:760
↓ 2 callersMethodupdateFocus
()
src/cli/tui.go:345
↓ 2 callersFunctionupload
(file: File | undefined)
src/ui/src/dashboard/widgets/PcapUploaderPanel.tsx:19
↓ 2 callersFunctionuseMappings
()
src/ui/src/hooks/useMappings.ts:95
↓ 2 callersFunctionuseWidgetSearch
(widgetId: string)
src/ui/src/dashboard/context/DashboardContext.tsx:377
↓ 2 callersFunctionusernameFromContext
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 callersFunctionvalidateCSRFForCookieAuth
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 callersFunctionvalidateVirtualJSONPath
(path string)
src/coordinator/services/fields_virtual.go:107
↓ 2 callersFunctionvalueToString
(L *lua.State, v reflect.Value)
src/scripting/luar/proxy.go:277
↓ 2 callersFunctionvisibleFocusStack
(open: Record<string, OpenWindowEntry>, focusStack: string[])
src/ui/src/dashboard/stores/window-registry.ts:33
↓ 2 callersMethodwarnMaintenanceS3Failure
(op string, err error)
src/writer/compaction.go:216
↓ 2 callersFunctionwarnOnce
(text)
src/ui/public/game/websockets-doom.js:229
↓ 2 callersFunctionwaveConfig
(wave: number)
src/ui/src/dashboard/widgets/JitterBufferHeroPanel.tsx:76
↓ 2 callersFunctionwhiteRelativeCp
(side: ChessColor, sideToMoveScore: number)
src/ui/src/dashboard/widgets/chessEngine.ts:398
↓ 2 callersFunctionwriteAsciiToMemory
(str, buffer, dontAddNull)
src/ui/public/game/websockets-doom.js:898
↓ 2 callersFunctionwriteFrame
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 callersFunctionwriteTestParquet
(t *testing.T, path string, ids []int64, vals []string)
src/storage/ducklake/compactor/parquet_test.go:25
↓ 2 callersMethodwriteTransactionExportPcap
(c echo.Context, rows []map[string]interface{}, filename string)
src/coordinator/handlers/transactions_v4.go:1619
↓ 2 callersMethodwriteTransactionExportText
(c echo.Context, rows []map[string]interface{}, filename string)
src/coordinator/handlers/transactions_v4.go:1587
↓ 2 callersFunctionzcEqCI4
(a []byte, b0, b1, b2, b3 byte)
src/sipparser/zerocopy.go:619
↓ 2 callersFunctionzcExtractParam
zcExtractParam finds ";key=value" and returns value bytes (zero-copy).
src/sipparser/zerocopy.go:535
↓ 2 callersFunctionzcFindBytesCI
zcFindBytesCI finds needle in data case-insensitively.
src/sipparser/zerocopy.go:628
↓ 2 callersFunctionzcParseAuthUser
zcParseAuthUser extracts username from Authorization header.
src/sipparser/zerocopy.go:434
↓ 2 callersFunctionzcParseContact
zcParseContact extracts user, host from Contact header.
src/sipparser/zerocopy.go:396
↓ 2 callersFunctionzcParseVia
zcParseVia extracts Via header and branch.
src/sipparser/zerocopy.go:425
↓ 1 callersMethodAddHEP
AddHEP adds a HEP packet to the catalog (to all relevant tables)
src/flight/catalog.go:68
↓ 1 callersFunctionApplyDuckDBS3ClientSettings
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 callersFunctionApplyUDPBuffers
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 callersMethodArrowSchema
ArrowSchema returns the Arrow schema with optional column projection
src/node/catalog.go:316
↓ 1 callersMethodChatJSON
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 callersFunctionColumnsForTableKey
ColumnsForTableKey returns queryable column names for a canonical table key.
src/storage/ducklake/validation.go:104
↓ 1 callersFunctionCompactTable
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 callersMethodConfigured
()
src/coordinator/handlers/system_v4.go:62
↓ 1 callersMethodConsume
(token string)
src/coordinator/handlers/auth_store.go:88
↓ 1 callersMethodConsumePayload
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 callersMethodCreate
(ctx context.Context, item HepScript)
src/coordinator/services/scripts_service.go:119
↓ 1 callersFunctionDecode
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 callersFunctionDefaultConfig
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 callersFunctionDefaultWidgetControl
DefaultWidgetControl returns all categories enabled.
src/config/widgets.go:24
↓ 1 callersMethodDeleteAll
(ctx context.Context)
src/coordinator/services/alerts_service.go:78
↓ 1 callersMethodDeleteByCategory
(ctx context.Context, username, category string)
src/coordinator/services/user_settings_service.go:221
↓ 1 callersMethodDeleteDashboard
(ctx context.Context, username, dashboardID string)
src/coordinator/services/dashboard_service.go:157
↓ 1 callersMethodDeleteMapping
(ctx context.Context, guid string)
src/coordinator/services/mapping_service.go:243
↓ 1 callersMethodDeleteUser
DeleteUser deletes a user and returns true if deleted
src/coordinator/services/user_service.go:269
↓ 1 callersFunctionDuckJSONPath
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 callersFunctionEnableSQLiteWALMode
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 callersMethodEnabled
Enabled reports whether LDAP login should be offered and accepted.
src/coordinator/services/ldap_auth.go:48
↓ 1 callersFunctionEncode
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 callersFunctionEnrichRowIPAliases
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 callersMethodEnsureAuth
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 callersFunctionEnsureLimit
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 callersMethodEnsureVqrtcpSchema
EnsureVqrtcpSchema creates vqrtcpxr_stats if missing.
src/storage/ducklake/vqrtcp_storage.go:100
↓ 1 callersMethodEventType
EventType returns VQSessionReport or VQIntervalReport label.
src/vqrtcpreceiver/parser.go:103
↓ 1 callersMethodFloat64
()
src/decoder/hep.pb.go:398
↓ 1 callersFunctionFormatTextLine
FormatTextLine returns the header line for a SIP message in homer style (text export).
src/coordinator/handlers/export_format.go:13
↓ 1 callersFunctionGCOrphanInlineTables
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 callersMethodGet
Get returns one override by storage key "{hepid}_{profile}" (param).
src/coordinator/services/user_mapping_service.go:56
↓ 1 callersMethodGetBufferStats
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 callersMethodGetByGUID
(ctx context.Context, guid string)
src/coordinator/services/scripts_service.go:92
↓ 1 callersMethodGetByUUID
(ctx context.Context, uuid string)
src/coordinator/services/agent_subscription_service.go:131
↓ 1 callersMethodGetCatalog
GetCatalog returns the HEP catalog for adding data
src/flight/server.go:135
↓ 1 callersFunctionGetDuckDBVersion
---- DuckDB version -------------------------------------------------------- GetDuckDBVersion returns the DuckDB version string.
src/cli/system_cmd.go:937
↓ 1 callersMethodGetEnabledModules
GetEnabledModules returns a list of enabled module names
src/config/config.go:1954
↓ 1 callersMethodGetListenAddr
GetListenAddr returns the actual listen address
src/node/node.go:1449
↓ 1 callersMethodGetMappingByGUID
(ctx context.Context, guid string)
src/coordinator/services/mapping_service.go:103
← previousnext →1,301–1,400 of 4,264, ranked by callers