Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func SetDefaultIfZero ¶
func SetDefaultIfZero[V comparable](v *V, defaultVal V)
func SlicePopLast ¶
func SlicePopLast[S ~[]E, E any](s S) S
Types ¶
type DetailedBytes ¶
type DetailedBytes uint64
func (DetailedBytes) String ¶
func (b DetailedBytes) String() string
type OneRunner ¶
type OneRunner struct {
// contains filtered or unexported fields
}
func NewOneRunner ¶
func NewOneRunner(f func()) *OneRunner
type SimpleReaderAtReader ¶
type SimpleReaderAtReader struct {
// contains filtered or unexported fields
}
func NewSimpleReaderAtReader ¶
func NewSimpleReaderAtReader(r io.ReaderAt, off int64) *SimpleReaderAtReader
type WaitBarrier ¶
type WaitBarrier struct {
// contains filtered or unexported fields
}
func (*WaitBarrier) Barrier ¶
func (b *WaitBarrier) Barrier()
func (*WaitBarrier) BarrierWithUnlock ¶
func (b *WaitBarrier) BarrierWithUnlock(u Unlocker)
func (*WaitBarrier) Start ¶
func (b *WaitBarrier) Start() WaitBarrierContext
type WaitBarrierContext ¶
type WaitBarrierContext struct {
// contains filtered or unexported fields
}
func (WaitBarrierContext) Done ¶
func (c WaitBarrierContext) Done()
Click to show internal directories.
Click to hide internal directories.