Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 55 for sa_handler (0.14 sec)

  1. 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)
  2. 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)
  3. src/runtime/os2_plan9.go

    	_SIGRFAULT = 2
    	_SIGWFAULT = 3
    	_SIGINTDIV = 4
    	_SIGFLOAT  = 5
    	_SIGTRAP   = 6
    	_SIGPROF   = 0 // dummy value defined for badsignal
    	_SIGQUIT   = 0 // dummy value defined for sighandler
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 14 18:33:38 UTC 2015
    - 1.5K bytes
    - Viewed (0)
  4. 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)
  5. src/main/java/jcifs/smb1/smb1/Handler.java

    import java.net.URLStreamHandler;
    import java.io.IOException;
    import java.io.UnsupportedEncodingException;
    import java.io.PrintStream;
    
    public class Handler extends URLStreamHandler {
    
        static final URLStreamHandler SMB_HANDLER = new Handler();
    
        protected int getDefaultPort() {
            return SmbConstants.DEFAULT_PORT;
        }
        public URLConnection openConnection( URL u ) throws IOException {
            return new SmbFile( u );
        }
    Registered: Wed Jun 12 15:45:55 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 2.2K bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top