x/

directory
v0.6.21 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 4, 2026 License: MIT

Directories

Path Synopsis
ane
Package ane provides high-level access to the Apple Neural Engine.
Package ane provides high-level access to the Apple Neural Engine.
dynamicmatmul
Package dynamicmatmul provides compile-once ANE matmul kernels with runtime-provided weights.
Package dynamicmatmul provides compile-once ANE matmul kernels with runtime-provided weights.
e5rt
Package e5rt binds the e5rt_* direct dispatch route exported by the private Espresso framework.
Package e5rt binds the e5rt_* direct dispatch route exported by the private Espresso framework.
internal/anetest
Package anetest coordinates tests that use the system ANE compiler.
Package anetest coordinates tests that use the system ANE compiler.
linear
Package linear provides reusable ANE-backed linear forward execution.
Package linear provides reusable ANE-backed linear forward execution.
mil
Package mil generates MIL (Model Intermediate Language) programs and weight blobs for Apple Neural Engine compilation.
Package mil generates MIL (Model Intermediate Language) programs and weight blobs for Apple Neural Engine compilation.
telemetry
Package telemetry provides diagnostic and performance measurement types for the Apple Neural Engine.
Package telemetry provides diagnostic and performance measurement types for the Apple Neural Engine.
Package apfs provides zero-cgo Darwin APFS primitives for copy-on-write cloning, physical extent inspection, sparse hole punching, volume snapshots, buffer-cache fcntl controls, and virtual-memory madvise helpers.
Package apfs provides zero-cgo Darwin APFS primitives for copy-on-write cloning, physical extent inspection, sparse hole punching, volume snapshots, buffer-cache fcntl controls, and virtual-memory madvise helpers.
Package armbench measures benchmark arms with the attribution controls the mlxperf arena requires: interleaved execution, a mandatory identical duplicate-control arm, declared work equality, physics checks on reported byte traffic, and host qualification.
Package armbench measures benchmark arms with the attribution controls the mlxperf arena requires: interleaved execution, a mandatory identical duplicate-control arm, declared work equality, physics checks on reported byte traffic, and host qualification.
Package audiocodec encodes and decodes float32 PCM audio using macOS AudioToolbox AudioConverter with native Opus and AAC codecs without cgo.
Package audiocodec encodes and decodes float32 PCM audio using macOS AudioToolbox AudioConverter with native Opus and AAC codecs without cgo.
Package axuiautomation provides XCUIAutomation-style interfaces for macOS accessibility automation.
Package axuiautomation provides XCUIAutomation-style interfaces for macOS accessibility automation.
Package bnnsgraph wraps Apple Accelerate's BNNSGraph C API for executing compiled CoreML (.mlmodelc) graphs on CPU and AMX without cgo.
Package bnnsgraph wraps Apple Accelerate's BNNSGraph C API for executing compiled CoreML (.mlmodelc) graphs on CPU and AMX without cgo.
Package capture provides generic image conversion and processing helpers.
Package capture provides generic image conversion and processing helpers.
Package codesign signs macOS Mach-O binaries using the system codesign tool.
Package codesign signs macOS Mach-O binaries using the system codesign tool.
Package compression provides zero-cgo Go bindings to Apple's /usr/lib/libcompression.dylib via purego.
Package compression provides zero-cgo Go bindings to Apple's /usr/lib/libcompression.dylib via purego.
Package coremlcompiler compiles CoreML model packages (.mlpackage) into compiled model bundles (.mlmodelc) without requiring xcrun or Apple's proprietary coremlcompiler binary.
Package coremlcompiler compiles CoreML model packages (.mlpackage) into compiled model bundles (.mlmodelc) without requiring xcrun or Apple's proprietary coremlcompiler binary.
internal/opschema
Package opschema holds the per-op input specifications MIL ops are declared with in coremltools.
Package opschema holds the per-op input specifications MIL ops are declared with in coremltools.
nnproto
Package nnproto encodes CoreML NeuralNetwork models (specification version 1) as .mlmodel protobuf bytes.
Package nnproto encodes CoreML NeuralNetwork models (specification version 1) as .mlmodel protobuf bytes.
Package coremlconfig provides compute plan analysis and model configuration for CoreML models.
Package coremlconfig provides compute plan analysis and model configuration for CoreML models.
Package coremlruntime wraps private CoreML runtime entry points that are useful when working with compiled models, stateful prediction, and client-supplied output backings.
Package coremlruntime wraps private CoreML runtime entry points that are useful when working with compiled models, stateful prediction, and client-supplied output backings.
Package daemon prevents macOS App Nap, timer coalescing, and idle system sleep for long-running background services, training jobs, and mesh workers.
Package daemon prevents macOS App Nap, timer coalescing, and idle system sleep for long-running background services, training jobs, and mesh workers.
Package diskimages provides zero-cgo Darwin wrappers for inspecting attached disk images via DiskImages2 and unmounting or detaching them via DiskArbitration.
Package diskimages provides zero-cgo Darwin wrappers for inspecting attached disk images via DiskImages2 and unmounting or detaching them via DiskArbitration.
Package duplexaudio provides lock-free full-duplex float32 audio streaming, instant barge-in flush-to-silence, hardware VoiceProcessingIO AEC/AGC integration, and x/workgroup real-time thread pinning on macOS without cgo.
Package duplexaudio provides lock-free full-duplex float32 audio streaming, instant barge-in flush-to-silence, hardware VoiceProcessingIO AEC/AGC integration, and x/workgroup real-time thread pinning on macOS without cgo.
Package enclave wraps macOS Security.framework P-256 keys (Secure Enclave hardware keys with automatic fallback to ephemeral software SecKey handles) and provides hybrid ECIES + AES-256-GCM envelope sealing for large payloads such as model weights and KV-cache chunks.
Package enclave wraps macOS Security.framework P-256 keys (Secure Enclave hardware keys with automatic fallback to ephemeral software SecKey handles) and provides hybrid ECIES + AES-256-GCM envelope sealing for large payloads such as model weights and KV-cache chunks.
Package engineattest turns "this ran on the ANE" or "this ran on the GPU" from a comment into a checked runtime assertion.
Package engineattest turns "this ran on the ANE" or "this ran on the GPU" from a comment into a checked runtime assertion.
Package espresso provides high-level access to Apple's Espresso neural network execution framework with multi-backend support (CPU, GPU, ANE).
Package espresso provides high-level access to Apple's Espresso neural network execution framework with multi-backend support (CPU, GPU, ANE).
Package experiment defines the portable contract, arm, sample, and receipt types shared by the mlxperf optimization arena and its measurement harnesses.
Package experiment defines the portable contract, arm, sample, and receipt types shared by the mlxperf optimization arena and its measurement harnesses.
Package fskitbridge helps implement FSKit file systems in Go.
Package fskitbridge helps implement FSKit file systems in Go.
Package fswatch wraps macOS FSEvents without cgo, adding event coalescing, debouncing, typed event flags, and gitignore-style path filtering.
Package fswatch wraps macOS FSEvents without cgo, adding event coalescing, debouncing, typed event flags, and gitignore-style path filtering.
Package gpureplay coordinates headless GPU capture replay and performance profiling via Apple's system MTLReplayer and GPU trace analysis tools.
Package gpureplay coordinates headless GPU capture replay and performance profiling via Apple's system MTLReplayer and GPU trace analysis tools.
guest
ext4
Package ext4 builds a mountable ext4 filesystem image from a directory tree.
Package ext4 builds a mountable ext4 filesystem image from a directory tree.
initramfs
Package initramfs builds deterministic SVR4 newc cpio archives (Linux initramfs images) from a directory tree or a tar/tar.gz rootfs.
Package initramfs builds deterministic SVR4 newc cpio archives (Linux initramfs images) from a directory tree or a tar/tar.gz rootfs.
portfwd
Package portfwd relays TCP connections from a host listener to a backend reached through a caller-supplied dial function.
Package portfwd relays TCP connections from a host listener to a backend reached through a caller-supplied dial function.
tarfs
Package tarfs extracts tar streams into a directory safely, with optional OCI image-layer (whiteout) semantics.
Package tarfs extracts tar streams into a directory safely, with optional OCI image-layer (whiteout) semantics.
vsock
Package vsock provides stream connections and listeners over AF_VSOCK sockets on Darwin and Linux without CGo or external dependencies.
Package vsock provides stream connections and listeners over AF_VSOCK sockets on Darwin and Linux without CGo or external dependencies.
internal
oslogabi
Package oslogabi builds the argument buffers of the unified logging system's ABI, shared by the os_log (x/oslog) and os_signpost (x/signpost) emitters.
Package oslogabi builds the argument buffers of the unified logging system's ABI, shared by the os_log (x/oslog) and os_signpost (x/signpost) emitters.
Package jaccl implements RDMA collective communication in Go.
Package jaccl implements RDMA collective communication in Go.
Package libproc provides zero-cgo Darwin bindings for /usr/lib/libproc.dylib, wrapping process enumeration, process metadata, and file-descriptor inspection from <libproc.h> and <sys/proc_info.h>.
Package libproc provides zero-cgo Darwin bindings for /usr/lib/libproc.dylib, wrapping process enumeration, process metadata, and file-descriptor inspection from <libproc.h> and <sys/proc_info.h>.
Package lldb provides a minimal, cgo-free binding to the LLDB SB (scripting bridge) API.
Package lldb provides a minimal, cgo-free binding to the LLDB SB (scripting bridge) API.
Package mach provides a small, hand-written discipline layer over the raw Mach bindings in the kernel package: thread ports and real-time thread promotion.
Package mach provides a small, hand-written discipline layer over the raw Mach bindings in the kernel package: thread ports and real-time thread promotion.
Package machdebug attaches to a Mach task and controls it: reading and writing its memory and registers, setting breakpoints and watchpoints, and restoring everything it changed on detach.
Package machdebug attaches to a Mach task and controls it: reading and writing its memory and registers, setting breakpoints and watchpoints, and restoring everything it changed on detach.
Package mempressure provides Darwin process memory accounting, live memory-pressure notifications, and coordinated memory shedding without cgo.
Package mempressure provides Darwin process memory accounting, live memory-pressure notifications, and coordinated memory shedding without cgo.
Package meshdisc provides zero-configuration Bonjour peer discovery, local link inspection, and rendezvous planning for macOS compute meshes.
Package meshdisc provides zero-configuration Bonjour peer discovery, local link inspection, and rendezvous planning for macOS compute meshes.
Package metal4 provides a minimal, zero-cgo discipline layer over the Metal 4 compute and ML bindings in github.com/tmc/apple/metal.
Package metal4 provides a minimal, zero-cgo discipline layer over the Metal 4 compute and ML bindings in github.com/tmc/apple/metal.
Package metalcache provides a zero-cgo wrapper around Metal's pipeline binary caching APIs (metal.MTLBinaryArchive and, on Metal 4 devices, metal.MTL4PipelineDataSetSerializer and metal.MTL4Archive).
Package metalcache provides a zero-cgo wrapper around Metal's pipeline binary caching APIs (metal.MTLBinaryArchive and, on Metal 4 devices, metal.MTL4PipelineDataSetSerializer and metal.MTL4Archive).
Package metalcounters provides a zero-cgo wrapper around Metal GPU timestamp counter sampling for both Metal 3 (metal.MTLCounterSampleBuffer) and Metal 4 (metal.MTL4CounterHeap).
Package metalcounters provides a zero-cgo wrapper around Metal GPU timestamp counter sampling for both Metal 3 (metal.MTLCounterSampleBuffer) and Metal 4 (metal.MTL4CounterHeap).
Package metalheap provides a zero-cgo wrapper around Metal metal.MTLHeap sub-allocation, resource aliasing, purgeability control, and metal.MTLResidencySet bulk residency management.
Package metalheap provides a zero-cgo wrapper around Metal metal.MTLHeap sub-allocation, resource aliasing, purgeability control, and metal.MTLResidencySet bulk residency management.
Package metalicb provides a zero-cgo wrapper around Metal compute metal.MTLIndirectCommandBuffer graphs for single-replay N-layer dispatch workloads.
Package metalicb provides a zero-cgo wrapper around Metal compute metal.MTLIndirectCommandBuffer graphs for single-replay N-layer dispatch workloads.
Package metalio provides a zero-cgo wrapper around Metal's asynchronous storage I/O APIs (metal.MTLIOCommandQueue, metal.MTLIOFileHandle, and metal.MTLIOCommandBuffer) for streaming data directly from storage into GPU-accessible metal.MTLBuffer memory.
Package metalio provides a zero-cgo wrapper around Metal's asynchronous storage I/O APIs (metal.MTLIOCommandQueue, metal.MTLIOFileHandle, and metal.MTLIOCommandBuffer) for streaming data directly from storage into GPU-accessible metal.MTLBuffer memory.
network
nwpacket
Package nwpacket provides a small Network.framework-backed net.PacketConn.
Package nwpacket provides a small Network.framework-backed net.PacketConn.
Package nwquic wraps Apple's Network.framework QUIC transport for headless pre-shared-key (PSK) authenticated multiplexed streams and datagrams.
Package nwquic wraps Apple's Network.framework QUIC transport for headless pre-shared-key (PSK) authenticated multiplexed streams and datagrams.
Package ondeviceasr provides zero-cgo on-device speech recognition on macOS using Apple's Speech framework (speech.SFSpeechRecognizer), avfaudio PCM buffers, and x/duplexaudio barge-in voice control.
Package ondeviceasr provides zero-cgo on-device speech recognition on macOS using Apple's Speech framework (speech.SFSpeechRecognizer), avfaudio PCM buffers, and x/duplexaudio barge-in voice control.
Package oslog writes messages to the unified logging system (os_log).
Package oslog writes messages to the unified logging system (os_log).
Package ossync provides zero-cgo Go bindings for Darwin's futex-equivalent wait-on-address primitives (os_sync_wait_on_address, macOS 14.4+) and os_unfair_lock, along with a lock-free cross-process Ring over shared memory.
Package ossync provides zero-cgo Go bindings for Darwin's futex-equivalent wait-on-address primitives (os_sync_wait_on_address, macOS 14.4+) and os_unfair_lock, along with a lock-free cross-process Ring over shared memory.
Package plist provides plist parsing and writing for Apple configuration files.
Package plist provides plist parsing and writing for Apple configuration files.
Package powersample measures SoC subsystem energy on Apple silicon.
Package powersample measures SoC subsystem energy on Apple silicon.
Package purgeable wraps Darwin's Mach purgeable virtual memory API (mach_vm_allocate with VM_FLAGS_PURGABLE and mach_vm_purgable_control) without cgo.
Package purgeable wraps Darwin's Mach purgeable virtual memory API (mach_vm_allocate with VM_FLAGS_PURGABLE and mach_vm_purgable_control) without cgo.
Package rdma provides operational helpers for Apple's generated RDMA bindings.
Package rdma provides operational helpers for Apple's generated RDMA bindings.
Package screentensor converts IOSurface-backed screen frames into normalized NCHW Metal tensor buffers for vision-language models without CPU pixel copies.
Package screentensor converts IOSurface-backed screen frames into normalized NCHW Metal tensor buffers for vision-language models without CPU pixel copies.
Package signpost emits os_signpost intervals and events for use with Instruments and the unified logging system.
Package signpost emits os_signpost intervals and events for use with Instruments and the unified logging system.
cmd/signpostnames command
Command signpostnames generates a signpost string pool so names decode in trace output.
Command signpostnames generates a signpost string pool so names decode in trace output.
signpostmsg
Package signpostmsg emits os_signpost intervals that carry a formatted message under a small fixed set of names.
Package signpostmsg emits os_signpost intervals that carry a formatted message under a small fixed set of names.
Package skylight provides high-level, idiomatic Go bindings for macOS WindowServer (SkyLight) features.
Package skylight provides high-level, idiomatic Go bindings for macOS WindowServer (SkyLight) features.
Package sockbuf reports and sets socket buffer sizes on Darwin, making the kernel's silent clamping visible to the caller.
Package sockbuf reports and sets socket buffer sizes on Darwin, making the kernel's silent clamping visible to the caller.
Package swiftui loads app-owned Swift packages that expose SwiftUI content to AppKit.
Package swiftui loads app-owned Swift packages that expose SwiftUI content to AppKit.
Package thermal reports macOS thermal state, AC/battery power source, and optional SoC power readings for benchmark qualification and energy-per-token governing.
Package thermal reports macOS thermal state, AC/battery power source, and optional SoC power readings for benchmark qualification and energy-per-token governing.
Package udpbatch sends and receives multiple UDP datagrams per system call on Darwin, using the kernel's sendmsg_x and recvmsg_x entry points.
Package udpbatch sends and receives multiple UDP datagrams per system call on Darwin, using the kernel's sendmsg_x and recvmsg_x entry points.
Package unifiedtrace correlates Go runtime/trace events, signpost intervals, Metal GPU command buffer timestamps, and generic Perfetto counter/marker/span tracks onto a single monotonic Darwin nanosecond timeline with zero cgo.
Package unifiedtrace correlates Go runtime/trace events, signpost intervals, Metal GPU command buffer timestamps, and generic Perfetto counter/marker/span tracks onto a single monotonic Darwin nanosecond timeline with zero cgo.
Package vzkit provides shared infrastructure for building macOS and Linux virtual machines using Apple's Virtualization framework via purego.
Package vzkit provides shared infrastructure for building macOS and Linux virtual machines using Apple's Virtualization framework via purego.
audio
Package audio provides sound device helpers for Apple Virtualization VMs.
Package audio provides sound device helpers for Apple Virtualization VMs.
balloon
Package balloon provides memory balloon helpers for running virtual machines.
Package balloon provides memory balloon helpers for running virtual machines.
capture
Package capture provides image conversion and processing utilities for VM screenshot workflows.
Package capture provides image conversion and processing utilities for VM screenshot workflows.
clipboard
Package clipboard configures host-guest clipboard sharing via SPICE agent.
Package clipboard configures host-guest clipboard sharing via SPICE agent.
config
Package config provides mechanical configuration setters for Apple Virtualization VM configurations.
Package config provides mechanical configuration setters for Apple Virtualization VM configurations.
configcodec
Package configcodec provides virtual machine configuration encoding helpers.
Package configcodec provides virtual machine configuration encoding helpers.
debugstub
Package debugstub provides debug stub configuration helpers.
Package debugstub provides debug stub configuration helpers.
disk
Package disk provides helpers for managing macOS disk images via hdiutil.
Package disk provides helpers for managing macOS disk images via hdiutil.
display
Package display provides display specifications and graphics device builders for Virtualization framework guests.
Package display provides display specifications and graphics device builders for Virtualization framework guests.
exp
Package exp contains experimental wrappers for private or unstable Virtualization.framework features.
Package exp contains experimental wrappers for private or unstable Virtualization.framework features.
exp/accelerator
Package accelerator provides experimental accelerator device helpers.
Package accelerator provides experimental accelerator device helpers.
exp/biometric
Package biometric provides experimental biometric device configuration helpers.
Package biometric provides experimental biometric device configuration helpers.
exp/custommmio
Package custommmio provides experimental custom MMIO device helpers.
Package custommmio provides experimental custom MMIO device helpers.
exp/customvirtio
Package customvirtio provides experimental custom Virtio device helpers.
Package customvirtio provides experimental custom Virtio device helpers.
exp/mailbox
Package mailbox provides experimental mailbox device helpers.
Package mailbox provides experimental mailbox device helpers.
exp/networkfd
Package networkfd creates file-descriptor-backed network devices.
Package networkfd creates file-descriptor-backed network devices.
exp/power
Package power provides experimental power source device helpers.
Package power provides experimental power source device helpers.
exp/serial
Package serial wraps experimental serial port configuration APIs.
Package serial wraps experimental serial port configuration APIs.
framebuffer
Package framebuffer provides direct framebuffer access and capture helpers.
Package framebuffer provides direct framebuffer access and capture helpers.
identity
Package identity loads and saves Virtualization identity objects.
Package identity loads and saves Virtualization identity objects.
input
Package input provides CGEvent-based keyboard and mouse input helpers.
Package input provides CGEvent-based keyboard and mouse input helpers.
linuxconfig
Package linuxconfig builds mechanical Linux VM configuration pieces.
Package linuxconfig builds mechanical Linux VM configuration pieces.
macosconfig
Package macosconfig builds mechanical macOS VM configuration pieces.
Package macosconfig builds mechanical macOS VM configuration pieces.
network
Package network provides network configuration helpers for Apple Virtualization virtual machines.
Package network provides network configuration helpers for Apple Virtualization virtual machines.
ocr
Package ocr provides text recognition using Apple's Vision framework.
Package ocr provides text recognition using Apple's Vision framework.
platform
Package platform provides generic VM platform helpers for Apple Virtualization VMs.
Package platform provides generic VM platform helpers for Apple Virtualization VMs.
privatevm
Package privatevm provides focused wrappers for private Virtualization.framework VM selectors.
Package privatevm provides focused wrappers for private Virtualization.framework VM selectors.
restore
Package restore provides helpers for working with macOS restore images.
Package restore provides helpers for working with macOS restore images.
snapshot
Package snapshot provides VM state snapshot helpers, including both the public Virtualization save/restore APIs and the private save-with-options selector for compressed or encrypted state files.
Package snapshot provides VM state snapshot helpers, including both the public Virtualization save/restore APIs and the private save-with-options selector for compressed or encrypted state files.
spice
Package spice provides SPICE agent integration helpers.
Package spice provides SPICE agent integration helpers.
storage
Package storage provides common storage and serial-console helpers for Apple Virtualization VMs.
Package storage provides common storage and serial-console helpers for Apple Virtualization VMs.
storagehotplug
Package storagehotplug provides runtime storage device management.
Package storagehotplug provides runtime storage device management.
usbhid
Package usbhid provides safe HID input event helpers for Apple Virtualization framework virtual machines.
Package usbhid provides safe HID input event helpers for Apple Virtualization framework virtual machines.
usbpassthrough
Package usbpassthrough provides runtime USB passthrough helpers.
Package usbpassthrough provides runtime USB passthrough helpers.
virtiofs
Package virtiofs provides VirtioFS configuration helpers for Apple Virtualization VMs.
Package virtiofs provides VirtioFS configuration helpers for Apple Virtualization VMs.
vm
Package vm provides the core runtime helpers for Apple Virtualization VMs.
Package vm provides the core runtime helpers for Apple Virtualization VMs.
vminput
Package vminput provides direct virtual-machine input injection helpers.
Package vminput provides direct virtual-machine input injection helpers.
vnc
Package vnc provides headless remote display serving for virtual machines.
Package vnc provides headless remote display serving for virtual machines.
vsock
Package vsock provides Go net.Conn adapters for Virtio socket connections and helpers for connecting to and accepting connections from a guest over vsock.
Package vsock provides Go net.Conn adapters for Virtio socket connections and helpers for connecting to and accepting connections from a guest over vsock.
windowsconfig
Package windowsconfig builds mechanical Windows VM configuration pieces.
Package windowsconfig builds mechanical Windows VM configuration pieces.
Package workgroup provides zero-cgo bindings for macOS os_workgroup parallel workloads and pthread QoS class pinning on Apple Silicon.
Package workgroup provides zero-cgo bindings for macOS os_workgroup parallel workloads and pthread QoS class pinning on Apple Silicon.
Package xpctensor shares GPU-accessible tensors across macOS processes without copying, combining Apple XPC, IOSurface, and Metal buffers.
Package xpctensor shares GPU-accessible tensors across macOS processes without copying, combining Apple XPC, IOSurface, and Metal buffers.
Package zerocopy verifies at runtime that a claimed zero-copy handoff really shares memory rather than copying it.
Package zerocopy verifies at runtime that a claimed zero-copy handoff really shares memory rather than copying it.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL