Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 68 for sa_handler (0.16 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/java/jcifs/smb1/smb1/SmbFile.java

                    throws MalformedURLException, UnknownHostException {
            this( context.isWorkgroup0() ?
                new URL( null, "smb1://" + name, Handler.SMB_HANDLER ) :
                new URL( context.url, name, Handler.SMB_HANDLER ), context.auth );
        }
    
    /**
     * Constructs an SmbFile representing a resource on an SMB network such
     * as a file or directory. The second parameter is a relative path from
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Mon Mar 13 12:00:57 UTC 2023
    - 107.9K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/ApiExtractorTest.java

                final HandlerList handlers = new HandlerList();
                handlers.setHandlers(new Handler[] { request_handler, new DefaultHandler() });
                server.setHandler(handlers);
            }
    
            public void start() {
                try {
                    server.start();
                } catch (final Exception e) {
                    throw new CrawlerSystemException(e);
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. src/runtime/os_darwin.go

    //go:nosplit
    //go:nowritebarrierrec
    func setsig(i uint32, fn uintptr) {
    	var sa usigactiont
    	sa.sa_flags = _SA_SIGINFO | _SA_ONSTACK | _SA_RESTART
    	sa.sa_mask = ^uint32(0)
    	if fn == abi.FuncPCABIInternal(sighandler) { // abi.FuncPCABIInternal(sighandler) matches the callers in signal_unix.go
    		if iscgo {
    			fn = abi.FuncPCABI0(cgoSigtramp)
    		} else {
    			fn = abi.FuncPCABI0(sigtramp)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  8. fess-crawler-es/src/test/java/org/codelibs/fess/crawler/util/CrawlerWebServer.java

            Log.info("serving " + resource_handler.getBaseResource());
            final HandlerList handlers = new HandlerList();
            handlers.setHandlers(new Handler[] { resource_handler, new DefaultHandler() });
            server.setHandler(handlers);
        }
    
        public void start() {
            try {
                server.start();
            } catch (final Exception e) {
                throw new CrawlerSystemException(e);
            }
        }
    
    Registered: Wed Jun 12 15:17:51 UTC 2024
    - Last Modified: Thu Feb 22 01:36:27 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. src/runtime/sigqueue_plan9.go

    		unlock(&q.lock)
    		return ""
    	}
    	note := &q.data[q.ri]
    	item := string(note.s[:note.n])
    	q.ri++
    	if q.ri == qsize {
    		q.ri = 0
    	}
    	unlock(&q.lock)
    	return item
    }
    
    // Called from sighandler to send a signal back out of the signal handling thread.
    // Reports whether the signal was sent. If not, the caller typically crashes the program.
    func sendNote(s *byte) bool {
    	if !sig.inuse {
    		return false
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 05 17:54:15 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  10. src/runtime/defs_darwin.go

    	O_TRUNC    = C.O_TRUNC
    
    	VM_REGION_BASIC_INFO_COUNT_64 = C.VM_REGION_BASIC_INFO_COUNT_64
    	VM_REGION_BASIC_INFO_64       = C.VM_REGION_BASIC_INFO_64
    )
    
    type StackT C.struct_sigaltstack
    type Sighandler C.union___sigaction_u
    
    type Sigaction C.struct___sigaction // used in syscalls
    type Usigaction C.struct_sigaction  // used by sigaction second argument
    type Sigset C.sigset_t
    type Sigval C.union_sigval
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
Back to top