Directories
¶
| Path | Synopsis |
|---|---|
|
Package alg provides generic algorithm utilities.
|
Package alg provides generic algorithm utilities. |
|
bloom
Package bloom provides a space-efficient probabilistic set membership filter.
|
Package bloom provides a space-efficient probabilistic set membership filter. |
|
cms
Package cms provides a Count-Min Sketch for frequency estimation.
|
Package cms provides a Count-Min Sketch for frequency estimation. |
|
hll
Package hll provides a HyperLogLog cardinality estimator.
|
Package hll provides a HyperLogLog cardinality estimator. |
|
internal/hashutil
Package hashutil provides shared hash mixing constants and functions for probabilistic data structures (Count-Min Sketch, HyperLogLog, MinHash).
|
Package hashutil provides shared hash mixing constants and functions for probabilistic data structures (Count-Min Sketch, HyperLogLog, MinHash). |
|
interval
Package interval provides an augmented interval tree for efficient range-overlap queries.
|
Package interval provides an augmented interval tree for efficient range-overlap queries. |
|
levenshtein
Package levenshtein calculates the Levenshtein edit distance between strings.
|
Package levenshtein calculates the Levenshtein edit distance between strings. |
|
lru
Package lru provides a generic thread-safe LRU cache with optional Bloom pre-filtering, size-based eviction, and cost-aware eviction sampling.
|
Package lru provides a generic thread-safe LRU cache with optional Bloom pre-filtering, size-based eviction, and cost-aware eviction sampling. |
|
lsh
Package lsh provides a Locality-Sensitive Hashing index for fast approximate nearest-neighbor retrieval of MinHash signatures.
|
Package lsh provides a Locality-Sensitive Hashing index for fast approximate nearest-neighbor retrieval of MinHash signatures. |
|
mapx
Package mapx provides generic map operations: clone, merge, and sorted-key extraction.
|
Package mapx provides generic map operations: clone, merge, and sorted-key extraction. |
|
minhash
Package minhash provides MinHash signature generation for set similarity estimation.
|
Package minhash provides MinHash signature generation for set similarity estimation. |
|
stats
Package stats provides core statistical functions for numerical analysis.
|
Package stats provides core statistical functions for numerical analysis. |
|
Package gitlib provides a unified interface for git operations using libgit2.
|
Package gitlib provides a unified interface for git operations using libgit2. |
|
Package iosafety provides defensive file-reading and terminal-output utilities for user-supplied paths and strings.
|
Package iosafety provides defensive file-reading and terminal-output utilities for user-supplied paths and strings. |
|
Package meminfo provides memory information utilities.
|
Package meminfo provides memory information utilities. |
|
Package metrics provides interfaces for defining self-contained, reusable metrics.
|
Package metrics provides interfaces for defining self-contained, reusable metrics. |
|
Package pathfilter excludes vendor, third-party, and generated files from analysis.
|
Package pathfilter excludes vendor, third-party, and generated files from analysis. |
|
Package persist provides codec-based file persistence for arbitrary state types.
|
Package persist provides codec-based file persistence for arbitrary state types. |
|
Package pipeline provides configuration option types for analysis pipeline items and composable building blocks for concurrent pipeline construction: RunPC (producer-consumer goroutine skeleton), Phase/RunPhases (chain-of-responsibility), Batcher (batching strategies), DispatchFunc (dispatch strategy), and Fetcher (cache decorator pattern).
|
Package pipeline provides configuration option types for analysis pipeline items and composable building blocks for concurrent pipeline construction: RunPC (producer-consumer goroutine skeleton), Phase/RunPhases (chain-of-responsibility), Batcher (batching strategies), DispatchFunc (dispatch strategy), and Fetcher (cache decorator pattern). |
|
Package safeconv provides safe type conversion functions.
|
Package safeconv provides safe type conversion functions. |
|
Package sigutil provides signal-handling utilities for graceful cleanup.
|
Package sigutil provides signal-handling utilities for graceful cleanup. |
|
Package textutil provides byte-level text utilities: binary detection, line counting, JSON encoding, and byte-slice reader adapters.
|
Package textutil provides byte-level text utilities: binary detection, line counting, JSON encoding, and byte-slice reader adapters. |
|
Package uast provides a universal abstract syntax tree (UAST) representation and utilities for parsing, navigating, querying, and mutating code structure in a language-agnostic way.
|
Package uast provides a universal abstract syntax tree (UAST) representation and utilities for parsing, navigating, querying, and mutating code structure in a language-agnostic way. |
|
lsp
Package lsp provides a Language Server Protocol (LSP) server for the mapping DSL used in the UAST framework.
|
Package lsp provides a Language Server Protocol (LSP) server for the mapping DSL used in the UAST framework. |
|
pkg/mapping
Package mapping provides Tree-Sitter to UAST mapping rules and grammar analysis.
|
Package mapping provides Tree-Sitter to UAST mapping rules and grammar analysis. |
|
pkg/node
Package node provides the canonical UAST node structure and operations for tree traversal, querying, and transformation.
|
Package node provides the canonical UAST node structure and operations for tree traversal, querying, and transformation. |
|
pkg/spec
Package spec provides embedded UAST schema specifications.
|
Package spec provides embedded UAST schema specifications. |
|
Package units provides binary size unit multipliers (1024-based).
|
Package units provides binary size unit multipliers (1024-based). |
|
Package version provides the build version information for the Codefang binary.
|
Package version provides the build version information for the Codefang binary. |
Click to show internal directories.
Click to hide internal directories.