Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 61 for clocks (0.16 sec)

  1. src/runtime/mgcmark.go

    func gcParkAssist() bool {
    	lock(&work.assistQueue.lock)
    	// If the GC cycle finished while we were getting the lock,
    	// exit the assist. The cycle can't finish while we hold the
    	// lock.
    	if atomic.Load(&gcBlackenEnabled) == 0 {
    		unlock(&work.assistQueue.lock)
    		return true
    	}
    
    	gp := getg()
    	oldList := work.assistQueue.q
    	work.assistQueue.q.pushBack(gp)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  2. src/syscall/zerrors_solaris_amd64.go

    	54:  "bad request code",
    	55:  "invalid slot",
    	56:  "file locking deadlock",
    	57:  "bad font file format",
    	58:  "owner of the lock died",
    	59:  "lock is not recoverable",
    	60:  "not a stream device",
    	61:  "no data available",
    	62:  "timer expired",
    	63:  "out of stream resources",
    	64:  "machine is not on the network",
    	65:  "package not installed",
    	66:  "object is remote",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 13:52:34 UTC 2024
    - 50.8K bytes
    - Viewed (0)
  3. cmd/erasure-server-pool.go

    	defer func() {
    		if unlockOnDefer {
    			nsUnlocker()
    		}
    	}()
    
    	// Acquire lock
    	if !opts.NoLock {
    		lock := z.NewNSLock(bucket, object)
    		lkctx, err := lock.GetRLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return nil, err
    		}
    		ctx = lkctx.Context()
    		nsUnlocker = func() { lock.RUnlock(lkctx) }
    		unlockOnDefer = true
    	}
    
    	checkPrecondFn := opts.CheckPrecondFn
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ssa/rewrite.go

    	case align%2 == 0:
    		return 2
    	}
    	return 1
    }
    
    // mergePoint finds a block among a's blocks which dominates b and is itself
    // dominated by all of a's blocks. Returns nil if it can't find one.
    // Might return nil even if one does exist.
    func mergePoint(b *Block, a ...*Value) *Block {
    	// Walk backward from b looking for one of the a's blocks.
    
    	// Max distance
    	d := 100
    
    	for d > 0 {
    		for _, x := range a {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * cancelled without a call to {@code cancel}, such as by calling {@code
       * setFuture(cancelledFuture)}.
       *
       * <p>Beware of completing a future while holding a lock. Its listeners may do slow work or
       * acquire other locks, risking deadlocks.
       */
      @CanIgnoreReturnValue
      @Override
      public boolean cancel(boolean mayInterruptIfRunning) {
        Object localValue = value;
        boolean rValue = false;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 62.8K bytes
    - Viewed (1)
  6. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

       * cancelled without a call to {@code cancel}, such as by calling {@code
       * setFuture(cancelledFuture)}.
       *
       * <p>Beware of completing a future while holding a lock. Its listeners may do slow work or
       * acquire other locks, risking deadlocks.
       */
      @CanIgnoreReturnValue
      @Override
      public boolean cancel(boolean mayInterruptIfRunning) {
        Object localValue = value;
        boolean rValue = false;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri Jun 07 22:25:23 UTC 2024
    - 63.1K bytes
    - Viewed (1)
  7. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher_whitebox_test.go

    	etcd3testing "k8s.io/apiserver/pkg/storage/etcd3/testing"
    	utilfeature "k8s.io/apiserver/pkg/util/feature"
    	featuregatetesting "k8s.io/component-base/featuregate/testing"
    	"k8s.io/utils/clock"
    	testingclock "k8s.io/utils/clock/testing"
    	"k8s.io/utils/pointer"
    )
    
    func newTestCacherWithoutSyncing(s storage.Interface) (*Cacher, storage.Versioner, error) {
    	prefix := "pods"
    	config := Config{
    		Storage:        s,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 82.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/prove.go

    		work = work[:len(work)-1]
    		parent := idom[node.block.ID]
    		branch := getBranch(sdom, parent, node.block)
    
    		switch node.state {
    		case descend:
    			ft.checkpoint()
    
    			// Entering the block, add the block-depending facts that we collected
    			// at the beginning: induction variables and lens/caps of slices.
    			if iv, ok := indVars[node.block]; ok {
    				addIndVarRestrictions(ft, parent, iv)
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
  9. pkg/controller/endpoint/endpoints_controller_test.go

    	}
    }
    
    func stringVal(str *string) string {
    	if str == nil {
    		return "nil"
    	}
    	return *str
    }
    
    // waitForChanReceive blocks up to the timeout waiting for the receivingChan to receive
    func waitForChanReceive(t *testing.T, timeout time.Duration, receivingChan chan struct{}, errorMsg string) {
    	timer := time.NewTimer(timeout)
    	select {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Feb 26 06:51:56 UTC 2024
    - 87.7K bytes
    - Viewed (0)
  10. cmd/erasure-object.go

    			nsUnlocker()
    		}
    	}()
    
    	// Acquire lock
    	if !opts.NoLock {
    		lock := er.NewNSLock(bucket, object)
    		lkctx, err := lock.GetRLock(ctx, globalOperationTimeout)
    		if err != nil {
    			return nil, err
    		}
    		ctx = lkctx.Context()
    
    		// Release lock when the metadata is verified, and reader
    		// is ready to be read.
    		//
    		// This is possible to be lock free because
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 78.6K bytes
    - Viewed (0)
Back to top