Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for divLarge (0.3 sec)

  1. src/math/big/natdiv.go

    		// In that case, the 2-by-1 guess is all we need at each step.
    		var r2 Word
    		q, r2 = z.divW(u, v[0])
    		r = z2.setWord(r2)
    		return
    	}
    
    	q, r = z.divLarge(z2, u, v)
    	return
    }
    
    // divW returns q, r such that q = ⌊x/y⌋ and r = x%y = x - q·y.
    // It uses z as the storage for q.
    // Note that y is a single digit (Word), not a big number.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 14 17:02:38 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/plugins/noderesources/requested_to_capacity_ratio.go

    	shapes := make([]helper.FunctionShapePoint, 0, len(shape))
    	for _, point := range shape {
    		shapes = append(shapes, helper.FunctionShapePoint{
    			Utilization: int64(point.Utilization),
    			// MaxCustomPriorityScore may diverge from the max score used in the scheduler and defined by MaxNodeScore,
    			// therefore we need to scale the score returned by requested to capacity ratio to the score range
    			// used by the scheduler.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Dec 21 15:23:47 UTC 2022
    - 2.6K bytes
    - Viewed (0)
  3. internal/s3select/sql/aggregation.go

    		// updated.
    		return nil
    	}
    
    	argVal := val
    	if funcName != aggFnCount {
    		// All aggregation functions, except COUNT require a
    		// numeric argument.
    
    		// Here, we diverge from Amazon S3 behavior by
    		// inferring untyped values are numbers.
    		if !argVal.isNumeric() {
    			if i, ok := argVal.bytesToInt(); ok {
    				argVal.setInt(i)
    			} else if f, ok := argVal.bytesToFloat(); ok {
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat Dec 23 07:19:11 UTC 2023
    - 7.9K bytes
    - Viewed (0)
  4. src/encoding/json/scanner_test.go

    	}
    }
    
    func diff(t *testing.T, a, b []byte) {
    	t.Helper()
    	for i := 0; ; i++ {
    		if i >= len(a) || i >= len(b) || a[i] != b[i] {
    			j := i - 10
    			if j < 0 {
    				j = 0
    			}
    			t.Errorf("diverge at %d: «%s» vs «%s»", i, trim(a[j:]), trim(b[j:]))
    			return
    		}
    	}
    }
    
    func trim(b []byte) []byte {
    	return b[:min(len(b), 20)]
    }
    
    // Generate a random JSON object.
    
    var jsonBig []byte
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Aug 25 16:00:37 UTC 2023
    - 6.9K bytes
    - Viewed (0)
  5. pkg/controller/garbagecollector/garbagecollector.go

    			gc.restMapper.Reset()
    			logger.V(4).Info("reset restmapper")
    
    			// Perform the monitor resync and wait for controllers to report cache sync.
    			//
    			// NOTE: It's possible that newResources will diverge from the resources
    			// discovered by restMapper during the call to Reset, since they are
    			// distinct discovery clients invalidated at different times. For example,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 32.9K bytes
    - Viewed (0)
  6. pkg/scheduler/schedule_one.go

    					if loggerVTen.Enabled() {
    						loggerVTen.Info("Extender scored node for pod", "pod", klog.KObj(pod), "extender", extenders[extIndex].Name(), "node", nodename, "score", score)
    					}
    
    					// MaxExtenderPriority may diverge from the max priority used in the scheduler and defined by MaxNodeScore,
    					// therefore we need to scale the score returned by extenders to the score range used by the scheduler.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 06 13:28:08 UTC 2024
    - 43.4K bytes
    - Viewed (0)
  7. src/math/big/float.go

    func (z *Float) usub(x, y *Float) {
    	// This code is symmetric to uadd.
    	// We have not factored the common code out because
    	// eventually uadd (and usub) should be optimized
    	// by special-casing, and the code will diverge.
    
    	if debugFloat {
    		validateBinaryOperands(x, y)
    	}
    
    	ex := int64(x.exp) - int64(len(x.mant))*_W
    	ey := int64(y.exp) - int64(len(y.mant))*_W
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 15:46:54 UTC 2024
    - 44.5K bytes
    - Viewed (0)
  8. src/testdata/Isaac.Newton-Opticks.txt

    refracting Plane or spherical Surface, shall afterwards diverge from so
    many other Points, or be parallel to so many other Lines, or converge to
    so many other Points, either accurately or without any sensible Error.
    And the same thing will happen, if the Rays be reflected or refracted
    successively by two or three or more Plane or Spherical Surfaces._
    
    The Point from which Rays diverge or to which they converge may be
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 01 16:16:21 UTC 2018
    - 553.9K bytes
    - Viewed (0)
  9. src/compress/bzip2/testdata/Isaac.Newton-Opticks.txt.bz2

    perpendicularly on any reflecting or refracting Plane or spherical Surface, shall afterwards diverge from so many other Points, or be parallel to so many other Lines, or converge to so many other Points, either accurately or without any sensible Error. And the same thing will happen, if the Rays be reflected or refracted successively by two or three or more Plane or Spherical Surfaces._ The Point from which Rays diverge or to which they converge may be called their _Focus_. And the Focus of the incident...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 24 18:26:02 UTC 2018
    - 129.4K bytes
    - Viewed (0)
Back to top