Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 61 for sigset (0.13 sec)

  1. src/runtime/os_plan9.go

    	// Initialize stack for handling strings from the
    	// errstr system call, as used in package syscall.
    	mp.errstr = (*byte)(mallocgc(_ERRMAX, nil, true))
    }
    
    func sigsave(p *sigset) {
    }
    
    func msigrestore(sigmask sigset) {
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func clearSignalHandlers() {
    }
    
    func sigblock(exiting bool) {
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  2. src/runtime/sys_darwin.go

    	KeepAlive(new)
    	KeepAlive(old)
    }
    func sigaction_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    func sigprocmask(how uint32, new *sigset, old *sigset) {
    	libcCall(unsafe.Pointer(abi.FuncPCABI0(sigprocmask_trampoline)), unsafe.Pointer(&how))
    	KeepAlive(new)
    	KeepAlive(old)
    }
    func sigprocmask_trampoline()
    
    //go:nosplit
    //go:cgo_unsafe_args
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  3. src/runtime/signal_unix.go

    // after g has been cleared.
    //
    //go:nosplit
    //go:nowritebarrierrec
    func msigrestore(sigmask sigset) {
    	sigprocmask(_SIG_SETMASK, &sigmask, nil)
    }
    
    // sigsetAllExiting is used by sigblock(true) when a thread is
    // exiting.
    var sigsetAllExiting = func() sigset {
    	res := sigset_all
    
    	// Apply GOOS-specific overrides here, rather than in osinit,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 10 16:04:54 UTC 2024
    - 45K bytes
    - Viewed (0)
  4. src/runtime/runtime2.go

    	procid        uint64            // for debuggers, but offset not hard-coded
    	gsignal       *g                // signal-handling g
    	goSigStack    gsignalStack      // Go-allocated signal handling stack
    	sigmask       sigset            // storage for saved signal mask
    	tls           [tlsSlots]uintptr // thread-local storage (for x86 extern register)
    	mstartfn      func()
    	curg          *g       // current running goroutine
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 47.9K bytes
    - Viewed (0)
  5. src/runtime/proc.go

    var mainStarted bool
    
    // runtimeInitTime is the nanotime() at which the runtime started.
    var runtimeInitTime int64
    
    // Value to use for signal mask for newly created M's.
    var initSigmask sigset
    
    // The main goroutine.
    func main() {
    	mp := getg().m
    
    	// Racectx of m0->g0 is used only as the parent of the main goroutine.
    	// It must not be used for anything else.
    	mp.g0.racectx = 0
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  6. src/crypto/sha1/sha1.go

    	d.Write(padlen)
    
    	if d.nx != 0 {
    		panic("d.nx != 0")
    	}
    
    	var digest [Size]byte
    
    	byteorder.BePutUint32(digest[0:], d.h[0])
    	byteorder.BePutUint32(digest[4:], d.h[1])
    	byteorder.BePutUint32(digest[8:], d.h[2])
    	byteorder.BePutUint32(digest[12:], d.h[3])
    	byteorder.BePutUint32(digest[16:], d.h[4])
    
    	return digest
    }
    
    // ConstantTimeSum computes the same result of [Sum] but in constant time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. src/hash/adler32/adler32.go

    // state of the hash.
    func New() hash.Hash32 {
    	d := new(digest)
    	d.Reset()
    	return d
    }
    
    func (d *digest) Size() int { return Size }
    
    func (d *digest) BlockSize() int { return 4 }
    
    const (
    	magic         = "adl\x01"
    	marshaledSize = len(magic) + 4
    )
    
    func (d *digest) MarshalBinary() ([]byte, error) {
    	b := make([]byte, 0, marshaledSize)
    	b = append(b, magic...)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 12 05:36:29 UTC 2024
    - 3K bytes
    - Viewed (0)
  8. src/vendor/golang.org/x/crypto/sha3/hashes.go

    // Sum224 returns the SHA3-224 digest of the data.
    func Sum224(data []byte) (digest [28]byte) {
    	h := New224()
    	h.Write(data)
    	h.Sum(digest[:0])
    	return
    }
    
    // Sum256 returns the SHA3-256 digest of the data.
    func Sum256(data []byte) (digest [32]byte) {
    	h := New256()
    	h.Write(data)
    	h.Sum(digest[:0])
    	return
    }
    
    // Sum384 returns the SHA3-384 digest of the data.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. src/crypto/sha512/sha512.go

    		panic("d.nx != 0")
    	}
    
    	var digest [Size]byte
    	byteorder.BePutUint64(digest[0:], d.h[0])
    	byteorder.BePutUint64(digest[8:], d.h[1])
    	byteorder.BePutUint64(digest[16:], d.h[2])
    	byteorder.BePutUint64(digest[24:], d.h[3])
    	byteorder.BePutUint64(digest[32:], d.h[4])
    	byteorder.BePutUint64(digest[40:], d.h[5])
    	if d.function != crypto.SHA384 {
    		byteorder.BePutUint64(digest[48:], d.h[6])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  10. src/crypto/sha256/sha256.go

    	if d.nx != 0 {
    		panic("d.nx != 0")
    	}
    
    	var digest [Size]byte
    
    	byteorder.BePutUint32(digest[0:], d.h[0])
    	byteorder.BePutUint32(digest[4:], d.h[1])
    	byteorder.BePutUint32(digest[8:], d.h[2])
    	byteorder.BePutUint32(digest[12:], d.h[3])
    	byteorder.BePutUint32(digest[16:], d.h[4])
    	byteorder.BePutUint32(digest[20:], d.h[5])
    	byteorder.BePutUint32(digest[24:], d.h[6])
    	if !d.is224 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 16:50:58 UTC 2024
    - 5.7K bytes
    - Viewed (0)
Back to top