- Sort Score
- Result 10 results
- Languages All
Results 51 - 60 of 1,255 for yearly (0.1 sec)
-
src/runtime/testdata/testprogcgo/catchpanic.go
return; registerAbortHandler(); } */ import "C" import "os" func init() { register("CgoCatchPanic", CgoCatchPanic) } // Test that the SIGABRT raised by panic can be caught by an early signal handler. func CgoCatchPanic() { if _, ok := os.LookupEnv("CGOCATCHPANIC_EARLY_HANDLER"); !ok { C.registerAbortHandler() } panic("catch me")
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 993 bytes - Viewed (0) -
src/cmd/cgo/internal/test/setgid2_linux.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Stress test setgid and thread creation. A thread // can get a SIGSETXID signal early on at thread // initialization, causing crash. See issue 53374. package cgotest /* #include <sys/types.h> #include <unistd.h> */ import "C" import ( "runtime" "testing" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 681 bytes - Viewed (0) -
test/fixedbugs/issue24491b.go
runtime.SetFinalizer(&s, func(p *string) { close(done) }) return unsafe.Pointer(&s) } //go:noinline //go:uintptrescapes func before(p uintptr) int { runtime.GC() select { case <-done: panic("GC early") default: } return 0 } func after() int { runtime.GC() runtime.GC() <-done return 0 } func main() { _ = before(uintptr(setup())) + after()
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sun Sep 13 07:54:42 UTC 2020 - 738 bytes - Viewed (0) -
test/gcstring.go
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 02 13:43:18 UTC 2016 - 872 bytes - Viewed (0) -
src/cmd/go/internal/imports/tags.go
tags[tag] = true } return tags } var ( anyTags map[string]bool anyTagsOnce sync.Once ) // AnyTags returns a special set of build tags that satisfy nearly all // build tag expressions. Only "ignore" and malformed build tag requirements // are considered false. func AnyTags() map[string]bool { anyTagsOnce.Do(func() { anyTags = map[string]bool{"*": true} })
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Aug 26 17:43:59 UTC 2022 - 1.3K bytes - Viewed (0) -
src/runtime/runtime_unix_test.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Only works on systems with syscall.Close. // We need a fast system call to provoke the race, // and Close(-1) is nearly universally fast. //go:build aix || darwin || dragonfly || freebsd || linux || netbsd || openbsd || plan9 package runtime_test import ( "runtime" "sync" "sync/atomic" "syscall" "testing" )
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.2K bytes - Viewed (0) -
platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/core/DeferredModelAction.java
* limitations under the License. */ package org.gradle.model.internal.core; import org.gradle.model.internal.core.rule.describe.ModelRuleDescriptor; /** * An action that should execute early in the lifecycle of a model element, to define rules for the element. */ public interface DeferredModelAction { ModelRuleDescriptor getDescriptor(); void execute(MutableModelNode node, ModelActionRole role);
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Sep 28 09:51:04 UTC 2023 - 995 bytes - Viewed (0) -
test/escape_struct_param1.go
u2 := &U{&s3, &ps4} // ERROR "&U{...} does not escape$" u3 := &U{&s5, &ps6} // ERROR "&U{...} escapes to heap$" v := &V{u1, u2, &u3} // ERROR "&V{...} does not escape$" Ssink = v.UPiSPa() // Ssink = &s3 (only &s3 really escapes) } // BAD: need fine-grained (field-sensitive) analysis to avoid spurious escape of all but &s3 func tUPiSPb() { s1 := "ant" s2 := "bat" // ERROR "moved to heap: s2$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 12 08:31:49 UTC 2020 - 8.9K bytes - Viewed (0) -
test/escape_struct_param2.go
u2 := &U{&s3, &ps4} // ERROR "&U{...} does not escape$" u3 := &U{&s5, &ps6} // ERROR "&U{...} escapes to heap$" v := &V{u1, u2, &u3} // ERROR "&V{...} does not escape$" Ssink = v.UPiSPa() // Ssink = &s3 (only &s3 really escapes) } // BAD: need fine-grained (field-sensitive) analysis to avoid spurious escape of all but &s3 func tUPiSPb() { s1 := "ant" s2 := "bat" // ERROR "moved to heap: s2$"
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Sat Sep 12 08:31:49 UTC 2020 - 8.9K bytes - Viewed (0) -
src/cmd/compile/internal/ssa/testdata/i22558.go
t.next = u for _, p := range t.stuff { if isFoo(t, p) { return } } } //go:noinline func isFoo(t *thing, b big) bool { return true } func main() { growstack() // Use stack early to prevent growth during test, which confuses gdb t := &thing{name: "t", self: nil, next: nil, stuff: make([]big, 1)} u := thing{name: "u", self: t, next: t, stuff: make([]big, 1)} test(t, &u) } var snk string
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Wed May 23 18:05:07 UTC 2018 - 773 bytes - Viewed (0)