Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 461 for spdelta (0.11 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. src/runtime/netpoll.go

    //     Disable notifications for fd. Return an errno value.
    //
    // func netpoll(delta int64) (gList, int32)
    //     Poll the network. If delta < 0, block indefinitely. If delta == 0,
    //     poll without blocking. If delta > 0, block for up to delta nanoseconds.
    //     Return a list of goroutines built by calling netpollready,
    //     and a delta to add to netpollWaiters when all goroutines are ready.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  9. pkg/apis/core/v1/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.5K bytes
    - Viewed (0)
  10. tensorflow/c/eager/c_api_experimental_reader_test.cc

    TFE_MonitoringCounter1* CreateCounter1(const char* counter_name,
                                           const char* label);
    void IncrementCounter0(TFE_MonitoringCounter0* counter, int64_t delta = 1);
    void IncrementCounter1(TFE_MonitoringCounter1* counter, const char* label,
                           int64_t delta = 1);
    
    TEST(CAPI, MonitoringCellReader0) {
      auto counter_name = "test/counter0";
      auto* counter = CreateCounter0(counter_name);
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 20 03:14:47 UTC 2023
    - 2.9K bytes
    - Viewed (0)
Back to top