- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 19 for raisin (2.16 sec)
-
src/cmd/cgo/internal/testcarchive/testdata/main4.c
sa.sa_sigaction = ioHandler; if (sigemptyset(&sa.sa_mask) < 0) { die("sigemptyset"); } sa.sa_flags = SA_SIGINFO | SA_ONSTACK; if (sigaction(SIGIO, &sa, NULL) < 0) { die("sigaction"); } } // Test raising SIGIO on a C thread with an alternate signal stack // when there is a Go signal handler for SIGIO. static void* thread1(void* arg __attribute__ ((unused))) { stack_t ss; int i; stack_t nss; struct timespec ts;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 4.5K bytes - Viewed (0) -
doc/next/6-stdlib/99-minor/runtime/pprof/43669.md
The maximum stack depth for alloc, mutex, block, threadcreate and goroutine
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue May 21 14:38:45 UTC 2024 - 124 bytes - Viewed (0) -
src/bytes/bytes_test.go
{"fofofofofoofofoffofoobarfoo", "foobars", -1}, {"foofyfoobarfoobar", "y", 4}, {"oooooooooooooooooooooo", "r", -1}, {"oxoxoxoxoxoxoxoxoxoxoxoy", "oy", 22}, {"oxoxoxoxoxoxoxoxoxoxoxox", "oy", -1}, // test fallback to Rabin-Karp. {"000000000000000000000000000000000000000000000000000000000000000000000001", "0000000000000000000000000000000000000000000000000000000000000000001", 5}, } var lastIndexTests = []BinOpTest{ {"", "", 0},
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 03 12:58:37 UTC 2024 - 56.5K bytes - Viewed (0) -
src/cmd/go/internal/modload/load.go
} } if stdErr := (*ImportMissingError)(nil); errors.As(pkg.err, &stdErr) && stdErr.isStd { // Add importer go version information to import errors of standard // library packages arising from newer releases. if importer := pkg.stack; importer != nil { if v, ok := rawGoVersion.Load(importer.mod); ok && gover.Compare(gover.Local(), v.(string)) < 0 { stdErr.importerGoVersion = v.(string) }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 14:56:56 UTC 2024 - 84K bytes - Viewed (0) -
src/cmd/cgo/gcc.go
if r.Name.Kind != "type" { error_(r.Pos(), "expression C.%s used as type", fixGo(r.Name.Go)) } else if r.Name.Type == nil { // Use of C.enum_x, C.struct_x or C.union_x without C definition. // GCC won't raise an error when using pointers to such unknown types. error_(r.Pos(), "type C.%s: undefined C type '%s'", fixGo(r.Name.Go), r.Name.C) } default: if r.Name.Kind == "func" {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon May 20 15:50:06 UTC 2024 - 97K bytes - Viewed (0) -
doc/go_spec.html
causes a <a href="#Run_time_panics">run-time panic</a>. </p> <p> The <code>protect</code> function in the example below invokes the function argument <code>g</code> and protects callers from run-time panics raised by <code>g</code>. </p> <pre> func protect(g func()) { defer func() { log.Println("done") // Println executes normally even if there is a panic if x := recover(); x != nil {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 21:07:21 UTC 2024 - 281.5K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/carchive_test.go
// Because the Go runtime is invoked via a c-archive, // it treats this as GOTRACEBACK=crash, meaning that it // dumps a stack trace for all goroutines, which it does // by raising SIGQUIT. The effect is that we will see the // program die with SIGQUIT in that case, not SIGSEGV. if expectSignal(t, err, syscall.SIGSEGV, syscall.SIGQUIT) { return } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 12 00:43:51 UTC 2023 - 34.8K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/libgo4/libgo4.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main /* #include <signal.h> #include <pthread.h> // Raise SIGIO. static void CRaiseSIGIO(pthread_t* p) { pthread_kill(*p, SIGIO); } */ import "C" import ( "os" "os/signal" "sync/atomic" "syscall" ) var sigioCount int32
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 854 bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/libgo2/libgo2.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. package main /* #include <signal.h> #include <unistd.h> #include <stdlib.h> #include <stdio.h> // Raise SIGPIPE. static void CRaiseSIGPIPE() { int fds[2]; if (pipe(fds) == -1) { perror("pipe"); exit(EXIT_FAILURE); } // Close the reader end close(fds[0]);
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 1.6K bytes - Viewed (0) -
src/cmd/cgo/internal/testcarchive/testdata/main3.c
die("sigaction"); } // At this point there should not be a Go signal handler // installed for SIGIO. if (verbose) { printf("raising SIGIO\n"); } if (raise(SIGIO) < 0) { die("raise"); } if (verbose) { printf("waiting for sigioSeen\n"); } // Wait until the signal has been delivered. i = 0; while (!sigioSeen) { ts.tv_sec = 0;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 11:59:56 UTC 2023 - 3.9K bytes - Viewed (0)