Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 920 for SIGNAL (0.18 sec)

  1. pkg/kubelet/eviction/helpers_test.go

    				{
    					Signal: evictionapi.SignalNodeFsAvailable,
    				},
    				{
    					Signal: evictionapi.SignalPIDAvailable,
    				},
    				{
    					Signal: evictionapi.SignalMemoryAvailable,
    				},
    			},
    			expected: []evictionapi.Threshold{
    				{
    					Signal: evictionapi.SignalMemoryAvailable,
    				},
    				{
    					Signal: evictionapi.SignalNodeFsAvailable,
    				},
    				{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed May 15 23:14:12 UTC 2024
    - 106.7K bytes
    - Viewed (0)
  2. cni/cmd/install-cni/main.go

    package main
    
    import (
    	"context"
    	"os"
    	"os/signal"
    	"syscall"
    
    	"istio.io/istio/cni/pkg/cmd"
    	"istio.io/istio/pkg/log"
    )
    
    func main() {
    	// Create context that cancels on termination signal
    	ctx, cancel := context.WithCancel(context.Background())
    	sigChan := make(chan os.Signal, 1)
    	signal.Notify(sigChan, os.Interrupt, syscall.SIGTERM)
    	go func(sigChan chan os.Signal, cancel context.CancelFunc) {
    		sig := <-sigChan
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  3. src/syscall/zerrors_solaris_amd64.go

    	SIGJVM1    = Signal(0x27)
    	SIGJVM2    = Signal(0x28)
    	SIGKILL    = Signal(0x9)
    	SIGLOST    = Signal(0x25)
    	SIGLWP     = Signal(0x21)
    	SIGPIPE    = Signal(0xd)
    	SIGPOLL    = Signal(0x16)
    	SIGPROF    = Signal(0x1d)
    	SIGPWR     = Signal(0x13)
    	SIGQUIT    = Signal(0x3)
    	SIGSEGV    = Signal(0xb)
    	SIGSTOP    = Signal(0x17)
    	SIGSYS     = Signal(0xc)
    	SIGTERM    = Signal(0xf)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  4. src/syscall/zerrors_netbsd_386.go

    	SIGPROF   = Signal(0x1b)
    	SIGPWR    = Signal(0x20)
    	SIGQUIT   = Signal(0x3)
    	SIGSEGV   = Signal(0xb)
    	SIGSTOP   = Signal(0x11)
    	SIGSYS    = Signal(0xc)
    	SIGTERM   = Signal(0xf)
    	SIGTRAP   = Signal(0x5)
    	SIGTSTP   = Signal(0x12)
    	SIGTTIN   = Signal(0x15)
    	SIGTTOU   = Signal(0x16)
    	SIGURG    = Signal(0x10)
    	SIGUSR1   = Signal(0x1e)
    	SIGUSR2   = Signal(0x1f)
    	SIGVTALRM = Signal(0x1a)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 28 18:17:57 UTC 2021
    - 67.5K bytes
    - Viewed (0)
  5. platforms/core-execution/persistent-cache/src/test/groovy/org/gradle/cache/internal/DefaultFileLockManagerAwaitableFileLockReleasedSignalTest.groovy

                    }
                }
            }
    
            then:
            poll {
                assert signal.waiting
            }
    
            when:
            signal.trigger()
    
            then:
            poll {
                assert signalCount.get() == 1
                assert signal.waiting
            }
    
            when:
            signal.trigger()
    
            then:
            poll {
                assert signalCount.get() == 2
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 09:08:47 UTC 2023
    - 1.8K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/testsanitizers/testdata/tsan12.go

    // libc interceptor that writes signal handlers to a global variable within the
    // TSAN runtime instead of making a sigaction system call. A bug in
    // syscall.runtime_AfterForkInChild corrupted TSAN's signal forwarding table
    // during calls to (*os/exec.Cmd).Run, causing the parent process to fail to
    // invoke signal handlers.
    
    import (
    	"fmt"
    	"os"
    	"os/exec"
    	"os/signal"
    	"syscall"
    )
    
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 929 bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiserver/pkg/server/filters/watch_termination_test.go

    			switch {
    			case test.signalAttachedToContext:
    				if test.signal == nil || test.signal != signalGot {
    					t.Errorf("expected request context to have server shutdown signal: %p, but got: %p", test.signal, signalGot)
    				}
    			default:
    				if signalGot != nil {
    					t.Errorf("expected request context to not have server shutdown signal: %p, but got: %p", test.signal, signalGot)
    				}
    			}
    			if test.wg == nil {
    				return
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 27 15:49:49 UTC 2023
    - 5.2K bytes
    - Viewed (0)
  8. src/runtime/testdata/testprogcgo/exec.go

    import (
    	"fmt"
    	"io/fs"
    	"os"
    	"os/exec"
    	"os/signal"
    	"sync"
    	"syscall"
    )
    
    func init() {
    	register("CgoExecSignalMask", CgoExecSignalMask)
    }
    
    func CgoExecSignalMask() {
    	if len(os.Args) > 2 && os.Args[2] == "testsigint" {
    		if C.SIGINTBlocked() != 0 {
    			os.Exit(1)
    		}
    		os.Exit(0)
    	}
    
    	c := make(chan os.Signal, 1)
    	signal.Notify(c, syscall.SIGTERM)
    	go func() {
    		for range c {
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Dec 13 18:45:54 UTC 2021
    - 2.1K bytes
    - Viewed (0)
  9. src/cmd/vendor/golang.org/x/sys/unix/zerrors_solaris_amd64.go

    	SIGINFO    = syscall.Signal(0x29)
    	SIGINT     = syscall.Signal(0x2)
    	SIGIO      = syscall.Signal(0x16)
    	SIGIOT     = syscall.Signal(0x6)
    	SIGJVM1    = syscall.Signal(0x27)
    	SIGJVM2    = syscall.Signal(0x28)
    	SIGKILL    = syscall.Signal(0x9)
    	SIGLOST    = syscall.Signal(0x25)
    	SIGLWP     = syscall.Signal(0x21)
    	SIGPIPE    = syscall.Signal(0xd)
    	SIGPOLL    = syscall.Signal(0x16)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 59K bytes
    - Viewed (0)
  10. src/os/exec_plan9.go

    	"runtime"
    	"syscall"
    	"time"
    )
    
    // The only signal values guaranteed to be present in the os package
    // on all systems are Interrupt (send the process an interrupt) and
    // Kill (force the process to exit). Interrupt is not implemented on
    // Windows; using it with [os.Process.Signal] will return an error.
    var (
    	Interrupt Signal = syscall.Note("interrupt")
    	Kill      Signal = syscall.Note("kill")
    )
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 22:06:47 UTC 2024
    - 3.4K bytes
    - Viewed (0)
Back to top