Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 90 for gold (0.08 sec)

  1. cmd/xl-storage-disk-id-check.go

    		if atomic.CompareAndSwapInt64(&e.cachedSec, lastT, t) {
    			// Now we swap in a new.
    			newAcc := &AccElem{}
    			old := e.cached.Swap(newAcc)
    			var a AccElem
    			a.Size = atomic.LoadInt64(&old.Size)
    			a.Total = atomic.LoadInt64(&old.Total)
    			a.N = atomic.LoadInt64(&old.N)
    			e.mu.Lock()
    			e.lastMinuteLatency.addAll(t-1, a)
    			e.mu.Unlock()
    			acc = newAcc
    		} else {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 33.4K bytes
    - Viewed (0)
  2. cmd/object-handlers.go

    	}
    
    	// Remove the transitioned object whose object version is being overwritten.
    	if !globalTierConfigMgr.Empty() {
    		os.Sweep()
    	}
    }
    
    // PutObjectLegalHoldHandler - set legal hold configuration to object,
    func (api objectAPIHandlers) PutObjectLegalHoldHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "PutObjectLegalHold")
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 14 13:28:35 UTC 2024
    - 124.2K bytes
    - Viewed (0)
  3. istioctl/pkg/ztunnelconfig/ztunnelconfig.go

    	})
    	if err != nil {
    		return types.NamespacedName{}, err
    	}
    	pods := slices.Reference(podsr.Items)
    	if len(pods) > 0 {
    		// We need to pass in a sorter, and the one used by `kubectl logs` is good enough.
    		sortBy := func(pods []*corev1.Pod) sort.Interface { return podutils.ByLogging(pods) }
    		sort.Sort(sortBy(pods))
    		return config.NamespacedName(pods[0]), nil
    	}
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 06 20:18:34 UTC 2024
    - 22K bytes
    - Viewed (0)
  4. CREDITS

          License. However, in accepting such obligations, You may act only
          on Your own behalf and on Your sole responsibility, not on behalf
          of any other Contributor, and only if You agree to indemnify,
          defend, and hold each Contributor harmless for any liability
          incurred by, or claims asserted against, such Contributor by reason
          of your accepting any such warranty or additional liability.
    
       END OF TERMS AND CONDITIONS
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 15:34:20 UTC 2024
    - 1.7M bytes
    - Viewed (0)
  5. src/sync/map.go

    	m.mu.Unlock()
    	return previous, loaded
    }
    
    // CompareAndSwap swaps the old and new values for key
    // if the value stored in the map is equal to old.
    // The old value must be of a comparable type.
    func (m *Map) CompareAndSwap(key, old, new any) (swapped bool) {
    	read := m.loadReadOnly()
    	if e, ok := read.m[key]; ok {
    		return e.tryCompareAndSwap(old, new)
    	} else if !read.amended {
    		return false // No existing value for key.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 21:14:51 UTC 2024
    - 15.6K bytes
    - Viewed (0)
  6. cmd/erasure-multipart.go

    	if err != nil {
    		if errors.Is(err, errVolumeNotFound) {
    			return pi, toObjectErr(err, bucket)
    		}
    		return pi, toObjectErr(err, bucket, object, uploadID)
    	}
    
    	// Write lock for this part ID, only hold it if we are planning to read from the
    	// streamto avoid any concurrent updates.
    	//
    	// Must be held throughout this call.
    	partIDLock := er.NewNSLock(bucket, pathJoin(object, uploadID, strconv.Itoa(partID)))
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 06:56:12 UTC 2024
    - 44.8K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/transforms/shape_inference.cc

      // the operation knows how to constant fold itself.
      bool some_unknown = false;
      for (int i = 0, e = op->getNumOperands(); i != e; ++i) {
        if (!(constant_operands[i] =
                  ComputeOutputComponent(ValuePort(op->getOperand(i)))))
          some_unknown = true;
      }
    
      // Attempt to constant fold the operation.
      auto abstract_op = op->getRegisteredInfo();
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 08 07:28:49 UTC 2024
    - 134.1K bytes
    - Viewed (0)
  8. pilot/pkg/networking/util/util.go

    		b.WriteString(key)
    		b.WriteRune(':')
    		b.WriteString(proxyLabels[key])
    		b.WriteRune(' ')
    	}
    	return b.Bytes()
    }
    
    // IsLocalityEmpty checks if a locality is empty (checking region is good enough, based on how its initialized)
    func IsLocalityEmpty(locality *core.Locality) bool {
    	if locality == nil || (len(locality.GetRegion()) == 0) {
    		return true
    	}
    	return false
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Jun 13 01:56:28 UTC 2024
    - 28.5K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ssa/rewrite.go

    					if a.Op != OpCopy {
    						continue
    					}
    					aa := copySource(a)
    					v.SetArg(i, aa)
    					// If a, a copy, has a line boundary indicator, attempt to find a new value
    					// to hold it.  The first candidate is the value that will replace a (aa),
    					// if it shares the same block and line and is eligible.
    					// The second option is v, which has a as an input.  Because aa is earlier in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  10. internal/grid/connection.go

    	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 {
    		fmt.Println(c.String(), "Reconnected. Clearing outgoing.")
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 44.8K bytes
    - Viewed (0)
Back to top