apple

package module
v0.6.20 Latest Latest
Warning

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

Go to latest
Published: Dec 3, 2026 License: MIT Imports: 0 Imported by: ? modules, 0 packages

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.

README

apple

Go Reference

Go bindings for Apple platform frameworks. These bindings are cgo-free, using purego for dynamic function loading at runtime.

Auto-generated from Apple developer documentation via an internal tool called applegen.

Private frameworks

Bindings under the private/ directory wrap undocumented Apple frameworks. These APIs are unstable, may change or disappear between OS releases, and carry no compatibility guarantees.

Disclaimer

This is not an official Apple product. Apple, macOS, and all related frameworks are trademarks of Apple Inc. This project is an independent, community-driven effort and is not affiliated with, endorsed by, or sponsored by Apple Inc.

License

MIT

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
Package accelerate provides Go bindings for the Accelerate framework.
Package accelerate provides Go bindings for the Accelerate framework.
Package accessibility provides Go bindings for the Accessibility framework.
Package accessibility provides Go bindings for the Accessibility framework.
Package appkit provides Go bindings for the AppKit framework.
Package appkit provides Go bindings for the AppKit framework.
Package applicationservices provides Go bindings for the ApplicationServices framework.
Package applicationservices provides Go bindings for the ApplicationServices framework.
Package appstoreconnectapi provides types for the App Store Connect API.
Package appstoreconnectapi provides types for the App Store Connect API.
Package audiotoolbox provides Go bindings for the AudioToolbox framework.
Package audiotoolbox provides Go bindings for the AudioToolbox framework.
Package automator provides Go bindings for the Automator framework.
Package automator provides Go bindings for the Automator framework.
Package avfaudio provides Go bindings for the AVFAudio framework.
Package avfaudio provides Go bindings for the AVFAudio framework.
Hand-written bindings for methods not generated by applegen.
Hand-written bindings for methods not generated by applegen.
Package cloudkit provides Go bindings for the CloudKit framework.
Package cloudkit provides Go bindings for the CloudKit framework.
Package colorsync provides Go bindings for the ColorSync framework.
Package colorsync provides Go bindings for the ColorSync framework.
Package coreaudio provides Go bindings for the CoreAudio framework.
Package coreaudio provides Go bindings for the CoreAudio framework.
Package coreaudiotypes provides Go bindings for the CoreAudioTypes framework.
Package coreaudiotypes provides Go bindings for the CoreAudioTypes framework.
Package corebluetooth provides Go bindings for the CoreBluetooth framework.
Package corebluetooth provides Go bindings for the CoreBluetooth framework.
Package coredata provides Go bindings for the CoreData framework.
Package coredata provides Go bindings for the CoreData framework.
Package corefoundation provides Go bindings for the CoreFoundation framework.
Package corefoundation provides Go bindings for the CoreFoundation framework.
Package coregraphics provides Go bindings for the CoreGraphics framework.
Package coregraphics provides Go bindings for the CoreGraphics framework.
Package coreimage provides Go bindings for the CoreImage framework.
Package coreimage provides Go bindings for the CoreImage framework.
Package corelocation provides Go bindings for the CoreLocation framework.
Package corelocation provides Go bindings for the CoreLocation framework.
Package coremedia provides Go bindings for the CoreMedia framework.
Package coremedia provides Go bindings for the CoreMedia framework.
Package coremediaio provides Go bindings for the CoreMediaIO framework.
Package coremediaio provides Go bindings for the CoreMediaIO framework.
Package coremidi provides Go bindings for the CoreMIDI framework.
Package coremidi provides Go bindings for the CoreMIDI framework.
Package coreml provides Go bindings for the CoreML framework.
Package coreml provides Go bindings for the CoreML framework.
Package coreservices provides Go bindings for the coreservices framework.
Package coreservices provides Go bindings for the coreservices framework.
Package corespotlight provides Go bindings for the CoreSpotlight framework.
Package corespotlight provides Go bindings for the CoreSpotlight framework.
Package coretext provides Go bindings for the CoreText framework.
Package coretext provides Go bindings for the CoreText framework.
Package corevideo provides Go bindings for the CoreVideo framework.
Package corevideo provides Go bindings for the CoreVideo framework.
Package corewlan provides Go bindings for the CoreWLAN framework.
Package corewlan provides Go bindings for the CoreWLAN framework.
Package cryptotokenkit provides Go bindings for the CryptoTokenKit framework.
Package cryptotokenkit provides Go bindings for the CryptoTokenKit framework.
Package devicecheck provides Go bindings for the DeviceCheck framework.
Package devicecheck provides Go bindings for the DeviceCheck framework.
Package diskarbitration provides Go bindings for the DiskArbitration framework.
Package diskarbitration provides Go bindings for the DiskArbitration framework.
Package dispatch provides Go bindings for the Dispatch framework.
Package dispatch provides Go bindings for the Dispatch framework.
Package endpointsecurity provides Go bindings for the EndpointSecurity framework.
Package endpointsecurity provides Go bindings for the EndpointSecurity framework.
examples
accelerate/bnns-amx-draft command
Command bnns-amx-draft builds a batch=1 residual MLP draft block in pure Go via x/coremlcompiler, compiles and runs it on Apple Silicon CPU/AMX via x/bnnsgraph with a preallocated workspace (zero heap allocations per step), and compares numerical parity and per-step latency against a Metal GPU compute shader and a float64 CPU reference.
Command bnns-amx-draft builds a batch=1 residual MLP draft block in pure Go via x/coremlcompiler, compiles and runs it on Apple Silicon CPU/AMX via x/bnnsgraph with a preallocated workspace (zero heap allocations per step), and compares numerical parity and per-step latency against a Metal GPU compute shader and a float64 CPU reference.
accelerate/matmul command
Command matmul benchmarks matrix multiplication using Apple Accelerate BLAS (cblas_sgemm) versus a naive pure-Go implementation.
Command matmul benchmarks matrix multiplication using Apple Accelerate BLAS (cblas_sgemm) versus a naive pure-Go implementation.
accelerate/vdsp-blas-reduce command
Command vdsp-blas-reduce benchmarks and verifies Apple Accelerate vDSP and BLAS elementwise vector reductions (Sum, Min, Max) for float32 and float16 against scalar Go loops matching x/jaccl/reduce.go semantics.
Command vdsp-blas-reduce benchmarks and verifies Apple Accelerate vDSP and BLAS elementwise vector reductions (Sum, Min, Max) for float32 and float16 against scalar Go loops matching x/jaccl/reduce.go semantics.
ane/blockrace command
Command blockrace runs the same feed forward network on the Neural Engine and on the GPU, first one at a time and then both at once, to measure whether the two engines contend when one process drives them together.
Command blockrace runs the same feed forward network on the Neural Engine and on the GPU, first one at a time and then both at once, to measure whether the two engines contend when one process drives them together.
ane/bundlereuse command
Command bundlereuse compiles a MIL program to a Neural Engine bundle once, then reopens that bundle — in this process and in a second process, with the source MIL and its weights deleted — and checks that every arm computes the same answer as a float64 CPU reference.
Command bundlereuse compiles a MIL program to a Neural Engine bundle once, then reopens that bundle — in this process and in a second process, with the source MIL and its weights deleted — and checks that every arm computes the same answer as a float64 CPU reference.
ane/e5rtblock command
Command e5rtblock runs a transformer block on the Neural Engine through the private e5rt direct-dispatch route, and checks what comes back against a float64 CPU reference of the whole block.
Command e5rtblock runs a transformer block on the Neural Engine through the private e5rt direct-dispatch route, and checks what comes back against a float64 CPU reference of the whole block.
ane/e5rtdispatch command
Command e5rtdispatch runs a MIL program on the Apple Neural Engine through Espresso's private e5rt_* direct dispatch route, and checks the answer.
Command e5rtdispatch runs a MIL program on the Apple Neural Engine through Espresso's private e5rt_* direct dispatch route, and checks the answer.
ane/e5rtprobe command
Command e5rtprobe reports what the x/ane/e5rt binding of Espresso's e5rt_* direct-dispatch route can be shown to do, and refuses to report anything else.
Command e5rtprobe reports what the x/ane/e5rt binding of Espresso's e5rt_* direct-dispatch route can be shown to do, and refuses to report anything else.
ane/e5rtstack command
Command e5rtstack runs a stack of transformer blocks on the Neural Engine through the private e5rt direct-dispatch route, in one dispatch, and checks what comes back against a float64 CPU reference of the whole stack.
Command e5rtstack runs a stack of transformer blocks on the Neural Engine through the private e5rt direct-dispatch route, in one dispatch, and checks what comes back against a float64 CPU reference of the whole stack.
ane/espressoe5rtblock command
Command espressoe5rtblock runs a transformer block on the Neural Engine through the private e5rt direct-dispatch route, and checks what comes back against a float64 CPU reference of the whole block.
Command espressoe5rtblock runs a transformer block on the Neural Engine through the private e5rt direct-dispatch route, and checks what comes back against a float64 CPU reference of the whole block.
ane/espressoe5rtdispatch command
Command espressoe5rtdispatch runs a MIL program on the Apple Neural Engine through Espresso's private e5rt_* direct dispatch route, and checks the answer.
Command espressoe5rtdispatch runs a MIL program on the Apple Neural Engine through Espresso's private e5rt_* direct dispatch route, and checks the answer.
ane/espressoe5rtprobe command
Command espressoe5rtprobe reports what the generated private/espresso binding of Espresso's e5rt_* direct-dispatch route can be shown to do, and refuses to report anything else.
Command espressoe5rtprobe reports what the generated private/espresso binding of Espresso's e5rt_* direct-dispatch route can be shown to do, and refuses to report anything else.
ane/espressoe5rtstack command
Command espressoe5rtstack runs a stack of transformer blocks on the Neural Engine through the private e5rt direct-dispatch route, in one dispatch, and checks what comes back against a float64 CPU reference of the whole stack.
Command espressoe5rtstack runs a stack of transformer blocks on the Neural Engine through the private e5rt direct-dispatch route, in one dispatch, and checks what comes back against a float64 CPU reference of the whole stack.
ane/internal/anedrestart command
Command anedrestart reopens an E5RT bundle compiled under a previous aned instance and checks the answer, to measure whether bundle reuse survives a restart of the daemon.
Command anedrestart reopens an E5RT bundle compiled under a previous aned instance and checks the answer, to measure whether bundle reuse survives a restart of the daemon.
ane/internal/espressoe5rt
Package espressoe5rt adapts Espresso's generated e5rt bindings for examples.
Package espressoe5rt adapts Espresso's generated e5rt bindings for examples.
ane/linkedstate command
Command linkedstate measures what happens when retained E5RT state flows through a pipeline-style link: two separately compiled functions encoded in one stream whose state inout ports share one buffer object.
Command linkedstate measures what happens when retained E5RT state flows through a pipeline-style link: two separately compiled functions encoded in one stream whose state inout ports share one buffer object.
ane/modelchain command
Command modelchain runs a transformer block on the Neural Engine through the public x/ane API, chaining two compiled models by sharing an IOSurface, and checks the result against a float64 CPU reference.
Command modelchain runs a transformer block on the Neural Engine through the public x/ane API, chaining two compiled models by sharing an IOSurface, and checks the result against a float64 CPU reference.
ane/pipelinelogits command
Command pipelinelogits runs a language model's logits tail — final RMSNorm, classifier projection, softmax — as one linked e5rt.Pipeline on the Neural Engine, and checks every probability against a float64 CPU reference.
Command pipelinelogits runs a language model's logits tail — final RMSNorm, classifier projection, softmax — as one linked e5rt.Pipeline on the Neural Engine, and checks every probability against a float64 CPU reference.
ane/portlayout command
Command portlayout sweeps ordinary input and output E5RT ports across tensor shapes with the same self-indexing technique that mapped the state buffer layout, and checks the claim that only the state carries padding.
Command portlayout sweeps ordinary input and output E5RT ports across tensor shapes with the same self-indexing technique that mapped the state buffer layout, and checks the claim that only the state carries padding.
ane/slotgauge command
Command slotgauge measures how many distinct compiled ANE functions one process can keep encoded in a stream, and whether another process holding that resource moves the number — the occupancy signal any scheduler around the function ceiling has to consult.
Command slotgauge measures how many distinct compiled ANE functions one process can keep encoded in a stream, and whether another process holding that resource moves the number — the occupancy signal any scheduler around the function ceiling has to consult.
ane/statecache command
Command statecache keeps mutable state resident on the Neural Engine across executions, and across two separately compiled programs, through one retained E5RT inout port.
Command statecache keeps mutable state resident on the Neural Engine across executions, and across two separately compiled programs, through one retained E5RT inout port.
ane/surfaceffn command
Command surfaceffn runs an Apple Neural Engine matmul over IOSurface pages that another Go process wrote — the ANE arm of the surfacecompute family (examples/iosurface/tensorshare, examples/metal/surfacecompute).
Command surfaceffn runs an Apple Neural Engine matmul over IOSurface pages that another Go process wrote — the ANE arm of the surfacecompute family (examples/iosurface/tensorshare, examples/metal/surfacecompute).
appkit/alert command
Alert shows a native macOS alert dialog from the command line.
Alert shows a native macOS alert dialog from the command line.
appkit/alert-dialog command
Command alert-dialog shows the smallest NSAlert example in this tree.
Command alert-dialog shows the smallest NSAlert example in this tree.
appkit/counter command
Command counter displays a small AppKit window with a label and two buttons.
Command counter displays a small AppKit window with a label and two buttons.
appkit/file-picker command
Command file-picker opens an NSOpenPanel and prints the selected paths.
Command file-picker opens an NSOpenPanel and prints the selected paths.
appkit/hello-window command
Command hello-window opens a macOS window with one centered label.
Command hello-window opens a macOS window with one centered label.
appkit/menubar-clock command
Command menubar-clock shows the current time in the macOS menu bar.
Command menubar-clock shows the current time in the macOS menu bar.
appkit/pbd command
Pbd is a pasteboard tool, an improvement over pbcopy/pbpaste.
Pbd is a pasteboard tool, an improvement over pbcopy/pbpaste.
appkit/sf-symbols command
Command sf-symbols shows a small grid of SF Symbols in an AppKit window.
Command sf-symbols shows a small grid of SF Symbols in an AppKit window.
appkit/swiftui-audio-meter command
Command swiftui-audio-meter demonstrates x/duplexaudio host probing, full-duplex RMS metering, and instant barge-in flush-to-silence inside an AppKit window (optionally hosting a SwiftUI view via x/swiftui) or headless.
Command swiftui-audio-meter demonstrates x/duplexaudio host probing, full-duplex RMS metering, and instant barge-in flush-to-silence inside an AppKit window (optionally hosting a SwiftUI view via x/swiftui) or headless.
appkit/todo-app command
Command todo-app builds a small multi-window todo list in AppKit.
Command todo-app builds a small multi-window todo list in AppKit.
audiotoolbox/opus-aac-stream command
Command opus-aac-stream benchmarks and verifies offline Opus and AAC encode -> packetize -> decode round-trips using AudioToolbox AudioConverter via x/audiocodec.
Command opus-aac-stream benchmarks and verifies offline Opus and AAC encode -> packetize -> decode round-trips using AudioToolbox AudioConverter via x/audiocodec.
audiotoolbox/rtsynth command
Command rtsynth renders audio from a Go thread promoted to the real-time scheduling class and joined to the audio device's workgroup.
Command rtsynth renders audio from a Go thread promoted to the real-time scheduling class and joined to the audio device's workgroup.
avfaudio/audiosay command
Command audiosay speaks text using Apple's speech synthesis APIs.
Command audiosay speaks text using Apple's speech synthesis APIs.
avfaudio/escaping-tap-regression command
escaping-tap-regression demonstrates the original use-after-free that motivated applegen's escaping-block classifier (appledocs c09228c541).
escaping-tap-regression demonstrates the original use-after-free that motivated applegen's escaping-block classifier (appledocs c09228c541).
avfaudio/inputtap command
Command inputtap captures audio from the default microphone via AVAudioEngine + tap, resamples it to PCM16 mono at 24 kHz with AVAudioConverter, and prints frame counts and peak amplitude every second.
Command inputtap captures audio from the default microphone via AVAudioEngine + tap, resamples it to PCM16 mono at 24 kHz with AVAudioConverter, and prints frame counts and peak amplitude every second.
avfaudio/speechbuffers command
Command speechbuffers renders an utterance into AVAudioBuffer callbacks.
Command speechbuffers renders an utterance into AVAudioBuffer callbacks.
avfoundation/audiomix command
Command audiomix demonstrates editing audio with AVAudioMix.
Command audiomix demonstrates editing audio with AVAudioMix.
avfoundation/capture command
Command capture saves a camera frame as PNG and one second of microphone audio as WAV using AVFoundation capture outputs.
Command capture saves a camera frame as PNG and one second of microphone audio as WAV using AVFoundation capture outputs.
compute/ane_fwtofw command
Command ane_fwtofw demonstrates configuring firmware-to-firmware (FWToFW) signal options and hardware cross-synchronization options between ANE and GPU.
Command ane_fwtofw demonstrates configuring firmware-to-firmware (FWToFW) signal options and hardware cross-synchronization options between ANE and GPU.
compute/three-engine-specdec command
Command three-engine-specdec demonstrates a zero-cgo, three-engine Apple Silicon speculative decoding pipeline composing:
Command three-engine-specdec demonstrates a zero-cgo, three-engine Apple Silicon speculative decoding pipeline composing:
compute/threeaccel command
Command threeaccel runs the same matrix multiplication on all three of Apple silicon's matrix engines from one Go process: the AMX blocks (via Accelerate's cblas_sgemm), the GPU (three ways: a naive Metal kernel, a simdgroup-matrix tiled kernel, and MPSMatrixMultiplication — Apple's tuned GEMM), and the Apple Neural Engine (via x/ane/dynamicmatmul).
Command threeaccel runs the same matrix multiplication on all three of Apple silicon's matrix engines from one Go process: the AMX blocks (via Accelerate's cblas_sgemm), the GPU (three ways: a naive Metal kernel, a simdgroup-matrix tiled kernel, and MPSMatrixMultiplication — Apple's tuned GEMM), and the Apple Neural Engine (via x/ane/dynamicmatmul).
compute/zerocopy-handoff command
Command zerocopy-handoff demonstrates zero-copy IOSurface <-> MTLBuffer page aliasing and bidirectional GPU <-> ANE Mach-port shared-event handoff using github.com/tmc/apple/x/zerocopy.
Command zerocopy-handoff demonstrates zero-copy IOSurface <-> MTLBuffer page aliasing and bidirectional GPU <-> ANE Mach-port shared-event handoff using github.com/tmc/apple/x/zerocopy.
coreaudio/blackhole command
Package main implements a virtual audio loopback driver equivalent to Existential Audio BlackHole.
Package main implements a virtual audio loopback driver equivalent to Existential Audio BlackHole.
coreaudio/switchaudio command
Command switchaudio lists and switches macOS audio input, output, and system devices.
Command switchaudio lists and switches macOS audio input, output, and system devices.
coreaudio/systap command
Command systap records macOS system or per-process audio output to a WAV file using Core Audio process taps.
Command systap records macOS system or per-process audio output to a WAV file using Core Audio process taps.
coreaudio/voltap command
Command voltap demonstrates per-process audio volume control and muting using Core Audio process taps.
Command voltap demonstrates per-process audio volume control and muting using Core Audio process taps.
corebluetooth/blescan command
Command blescan scans for nearby Bluetooth Low Energy peripherals and prints each advertisement as it arrives.
Command blescan scans for nearby Bluetooth Low Energy peripherals and prints each advertisement as it arrives.
coregraphics/displays command
Command displays lists the attached displays and their current configuration using the Core Graphics display services API.
Command displays lists the attached displays and their current configuration using the Core Graphics display services API.
coreimage/imgfilter command
Command imgfilter processes images using Apple's CoreImage framework.
Command imgfilter processes images using Apple's CoreImage framework.
coreimage/pdf-vlm-raster command
Command pdf-vlm-raster demonstrates zero-cgo PDF rasterization into IOSurface-backed Metal textures via CoreGraphics, PDFKit, and Metal-backed CoreImage, feeding directly zero-copy into x/screentensor to produce [3, 384, 384] FP16 VLM tensors with GPU tile-diff duplicate-page skipping.
Command pdf-vlm-raster demonstrates zero-cgo PDF rasterization into IOSurface-backed Metal textures via CoreGraphics, PDFKit, and Metal-backed CoreImage, feeding directly zero-copy into x/screentensor to produce [3, 384, 384] FP16 VLM tensors with GPU tile-diff duplicate-page skipping.
corelocation/whereami command
Command whereami prints the device's current location using Core Location.
Command whereami prints the device's current location using Core Location.
coremidi/coremidi-dls-synth command
Command coremidi-dls-synth is a polyphonic General MIDI synthesizer backed by CoreMIDI and AVFAudio (AVAudioUnitSampler + AVAudioUnitReverb) using macOS's built-in gs_instruments.dls SoundBank.
Command coremidi-dls-synth is a polyphonic General MIDI synthesizer backed by CoreMIDI and AVFAudio (AVAudioUnitSampler + AVAudioUnitReverb) using macOS's built-in gs_instruments.dls SoundBank.
coremidi/midimon command
Command midimon lists the MIDI sources on the system and prints the messages they send, decoding MIDI 1.0 channel voice messages.
Command midimon lists the MIDI sources on the system and prints the messages they send, decoding MIDI 1.0 channel voice messages.
coreml/coreml-inspect command
Command coreml-inspect loads a CoreML model and prints its description as JSON.
Command coreml-inspect loads a CoreML model and prints its description as JSON.
coreml/gomodel command
Command gomodel authors, packages, compiles, and runs a CoreML model entirely from Go — no Python, no coremltools, no Xcode.
Command gomodel authors, packages, compiles, and runs a CoreML model entirely from Go — no Python, no coremltools, no Xcode.
coreml/multiarray-bytes command
Command multiarray-bytes creates an MLMultiArray and reads its backing bytes.
Command multiarray-bytes creates an MLMultiArray and reads its backing bytes.
coreservices/fsevents command
Command fsevents watches a directory with Apple's journal-backed FSEvents service via x/fswatch and prints each file-level event as it arrives.
Command fsevents watches a directory with Apple's journal-backed FSEvents service via x/fswatch and prints each file-level event as it arrives.
coreservices/workspace-watch command
Command workspace-watch demonstrates github.com/tmc/apple/x/fswatch for live workspace triggers (RAG re-indexing, coding-agent watches, Metal shader hot-reload).
Command workspace-watch demonstrates github.com/tmc/apple/x/fswatch for live workspace triggers (RAG re-indexing, coding-agent watches, Metal shader hot-reload).
corespotlight/index command
Command index indexes a few items into Spotlight with Core Spotlight and then deletes them again by unique identifier, leaving the index as it was.
Command index indexes a few items into Spotlight with Core Spotlight and then deletes them again by unique identifier, leaving the index as it was.
corespotlight/semantic-index command
Command semantic-index demonstrates local hybrid semantic + metadata search on macOS without cgo, combining CoreSpotlight (CSSearchableIndex, CSSearchableItem, CSSearchableItemAttributeSet) with NaturalLanguage (NLTokenizer, NLEmbedding) and fast pure-Go cosine similarity + Okapi BM25 fusion.
Command semantic-index demonstrates local hybrid semantic + metadata search on macOS without cgo, combining CoreSpotlight (CSSearchableIndex, CSSearchableItem, CSSearchableItemAttributeSet) with NaturalLanguage (NLTokenizer, NLEmbedding) and fast pure-Go cosine similarity + Okapi BM25 fusion.
coretext/glyphruns command
Command glyphruns lays out a string with Core Text and reports its glyph runs.
Command glyphruns lays out a string with Core Text and reports its glyph runs.
corewlan/wifiinfo command
Command wifiinfo reports the state of each Wi-Fi interface on the system: power, mode, SSID, BSSID, RSSI, noise, channel, and transmit rate.
Command wifiinfo reports the state of each Wi-Fi interface on the system: power, mode, SSID, BSSID, RSSI, noise, channel, and transmit rate.
diskarbitration/lsdisks command
Command lsdisks lists the mounted volumes and prints the Disk Arbitration description of each one.
Command lsdisks lists the mounted volumes and prints the Disk Arbitration description of each one.
dispatch/memorysqueeze command
Command memorysqueeze simulates an inference server holding a large cache and shows what DISPATCH_SOURCE_TYPE_MEMORYPRESSURE buys it.
Command memorysqueeze simulates an inference server holding a large cache and shows what DISPATCH_SOURCE_TYPE_MEMORYPRESSURE buys it.
dispatch/parallel-work command
Parallel-work dispatches concurrent tasks using GCD groups and semaphores.
Parallel-work dispatches concurrent tasks using GCD groups and semaphores.
dispatch/queues command
Command queues demonstrates a serial queue, a group, and a semaphore.
Command queues demonstrates a serial queue, a group, and a semaphore.
espresso/espresso-infer command
Command espresso-infer runs a minimal Espresso neural network using github.com/tmc/apple/x/espresso.
Command espresso-infer runs a minimal Espresso neural network using github.com/tmc/apple/x/espresso.
foundation/appnap command
Command appnap shows the effect of an NSProcessInfo activity on a timer.
Command appnap shows the effect of an NSProcessInfo activity on a timer.
foundation/http-fetch command
Command http-fetch downloads a URL with Foundation and prints a short preview.
Command http-fetch downloads a URL with Foundation and prints a short preview.
foundation/nsdefaults command
Command nsdefaults reads and writes NSUserDefaults values.
Command nsdefaults reads and writes NSUserDefaults values.
foundation/process-info command
Command process-info prints basic details about the current process.
Command process-info prints basic details about the current process.
foundation/sysinfo command
Command sysinfo prints system information and optionally lists running applications.
Command sysinfo prints system information and optionally lists running applications.
foundation/user-defaults command
Command user-defaults shows a small round-trip through NSUserDefaults.
Command user-defaults shows a small round-trip through NSUserDefaults.
foundation/uuid-date command
Command uuid-date prints the current NSDate and a freshly generated NSUUID.
Command uuid-date prints the current NSDate and a freshly generated NSUUID.
gamecontroller/padstate command
Command padstate prints the state of connected game controllers.
Command padstate prints the state of connected game controllers.
gpu/iogpucensus command
Command iogpucensus runs the Step 0 private/iogpu SPI census described in design/iogpu-spec.md.
Command iogpucensus runs the Step 0 private/iogpu SPI census described in design/iogpu-spec.md.
gpu/unified-trace command
Command unified-trace correlates Go runtime/trace (goroutines, GC STW pauses, lock waits, user regions), x/signpost intervals, and Metal GPU timestamps calibrated via MTLDevice.SampleTimestamps onto a single monotonic Mach clock using github.com/tmc/apple/x/unifiedtrace with zero cgo.
Command unified-trace correlates Go runtime/trace (goroutines, GC STW pauses, lock waits, user regions), x/signpost intervals, and Metal GPU timestamps calibrated via MTLDevice.SampleTimestamps onto a single monotonic Mach clock using github.com/tmc/apple/x/unifiedtrace with zero cgo.
imageio/imgprops command
Command imgprops prints the properties of an image file using the Image I/O framework.
Command imgprops prints the properties of an image file using the Image I/O framework.
iosurface/ane-metal-pingpong command
Command ane-metal-pingpong demonstrates zero-copy ANE <-> Metal GPU synchronization over shared IOSurface pages using MTLSharedEvent.
Command ane-metal-pingpong demonstrates zero-copy ANE <-> Metal GPU synchronization over shared IOSurface pages using MTLSharedEvent.
iosurface/tensorshare command
Command tensorshare demonstrates zero-copy tensor handoff between two Go processes via IOSurface.
Command tensorshare demonstrates zero-copy tensor handoff between two Go processes via IOSurface.
javascriptcore/jseval command
Command jseval evaluates a JavaScript expression with JavaScriptCore and prints the result, reporting any uncaught JavaScript exception.
Command jseval evaluates a JavaScript expression with JavaScriptCore and prints the result, reporting any uncaught JavaScript exception.
kernel/amfidont command
Command amfidont relaxes one nominated code-signing verdict inside the running amfid daemon, for one binary, once, and then exits.
Command amfidont relaxes one nominated code-signing verdict inside the running amfid daemon, for one binary, once, and then exits.
kernel/apfs-cow-sandbox command
Command apfs-cow-sandbox demonstrates instant APFS copy-on-write directory tree sandboxes and a zero-copy content-addressed artifact store using x/apfs.
Command apfs-cow-sandbox demonstrates instant APFS copy-on-write directory tree sandboxes and a zero-copy content-addressed artifact store using x/apfs.
kernel/apfs-cow-timemachine command
Command apfs-cow-timemachine watches a directory with macOS FSEvents and captures instant APFS clonefile(2) Copy-on-Write snapshots, Apple LZFSE compressed diffs, and a binary-plist manifest without cgo or sudo.
Command apfs-cow-timemachine watches a directory with macOS FSEvents and captures instant APFS clonefile(2) Copy-on-Write snapshots, Apple LZFSE compressed diffs, and a binary-plist manifest without cgo or sudo.
kernel/apfs-extent-xray command
Command apfs-extent-xray demonstrates APFS physical extent inspection (F_LOG2PHYS_EXT), copy-on-write divergence after a single-page mutation, and sparse hole punching (F_PUNCHHOLE) using x/apfs with zero cgo.
Command apfs-extent-xray demonstrates APFS physical extent inspection (F_LOG2PHYS_EXT), copy-on-write divergence after a single-page mutation, and sparse hole punching (F_PUNCHHOLE) using x/apfs with zero cgo.
kernel/apfs-sync-bench command
Command apfs-sync-bench benchmarks macOS durability sync primitives (fsync vs F_BARRIERFSYNC vs F_FULLFSYNC) and inspects local APFS volume snapshots via fs_snapshot_list(2) using x/apfs with zero cgo.
Command apfs-sync-bench benchmarks macOS durability sync primitives (fsync vs F_BARRIERFSYNC vs F_FULLFSYNC) and inspects local APFS volume snapshots via fs_snapshot_list(2) using x/apfs with zero cgo.
kernel/apfs-weight-checkpoint command
Command apfs-weight-checkpoint demonstrates unified-memory weight streaming with madvise page reclamation and crash-safe APFS CoW atomic checkpointing.
Command apfs-weight-checkpoint demonstrates unified-memory weight streaming with madvise page reclamation and crash-safe APFS CoW atomic checkpointing.
kernel/apfs-weight-clone command
Command apfs-weight-clone demonstrates Darwin APFS copy-on-write cloning and controlled unified-memory weight streaming using x/apfs without cgo.
Command apfs-weight-clone demonstrates Darwin APFS copy-on-write cloning and controlled unified-memory weight streaming using x/apfs without cgo.
kernel/git-cow command
Command git-cow creates git worktrees backed by APFS copy-on-write clones using github.com/tmc/apple/x/apfs (zero-cgo clonefile(2) and F_LOG2PHYS_EXT).
Command git-cow creates git worktrees backed by APFS copy-on-write clones using github.com/tmc/apple/x/apfs (zero-cgo clonefile(2) and F_LOG2PHYS_EXT).
kernel/kv-vm-snapshot command
Command kv-vm-snapshot prototypes OS virtual-memory primitives for LLM KV-cache prefix sharing and memory-pressure shedding on macOS:
Command kv-vm-snapshot prototypes OS virtual-memory primitives for LLM KV-cache prefix sharing and memory-pressure shedding on macOS:
kernel/machexc command
Command machexc demonstrates a Mach-exception crash reporter: it catches EXC_BAD_ACCESS at the task level, prints the faulting thread's full register state with a symbolized fault PC, then lets the crash proceed to Go's normal signal handling.
Command machexc demonstrates a Mach-exception crash reporter: it catches EXC_BAD_ACCESS at the task level, prints the faulting thread's full register state with a symbolized fault PC, then lets the crash proceed to Go's normal signal handling.
kernel/machportkevent command
Command machportkevent demonstrates waiting on Mach ports with kqueue's EVFILT_MACHPORT filter.
Command machportkevent demonstrates waiting on Mach ports with kqueue's EVFILT_MACHPORT filter.
kernel/purgeable-kv-pool command
Command purgeable-kv-pool demonstrates kernel-synchronous volatile KV/prefix cache slabs backed by Darwin mach_vm_purgable_control via x/purgeable, paired with live process footprint accounting from x/mempressure.
Command purgeable-kv-pool demonstrates kernel-synchronous volatile KV/prefix cache slabs backed by Darwin mach_vm_purgable_control via x/purgeable, paired with live process footprint accounting from x/mempressure.
kernel/searchfs command
Command searchfs searches a volume catalog with searchfs(2).
Command searchfs searches a volume catalog with searchfs(2).
kernel/vmremap command
vmremap demonstrates a shared mapping within the current Mach task.
vmremap demonstrates a shared mapping within the current Mach task.
localauthentication/authcheck command
Command authcheck reports which local authentication policies this machine can evaluate, using the LocalAuthentication framework.
Command authcheck reports which local authentication policies this machine can evaluate, using the LocalAuthentication framework.
mach/modelservice command
Command modelservice demonstrates one resident copy of model weights serving many client processes — the shape of Apple's own on-device model daemon, built from this repo's mach and iosurface bindings.
Command modelservice demonstrates one resident copy of model weights serving many client processes — the shape of Apple's own on-device model daemon, built from this repo's mach and iosurface bindings.
media/duplex-voice-loop command
Command duplex-voice-loop benchmarks lock-free 24 kHz float32 full-duplex audio loopback, instant barge-in flush-to-silence latency under synthetic CPU load with x/workgroup thread pinning, ring-buffer throughput (0 allocs/op), and probes host VoiceProcessingIO, CoreAudio devices, and CATapDescription.
Command duplex-voice-loop benchmarks lock-free 24 kHz float32 full-duplex audio loopback, instant barge-in flush-to-silence latency under synthetic CPU load with x/workgroup thread pinning, ring-buffer throughput (0 allocs/op), and probes host VoiceProcessingIO, CoreAudio devices, and CATapDescription.
media/screen-vlm-stream command
Command screen-vlm-stream benchmarks and verifies a zero-cgo IOSurface -> Metal VLM preprocessing stream with GPU tile-diff change gating.
Command screen-vlm-stream benchmarks and verifies a zero-cgo IOSurface -> Metal VLM preprocessing stream with GPU tile-diff change gating.
media/voice-agent-pipeline command
Command voice-agent-pipeline demonstrates an end-to-end local macOS voice-agent audio front-end with zero cgo (CGO_ENABLED=0) and zero TCC permission prompts, composing:
Command voice-agent-pipeline demonstrates an end-to-end local macOS voice-agent audio front-end with zero cgo (CGO_ENABLED=0) and zero TCC permission prompts, composing:
media/vt-metal-vlm command
Command vt-metal-vlm demonstrates a zero-cgo hardware video decode to Metal VLM preprocessing pipeline on macOS:
Command vt-metal-vlm demonstrates a zero-cgo hardware video decode to Metal VLM preprocessing pipeline on macOS:
metal/async-prefetch-ring command
Command async-prefetch-ring demonstrates out-of-core SSD-to-GPU transformer layer streaming on Apple Silicon without cgo.
Command async-prefetch-ring demonstrates out-of-core SSD-to-GPU transformer layer streaming on Apple Silicon without cgo.
metal/compressed-weight-stream command
Command compressed-weight-stream benchmarks Metal compressed weight loading (.mtlio LZ4 and LZFSE via x/metalio.OpenCompressedFile) against uncompressed x/metalio and CPU x/compression.Decode + copy, verifying CRC32 and exact byte-for-byte parity.
Command compressed-weight-stream benchmarks Metal compressed weight loading (.mtlio LZ4 and LZFSE via x/metalio.OpenCompressedFile) against uncompressed x/metalio and CPU x/compression.Decode + copy, verifying CRC32 and exact byte-for-byte parity.
metal/dispatch-profiler command
Command dispatch-profiler benchmarks per-dispatch GPU timestamp sampling on a 32-dispatch synthetic transformer micro-layer using github.com/tmc/apple/x/metalcounters.
Command dispatch-profiler benchmarks per-dispatch GPU timestamp sampling on a 32-dispatch synthetic transformer micro-layer using github.com/tmc/apple/x/metalcounters.
metal/escaping-block-regression command
escaping-block-regression demonstrates an ObjC API pattern that broke before applegen learned to skip `defer block.Release()` for escaping blocks.
escaping-block-regression demonstrates an ObjC API pattern that broke before applegen learned to skip `defer block.Release()` for escaping blocks.
metal/fast-weight-loader command
Command fast-weight-loader benchmarks direct NVMe-to-MTLBuffer weight loading using x/metalio against POSIX os.ReadFile+copy and mmap+copy controls, verifies byte/CRC32 parity, and runs a Metal compute dot-product sanity check over the loaded weights.
Command fast-weight-loader benchmarks direct NVMe-to-MTLBuffer weight loading using x/metalio against POSIX os.ReadFile+copy and mmap+copy controls, verifies byte/CRC32 parity, and runs a Metal compute dot-product sanity check over the loaded weights.
metal/flighttrace command
Command flighttrace demonstrates an always-on Go 1.27 runtime/trace FlightRecorder anomaly-triggered post-mortem bundle on Apple Silicon with zero cgo and zero TCC prompts.
Command flighttrace demonstrates an always-on Go 1.27 runtime/trace FlightRecorder anomaly-triggered post-mortem bundle on Apple Silicon with zero cgo and zero TCC prompts.
metal/heap-kv-allocator command
Command heap-kv-allocator benchmarks paged KV-cache block allocation on a Metal placement heap (x/metalheap) against per-block MTLDevice buffer allocations, and verifies alignment, aliasing, purgeability, and residency set accounting.
Command heap-kv-allocator benchmarks paged KV-cache block allocation on a Metal placement heap (x/metalheap) against per-block MTLDevice buffer allocations, and verifies alignment, aliasing, purgeability, and residency set accounting.
metal/icb-decode-graph command
Command icb-decode-graph benchmarks a synthetic N-layer transformer decode graph replayed via github.com/tmc/apple/x/metalicb (MTLIndirectCommandBuffer) against traditional per-dispatch CPU encoding.
Command icb-decode-graph benchmarks a synthetic N-layer transformer decode graph replayed via github.com/tmc/apple/x/metalicb (MTLIndirectCommandBuffer) against traditional per-dispatch CPU encoding.
metal/metal-energy-roofline command
Command metal-energy-roofline sweeps inline MSL compute kernels from bandwidth-bound AXPY to compute-bound FMA chains on Apple Silicon, measuring GPU throughput (x/metalcounters), live IOReport GPU power (x/powersample), and thermal state (x/thermal).
Command metal-energy-roofline sweeps inline MSL compute kernels from bandwidth-bound AXPY to compute-bound FMA chains on Apple Silicon, measuring GPU throughput (x/metalcounters), live IOReport GPU power (x/powersample), and thermal state (x/thermal).
metal/metal4-ml-compute command
Command metal4-ml-compute evaluates the Metal 4 compute/ML fast path (via github.com/tmc/apple/x/metal4) side-by-side against a Metal 3 MTLCommandBuffer baseline on a decode-loop RMSNorm + SiLU-gated residual micro-step.
Command metal4-ml-compute evaluates the Metal 4 compute/ML fast path (via github.com/tmc/apple/x/metal4) side-by-side against a Metal 3 MTLCommandBuffer baseline on a decode-loop RMSNorm + SiLU-gated residual micro-step.
metal/metal4-ml-network command
Command metal4-ml-network compiles a 2-layer ReLU MLP in pure Go via x/coremlcompiler, converts it to a Metal 4 .mtlpackage, and executes it natively through x/metal4's MTL4MachineLearningCommandEncoder and MTLTensor APIs, verifying numerical parity against CPU and Metal 4 compute references and benchmarking p50/p95/p99 latency.
Command metal4-ml-network compiles a 2-layer ReLU MLP in pure Go via x/coremlcompiler, converts it to a Metal 4 .mtlpackage, and executes it natively through x/metal4's MTL4MachineLearningCommandEncoder and MTLTensor APIs, verifying numerical parity against CPU and Metal 4 compute references and benchmarking p50/p95/p99 latency.
metal/metal4-triangle command
metal4-triangle renders a rotating triangle using the Metal 4 API.
metal4-triangle renders a rotating triangle using the Metal 4 API.
metal/surfacecompute command
Command surfacecompute demonstrates GPU compute over an IOSurface shared between two Go processes with zero copies.
Command surfacecompute demonstrates GPU compute over an IOSurface shared between two Go processes with zero copies.
metalperformanceshaders/copyallocator command
Command copyallocator is a failing regression gate for two applegen defects that together make the MPS fallback copy allocator unusable from Go.
Command copyallocator is a failing regression gate for two applegen defects that together make the MPS fallback copy allocator unusable from Go.
metalperformanceshaders/imagefilter command
Command imagefilter runs MPSImageGaussianBlur over a Metal texture.
Command imagefilter runs MPSImageGaussianBlur over a Metal texture.
metalperformanceshaders/matrixmultiply command
Command matrixmultiply multiplies two matrices with MPSMatrixMultiplication.
Command matrixmultiply multiplies two matrices with MPSMatrixMultiplication.
metalperformanceshadersgraph/customfunction command
Command customfunction adds a custom function to an MPSGraph.
Command customfunction adds a custom function to an MPSGraph.
metalperformanceshadersgraph/executable command
Command executable demonstrates the MPSGraphExecutable deployment path: compile a graph once, ship the compiled package, load it later without rebuilding the graph.
Command executable demonstrates the MPSGraphExecutable deployment path: compile a graph once, ship the compiled package, load it later without rebuilding the graph.
metalperformanceshadersgraph/flash-sdpa-bench command
Command flash-sdpa-bench is a zero-cgo Apple first-party numerical and speed oracle built on MPSGraphExecutable.
Command flash-sdpa-bench is a zero-cgo Apple first-party numerical and speed oracle built on MPSGraphExecutable.
metalperformanceshadersgraph/mnistdraw command
Command mnistdraw is an interactive version of Apple's "Training a Neural Network using MPS Graph" sample: draw a digit with the mouse and watch the network classify it as you draw.
Command mnistdraw is an interactive version of Apple's "Training a Neural Network using MPS Graph" sample: draw a digit with the mouse and watch the network classify it as you draw.
metalperformanceshadersgraph/mnisttrain command
Command mnisttrain trains a small MNIST digit classifier with MPSGraph.
Command mnisttrain trains a small MNIST digit classifier with MPSGraph.
metalperformanceshadersgraph/mpsgraph command
Command mpsgraph runs a small MLP forward pass on the GPU with MPSGraph.
Command mpsgraph runs a small MLP forward pass on the GPU with MPSGraph.
naturallanguage/embedding command
Command embedding computes word distances and nearest neighbors using Apple's NaturalLanguage word embeddings.
Command embedding computes word distances and nearest neighbors using Apple's NaturalLanguage word embeddings.
naturallanguage/ngrep command
Command ngrep searches lines for semantic similarity to a query using Apple's NaturalLanguage embeddings — a neural alternative to grep.
Command ngrep searches lines for semantic similarity to a query using Apple's NaturalLanguage embeddings — a neural alternative to grep.
naturallanguage/nlp command
Command nlp provides Unix-native text analysis using Apple's NaturalLanguage framework.
Command nlp provides Unix-native text analysis using Apple's NaturalLanguage framework.
naturallanguage/nsort command
Command nsort sorts lines by semantic similarity using Apple's NaturalLanguage sentence embeddings — a neural alternative to Unix sort.
Command nsort sorts lines by semantic similarity using Apple's NaturalLanguage sentence embeddings — a neural alternative to Unix sort.
network/cluster-discovery command
Command cluster-discovery demonstrates zero-configuration Bonjour peer discovery, local Thunderbolt/LAN interface inspection, and deterministic rendezvous planning using github.com/tmc/apple/x/meshdisc.
Command cluster-discovery demonstrates zero-configuration Bonjour peer discovery, local Thunderbolt/LAN interface inspection, and deterministic rendezvous planning using github.com/tmc/apple/x/meshdisc.
network/netperfbench command
Command netperfbench measures TCP echo latency and throughput over three transports so they can be compared on identical work:
Command netperfbench measures TCP echo latency and throughput over three transports so they can be compared on identical work:
network/plaintcp command
Command plaintcp configures cleartext TCP parameters from a block callback.
Command plaintcp configures cleartext TCP parameters from a block callback.
network/quic-tensor-mesh command
Command quic-tensor-mesh demonstrates headless PSK-authenticated multiplexed QUIC tensor shard transfer and RFC 9221 datagram round-trips over Apple's Network.framework using github.com/tmc/apple/x/nwquic.
Command quic-tensor-mesh demonstrates headless PSK-authenticated multiplexed QUIC tensor shard transfer and RFC 9221 datagram round-trips over Apple's Network.framework using github.com/tmc/apple/x/nwquic.
network/txtrecord command
Command txtrecord creates and reads a Network TXT record.
Command txtrecord creates and reads a Network TXT record.
network/udpbatchbench command
Command udpbatchbench measures the Darwin batched UDP datapath (sendmsg_x/recvmsg_x via x/udpbatch) against the one-syscall-per-datagram path every Go program uses today.
Command udpbatchbench measures the Darwin batched UDP datapath (sendmsg_x/recvmsg_x via x/udpbatch) against the one-syscall-per-datagram path every Go program uses today.
network/zero-config-tensor-cluster command
Command zero-config-tensor-cluster demonstrates a zero-configuration Bonjour + QUIC distributed Metal 4 tensor allreduce cluster with P-256 node identity attestation and zero macOS Keychain or GUI prompts (CGO_ENABLED=0).
Command zero-config-tensor-cluster demonstrates a zero-configuration Bonjour + QUIC distributed Metal 4 tensor allreduce cluster with P-256 node identity attestation and zero macOS Keychain or GUI prompts (CGO_ENABLED=0).
networkextension/networkextension-filter-dns-provider-demo command
Command networkextension-filter-dns-provider-demo exercises DNS proxy and content-filter provider callbacks without installing an extension.
Command networkextension-filter-dns-provider-demo exercises DNS proxy and content-filter provider callbacks without installing an extension.
networkextension/networkextension-flow-callback-demo command
Command networkextension-flow-callback-demo exercises NetworkExtension flow/session callback block signatures without provider-owned flow objects.
Command networkextension-flow-callback-demo exercises NetworkExtension flow/session callback block signatures without provider-owned flow objects.
networkextension/networkextension-manager-config-demo command
Command networkextension-manager-config-demo exercises local NetworkExtension manager objects without loading or saving preferences.
Command networkextension-manager-config-demo exercises local NetworkExtension manager objects without loading or saving preferences.
networkextension/networkextension-policy-config-demo command
Command networkextension-policy-config-demo exercises local NetworkExtension policy/configuration objects without saving preferences.
Command networkextension-policy-config-demo exercises local NetworkExtension policy/configuration objects without saving preferences.
networkextension/networkextension-provider-callback-demo command
Command networkextension-provider-callback-demo exercises provider-style NetworkExtension completion callbacks without installing an extension.
Command networkextension-provider-callback-demo exercises provider-style NetworkExtension completion callbacks without installing an extension.
networkextension/networkextension-provider-wrapper-demo command
Command networkextension-provider-wrapper-demo exercises generated provider wrapper methods against local Objective-C callback objects.
Command networkextension-provider-wrapper-demo exercises generated provider wrapper methods against local Objective-C callback objects.
networkextension/networkextension-settings-demo command
Command networkextension-settings-demo exercises local NetworkExtension settings objects without installing a Network Extension.
Command networkextension-settings-demo exercises local NetworkExtension settings objects without installing a Network Extension.
networkextension/networkextension-tcp-auth-demo command
Command networkextension-tcp-auth-demo exercises NetworkExtension TCP authentication delegate callbacks without creating a connection.
Command networkextension-tcp-auth-demo exercises NetworkExtension TCP authentication delegate callbacks without creating a connection.
networkextension/networkextension-value-object-demo command
Command networkextension-value-object-demo exercises local NetworkExtension value and state objects.
Command networkextension-value-object-demo exercises local NetworkExtension value and state objects.
objc/exception-handler command
Exception-handler demonstrates observing Objective-C exceptions from Go.
Exception-handler demonstrates observing Objective-C exceptions from Go.
os/daemon-activity command
Command daemon-activity demonstrates github.com/tmc/apple/x/daemon.
Command daemon-activity demonstrates github.com/tmc/apple/x/daemon.
os/logdemo command
Command logdemo exercises every capability of the x/oslog and x/signpost packages so the output can be inspected in Console.app or `log stream`.
Command logdemo exercises every capability of the x/oslog and x/signpost packages so the output can be inspected in Console.app or `log stream`.
os/os-silicon-top command
Command os-silicon-top streams live no-sudo Apple Silicon telemetry while pinning Go goroutines across P-cores, E-cores, and a Mach real-time thread.
Command os-silicon-top streams live no-sudo Apple Silicon telemetry while pinning Go goroutines across P-cores, E-cores, and a Mach real-time thread.
os/osdemo command
Command osdemo exercises the generated os and oslog bindings from Go:
Command osdemo exercises the generated os and oslog bindings from Go:
os/shm-tensor-ring command
Command shm-tensor-ring demonstrates cross-process tensor descriptor streaming and wake-latency benchmarking over a shared mmap region using Darwin's os_sync_wait_on_address (OS_SYNC_WAIT_ON_ADDRESS_SHARED) via x/ossync, compared against a POSIX pipe baseline.
Command shm-tensor-ring demonstrates cross-process tensor descriptor streaming and wake-latency benchmarking over a shared mmap region using Darwin's os_sync_wait_on_address (OS_SYNC_WAIT_ON_ADDRESS_SHARED) via x/ossync, compared against a POSIX pipe baseline.
os/signpostweb command
Command signpostweb serves HTTP and emits one os_signpost interval per request, making the Go server legible to Instruments.
Command signpostweb serves HTTP and emits one os_signpost interval per request, making the Go server legible to Instruments.
os/thermal-governor command
Command thermal-governor demonstrates github.com/tmc/apple/x/thermal.
Command thermal-governor demonstrates github.com/tmc/apple/x/thermal.
os/workgroup-decode command
Command workgroup-decode compares latency-critical decode steps pinned to Apple Silicon P-cores (UserInteractive QoS + os_workgroup) against E-core Background QoS execution under competing background CPU load.
Command workgroup-decode compares latency-critical decode steps pinned to Apple Silicon P-cores (UserInteractive QoS + os_workgroup) against E-core Background QoS execution under competing background CPU load.
oslog/logread command
Command logread emits log entries at several levels and reads them back from the unified logging store.
Command logread emits log entries at several levels and reads them back from the unified logging store.
pdfkit/pdfinfo command
Command pdfinfo reports document metadata and per-page information for a PDF file using the PDFKit framework.
Command pdfinfo reports document metadata and per-page information for a PDF file using the PDFKit framework.
rdma/metal-rdma-allreduce command
Command metal-rdma-allreduce demonstrates zero-copy Metal MTLBuffer <-> RDMA Memory Region registration and a 2-rank GPU-accelerated allreduce collective.
Command metal-rdma-allreduce demonstrates zero-copy Metal MTLBuffer <-> RDMA Memory Region registration and a 2-rank GPU-accelerated allreduce collective.
rdma/rdmainfo command
Command rdmainfo probes Apple's RDMA userspace bindings.
Command rdmainfo probes Apple's RDMA userspace bindings.
rdma/rdmaperf command
Command rdmaperf measures TCP and RDMA readiness paths.
Command rdmaperf measures TCP and RDMA readiness paths.
screencapturekit/gpucompute command
Command gpucompute applies a Metal luminance reduction to live ScreenCaptureKit frames.
Command gpucompute applies a Metal luminance reduction to live ScreenCaptureKit frames.
screencapturekit/screenshot command
Command screenshot captures a screenshot of a display or window using the ScreenCaptureKit framework and saves it as a PNG file.
Command screenshot captures a screenshot of a display or window using the ScreenCaptureKit framework and saves it as a PNG file.
screencapturekit/streamframes command
Command streamframes captures screen frames with SCStreamOutput.
Command streamframes captures screen frames with SCStreamOutput.
screencapturekit/windowlist command
Command windowlist enumerates all windows, displays, and running applications using the ScreenCaptureKit framework and outputs the results as JSON.
Command windowlist enumerates all windows, displays, and running applications using the ScreenCaptureKit framework and outputs the results as JSON.
security/auth-dialog command
Command auth-dialog triggers the macOS authentication dialog using LocalAuthentication's LAContext.
Command auth-dialog triggers the macOS authentication dialog using LocalAuthentication's LAContext.
security/enclave-model-seal command
Command enclave-model-seal demonstrates hardware-backed P-256 node identity attestation and hybrid ECIES + AES-256-GCM sealing of 16 MiB model weight or KV-cache chunks using github.com/tmc/apple/x/enclave.
Command enclave-model-seal demonstrates hardware-backed P-256 node identity attestation and hybrid ECIES + AES-256-GCM sealing of 16 MiB model weight or KV-cache chunks using github.com/tmc/apple/x/enclave.
security/keychain command
Command keychain demonstrates macOS Security framework keychain operations using the generated security and corefoundation bindings.
Command keychain demonstrates macOS Security framework keychain operations using the generated security and corefoundation bindings.
security/security-gpu-attest command
Command security-gpu-attest executes an inline Metal compute kernel, attests real Apple Silicon GPU execution via x/engineattest, signs the attestation receipt with a Secure Enclave P-256 key (x/enclave), verifies it with stdlib crypto/ecdsa, and proves that a CPU-forged impostor is rejected.
Command security-gpu-attest executes an inline Metal compute kernel, attests real Apple Silicon GPU execution via x/engineattest, signs the attestation receipt with a Secure Enclave P-256 key (x/enclave), verifies it with stdlib crypto/ecdsa, and proves that a CPU-forged impostor is rejected.
soundanalysis/listen command
Command listen classifies the sounds in an audio file using the SoundAnalysis framework's built-in classifier, printing each result's time range and its top labels with confidence.
Command listen classifies the sounds in an audio file using the SoundAnalysis framework's built-in classifier, printing each result's time range and its top labels with confidence.
speech/live-dictation command
Command live-dictation demonstrates zero-cgo on-device speech recognition with Apple's Speech framework (x/ondeviceasr), AVAudioPCMBuffer streaming, and full-duplex barge-in voice control (x/duplexaudio).
Command live-dictation demonstrates zero-cgo on-device speech recognition with Apple's Speech framework (x/ondeviceasr), AVAudioPCMBuffer streaming, and full-duplex barge-in voice control (x/duplexaudio).
spritekit/bounce command
Command bounce shows a SpriteKit physics simulation in an AppKit window: colored sprites fall under gravity and bounce off the walls of the scene.
Command bounce shows a SpriteKit physics simulation in an AppKit window: colored sprites fall under gravity and bounce off the walls of the scene.
spritekit/spritekit-sound-physics command
Command spritekit-sound-physics is a 60fps Metal SpriteKit physics/particle visualizer driven by Accelerate vDSP FFT bands from an AVFAudio groove.
Command spritekit-sound-physics is a 60fps Metal SpriteKit physics/particle visualizer driven by Accelerate vDSP FFT bands from an AVFAudio groove.
systemconfiguration/reachability command
Command reachability reports whether a host is reachable with the current network configuration, using the SystemConfiguration framework.
Command reachability reports whether a host is reachable with the current network configuration, using the SystemConfiguration framework.
ui/ax-space-inspector command
Command ax-space-inspector inspects an application's Accessibility windows alongside their macOS WindowServer (SkyLight) Space membership.
Command ax-space-inspector inspects an application's Accessibility windows alongside their macOS WindowServer (SkyLight) Space membership.
uniformtypeidentifiers/file-types command
Command file-types shows a few common Uniform Type Identifier lookups.
Command file-types shows a few common Uniform Type Identifier lookups.
uniformtypeidentifiers/typeid command
Command typeid resolves Uniform Type Identifiers for file extensions, MIME types, and UTI strings.
Command typeid resolves Uniform Type Identifiers for file extensions, MIME types, and UTI strings.
usernotifications/notify command
Command notify requests notification authorization and schedules a local notification using the UserNotifications framework.
Command notify requests notification authorization and schedules a local notification using the UserNotifications framework.
videotoolbox/codecs command
Command codecs reports the video encoders VideoToolbox exposes on this machine, the codecs it can decode in hardware, and the properties an encoder supports for a given frame size.
Command codecs reports the video encoders VideoToolbox exposes on this machine, the codecs it can decode in hardware, and the properties an encoder supports for a given frame size.
virtualization/agent-microvm command
Command agent-microvm demonstrates a network-less Linux microVM tool-execution sandbox built on Apple Virtualization.framework (x/vzkit) with VirtioFS workspace sharing and an APFS copy-on-write staging overlay with reviewable unified diffs and an explicit --apply gate.
Command agent-microvm demonstrates a network-less Linux microVM tool-execution sandbox built on Apple Virtualization.framework (x/vzkit) with VirtioFS workspace sharing and an APFS copy-on-write staging overlay with reviewable unified diffs and an explicit --apply gate.
virtualization/vminfo command
Command vminfo queries Apple Virtualization framework capabilities.
Command vminfo queries Apple Virtualization framework capabilities.
vision/face-detect command
Face-detect uses the Vision framework to detect faces in an image.
Face-detect uses the Vision framework to detect faces in an image.
vision/ocr command
Command ocr extracts text from an image file using the Vision framework.
Command ocr extracts text from an image file using the Vision framework.
vision/redact command
Command redact detects faces and text in an image with the Vision framework and writes a PNG copy with those regions obscured using Core Image.
Command redact detects faces and text in an image with the Vision framework and writes a PNG copy with those regions obscured using Core Image.
vision/screenctx command
Command screenctx captures screen context by combining CGWindowListCopyWindowInfo with Vision OCR to produce an XML map of on-screen text attributed to the owning application.
Command screenctx captures screen context by combining CGWindowListCopyWindowInfo with Vision OCR to produce an XML map of on-screen text attributed to the owning application.
vision/vision-subject-cutout command
Command vision-subject-cutout lifts foreground subjects from images using macOS Vision's Neural Engine instance mask and CoreImage GPU compositing.
Command vision-subject-cutout lifts foreground subjects from images using macOS Vision's Neural Engine instance mask and CoreImage GPU compositing.
vision/vlm-ocr-prefilter command
Command vlm-ocr-prefilter demonstrates a self-contained zero-cgo 3-stage ANE VLM prefilter on macOS using purego Vision, CoreGraphics, CoreText, IOSurface, Metal, and x/screentensor with zero TCC prompts.
Command vlm-ocr-prefilter demonstrates a self-contained zero-cgo 3-stage ANE VLM prefilter on macOS using purego Vision, CoreGraphics, CoreText, IOSurface, Metal, and x/screentensor with zero TCC prompts.
vision/vndetect command
Command vndetect detects objects in images using the Vision framework.
Command vndetect detects objects in images using the Vision framework.
vision/vnocr command
Command vnocr extracts text from images using the Vision framework.
Command vnocr extracts text from images using the Vision framework.
webkit/minibrowser command
Command minibrowser opens a window containing a WKWebView, loads a URL, and runs JavaScript in the page once the load finishes.
Command minibrowser opens a window containing a WKWebView, loads a URL, and runs JavaScript in the page once the load finishes.
webkit/webkit-pdf-snap command
Command webkit-pdf-snap renders HTML/CSS/SVG or a URL headlessly with WebKit to a vector PDF and PNG snapshot, then verifies the output using PDFKit and Vision OCR—without Chrome or Playwright.
Command webkit-pdf-snap renders HTML/CSS/SVG or a URL headlessly with WebKit to a vector PDF and PNG snapshot, then verifies the output using PDFKit and Vision OCR—without Chrome or Playwright.
xpc/addclient command
Command addclient calls the addservice XPC service.
Command addclient calls the addservice XPC service.
xpc/addservice command
Command addservice is an XPC service that adds two numbers.
Command addservice is an XPC service that adds two numbers.
xpc/machdemo command
Command machdemo is a runnable XPC round trip over a Mach service.
Command machdemo is a runnable XPC round trip over a Mach service.
xpc/shared-weight-cluster command
Command shared-weight-cluster is a multi-process zero-copy local inference broker demo composing:
Command shared-weight-cluster is a multi-process zero-copy local inference broker demo composing:
xpc/swiftinterop/goclient command
Command goclient is the Go half of direction A: an xpc.Session talking to a Mach service served by Swift's XPCListener.
Command goclient is the Go half of direction A: an xpc.Session talking to a Mach service served by Swift's XPCListener.
xpc/swiftinterop/goservice command
Command goservice is the Go half of the Swift/Go XPC interoperability examples: a Mach-service listener that a Swift XPCSession client talks to.
Command goservice is the Go half of the Swift/Go XPC interoperability examples: a Mach-service listener that a Swift XPCSession client talks to.
xpc/tensor-broker command
Command tensor-broker demonstrates zero-copy 64 MiB FP16 tensor sharing using x/xpctensor (XPC + IOSurface + Metal) and a self-contained parent/child subprocess proof of:
Command tensor-broker demonstrates zero-copy 64 MiB FP16 tensor sharing using x/xpctensor (XPC + IOSurface + Metal) and a self-contained parent/child subprocess proof of:
Package exceptionhandling provides Go bindings for the ExceptionHandling framework.
Package exceptionhandling provides Go bindings for the ExceptionHandling framework.
Package executionpolicy provides Go bindings for the ExecutionPolicy framework.
Package executionpolicy provides Go bindings for the ExecutionPolicy framework.
Package fileprovider provides Go bindings for the FileProvider framework.
Package fileprovider provides Go bindings for the FileProvider framework.
Package findersync provides Go bindings for the FinderSync framework.
Package findersync provides Go bindings for the FinderSync framework.
Package foundation provides Go bindings for the Foundation framework.
Package foundation provides Go bindings for the Foundation framework.
Package fskit provides Go bindings for the FSKit framework.
Package fskit provides Go bindings for the FSKit framework.
Package gamecontroller provides Go bindings for the GameController framework.
Package gamecontroller provides Go bindings for the GameController framework.
Package glkit provides Go bindings for the GLKit framework.
Package glkit provides Go bindings for the GLKit framework.
Package gss provides Go bindings for the GSS framework.
Package gss provides Go bindings for the GSS framework.
Package hypervisor provides Go bindings for the Hypervisor framework.
Package hypervisor provides Go bindings for the Hypervisor framework.
Package imagecapturecore provides Go bindings for the ImageCaptureCore framework.
Package imagecapturecore provides Go bindings for the ImageCaptureCore framework.
Package imageio provides Go bindings for the ImageIO framework.
Package imageio provides Go bindings for the ImageIO framework.
Package inputmethodkit provides Go bindings for the InputMethodKit framework.
Package inputmethodkit provides Go bindings for the InputMethodKit framework.
internal
buildgate
Package buildgate reports, per framework, whether that framework compiles.
Package buildgate reports, per framework, whether that framework compiles.
Package iobluetooth provides Go bindings for the IOBluetooth framework.
Package iobluetooth provides Go bindings for the IOBluetooth framework.
Package iokit provides Go bindings for the iokit framework.
Package iokit provides Go bindings for the iokit framework.
Package iosurface provides Go bindings for the IOSurface framework.
Package iosurface provides Go bindings for the IOSurface framework.
Package iousbhost provides Go bindings for the IOUSBHost framework.
Package iousbhost provides Go bindings for the IOUSBHost framework.
Package javascriptcore provides Go bindings for the JavaScriptCore framework.
Package javascriptcore provides Go bindings for the JavaScriptCore framework.
Package kernel provides Go bindings for the kernel framework.
Package kernel provides Go bindings for the kernel framework.
Package localauthentication provides Go bindings for the LocalAuthentication framework.
Package localauthentication provides Go bindings for the LocalAuthentication framework.
Package mediaextension provides Go bindings for the MediaExtension framework.
Package mediaextension provides Go bindings for the MediaExtension framework.
Package metal provides Go bindings for the Metal framework.
Package metal provides Go bindings for the Metal framework.
Package metalkit provides Go bindings for the MetalKit framework.
Package metalkit provides Go bindings for the MetalKit framework.
Package metalperformanceshaders provides Go bindings for the MetalPerformanceShaders framework.
Package metalperformanceshaders provides Go bindings for the MetalPerformanceShaders framework.
Package metalperformanceshadersgraph provides Go bindings for the MetalPerformanceShadersGraph framework.
Package metalperformanceshadersgraph provides Go bindings for the MetalPerformanceShadersGraph framework.
Package modelio provides Go bindings for the ModelIO framework.
Package modelio provides Go bindings for the ModelIO framework.
Package naturallanguage provides Go bindings for the NaturalLanguage framework.
Package naturallanguage provides Go bindings for the NaturalLanguage framework.
Package network provides Go bindings for the Network framework.
Package network provides Go bindings for the Network framework.
Package networkextension provides Go bindings for the NetworkExtension framework.
Package networkextension provides Go bindings for the NetworkExtension framework.
Package objc provides cached Objective-C runtime helpers.
Package objc provides cached Objective-C runtime helpers.
objcbridge
Package objcbridge contains small Objective-C runtime helpers.
Package objcbridge contains small Objective-C runtime helpers.
objcinspect
Package objcinspect provides Objective-C type encoding and signature string parsing.
Package objcinspect provides Objective-C type encoding and signature string parsing.
Package objectivec provides Go bindings for the ObjectiveC framework.
Package objectivec provides Go bindings for the ObjectiveC framework.
Package opendirectory provides Go bindings for the OpenDirectory framework.
Package opendirectory provides Go bindings for the OpenDirectory framework.
Package os provides Go bindings for the os framework.
Package os provides Go bindings for the os framework.
Package oslog provides Go bindings for the OSLog framework.
Package oslog provides Go bindings for the OSLog framework.
Package paravirtualizedgraphics provides Go bindings for the ParavirtualizedGraphics framework.
Package paravirtualizedgraphics provides Go bindings for the ParavirtualizedGraphics framework.
Package pdfkit provides Go bindings for the PDFKit framework.
Package pdfkit provides Go bindings for the PDFKit framework.
Package private holds bindings to Apple API that carries no support contract: symbols that are undocumented, may change or disappear between OS releases, and will not pass App Store review.
Package private holds bindings to Apple API that carries no support contract: symbols that are undocumented, may change or disappear between OS releases, and will not pass App Store review.
appleneuralengine
Package appleneuralengine provides Go bindings for the appleneuralengine framework.
Package appleneuralengine provides Go bindings for the appleneuralengine framework.
avfaudio
Package avfaudio provides Go bindings for the AVFAudio framework.
Package avfaudio provides Go bindings for the AVFAudio framework.
coreml
Package coreml provides Go bindings for the CoreML framework.
Package coreml provides Go bindings for the CoreML framework.
diskimages2
Package diskimages2 provides Go bindings for the diskimages2 framework.
Package diskimages2 provides Go bindings for the diskimages2 framework.
dvtinstrumentsfoundation
Package dvtinstrumentsfoundation provides Go bindings for the dvtinstrumentsfoundation framework.
Package dvtinstrumentsfoundation provides Go bindings for the dvtinstrumentsfoundation framework.
espresso
Package espresso provides Go bindings for the espresso framework.
Package espresso provides Go bindings for the espresso framework.
gpuinfo
Package gpuinfo provides Go bindings for the gpuinfo framework.
Package gpuinfo provides Go bindings for the gpuinfo framework.
gpurawcounter
Package gpurawcounter provides Go bindings for the gpurawcounter framework.
Package gpurawcounter provides Go bindings for the gpurawcounter framework.
gputoolscapture
Package gputoolscapture provides Go bindings for the gputoolscapture framework.
Package gputoolscapture provides Go bindings for the gputoolscapture framework.
gputoolsdeviceservices
Package gputoolsdeviceservices provides Go bindings for the gputoolsdeviceservices framework.
Package gputoolsdeviceservices provides Go bindings for the gputoolsdeviceservices framework.
gputoolsdiagnostics
Package gputoolsdiagnostics provides Go bindings for the gputoolsdiagnostics framework.
Package gputoolsdiagnostics provides Go bindings for the gputoolsdiagnostics framework.
gputoolsreplay
Package gputoolsreplay provides Go bindings for the gputoolsreplay framework.
Package gputoolsreplay provides Go bindings for the gputoolsreplay framework.
gputoolstransport
Package gputoolstransport provides Go bindings for the gputoolstransport framework.
Package gputoolstransport provides Go bindings for the gputoolstransport framework.
hiservices
Package hiservices provides Go bindings for the hiservices framework.
Package hiservices provides Go bindings for the hiservices framework.
ioaccelerator
Package ioaccelerator provides Go bindings for the ioaccelerator framework.
Package ioaccelerator provides Go bindings for the ioaccelerator framework.
iogpu
Package iogpu provides Go bindings for the iogpu framework.
Package iogpu provides Go bindings for the iogpu framework.
ktrace
Package ktrace provides Go bindings for the ktrace framework.
Package ktrace provides Go bindings for the ktrace framework.
metalserializer
Package metalserializer provides Go bindings for the metalserializer framework.
Package metalserializer provides Go bindings for the metalserializer framework.
network
Package network provides Go bindings for the Network framework.
Package network provides Go bindings for the Network framework.
performancecontrolkit
Package performancecontrolkit provides Go bindings for the performancecontrolkit framework.
Package performancecontrolkit provides Go bindings for the performancecontrolkit framework.
performancetrace
Package performancetrace provides Go bindings for the performancetrace framework.
Package performancetrace provides Go bindings for the performancetrace framework.
powerlogcore
Package powerlogcore provides Go bindings for the powerlogcore framework.
Package powerlogcore provides Go bindings for the powerlogcore framework.
remotecoreml
Package remotecoreml provides Go bindings for the remotecoreml framework.
Package remotecoreml provides Go bindings for the remotecoreml framework.
signpostcollection
Package signpostcollection provides Go bindings for the signpostcollection framework.
Package signpostcollection provides Go bindings for the signpostcollection framework.
signpostsupport
Package signpostsupport provides Go bindings for the signpostsupport framework.
Package signpostsupport provides Go bindings for the signpostsupport framework.
skylight
Package skylight provides Go bindings for the skylight framework.
Package skylight provides Go bindings for the skylight framework.
speechobjects
Package speechobjects provides Go bindings for the speechobjects framework.
Package speechobjects provides Go bindings for the speechobjects framework.
symbolication
Package symbolication provides Go bindings for the symbolication framework.
Package symbolication provides Go bindings for the symbolication framework.
texttospeech
Package texttospeech provides Go bindings for the texttospeech framework.
Package texttospeech provides Go bindings for the texttospeech framework.
virtualization
Package virtualization provides Go bindings for the Virtualization framework.
Package virtualization provides Go bindings for the Virtualization framework.
xcode
Package xcode contains generated bindings for private frameworks shipped inside Xcode.app and its plug-ins.
Package xcode contains generated bindings for private frameworks shipped inside Xcode.app and its plug-ins.
xcode/ganache
Package ganache provides Go bindings for the ganache framework.
Package ganache provides Go bindings for the ganache framework.
xcode/ganachebufferviewer
Package ganachebufferviewer provides Go bindings for the ganachebufferviewer framework.
Package ganachebufferviewer provides Go bindings for the ganachebufferviewer framework.
xcode/ganacheimageprocessor
Package ganacheimageprocessor provides Go bindings for the ganacheimageprocessor framework.
Package ganacheimageprocessor provides Go bindings for the ganacheimageprocessor framework.
xcode/ganacheimageviewer
Package ganacheimageviewer provides Go bindings for the ganacheimageviewer framework.
Package ganacheimageviewer provides Go bindings for the ganacheimageviewer framework.
xcode/ganachetensorviewer
Package ganachetensorviewer provides Go bindings for the ganachetensorviewer framework.
Package ganachetensorviewer provides Go bindings for the ganachetensorviewer framework.
xcode/gputoolsshaderprofiler
Package gputoolsshaderprofiler provides Go bindings for the gputoolsshaderprofiler framework.
Package gputoolsshaderprofiler provides Go bindings for the gputoolsshaderprofiler framework.
xcode/gtshaderprofiler
Package gtshaderprofiler provides Go bindings for the gtshaderprofiler framework.
Package gtshaderprofiler provides Go bindings for the gtshaderprofiler framework.
xcode/gttimeline
Package gttimeline provides Go bindings for the gttimeline framework.
Package gttimeline provides Go bindings for the gttimeline framework.
xcode/mlopgraph
Package mlopgraph provides Go bindings for the mlopgraph framework.
Package mlopgraph provides Go bindings for the mlopgraph framework.
xcode/mtltoolsanalysisengine
Package mtltoolsanalysisengine provides Go bindings for the mtltoolsanalysisengine framework.
Package mtltoolsanalysisengine provides Go bindings for the mtltoolsanalysisengine framework.
xcode/mtltoolsshaderprofiler
Package mtltoolsshaderprofiler provides Go bindings for the mtltoolsshaderprofiler framework.
Package mtltoolsshaderprofiler provides Go bindings for the mtltoolsshaderprofiler framework.
xcode/symbolicationdt
Package symbolicationdt provides Go bindings for the symbolicationdt framework.
Package symbolicationdt provides Go bindings for the symbolicationdt framework.
Package quartzcore provides Go bindings for the QuartzCore framework.
Package quartzcore provides Go bindings for the QuartzCore framework.
Package rdma provides Go bindings for the rdma framework.
Package rdma provides Go bindings for the rdma framework.
Package screencapturekit provides Go bindings for the ScreenCaptureKit framework.
Package screencapturekit provides Go bindings for the ScreenCaptureKit framework.
Package scriptingbridge provides Go bindings for the ScriptingBridge framework.
Package scriptingbridge provides Go bindings for the ScriptingBridge framework.
Package security provides Go bindings for the Security framework.
Package security provides Go bindings for the Security framework.
Package servicemanagement provides Go bindings for the ServiceManagement framework.
Package servicemanagement provides Go bindings for the ServiceManagement framework.
Package soundanalysis provides Go bindings for the SoundAnalysis framework.
Package soundanalysis provides Go bindings for the SoundAnalysis framework.
Package speech provides Go bindings for the Speech framework.
Package speech provides Go bindings for the Speech framework.
Package spritekit provides Go bindings for the SpriteKit framework.
Package spritekit provides Go bindings for the SpriteKit framework.
Package symbols provides Go bindings for the Symbols framework.
Package symbols provides Go bindings for the Symbols framework.
Package systemconfiguration provides Go bindings for the SystemConfiguration framework.
Package systemconfiguration provides Go bindings for the SystemConfiguration framework.
Package systemextensions provides Go bindings for the SystemExtensions framework.
Package systemextensions provides Go bindings for the SystemExtensions framework.
Package uniformtypeidentifiers provides Go bindings for the UniformTypeIdentifiers framework.
Package uniformtypeidentifiers provides Go bindings for the UniformTypeIdentifiers framework.
Package usernotifications provides Go bindings for the UserNotifications framework.
Package usernotifications provides Go bindings for the UserNotifications framework.
Package videotoolbox provides Go bindings for the VideoToolbox framework.
Package videotoolbox provides Go bindings for the VideoToolbox framework.
Package virtualization provides Go bindings for the Virtualization framework.
Package virtualization provides Go bindings for the Virtualization framework.
Package vision provides Go bindings for the Vision framework.
Package vision provides Go bindings for the Vision framework.
Package vmnet provides Go bindings for the vmnet framework.
Package vmnet provides Go bindings for the vmnet framework.
Package webkit provides Go bindings for the WebKit framework.
Package webkit provides Go bindings for the WebKit framework.
x
ane
Package ane provides high-level access to the Apple Neural Engine.
Package ane provides high-level access to the Apple Neural Engine.
ane/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.
ane/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.
ane/internal/anetest
Package anetest coordinates tests that use the system ANE compiler.
Package anetest coordinates tests that use the system ANE compiler.
ane/linear
Package linear provides reusable ANE-backed linear forward execution.
Package linear provides reusable ANE-backed linear forward execution.
ane/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.
ane/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.
apfs
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.
armbench
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.
audiocodec
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.
axuiautomation
Package axuiautomation provides XCUIAutomation-style interfaces for macOS accessibility automation.
Package axuiautomation provides XCUIAutomation-style interfaces for macOS accessibility automation.
bnnsgraph
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.
capture
Package capture provides generic image conversion and processing helpers.
Package capture provides generic image conversion and processing helpers.
codesign
Package codesign signs macOS Mach-O binaries using the system codesign tool.
Package codesign signs macOS Mach-O binaries using the system codesign tool.
compression
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.
coremlcompiler
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.
coremlcompiler/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.
coremlcompiler/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.
coremlconfig
Package coremlconfig provides compute plan analysis and model configuration for CoreML models.
Package coremlconfig provides compute plan analysis and model configuration for CoreML models.
coremlruntime
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.
daemon
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.
diskimages
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.
duplexaudio
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.
enclave
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.
engineattest
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.
espresso
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).
experiment
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.
fskitbridge
Package fskitbridge helps implement FSKit file systems in Go.
Package fskitbridge helps implement FSKit file systems in Go.
fswatch
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.
gpureplay
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.
guest/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.
guest/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.
guest/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.
guest/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.
jaccl
Package jaccl implements RDMA collective communication in Go.
Package jaccl implements RDMA collective communication in Go.
libproc
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>.
lldb
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.
mach
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.
machdebug
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.
mempressure
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.
meshdisc
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.
metal4
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.
metalcache
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).
metalcounters
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).
metalheap
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.
metalicb
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.
metalio
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.
nwquic
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.
ondeviceasr
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.
oslog
Package oslog writes messages to the unified logging system (os_log).
Package oslog writes messages to the unified logging system (os_log).
ossync
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.
plist
Package plist provides plist parsing and writing for Apple configuration files.
Package plist provides plist parsing and writing for Apple configuration files.
powersample
Package powersample measures SoC subsystem energy on Apple silicon.
Package powersample measures SoC subsystem energy on Apple silicon.
purgeable
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.
rdma
Package rdma provides operational helpers for Apple's generated RDMA bindings.
Package rdma provides operational helpers for Apple's generated RDMA bindings.
screentensor
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.
signpost
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.
signpost/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.
signpost/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.
skylight
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.
sockbuf
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.
swiftui
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.
thermal
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.
udpbatch
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.
unifiedtrace
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.
vzkit
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.
vzkit/audio
Package audio provides sound device helpers for Apple Virtualization VMs.
Package audio provides sound device helpers for Apple Virtualization VMs.
vzkit/balloon
Package balloon provides memory balloon helpers for running virtual machines.
Package balloon provides memory balloon helpers for running virtual machines.
vzkit/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.
vzkit/clipboard
Package clipboard configures host-guest clipboard sharing via SPICE agent.
Package clipboard configures host-guest clipboard sharing via SPICE agent.
vzkit/config
Package config provides mechanical configuration setters for Apple Virtualization VM configurations.
Package config provides mechanical configuration setters for Apple Virtualization VM configurations.
vzkit/configcodec
Package configcodec provides virtual machine configuration encoding helpers.
Package configcodec provides virtual machine configuration encoding helpers.
vzkit/debugstub
Package debugstub provides debug stub configuration helpers.
Package debugstub provides debug stub configuration helpers.
vzkit/disk
Package disk provides helpers for managing macOS disk images via hdiutil.
Package disk provides helpers for managing macOS disk images via hdiutil.
vzkit/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.
vzkit/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.
vzkit/exp/accelerator
Package accelerator provides experimental accelerator device helpers.
Package accelerator provides experimental accelerator device helpers.
vzkit/exp/biometric
Package biometric provides experimental biometric device configuration helpers.
Package biometric provides experimental biometric device configuration helpers.
vzkit/exp/custommmio
Package custommmio provides experimental custom MMIO device helpers.
Package custommmio provides experimental custom MMIO device helpers.
vzkit/exp/customvirtio
Package customvirtio provides experimental custom Virtio device helpers.
Package customvirtio provides experimental custom Virtio device helpers.
vzkit/exp/mailbox
Package mailbox provides experimental mailbox device helpers.
Package mailbox provides experimental mailbox device helpers.
vzkit/exp/networkfd
Package networkfd creates file-descriptor-backed network devices.
Package networkfd creates file-descriptor-backed network devices.
vzkit/exp/power
Package power provides experimental power source device helpers.
Package power provides experimental power source device helpers.
vzkit/exp/serial
Package serial wraps experimental serial port configuration APIs.
Package serial wraps experimental serial port configuration APIs.
vzkit/framebuffer
Package framebuffer provides direct framebuffer access and capture helpers.
Package framebuffer provides direct framebuffer access and capture helpers.
vzkit/identity
Package identity loads and saves Virtualization identity objects.
Package identity loads and saves Virtualization identity objects.
vzkit/input
Package input provides CGEvent-based keyboard and mouse input helpers.
Package input provides CGEvent-based keyboard and mouse input helpers.
vzkit/linuxconfig
Package linuxconfig builds mechanical Linux VM configuration pieces.
Package linuxconfig builds mechanical Linux VM configuration pieces.
vzkit/macosconfig
Package macosconfig builds mechanical macOS VM configuration pieces.
Package macosconfig builds mechanical macOS VM configuration pieces.
vzkit/network
Package network provides network configuration helpers for Apple Virtualization virtual machines.
Package network provides network configuration helpers for Apple Virtualization virtual machines.
vzkit/ocr
Package ocr provides text recognition using Apple's Vision framework.
Package ocr provides text recognition using Apple's Vision framework.
vzkit/platform
Package platform provides generic VM platform helpers for Apple Virtualization VMs.
Package platform provides generic VM platform helpers for Apple Virtualization VMs.
vzkit/privatevm
Package privatevm provides focused wrappers for private Virtualization.framework VM selectors.
Package privatevm provides focused wrappers for private Virtualization.framework VM selectors.
vzkit/restore
Package restore provides helpers for working with macOS restore images.
Package restore provides helpers for working with macOS restore images.
vzkit/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.
vzkit/spice
Package spice provides SPICE agent integration helpers.
Package spice provides SPICE agent integration helpers.
vzkit/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.
vzkit/storagehotplug
Package storagehotplug provides runtime storage device management.
Package storagehotplug provides runtime storage device management.
vzkit/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.
vzkit/usbpassthrough
Package usbpassthrough provides runtime USB passthrough helpers.
Package usbpassthrough provides runtime USB passthrough helpers.
vzkit/virtiofs
Package virtiofs provides VirtioFS configuration helpers for Apple Virtualization VMs.
Package virtiofs provides VirtioFS configuration helpers for Apple Virtualization VMs.
vzkit/vm
Package vm provides the core runtime helpers for Apple Virtualization VMs.
Package vm provides the core runtime helpers for Apple Virtualization VMs.
vzkit/vminput
Package vminput provides direct virtual-machine input injection helpers.
Package vminput provides direct virtual-machine input injection helpers.
vzkit/vnc
Package vnc provides headless remote display serving for virtual machines.
Package vnc provides headless remote display serving for virtual machines.
vzkit/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.
vzkit/windowsconfig
Package windowsconfig builds mechanical Windows VM configuration pieces.
Package windowsconfig builds mechanical Windows VM configuration pieces.
workgroup
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.
xpctensor
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.
zerocopy
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.
Package xpc provides Go bindings for the XPC framework.
Package xpc provides Go bindings for the XPC framework.

Jump to

Keyboard shortcuts

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