Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 397 for Signals (0.29 sec)

  1. src/runtime/mgcsweep.go

    		} else {
    			mheap_.sweepPagesPerByte = float64(sweepDistancePages) / float64(heapDistance)
    			mheap_.sweepHeapLiveBasis = heapLiveBasis
    			// Write pagesSweptBasis last, since this
    			// signals concurrent sweeps to recompute
    			// their debt.
    			mheap_.pagesSweptBasis.Store(pagesSwept)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 17:52:18 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  2. src/encoding/json/encode.go

    //	Field int `json:",omitempty"`
    //
    //	// Field is ignored by this package.
    //	Field int `json:"-"`
    //
    //	// Field appears in JSON as key "-".
    //	Field int `json:"-,"`
    //
    // The "string" option signals that a field is stored as JSON inside a
    // JSON-encoded string. It applies only to fields of string, floating point,
    // integer, or boolean types. This extra level of encoding is sometimes used
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 36.2K bytes
    - Viewed (0)
  3. pkg/scheduler/schedule_one.go

    	*h = append(*h, x.(framework.NodePluginScores))
    }
    
    func (h *nodeScoreHeap) Pop() interface{} {
    	old := *h
    	n := len(old)
    	x := old[n-1]
    	*h = old[0 : n-1]
    	return x
    }
    
    // assume signals to the cache that a pod is already in the cache, so that binding can be asynchronous.
    // assume modifies `assumed`.
    func (sched *Scheduler) assume(logger klog.Logger, assumed *v1.Pod, host string) error {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  4. internal/grid/connection.go

    	c.remoteID = &rid
    
    	// Handle incoming messages until disconnect.
    	c.handleMessages(ctx, conn)
    	return nil
    }
    
    // reconnected signals the connection has been reconnected.
    // It will close all active requests and streams.
    // caller *must* hold reconnectMu.
    func (c *Connection) reconnected() {
    	c.updateState(StateConnectionError)
    	// Close all active requests.
    	if debugReqs {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/rangefunc/rewrite.go

    		if nfor, ok := forRangeFunc(n); ok {
    			loop := &forLoop{nfor: nfor, depth: 1 + len(r.forStack)}
    			r.forStack = append(r.forStack, loop)
    			r.startLoop(loop)
    		}
    
    	case nil:
    		// n == nil signals that we are done visiting
    		// the top-of-stack node's children. Find it.
    		n = r.stack[len(r.stack)-1]
    
    		// If we are inside a range-over-func,
    		// take this moment to replace any break/continue/goto/return
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:05:44 UTC 2024
    - 41.6K bytes
    - Viewed (0)
  6. src/cmd/cgo/internal/test/test.go

    	var (
    		thres = 1
    		sig   = syscall_dot_SIGCHLD
    	)
    	type result struct {
    		n   int
    		sig os.Signal
    	}
    	var (
    		sigCh     = make(chan os.Signal, 10)
    		waitStart = make(chan struct{})
    		waitDone  = make(chan result)
    	)
    
    	signal.Notify(sigCh, sig)
    
    	go func() {
    		n := 0
    		alarm := time.After(time.Second * 3)
    		for {
    			select {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/walk/order.go

    		o.append(ir.NewAssignStmt(pos, e, n))
    		return tmp
    	}
    }
    
    // mapKeyReplaceStrConv replaces OBYTES2STR by OBYTES2STRTMP
    // in n to avoid string allocations for keys in map lookups.
    // Returns a bool that signals if a modification was made.
    //
    // For:
    //
    //	x = m[string(k)]
    //	x = m[T1{... Tn{..., string(k), ...}}]
    //
    // where k is []byte, T1 to Tn is a nesting of struct and array literals,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 08 02:00:33 UTC 2024
    - 42.7K bytes
    - Viewed (0)
  8. src/runtime/os_darwin.go

    // because the functions pthread_mutex_lock, pthread_cond_signal, and
    // pthread_mutex_unlock, called by semawakeup, are not async-signal-safe.
    // There is only one case where we need to wake up a note from a signal
    // handler: the sigsend function. The signal handler code does not require
    // all the features of notes: it does not need to do a timed wait.
    // This is a separate implementation of notes, based on a pipe, that does
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.9K bytes
    - Viewed (0)
  9. src/crypto/tls/quic.go

    	case <-c.quic.cancelc:
    		return c.sendAlertLocked(alertCloseNotify)
    	}
    	// The QUICConn reads from signalc to notify us that the handshake may
    	// be able to proceed. (The QUICConn reads, because we close signalc to
    	// indicate that the handshake has completed.)
    	select {
    	case c.quic.signalc <- struct{}{}:
    		c.hand.Write(c.quic.readbuf)
    		c.quic.readbuf = nil
    	case <-c.quic.cancelc:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 17:23:54 UTC 2024
    - 15.1K bytes
    - Viewed (0)
  10. src/runtime/os_freebsd.go

    //
    //go:noescape
    func asmSigaction(sig uintptr, new, old *sigactiont) int32
    
    // raise sends a signal to the calling thread.
    //
    // It must be nosplit because it is used by the signal handler before
    // it definitely has a Go stack.
    //
    //go:nosplit
    func raise(sig uint32) {
    	thr_kill(thr_self(), int(sig))
    }
    
    func signalM(mp *m, sig int) {
    	thr_kill(thread(mp.procid), sig)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 05 20:34:30 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top