- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 62 for sa_handler (0.43 sec)
-
tensorflow/compiler/mlir/tensorflow/utils/error_util.cc
fileLoc.getFilename().str()); } else { // If this is a non-FileLineColLoc, go ahead and include it. return true; } }; } setHandler([this](Diagnostic& diag) { return this->handler(&diag); }); } Status StatusScopedDiagnosticHandler::ConsumeStatus() { return BaseScopedDiagnosticHandler::ConsumeStatus(); }
Registered: Sun Jun 16 05:45:23 UTC 2024 - Last Modified: Thu Apr 25 16:01:03 UTC 2024 - 2.1K bytes - Viewed (0) -
pkg/controller/serviceaccount/serviceaccounts_controller.go
workqueue.TypedRateLimitingQueueConfig[string]{Name: "serviceaccount"}, ), } saHandler, _ := saInformer.Informer().AddEventHandlerWithResyncPeriod(cache.ResourceEventHandlerFuncs{ DeleteFunc: e.serviceAccountDeleted, }, options.ServiceAccountResync) e.saLister = saInformer.Lister() e.saListerSynced = saHandler.HasSynced
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Sat May 04 18:33:12 UTC 2024 - 7.5K bytes - Viewed (0) -
src/cmd/cgo/internal/test/sigaltstack.go
package cgotest /* #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <string.h> #ifdef _AIX // On AIX, SIGSTKSZ is too small to handle Go sighandler. #define CSIGSTKSZ 0x4000 #else #define CSIGSTKSZ SIGSTKSZ #endif static stack_t oss; static char signalStack[CSIGSTKSZ]; static void changeSignalStack(void) { stack_t ss;
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:00:02 UTC 2023 - 1.7K bytes - Viewed (0) -
src/runtime/testdata/testprogcgo/sigstack.go
// #22930.) package main /* #include <pthread.h> #include <signal.h> #include <stdio.h> #include <stdlib.h> #include <sys/mman.h> #ifdef _AIX // On AIX, SIGSTKSZ is too small to handle Go sighandler. #define CSIGSTKSZ 0x4000 #else #define CSIGSTKSZ SIGSTKSZ #endif extern void SigStackCallback(); static void* WithSigStack(void* arg __attribute__((unused))) { // Set up an alternate system stack.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Dec 13 18:45:54 UTC 2021 - 2.1K bytes - Viewed (0) -
src/runtime/os_openbsd.go
//go:nowritebarrierrec func setsig(i uint32, fn uintptr) { var sa sigactiont sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART sa.sa_mask = uint32(sigset_all) if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go fn = abi.FuncPCABI0(sigtramp) } sa.sa_sigaction = fn sigaction(i, &sa, nil) } //go:nosplit //go:nowritebarrierrec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Mon Mar 25 19:53:03 UTC 2024 - 6.2K bytes - Viewed (0) -
src/runtime/sys_libc.go
// libc function. We don't want that second libcCall // from within the handler to be recorded, and we // don't want that call's completion to zero // libcallsp. // We don't need to set libcall* while we're in a sighandler // (even if we're not currently in libc) because we block all // signals while we're handling a signal. That includes the // profile signal, which is the one that uses the libcall* info. mp = nil }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 05 17:54:15 UTC 2022 - 1.8K bytes - Viewed (0) -
pkg/kube/inject/watcher_test.go
valuesKey: valuesConfig, }) var mu sync.Mutex var newConfig *Config var newValues string client := kube.NewFakeClient() w := NewConfigMapWatcher(client, namespace, cmName, configKey, valuesKey) w.SetHandler(func(config *Config, values string) error { mu.Lock() defer mu.Unlock() newConfig = config newValues = values return nil }) stop := test.NewStop(t) go w.Run(stop)
Registered: Fri Jun 14 15:00:06 UTC 2024 - Last Modified: Sun Apr 28 04:22:19 UTC 2024 - 3.4K bytes - Viewed (0) -
src/runtime/os_dragonfly.go
//go:nosplit //go:nowritebarrierrec func setsig(i uint32, fn uintptr) { var sa sigactiont sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART sa.sa_mask = sigset_all if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go fn = abi.FuncPCABI0(sigtramp) } sa.sa_sigaction = fn sigaction(i, &sa, nil) } //go:nosplit //go:nowritebarrierrec
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Dec 05 20:34:30 UTC 2023 - 7.1K bytes - Viewed (0) -
src/runtime/signal_unix.go
setsigstack(i) } else if fwdSig[i] == _SIG_IGN { sigInitIgnored(i) } continue } handlingSig[i] = 1 setsig(i, abi.FuncPCABIInternal(sighandler)) } } //go:nosplit //go:nowritebarrierrec func sigInstallGoHandler(sig uint32) bool { // For some signals, we respect an inherited SIG_IGN handler
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 10 16:04:54 UTC 2024 - 45K bytes - Viewed (0) -
src/runtime/defs2_linux.go
// This is the sigaction structure from the Linux 2.1.68 kernel which // is used with the rt_sigaction system call. For 386 this is not // defined in any public header file. struct kernel_sigaction { __sighandler_t k_sa_handler; unsigned long sa_flags; void (*sa_restorer) (void); unsigned long long sa_mask; }; */ import "C" const ( EINTR = C.EINTR EAGAIN = C.EAGAIN ENOMEM = C.ENOMEM
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Oct 07 18:28:11 UTC 2022 - 3.2K bytes - Viewed (0)