util

package
v0.0.0-...-d3fc8e5 Latest Latest
Warning

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

Go to latest
Published: Sep 7, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Abs

func Abs(x int) int

func Decref

func Decref(p *uint32) uint32

func Fatal

func Fatal(s string)

func Incref

func Incref(p *uint32)

func Max

func Max(a int, b int) int

func Min

func Min(a int, b int) int

Types

type QLock

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

func (*QLock) Lock

func (l *QLock) Lock()

func (*QLock) TryLock

func (l *QLock) TryLock() bool

func (*QLock) Unlock

func (l *QLock) Unlock()

Jump to

Keyboard shortcuts

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