- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 445 for panicIP (0.25 sec)
-
src/runtime/panic.go
// This is used to try hard to get a panic stack trace out when exiting. var runningPanicDefers atomic.Uint32 // panicking is non-zero when crashing the program for an unrecovered panic. var panicking atomic.Uint32 // paniclk is held while printing the panic information and stack trace, // so that two concurrent panics don't overlap their output. var paniclk mutex
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 29 17:58:53 UTC 2024 - 43.8K bytes - Viewed (0) -
staging/src/k8s.io/apiserver/pkg/server/filters/timeout_test.go
return r.count } func newHandler(responseCh <-chan string, panicCh <-chan interface{}, writeErrCh chan<- error) http.HandlerFunc { return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) { select { case resp := <-responseCh: _, err := w.Write([]byte(resp)) writeErrCh <- err case panicReason := <-panicCh: panic(panicReason) } }) } func TestTimeout(t *testing.T) {
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 18.4K bytes - Viewed (0) -
src/syscall/js/js.go
// It panics if v is not a JavaScript number. func (v Value) Int() int { return int(v.float("Value.Int")) } // Bool returns the value v as a bool. // It panics if v is not a JavaScript boolean. func (v Value) Bool() bool { switch v.ref { case valueTrue.ref: return true case valueFalse.ref: return false default: panic(&ValueError{"Value.Bool", v.Type()}) } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Apr 19 14:35:26 UTC 2024 - 19.5K bytes - Viewed (0) -
src/internal/reflectlite/value.go
} return f.Name() } // mustBeExported panics if f records that the value was obtained using // an unexported field. func (f flag) mustBeExported() { if f == 0 { panic(&ValueError{methodName(), 0}) } if f&flagRO != 0 { panic("reflect: " + methodName() + " using value obtained using unexported field") } } // mustBeAssignable panics if f records that the value is not assignable,
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 17:01:54 UTC 2024 - 13.6K bytes - Viewed (0) -
src/log/slog/value.go
} // Int64 returns v's value as an int64. It panics // if v is not a signed integer. func (v Value) Int64() int64 { if g, w := v.Kind(), KindInt64; g != w { panic(fmt.Sprintf("Value kind is %s, not %s", g, w)) } return int64(v.num) } // Uint64 returns v's value as a uint64. It panics // if v is not an unsigned integer. func (v Value) Uint64() uint64 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 16 16:12:08 UTC 2024 - 13.3K bytes - Viewed (0) -
src/math/rand/v2/rand.go
// It panics if n <= 0. func (r *Rand) Int64N(n int64) int64 { if n <= 0 { panic("invalid argument to Int64N") } return int64(r.uint64n(uint64(n))) } // Uint64N returns, as a uint64, a non-negative pseudo-random number in the half-open interval [0,n). // It panics if n == 0. func (r *Rand) Uint64N(n uint64) uint64 { if n == 0 { panic("invalid argument to Uint64N") }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 02:25:49 UTC 2024 - 12.8K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/util/runtime/runtime.go
fn(ctx, r) } if ReallyCrash { // Actually proceed to panic. panic(r) } } // logPanic logs the caller tree when a panic occurs (except in the special case of http.ErrAbortHandler). func logPanic(ctx context.Context, r interface{}) { if r == http.ErrAbortHandler { // honor the http.ErrAbortHandler sentinel panic value: // ErrAbortHandler is a sentinel panic value to abort a handler.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Mar 26 16:28:45 UTC 2024 - 9.9K bytes - Viewed (0) -
src/internal/trace/event.go
m.Value = Value{kind: ValueUint64, scalar: e.base.args[0]} default: panic(fmt.Sprintf("internal error: unexpected event type for Metric kind: %s", go122.EventString(e.base.typ))) } return m } // Label returns details about a Label event. // // Panics if Kind != EventLabel. func (e Event) Label() Label { if e.Kind() != EventLabel { panic("Label called on non-Label event") } if e.base.typ != go122.EvGoLabel {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 12:39:00 UTC 2024 - 28.9K bytes - Viewed (0) -
src/flag/flag_test.go
-ZP0 value a flag whose String method panics when it is zero -ZP1 value a flag whose String method panics when it is zero -maxT timeout set timeout for dial panic calling String method on zero flag_test.zeroPanicker for flag ZP0: panic! panic calling String method on zero flag_test.zeroPanicker for flag ZP1: panic! ` func TestPrintDefaults(t *testing.T) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 07 18:38:24 UTC 2024 - 22K bytes - Viewed (0) -
src/math/rand/rand.go
// from the default [Source]. // It panics if n <= 0. func Int63n(n int64) int64 { return globalRand().Int63n(n) } // Int31n returns, as an int32, a non-negative pseudo-random number in the half-open interval [0,n) // from the default [Source]. // It panics if n <= 0. func Int31n(n int32) int32 { return globalRand().Int31n(n) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 22 22:09:08 UTC 2024 - 16.9K bytes - Viewed (0)