Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 487 for pcdelta (0.12 sec)

  1. staging/src/k8s.io/apimachinery/pkg/util/waitgroup/waitgroup.go

    	// then any Add with positive delta will return error.
    	wait bool
    }
    
    // Add adds delta, which may be negative, similar to sync.WaitGroup.
    // If Add with a positive delta happens after Wait, it will return error,
    // which prevent unsafe Add.
    func (wg *SafeWaitGroup) Add(delta int) error {
    	wg.mu.RLock()
    	defer wg.mu.RUnlock()
    	if wg.wait && delta > 0 {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Feb 11 03:04:14 UTC 2018
    - 1.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

      }
    
      /** Returns a new bias. */
      private fun adapt(
        delta: Int,
        numpoints: Int,
        first: Boolean,
      ): Int {
        var delta =
          when {
            first -> delta / DAMP
            else -> delta / 2
          }
        delta += (delta / numpoints)
        var k = 0
        while (delta > ((BASE - TMIN) * TMAX) / 2) {
          delta /= (BASE - TMIN)
          k += BASE
        }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Wed Apr 03 03:04:50 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  3. src/net/http/cookiejar/punycode.go

    // adapt is the bias adaptation function specified in section 6.1.
    func adapt(delta, numPoints int32, firstTime bool) int32 {
    	if firstTime {
    		delta /= damp
    	} else {
    		delta /= 2
    	}
    	delta += delta / numPoints
    	k := int32(0)
    	for delta > ((base-tmin)*tmax)/2 {
    		delta /= base - tmin
    		k += base
    	}
    	return k + (base-tmin+1)*delta/(delta+skew)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 10 23:42:56 UTC 2021
    - 3.4K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AtomicLongMapBasherTest.java

                            break;
                          case 5:
                            map.getAndAdd(key, delta);
                            threadSum += delta;
                            break;
                          case 6:
                            long oldValue = map.put(key, delta);
                            threadSum += delta - oldValue;
                            break;
                          case 7:
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 13 14:28:25 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  5. test/fixedbugs/issue15277.go

    func f(x *big, start int64) {
    	if delta := inuse() - start; delta < 9<<20 {
    		println("after alloc: expected delta at least 9MB, got: ", delta)
    	}
    	runtime.KeepAlive(x)
    	x = nil
    	if delta := inuse() - start; delta > 1<<20 {
    		println("after drop: expected delta below 1MB, got: ", delta)
    	}
    	x = new(big)
    	if delta := inuse() - start; delta < 9<<20 {
    		println("second alloc: expected delta at least 9MB, got: ", delta)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 851 bytes
    - Viewed (0)
  6. src/image/ycbcr_test.go

    			m.Cb[ci] = uint8(y + 16*x)
    			m.Cr[ci] = uint8(y + 16*x)
    		}
    	}
    
    	// Make various sub-images of m.
    	for y0 := delta.Y + 3; y0 < delta.Y+7; y0++ {
    		for y1 := delta.Y + 8; y1 < delta.Y+13; y1++ {
    			for x0 := delta.X + 3; x0 < delta.X+7; x0++ {
    				for x1 := delta.X + 8; x1 < delta.X+13; x1++ {
    					subRect := Rect(x0, y0, x1, y1)
    					sub := m.SubImage(subRect).(*YCbCr)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 26 00:14:16 UTC 2015
    - 3.3K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/controller/status/naming_controller_test.go

    			existing: []*apiextensionsv1.CustomResourceDefinition{
    				newCRD("alfa.charlie.com").StatusNames("alfa", "delta-singular", "echo-kind", "foxtrot-listkind", "golf-shortname-1", "hotel-shortname-2").NewOrDie(),
    			},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Dec 03 16:49:27 UTC 2019
    - 15.7K bytes
    - Viewed (0)
  8. src/cmd/asm/internal/asm/pseudo_test.go

    		{"GLOBL", "0,1", "GLOBL symbol \"<erroneous symbol>\" must be a symbol(SB)"},
    		{"GLOBL", "@B(SB), 0", "expected '(', found B"}, // Issue 23580.
    		{"PCDATA", "", "expect two operands for PCDATA"},
    		{"PCDATA", "1", "expect two operands for PCDATA"},
    	}
    
    	runtimeTests := []errtest{
    		{"TEXT", "foo<ABIInternal>(SB),0", "TEXT \"foo\": ABIInternal requires NOSPLIT"},
    	}
    
    	testcats := []struct {
    		allowABI bool
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 29 07:48:38 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  9. src/vendor/golang.org/x/net/idna/punycode.go

    // adapt is the bias adaptation function specified in section 6.1.
    func adapt(delta, numPoints int32, firstTime bool) int32 {
    	if firstTime {
    		delta /= damp
    	} else {
    		delta /= 2
    	}
    	delta += delta / numPoints
    	k := int32(0)
    	for delta > ((base-tmin)*tmax)/2 {
    		delta /= base - tmin
    		k += base
    	}
    	return k + (base-tmin+1)*delta/(delta+skew)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 09 20:10:36 UTC 2021
    - 4.6K bytes
    - Viewed (0)
  10. pkg/apis/core/helper/qos/qos.go

    			if !isSupportedQoSComputeResource(name) {
    				continue
    			}
    			if quantity.Cmp(zeroQuantity) == 1 {
    				delta := quantity.DeepCopy()
    				if _, exists := requests[name]; !exists {
    					requests[name] = delta
    				} else {
    					delta.Add(requests[name])
    					requests[name] = delta
    				}
    			}
    		}
    		// process limits
    		qosLimitsFound := sets.NewString()
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Aug 08 04:01:46 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top