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 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/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. |
|
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-host
command
Command swiftui-host loads a Swift package that defines SwiftUI content and hosts it inside an AppKit window.
|
Command swiftui-host loads a Swift package that defines SwiftUI content and hosts it inside an AppKit window. |
|
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/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/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). |
|
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. |
|
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/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/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. |
|
coreml/predict
command
Command predict loads a CoreML model and prints its description as JSON.
|
Command predict loads a CoreML model and prints its description as JSON. |
|
coreservices/fsevents
command
Command fsevents watches a directory with Apple's journal-backed FSEvents service and prints each file-level event delivered to the Go callback.
|
Command fsevents watches a directory with Apple's journal-backed FSEvents service and prints each file-level event delivered to the Go callback. |
|
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. |
|
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 reports the Objective-C class identity of the objects the public Metal API vends.
|
Command iogpucensus reports the Objective-C class identity of the objects the public Metal API vends. |
|
hypervisor/hvinfo
command
|
|
|
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/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/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/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. |
|
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/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/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/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/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. |
|
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/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/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/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. |
|
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/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/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. |
|
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. |
|
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. |
|
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. |
|
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/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/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. |
|
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/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. |
|
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. |
|
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. |
|
axuiautomation
Package axuiautomation provides XCUIAutomation-style interfaces for macOS accessibility automation.
|
Package axuiautomation provides XCUIAutomation-style interfaces for macOS accessibility automation. |
|
capture
Package capture provides generic image conversion and processing helpers.
|
Package capture provides generic image conversion and processing helpers. |
|
codesign
Package codesign ad-hoc signs the current macOS executable with a set of entitlements and re-execs it once, so a binary built without signing can still acquire entitlements it needs at runtime (notably com.apple.security.virtualization).
|
Package codesign ad-hoc signs the current macOS executable with a set of entitlements and re-execs it once, so a binary built without signing can still acquire entitlements it needs at runtime (notably com.apple.security.virtualization). |
|
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. |
|
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. |
|
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. |
|
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. |
|
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. |
|
network/nwpacket
Package nwpacket provides a small Network.framework-backed net.PacketConn.
|
Package nwpacket provides a small Network.framework-backed net.PacketConn. |
|
oslog
Package oslog writes messages to the unified logging system (os_log).
|
Package oslog writes messages to the unified logging system (os_log). |
|
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. |
|
rdma
Package rdma provides operational helpers for Apple's generated RDMA bindings.
|
Package rdma provides operational helpers for Apple's generated RDMA bindings. |
|
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. |
|
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. |
|
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.
|
Package snapshot provides VM state snapshot helpers. |
|
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. |
|
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. |
Click to show internal directories.
Click to hide internal directories.