ioaccelerator

package
v0.6.21 Latest Latest
Warning

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

Go to latest
Published: Dec 4, 2026 License: MIT Imports: 7 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.

Documentation

Overview

Package ioaccelerator provides Go bindings for the ioaccelerator framework.

Key Types

Code generated from Apple documentation. DO NOT EDIT.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BindFunc

func BindFunc(fptr any, name string) (err error)

BindFunc binds the ioaccelerator symbol name into fptr, which must be a pointer to a func variable.

The caller supplies the signature, and nothing checks it. A dylib records no argument count or types for a C symbol, so a wrong signature here is not a type error: it is the wrong number of machine words moved on a live stack, and the failure surfaces somewhere else entirely. Prefer a generated binding, whose signature carries recorded evidence, and reach for this only for a symbol that has none. purego.RegisterFunc panics on a signature it cannot lower; that is recovered and returned, because an escape hatch that takes down the process on a mistyped experiment is not one anybody can experiment with.

func SymbolAddress

func SymbolAddress(name string) (uintptr, error)

SymbolAddress returns the address of name in ioaccelerator, whether or not this package generated a binding for it.

What is generated is bounded by what is documented, and for a private framework that is whatever a manifest happened to enumerate. The dylib usually exports far more. Without this, a symbol nobody wrote down is unreachable from a package that has already loaded the image holding it, and the generated surface becomes a ceiling instead of a floor.

The lookup is scoped to this framework's handle, not RTLD_DEFAULT, so a symbol some other loaded image exports is not reported as this one's.

Types

type CFRuntimeBase

type CFRuntimeBase struct {
	Field1 uint64
	Field2 uint64
}

CFRuntimeBase

type IOAccelDevice

type IOAccelDevice struct {
}

IOAccelDevice

type IOAccelDeviceRef

type IOAccelDeviceRef = _undefined

type IOAccelDirtyResourceCommand

type IOAccelDirtyResourceCommand struct {
}

IOAccelDirtyResourceCommand

type IOAccelDirtyResourceCommandRef

type IOAccelDirtyResourceCommandRef = _undefined

type IOAccelKernelCommandSignalOrWaitEventArgs

type IOAccelKernelCommandSignalOrWaitEventArgs struct {
	Field1 uint32
	Field2 uint16
	Field3 uint16
	Field4 uint64
}

IOAccelKernelCommandSignalOrWaitEventArgs

type IOAccelMTLEvent

type IOAccelMTLEvent struct {
	objectivec.Object
}

Methods

func IOAccelMTLEventFromID

func IOAccelMTLEventFromID(id objc.ID) IOAccelMTLEvent

IOAccelMTLEventFromID constructs a IOAccelMTLEvent from an objc.ID.

func NewIOAccelMTLEvent

func NewIOAccelMTLEvent() IOAccelMTLEvent

NewIOAccelMTLEvent creates a new IOAccelMTLEvent instance.

func NewIOAccelMTLEventWithShared

func NewIOAccelMTLEventWithShared(shared *IOAccelShared) IOAccelMTLEvent

func NewIOAccelMTLEventWithSharedOptions

func NewIOAccelMTLEventWithSharedOptions(shared *IOAccelShared, options uint64) IOAccelMTLEvent

func (IOAccelMTLEvent) Autorelease

func (i IOAccelMTLEvent) Autorelease() IOAccelMTLEvent

Autorelease adds the receiver to the current autorelease pool.

func (IOAccelMTLEvent) EncodeKernelSignalEventCommandArgsValue

func (i IOAccelMTLEvent) EncodeKernelSignalEventCommandArgsValue(args *IOAccelKernelCommandSignalOrWaitEventArgs, value uint64) uint32

func (IOAccelMTLEvent) EncodeKernelWaitEventCommandArgs

func (i IOAccelMTLEvent) EncodeKernelWaitEventCommandArgs(args *IOAccelKernelCommandSignalOrWaitEventArgs) uint32

func (IOAccelMTLEvent) EncodeKernelWaitEventCommandArgsValue

func (i IOAccelMTLEvent) EncodeKernelWaitEventCommandArgsValue(args *IOAccelKernelCommandSignalOrWaitEventArgs, value uint64) uint32

func (IOAccelMTLEvent) EncodeKernelWaitEventCommandArgsValueTimeout

func (i IOAccelMTLEvent) EncodeKernelWaitEventCommandArgsValueTimeout(args *IOAccelKernelCommandSignalOrWaitEventArgs, value uint64, timeout uint32) uint32

func (IOAccelMTLEvent) Init

Init initializes the instance.

func (IOAccelMTLEvent) InitWithShared

func (i IOAccelMTLEvent) InitWithShared(shared *IOAccelShared) IOAccelMTLEvent

func (IOAccelMTLEvent) InitWithSharedOptions

func (i IOAccelMTLEvent) InitWithSharedOptions(shared *IOAccelShared, options uint64) IOAccelMTLEvent

func (IOAccelMTLEvent) SupportsRollback

func (i IOAccelMTLEvent) SupportsRollback() bool

type IOAccelMTLEventClass

type IOAccelMTLEventClass struct {
	// contains filtered or unexported fields
}

func GetIOAccelMTLEventClass

func GetIOAccelMTLEventClass() IOAccelMTLEventClass

GetIOAccelMTLEventClass returns the class object for IOAccelMTLEvent.

func (IOAccelMTLEventClass) Alloc

Alloc allocates memory for a new instance of the class.

func (IOAccelMTLEventClass) Class

func (ic IOAccelMTLEventClass) Class() objc.Class

Class returns the underlying Objective-C class pointer.

type IOAccelShared

type IOAccelShared struct {
	Field1  CFRuntimeBase
	Field2  IOAccelDeviceRef
	Field3  uint32
	Field4  func()
	Field5  uint64
	Field6  OSUnfairLockS
	Field7  IOAcceldirtyRingRORef
	Field8  IOAcceldirtyRingRWRef
	Field9  IOAccelDirtyResourceCommandRef
	Field10 uint32
	Field11 OSUnfairLockS
	Field12 ShmemlogList
	Field13 *uint64
}

IOAccelShared

type IOAcceldirtyRingRO

type IOAcceldirtyRingRO struct {
}

IOAcceldirtyRingRO

type IOAcceldirtyRingRORef

type IOAcceldirtyRingRORef = _undefined

type IOAcceldirtyRingRW

type IOAcceldirtyRingRW struct {
}

IOAcceldirtyRingRW

type IOAcceldirtyRingRWRef

type IOAcceldirtyRingRWRef = _undefined

type OSUnfairLockS

type OSUnfairLockS struct {
	Field1 uint32
}

OSUnfairLockS

type Os_unfair_lock_s

type Os_unfair_lock_s = OSUnfairLockS

Os_unfair_lock_s is a type alias for OSUnfairLockS for use in objc.Send[T] calls.

type SShmemlog

type SShmemlog struct {
}

SShmemlog

type SShmemlogRef

type SShmemlogRef uintptr

type S_shmemlog_

type S_shmemlog_ = SShmemlog

S_shmemlog_ is a type alias for SShmemlog for use in objc.Send[T] calls.

type ShmemlogList

type ShmemlogList struct {
	Field1 SShmemlogRef
}

ShmemlogList

type Shmemlog_list

type Shmemlog_list = ShmemlogList

Shmemlog_list is a type alias for ShmemlogList for use in objc.Send[T] calls.

Jump to

Keyboard shortcuts

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