abi

package
v1.8.5 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2026 License: Apache-2.0 Imports: 2 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

Index

Constants

This section is empty.

Variables

View Source
var (
	Default = &MethodProviderList{}
)

Functions

func AddMethodProvider

func AddMethodProvider(mp MethodProvider)

Types

type MethodInfo

type MethodInfo struct {
	Func     reflect.Value
	Call     func([]reflect.Value) []reflect.Value
	Type     reflect.Type
	InTyp    reflect.Type
	OutTyp   reflect.Type
	InSize   uintptr
	OutSize  uintptr
	Pointer  bool
	Indirect bool
	Variadic bool
	OnePtr   bool
}

type MethodProvider

type MethodProvider interface {
	Insert(info *MethodInfo) (ifn unsafe.Pointer, index int) // insert method info
	Remove(index []int)                                      // remove method info
	Available() int                                          // available count
	Used() int                                               // methods used
	Cap() int                                                // methods capacity
	Clear()                                                  // clear all methods
}

type MethodProviderList

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

func (*MethodProviderList) Add

func (*MethodProviderList) Available

func (p *MethodProviderList) Available() int

func (*MethodProviderList) Cap

func (p *MethodProviderList) Cap() int

func (*MethodProviderList) Clear

func (p *MethodProviderList) Clear()

func (*MethodProviderList) List

func (p *MethodProviderList) List() []MethodProvider

func (*MethodProviderList) Used

func (p *MethodProviderList) Used() int

Jump to

Keyboard shortcuts

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