- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 33 for panics (1.05 sec)
-
src/iter/iter.go
yield := func(v1 V) bool { if done { return false } if !yieldNext { panic("iter.Pull: yield called again before next") } yieldNext = false v, ok = v1, true race.Release(unsafe.Pointer(&racer)) coroswitch(c) race.Acquire(unsafe.Pointer(&racer)) return !done } // Recover and propagate panics from seq. defer func() { if p := recover(); p != nil { panicValue = p
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 19:09:28 UTC 2024 - 6.6K bytes - Viewed (0) -
src/sync/once.go
// // config.once.Do(func() { config.init(filename) }) // // Because no call to Do returns until the one call to f returns, if f causes // Do to be called, it will deadlock. // // If f panics, Do considers it to have returned; future calls of Do return // without calling f. func (o *Once) Do(f func()) { // Note: Here is an incorrect implementation of Do: // // if o.done.CompareAndSwap(0, 1) { // f()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 21:14:51 UTC 2024 - 2.5K 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) -
manifests/addons/dashboards/lib/panels.libsonnet
John Howard <******@****.***> 1718225188 -0700
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 4.5K bytes - Viewed (0) -
src/os/pidfd_other.go
func pidfdFind(_ int) (uintptr, error) { return 0, syscall.ENOSYS } func (p *Process) pidfdRelease() {} func (_ *Process) pidfdWait() (*ProcessState, error) { panic("unreachable") } func (_ *Process) pidfdSendSignal(_ syscall.Signal) error { panic("unreachable")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 22:06:47 UTC 2024 - 692 bytes - Viewed (0) -
src/cmd/cgo/internal/testshared/testdata/depBase/dep.go
import ( "os" "reflect" "testshared/depBaseInternal" ) // Issue 61973: indirect dependencies are not initialized. func init() { if !depBaseInternal.Initialized { panic("depBaseInternal not initialized") } if os.Stdout == nil { panic("os.Stdout is nil") } Initialized = true } var Initialized bool var SlicePtr interface{} = &[]int{} var V int = 1
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 14:52:41 UTC 2024 - 1K bytes - Viewed (0) -
manifests/addons/dashboards/ztunnel.libsonnet
panels.timeSeries.connections('Connections', queries.connections, 'Connections opened and closed per instance'), panels.timeSeries.bytesRate('Bytes Transmitted', queries.bytes, 'Bytes sent and recieved per instance'), panels.timeSeries.dns('DNS Request', queries.dns, 'DNS queries recieved per instance'), ]), row.new('Operations') + row.withPanels([ panels.timeSeries.base( 'XDS', queries.ztunnelXdsConnections, |||
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Wed Jun 12 20:46:28 UTC 2024 - 1.7K bytes - Viewed (0) -
staging/src/k8s.io/apimachinery/pkg/watch/watch.go
case f.result <- Event{Added, obj}: return default: panic(fmt.Errorf("channel full")) } } } // Modify sends a modify event. func (f *RaceFreeFakeWatcher) Modify(obj runtime.Object) { f.Lock() defer f.Unlock() if !f.Stopped { select { case f.result <- Event{Modified, obj}: return default: panic(fmt.Errorf("channel full")) } } }
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Wed Jun 12 20:06:22 UTC 2024 - 8.1K bytes - Viewed (1) -
src/cmd/go/testdata/script/build_repeated_godebug_issue62346.txt
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Jun 10 14:46:37 UTC 2024 - 236 bytes - Viewed (0) -
platforms/extensibility/test-kit/build.gradle.kts
import gradlebuild.basics.isBundleGroovy4 import gradlebuild.basics.tasks.PackageListGenerator plugins { id("gradlebuild.distribution.implementation-java") } description = "A library that aids in testing Gradle plugins and build logic in general" errorprone { disabledChecks.addAll( "CatchAndPrintStackTrace", // 1 occurrences "ImmutableEnumChecker", // 1 occurrences ) } dependencies {
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Mon Jun 10 14:28:48 UTC 2024 - 2.8K bytes - Viewed (0)