Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for sa_handler (0.2 sec)

  1. src/runtime/defs_linux_386.go

    }
    
    type timeval struct {
    	tv_sec  int32
    	tv_usec int32
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = x
    }
    
    type sigactiont struct {
    	sa_handler  uintptr
    	sa_flags    uint32
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_errno int32
    	si_code  int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 4.2K bytes
    - Viewed (0)
  2. src/runtime/defs_linux_amd64.go

    	ts.tv_nsec = ns % 1e9
    }
    
    type timeval struct {
    	tv_sec  int64
    	tv_usec int64
    }
    
    func (tv *timeval) set_usec(x int32) {
    	tv.tv_usec = int64(x)
    }
    
    type sigactiont struct {
    	sa_handler  uintptr
    	sa_flags    uint64
    	sa_restorer uintptr
    	sa_mask     uint64
    }
    
    type siginfoFields struct {
    	si_signo int32
    	si_errno int32
    	si_code  int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 19:05:10 UTC 2023
    - 4.7K bytes
    - Viewed (0)
  3. src/runtime/os_freebsd.go

    // resources in minit, semacreate, or elsewhere. Do not take locks after calling this.
    func mdestroy(mp *m) {
    }
    
    func sigtramp()
    
    type sigactiont struct {
    	sa_handler uintptr
    	sa_flags   int32
    	sa_mask    sigset
    }
    
    // See os_freebsd2.go, os_freebsd_amd64.go for setsig function
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsigstack(i uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
  4. src/runtime/os_linux.go

    		sa.sa_restorer = abi.FuncPCABI0(sigreturn__sigaction)
    	}
    	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)
    		}
    	}
    	sa.sa_handler = fn
    	sigaction(i, &sa, nil)
    }
    
    //go:nosplit
    //go:nowritebarrierrec
    func setsigstack(i uint32) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 25.9K bytes
    - Viewed (0)
  5. pkg/revisions/tag_watcher.go

    type TagWatcher interface {
    	Run(stopCh <-chan struct{})
    	HasSynced() bool
    	AddHandler(handler TagHandler)
    	GetMyTags() sets.String
    }
    
    // TagHandler is a callback for when the tags revision change.
    type TagHandler func(sets.String)
    
    type tagWatcher struct {
    	revision string
    	handlers []TagHandler
    
    	queue    controllers.Queue
    	webhooks kclient.Client[*admissionregistrationv1.MutatingWebhookConfiguration]
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri Jun 14 00:12:28 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  6. pkg/proxy/config/api_test.go

    	defer close(stopCh)
    	sharedInformers.Start(stopCh)
    
    	err := wait.PollImmediate(time.Millisecond*10, wait.ForeverTestTimeout, func() (bool, error) {
    		svcHandler.lock.Lock()
    		defer svcHandler.lock.Unlock()
    		if reflect.DeepEqual(svcHandler.state, expectedSvcState) {
    			return true, nil
    		}
    		return false, nil
    	})
    	if err != nil {
    		t.Fatal("Timed out waiting for the completion of handler `OnServiceAdd`")
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 22 05:08:41 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  7. src/runtime/os3_plan9.go

    	// made a mistake somewhere in sigtramp.
    	if _ureg == nil || note == nil {
    		print("sighandler: ureg ", _ureg, " note ", note, "\n")
    		goto Throw
    	}
    	// Check that the note is no more than ERRMAX bytes (including
    	// the trailing NUL). We should never receive a longer note.
    	if len(notestr) > _ERRMAX-1 {
    		print("sighandler: note is longer than ERRMAX\n")
    		goto Throw
    	}
    	if isAbortPC(c.pc()) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 15:41:45 UTC 2024
    - 4K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top