Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for warnBlocked (0.09 sec)

  1. src/crypto/rand/rand_unix.go

    }
    
    // altGetRandom if non-nil specifies an OS-specific function to get
    // urandom-style randomness.
    var altGetRandom func([]byte) (err error)
    
    func warnBlocked() {
    	println("crypto/rand: blocked for 60 seconds waiting to read random data from the kernel")
    }
    
    func (r *reader) Read(b []byte) (n int, err error) {
    	boring.Unreachable()
    	if r.used.CompareAndSwap(0, 1) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Oct 01 08:32:46 UTC 2022
    - 1.8K bytes
    - Viewed (0)
Back to top