- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 400 for BigVal (0.15 sec)
-
src/crypto/x509/oid.go
bigVal = bigVal.Lsh(bigVal, bitsPerByte).Or(bigVal, big.NewInt(int64(curVal))) if valEnd { if start == 0 { b.WriteString("2.") bigVal = bigVal.Sub(bigVal, big.NewInt(80)) } numBuf = bigVal.Append(numBuf, 10) b.Write(numBuf) numBuf = numBuf[:0] val = 0 start = i + 1 overflow = false } continue } val <<= bitsPerByte val |= uint64(curVal)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 19:10:38 UTC 2024 - 8.3K bytes - Viewed (0) -
src/runtime/race/testdata/map_test.go
<-ch } func TestRaceMapBigValInsert(t *testing.T) { m := make(map[int]BigVal) var v BigVal ch := make(chan bool, 1) go func() { m[1] = v ch <- true }() v.y[30] = new(int) <-ch } func TestRaceMapBigValAccess1(t *testing.T) { m := make(map[int]BigVal) var v BigVal ch := make(chan bool, 1) go func() { v = m[1] ch <- true }()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Nov 03 22:09:38 UTC 2017 - 5.1K bytes - Viewed (0) -
src/os/signal/signal.go
) // Notify causes package signal to relay incoming signals to c. // If no signals are provided, all incoming signals will be relayed to c. // Otherwise, just the provided signals will. // // Package signal will not block sending to c: the caller must ensure // that c has sufficient buffer space to keep up with the expected // signal rate. For a channel used for notification of just one signal value, // a buffer of size 1 is sufficient.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Feb 26 21:33:12 UTC 2024 - 8.3K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/signal.go
shutdownHandler = make(chan os.Signal, 2) ctx, cancel := context.WithCancel(context.Background()) signal.Notify(shutdownHandler, shutdownSignals...) go func() { <-shutdownHandler cancel() <-shutdownHandler os.Exit(1) // second signal. Exit directly. }() return ctx } // RequestShutdown emulates a received event that is considered as shutdown signal (SIGTERM/SIGINT)
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Mon Jul 06 14:30:27 UTC 2020 - 2K bytes - Viewed (0) -
src/cmd/go/internal/base/signal.go
// license that can be found in the LICENSE file. package base import ( "os" "os/signal" "sync" ) // Interrupted is closed when the go command receives an interrupt signal. var Interrupted = make(chan struct{}) // processSignals setups signal handler. func processSignals() { sig := make(chan os.Signal, 1) signal.Notify(sig, signalsToIgnore...) go func() { <-sig close(Interrupted) }() }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Dec 02 16:43:58 UTC 2020 - 663 bytes - Viewed (0) -
pkg/scheduler/internal/cache/debugger/signal.go
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Aug 24 19:47:49 UTC 2021 - 785 bytes - Viewed (0) -
src/runtime/testdata/testprognet/signal.go
// must not import anything (like net, but also like os/signal) // that kicks off background goroutines during init. package main import ( "os/signal" "syscall" ) func init() { register("SignalIgnoreSIGTRAP", SignalIgnoreSIGTRAP) } func SignalIgnoreSIGTRAP() { signal.Ignore(syscall.SIGTRAP) syscall.Kill(syscall.Getpid(), syscall.SIGTRAP) println("OK")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 646 bytes - Viewed (0) -
src/runtime/testdata/testprog/signal.go
// Should die immediately, but we've seen flakiness on various // systems (see issue 14063). It's possible that the signal is // being delivered to a different thread and we are returning // and exiting before that thread runs again. Give the program // a little while to die to make sure we pick up the signal // before we return and exit the program. The time here // shouldn't matter--we'll never really sleep this long.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 861 bytes - Viewed (0) -
src/runtime/defs_openbsd.go
*/ package runtime /* #include <sys/types.h> #include <sys/event.h> #include <sys/mman.h> #include <sys/time.h> #include <sys/unistd.h> #include <sys/signal.h> #include <errno.h> #include <fcntl.h> #include <pthread.h> #include <signal.h> */ import "C" const ( EINTR = C.EINTR EFAULT = C.EFAULT EAGAIN = C.EAGAIN ETIMEDOUT = C.ETIMEDOUT O_NONBLOCK = C.O_NONBLOCK
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Oct 23 17:31:23 UTC 2023 - 3.1K bytes - Viewed (0) -
src/runtime/defs_darwin.go
*/ package runtime /* #define __DARWIN_UNIX03 0 #include <mach/mach_time.h> #include <sys/types.h> #include <sys/time.h> #include <errno.h> #include <signal.h> #include <sys/event.h> #include <sys/mman.h> #include <pthread.h> #include <fcntl.h> */ import "C" const ( EINTR = C.EINTR EFAULT = C.EFAULT EAGAIN = C.EAGAIN
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 12 21:17:22 UTC 2024 - 4.3K bytes - Viewed (0)