The first number is the count of modules that contain a package that imports this one.
The module count is a better indicator of popularity than the package count.
A module with 100 importing packages is counted only once instead of 100 times,
reflecting the fact that the choice to use the package was likely made only once,
not 100 times.
A '?' means that the value hasn't been computed yet.
Zero-CGo, zero-sudo unified-memory weight streaming and crash-safe APFS Copy-on-Write checkpointing built with x/apfs.
What It Demonstrates
Unified-Memory Weight Streaming (apfs.OpenMapped, apfs.Madvise): Maps a 32 MiB weight shard with F_NOCACHE and MADV_SEQUENTIAL, computes a 64-bit reduction, releases file-backed pages (MADV_DONTNEED fallback on read-only file mappings per XNU VM semantics), and cycles a 4 MiB anonymous scratch buffer through MADV_FREE_REUSABLE (apfs.FreeReusable) and MADV_FREE_REUSE (apfs.FreeReuse).
Sub-Millisecond CoW Checkpointing (apfs.CloneFile): Snapshots the 32 MiB shard in ~215 µs using clonefile(2).
Crash-Safe CoW Atomic Layer Update: Clones the live shard to a staging file (apfs.CloneFile), mutates a 1 MiB layer slice via writable mmap, issues a drive flush barrier with F_FULLFSYNC (apfs.FullSync), swaps atomically with os.Rename, and verifies the v1 checkpoint is untouched while the live shard holds v2 weights.
Usage
CGO_ENABLED=0 go run ./examples/kernel/apfs-weight-checkpoint