debug

package
v1.3.19 Latest Latest
Warning

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

Go to latest
Published: Jun 6, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Overview

Package provides debug utilities

  • Copyright (c) 2018-2021, NVIDIA CORPORATION. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

func Assert(_ bool, _ ...any)

func AssertFunc

func AssertFunc(_ func() bool, _ ...any)

func AssertMutexLocked

func AssertMutexLocked(_ *sync.Mutex)

func AssertNoErr

func AssertNoErr(_ error)

func AssertNotPstr

func AssertNotPstr(any)

func AssertRWMutexLocked

func AssertRWMutexLocked(_ *sync.RWMutex)

func AssertRWMutexRLocked

func AssertRWMutexRLocked(_ *sync.RWMutex)

func Assertf

func Assertf(_ bool, _ string, _ ...any)

func FailTypeCast

func FailTypeCast(any)

func Func

func Func(_ func())

func Handlers

func Handlers() map[string]http.HandlerFunc

func Infof

func Infof(_ string, _ ...any)

func NewExpvar

func NewExpvar(_ uint8)

func ON

func ON() bool

func SetExpvar

func SetExpvar(_ uint8, _ string, _ int64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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