rand

package
v0.0.0-...-f790dc9 Latest Latest
Warning

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

Go to latest
Published: Sep 28, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var CLOCK_MONOTONIC = 1

Functions

func GetCounter

func GetCounter() int64

Types

type ConcurrentRand

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

func New

func New(seeds ...int64) *ConcurrentRand

func (*ConcurrentRand) Int31

func (src *ConcurrentRand) Int31() int32

func (*ConcurrentRand) Int31n

func (src *ConcurrentRand) Int31n(n int32) int32

func (*ConcurrentRand) Int63

func (src *ConcurrentRand) Int63() int64

func (*ConcurrentRand) Int63n

func (src *ConcurrentRand) Int63n(n int64) int64

func (*ConcurrentRand) Intn

func (src *ConcurrentRand) Intn(n int) int

func (*ConcurrentRand) Perm

func (src *ConcurrentRand) Perm(n int) []int

func (*ConcurrentRand) Uint64

func (src *ConcurrentRand) Uint64() uint64

Jump to

Keyboard shortcuts

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