debug

package
v1.3.31 Latest Latest
Warning

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

Go to latest
Published: Jul 25, 2025 License: MIT Imports: 2 Imported by: 4

README

About build tags

  • debug is used for correctness and state checks
  • deadbeef for memory safety enforcement

That's the reason to keep these two a) different, and b) separate.

Documentation

Overview

Package memsys provides memory management and slab/SGL allocation with io.Reader and io.Writer interfaces on top of scatter-gather lists of reusable buffers.

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

Package provides debug utilities

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Assert

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

func AssertCounterEquals added in v1.3.30

func AssertCounterEquals(_ string, _ int64)

func AssertFunc

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

func AssertMutexLocked

func AssertMutexLocked(_ *sync.Mutex)

func AssertNoErr

func AssertNoErr(_ error)

func AssertNotPstr added in v1.3.16

func AssertNotPstr(any)

func AssertRWMutexLocked

func AssertRWMutexLocked(_ *sync.RWMutex)

func AssertRWMutexRLocked

func AssertRWMutexRLocked(_ *sync.RWMutex)

func Assertf

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

func DeadBeefLarge added in v1.3.30

func DeadBeefLarge([]byte)

func DeadBeefSmall added in v1.3.30

func DeadBeefSmall([]byte)

func DecCounter added in v1.3.30

func DecCounter(_ string)

func FailTypeCast

func FailTypeCast(any)

func Func

func Func(_ func())

func Handlers

func Handlers() map[string]http.HandlerFunc

func IncCounter added in v1.3.30

func IncCounter(_ string)

func Infof

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

func ON

func ON() bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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