- Sort Score
- Result 10 results
- Languages All
Results 111 - 120 of 1,938 for panics (1.71 sec)
-
src/internal/zstd/fuzz_test.go
"(\xb5/\xfd00\xec\x00\x00V@\x05\x0517002\x02\x00\x02\x00\x02\x0000000000000000", "\x50\x2a\x4d\x18\x02\x00\x00\x00", "(\xb5/\xfd\xe40000000\xfa20\x000", } // This is a simple fuzzer to see if the decompressor panics. func FuzzReader(f *testing.F) { for _, test := range tests { f.Add([]byte(test.compressed)) } for _, s := range badStrings { f.Add([]byte(s)) } f.Fuzz(func(t *testing.T, b []byte) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jan 30 04:10:45 UTC 2024 - 4.5K bytes - Viewed (0) -
src/runtime/signal_mips64x.go
func (c *sigctxt) preparePanic(sig uint32, gp *g) { // We arrange link, and pc to pretend the panicking // function calls sigpanic directly. // Always save LINK to stack so that panics in leaf // functions are correctly handled. This smashes // the stack frame but we're not going back there // anyway. sp := c.sp() - goarch.PtrSize c.set_sp(sp) *(*uint64)(unsafe.Pointer(uintptr(sp))) = c.link()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 3.2K bytes - Viewed (0) -
src/strings/builder.go
// Grow grows b's capacity, if necessary, to guarantee space for // another n bytes. After Grow(n), at least n bytes can be written to b // without another allocation. If n is negative, Grow panics. func (b *Builder) Grow(n int) { b.copyCheck() if n < 0 { panic("strings.Builder.Grow: negative count") } if cap(b.buf)-len(b.buf) < n { b.grow(n) } } // Write appends the contents of p to b's buffer.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed Apr 17 21:09:59 UTC 2024 - 3.2K bytes - Viewed (0) -
src/cmd/compile/internal/inline/inlheur/function_properties.go
type FuncProps struct { Flags FuncPropBits ParamFlags []ParamPropBits // slot 0 receiver if applicable ResultFlags []ResultPropBits } type FuncPropBits uint32 const ( // Function always panics or invokes os.Exit() or a func that does // likewise. FuncPropNeverReturns FuncPropBits = 1 << iota ) type ParamPropBits uint32 const ( // No info about this param ParamNoInfo ParamPropBits = 0
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Aug 10 18:52:53 UTC 2023 - 3.7K bytes - Viewed (0) -
cmd/net.go
return ipList } // mustGetLocalIP4 returns IPv4 addresses of localhost. It panics on error. func mustGetLocalIP4() (ipList set.StringSet) { ipList = set.NewStringSet() for _, ip := range mustGetLocalIPs() { if ip.To4() != nil { ipList.Add(ip.String()) } } return } // mustGetLocalIP6 returns IPv6 addresses of localhost. It panics on error. func mustGetLocalIP6() (ipList set.StringSet) {
Registered: Sun Jun 16 00:44:34 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 9.3K bytes - Viewed (0) -
src/errors/wrap.go
// An error type might provide an As method so it can be treated as if it were a // different error type. // // As panics if target is not a non-nil pointer to either a type that implements // error, or to any interface type. func As(err error, target any) bool { if err == nil { return false } if target == nil { panic("errors: target cannot be nil") } val := reflectlite.ValueOf(target) typ := val.Type()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 24 17:13:04 UTC 2024 - 4.3K bytes - Viewed (0) -
src/runtime/os3_plan9.go
if pc != 0 && !findfunc(pc).valid() && findfunc(*(*uintptr)(unsafe.Pointer(sp))).valid() { pc = 0 } // IF LR exists, sigpanictramp must save it to the stack // before entry to sigpanic so that panics in leaf // functions are correctly handled. This will smash // the stack frame but we're not going back there // anyway. if usesLR { c.savelr(c.lr()) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 17 15:41:45 UTC 2024 - 4K bytes - Viewed (0) -
src/sync/waitgroup.go
// Need to model this as a read, because there can be // several concurrent wg.counter transitions from 0. race.Read(unsafe.Pointer(&wg.sema)) } if v < 0 { panic("sync: negative WaitGroup counter") } if w != 0 && delta > 0 && v == int32(delta) { panic("sync: WaitGroup misuse: Add called concurrently with Wait") } if v > 0 || w == 0 { return } // This goroutine has set counter to 0 when waiters > 0.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 4K bytes - Viewed (0) -
cmd/kubeadm/test/cmd/init_test.go
rt.name, err, rt.args, rt.expected, (err == nil), ) } }) } } // TestCmdInitFeatureGates test that feature gates won't make kubeadm panic. // When go panics it will exit with a 2 code. While we don't expect the init // calls to succeed in these tests, we ensure that the exit code of calling // kubeadm with different feature gates is not 2.
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Apr 18 01:03:09 UTC 2023 - 6.4K bytes - Viewed (0) -
src/cmd/go/internal/script/scripttest/scripttest.go
t.Helper() err := func() (err error) { log := new(strings.Builder) log.WriteString("\n") // Start output on a new line for consistent indentation. // Defer writing to the test log in case the script engine panics during execution, // but write the log before we write the final "skip" or "FAIL" line. t.Helper() defer func() { t.Helper() if closeErr := s.CloseAndWait(log); err == nil { err = closeErr }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Sep 11 20:12:18 UTC 2023 - 3.7K bytes - Viewed (0)