Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 69 for Invert (0.29 sec)

  1. src/time/time.go

    	// but otherwise can be changed at will.
    	absoluteZeroYear = -292277022399
    
    	// The year of the zero Time.
    	// Assumed by the unixToInternal computation below.
    	internalYear = 1
    
    	// Offsets to convert between internal and absolute or Unix times.
    	absoluteToInternal int64 = (absoluteZeroYear - internalYear) * 365.2425 * secondsPerDay
    	internalToAbsolute       = -absoluteToInternal
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  2. src/net/http/transport.go

    	//     RoundTripper returns.
    	ctx, cancel := context.WithCancelCause(req.Context())
    
    	// Convert Request.Cancel into context cancelation.
    	if origReq.Cancel != nil {
    		go awaitLegacyCancel(ctx, cancel, origReq)
    	}
    
    	// Convert Transport.CancelRequest into context cancelation.
    	//
    	// This is lamentably expensive. CancelRequest has been deprecated for a long time
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 91K bytes
    - Viewed (0)
  3. src/runtime/map.go

    	base := bucketShift(b)
    	nbuckets := base
    	// For small b, overflow buckets are unlikely.
    	// Avoid the overhead of the calculation.
    	if b >= 4 {
    		// Add on the estimated number of overflow buckets
    		// required to insert the median number of elements
    		// used with this value of b.
    		nbuckets += bucketShift(b - 4)
    		sz := t.Bucket.Size_ * nbuckets
    		up := roundupsize(sz, !t.Bucket.Pointers())
    		if up != sz {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/ppc64/ssa.go

    		//
    		// AuxInt value indicates conditions 0=LT 1=GT 2=EQ 3=SO 4=GE 5=LE 6=NE 7=NSO.
    		// ISEL accepts a CR bit argument, not a condition as expressed by AuxInt.
    		// Convert the condition to a CR bit argument by the following conversion:
    		//
    		// AuxInt&3 ? arg0 : arg1 for conditions LT, GT, EQ, SO
    		// AuxInt&3 ? arg1 : arg0 for conditions GE, LE, NE, NSO
    		p := s.Prog(v.Op.Asm())
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  5. cmd/erasure-server-pool.go

    		defer updateTicker.Stop()
    		var lastUpdate time.Time
    
    		// We need to merge since we will get the same buckets from each pool.
    		// Therefore to get the exact bucket sizes we must merge before we can convert.
    		var allMerged dataUsageCache
    
    		update := func() {
    			mu.Lock()
    			defer mu.Unlock()
    
    			allMerged = dataUsageCache{Info: dataUsageCacheInfo{Name: dataUsageRoot}}
    			for _, info := range results {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu May 30 11:58:12 UTC 2024
    - 82.5K bytes
    - Viewed (0)
  6. pkg/scheduler/framework/plugins/defaultpreemption/default_preemption_test.go

    				patchedPodNames.Insert(action.(clienttesting.PatchAction).GetName())
    				return true, nil, nil
    			})
    			client.PrependReactor("delete", "pods", func(action clienttesting.Action) (bool, runtime.Object, error) {
    				deletedPodNames.Insert(action.(clienttesting.DeleteAction).GetName())
    				return true, nil, nil
    			})
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 31 15:52:16 UTC 2024
    - 82.8K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/ssa/rewrite.go

    // because the arguments are known to be disjoint.
    // This is used as a check for replacing memmove with Move ops.
    func isInlinableMemmove(dst, src *Value, sz int64, c *Config) bool {
    	// It is always safe to convert memmove into Move when its arguments are disjoint.
    	// Move ops may or may not be faster for large sizes depending on how the platform
    	// lowers them, so we only perform this optimization on platforms that we know to
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  8. cluster/gce/windows/k8s-node-setup.psm1

    function ConvertTo_MaskLength
    {
      param(
        [parameter(Mandatory = $True, Position = 0)]
        [Net.IPAddress] $SubnetMask
      )
    
      $bits = "$($SubnetMask.GetAddressBytes() | % {
        [Convert]::ToString($_, 2)
      } )" -replace "[\s0]"
      return $bits.Length
    }
    
    # Returns a network adapter object for the "management" interface via which the
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Jun 07 21:13:22 UTC 2024
    - 88.3K bytes
    - Viewed (0)
  9. src/cmd/go/internal/modload/init.go

    			// that its existing contents match something between Go 1.11 and 1.16.
    			// Go 1.11 through 1.16 do not support graph pruning, but the latest Go
    			// version uses a pruned module graph — so we need to convert the
    			// requirements to support pruning.
    			if gover.Compare(v, gover.ExplicitIndirectVersion) >= 0 {
    				var err error
    				rs, err = convertPruning(ctx, rs, pruned)
    				if err != nil {
    					return nil, err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 18:36:30 UTC 2024
    - 69.8K bytes
    - Viewed (0)
  10. cmd/xl-storage.go

    	info.Rotational = s.rotational
    	info.MountPath = s.drivePath
    	info.Endpoint = s.endpoint.String()
    	info.Scanning = atomic.LoadInt32(&s.scanning) == 1
    	return info, err
    }
    
    // getVolDir - will convert incoming volume names to
    // corresponding valid volume names on the backend in a platform
    // compatible way for all operating systems. If volume is not found
    // an error is generated.
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Jun 10 15:51:27 UTC 2024
    - 85.3K bytes
    - Viewed (2)
Back to top