Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 934 for BigVal (0.2 sec)

  1. src/cmd/cgo/internal/testcarchive/testdata/main4.c

    		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;
    
    	// Set up an alternate signal stack for this thread.
    	memset(&ss, 0, sizeof ss);
    	ss.ss_sp = malloc(CSIGSTKSZ);
    	if (ss.ss_sp == NULL) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 12 11:59:56 UTC 2023
    - 4.5K bytes
    - Viewed (0)
  2. pkg/util/interrupt/interrupt.go

    	h.once.Do(func() {
    		for _, fn := range h.notify {
    			fn()
    		}
    	})
    }
    
    // Signal is called when an os.Signal is received, and guarantees that all notifications
    // are executed, then the final handler is executed. This function should only be called once
    // per Handler instance.
    func (h *Handler) Signal(s os.Signal) {
    	h.once.Do(func() {
    		for _, fn := range h.notify {
    			fn()
    		}
    		if h.final == nil {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jan 16 09:22:35 UTC 2023
    - 2.7K bytes
    - Viewed (0)
  3. src/cmd/go/testdata/script/test_fuzz_non_crash_signal.txt

    [short] skip
    env GOCACHE=$WORK/cache
    
    # FuzzNonCrash sends itself a signal that does not appear to be a crash.
    # We should not save a crasher.
    ! go test -fuzz=FuzzNonCrash
    ! exists testdata
    ! stdout unreachable
    ! stderr unreachable
    stdout 'fuzzing process terminated by unexpected signal; no crash will be recorded: signal: terminated'
    
    # FuzzKill sends itself a signal that cannot be caught by the worker process
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 1.9K 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. 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)
  6. src/os/signal/example_unix_test.go

    //go:build unix
    
    package signal_test
    
    import (
    	"context"
    	"fmt"
    	"log"
    	"os"
    	"os/signal"
    )
    
    var neverReady = make(chan struct{}) // never closed
    
    // This example passes a context with a signal to tell a blocking function that
    // it should abandon its work after a signal is received.
    func ExampleNotifyContext() {
    	ctx, stop := signal.NotifyContext(context.Background(), os.Interrupt)
    	defer stop()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 15:34:56 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. 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)
  8. src/cmd/vendor/golang.org/x/sys/unix/zerrors_aix_ppc.go

    	SIGFPE      = syscall.Signal(0x8)
    	SIGGRANT    = syscall.Signal(0x3c)
    	SIGHUP      = syscall.Signal(0x1)
    	SIGILL      = syscall.Signal(0x4)
    	SIGINT      = syscall.Signal(0x2)
    	SIGIO       = syscall.Signal(0x17)
    	SIGIOINT    = syscall.Signal(0x10)
    	SIGIOT      = syscall.Signal(0x6)
    	SIGKAP      = syscall.Signal(0x3c)
    	SIGKILL     = syscall.Signal(0x9)
    	SIGLOST     = syscall.Signal(0x6)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:33 UTC 2023
    - 52.4K bytes
    - Viewed (0)
  9. 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)
  10. 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)
Back to top