- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 772 for BigVal (0.13 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/map_benchmark_test.go
m := make(map[BigKey]bool) k := BigKey{3, 4, 5} m[k] = true for i := 0; i < b.N; i++ { _ = m[k] } } type BigVal [3]int64 func BenchmarkBigValMap(b *testing.B) { m := make(map[BigKey]BigVal) k := BigKey{3, 4, 5} m[k] = BigVal{6, 7, 8} for i := 0; i < b.N; i++ { _ = m[k] } } func BenchmarkSmallKeyMap(b *testing.B) { m := make(map[int16]bool)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Aug 09 16:41:16 UTC 2023 - 10.6K 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) -
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) -
src/runtime/sigqueue.go
} } } // signalWaitUntilIdle waits until the signal delivery mechanism is idle. // This is used to ensure that we do not drop a signal notification due // to a race between disabling a signal and receiving a signal. // This assumes that signal delivery has already been disabled for // the signal(s) in question, and here we are just waiting to make sure
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 7.6K bytes - Viewed (0) -
pkg/kubelet/eviction/api/types.go
*/ package api import ( "time" "k8s.io/apimachinery/pkg/api/resource" ) // Signal defines a signal that can trigger eviction of pods on a node. type Signal string const ( // SignalMemoryAvailable is memory available (i.e. capacity - workingSet), in bytes. SignalMemoryAvailable Signal = "memory.available"
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Nov 01 18:46:33 UTC 2023 - 5.7K bytes - Viewed (0) -
src/runtime/signal_unix.go
flags = sigtable[sig].flags } // If the signal is ignored, raising the signal is no-op. if handler == _SIG_IGN || (handler == _SIG_DFL && flags&_SigIgn != 0) { return } // Reset the signal handler and raise the signal. // We are currently running inside a signal handler, so the // signal is blocked. We need to unblock it before raising the // signal, or the signal we raise will be ignored until we return
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0) -
src/runtime/runtime-gdb_unix_test.go
if err != nil { t.Fatalf("gdb exited with error: %v", err) } // We don't know which thread the fatal signal will land on, but we can still check for basics: // // 1. A frame in the signal handler: runtime.sigtramp // 2. GDB detection of the signal handler: <signal handler called> // 3. A frame before the signal handler: this could be foo, or somewhere in the scheduler re := regexp.MustCompile(`#.* runtime\.sigtramp `)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Jan 17 19:05:30 UTC 2024 - 9.4K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/go/analysis/passes/sigchanyzer/doc.go
// misuse of unbuffered signal as argument to signal.Notify. // // # Analyzer sigchanyzer // // sigchanyzer: check for unbuffered channel of os.Signal // // This checker reports call expression of the form // // signal.Notify(c <-chan os.Signal, sig ...os.Signal), // // where c is an unbuffered channel, which can be at risk of missing the signal.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 09 01:28:01 UTC 2023 - 585 bytes - Viewed (0)