Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 61 for Mounts (0.13 sec)

  1. src/cmd/compile/internal/types2/expr.go

    	var yval constant.Value
    	if y.mode == constant_ {
    		// Provide a good error message for negative shift counts.
    		yval = constant.ToInt(y.val) // consider -1, 1.0, but not -1.1
    		if yval.Kind() == constant.Int && constant.Sign(yval) < 0 {
    			check.errorf(y, InvalidShiftCount, invalidOp+"negative shift count %s", y)
    			x.mode = invalid
    			return
    		}
    
    		if isUntyped(y.typ) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  2. src/time/time.go

    	}
    	return w
    }
    
    // Nanoseconds returns the duration as an integer nanosecond count.
    func (d Duration) Nanoseconds() int64 { return int64(d) }
    
    // Microseconds returns the duration as an integer microsecond count.
    func (d Duration) Microseconds() int64 { return int64(d) / 1e3 }
    
    // Milliseconds returns the duration as an integer millisecond count.
    func (d Duration) Milliseconds() int64 { return int64(d) / 1e6 }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 50.7K bytes
    - Viewed (0)
  3. tests/integration/ambient/baseline_test.go

    		{
    			Port:   echo.Port{Name: "http"},
    			Scheme: scheme.HTTP,
    			Count:  10, // TODO use more
    		},
    		//{
    		//	Port: echo.Port{Name: "http"},
    		//	Scheme:   scheme.WebSocket,
    		//	Count:    4,
    		//	Timeout:  time.Second * 2,
    		//},
    		{
    			Port:   echo.Port{Name: "tcp"},
    			Scheme: scheme.TCP,
    			Count:  1,
    		},
    		//{
    		//	Port: echo.Port{Name: "grpc"},
    		//	Scheme:   scheme.GRPC,
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 00:07:28 UTC 2024
    - 78.4K bytes
    - Viewed (0)
  4. src/reflect/type.go

    		current, next = next, current[:0]
    		count := nextCount
    		nextCount = nil
    
    		// Process all the fields at this depth, now listed in 'current'.
    		// The loop queues embedded fields found in 'next', for processing during the next
    		// iteration. The multiplicity of the 'current' field counts is recorded
    		// in 'count'; the multiplicity of the 'next' field counts is recorded in 'nextCount'.
    		for _, scan := range current {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  5. src/runtime/map.go

    	// the actual copying of the hash table data is done incrementally
    	// by growWork() and evacuate().
    }
    
    // overLoadFactor reports whether count items placed in 1<<B buckets is over loadFactor.
    func overLoadFactor(count int, B uint8) bool {
    	return count > abi.MapBucketCount && uintptr(count) > loadFactorNum*(bucketShift(B)/loadFactorDen)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/ssa/rewrite.go

    //	B) decrement use counts of the values' args.
    func clobber(vv ...*Value) bool {
    	for _, v := range vv {
    		v.reset(OpInvalid)
    		// Note: leave v.Block intact.  The Block field is used after clobber.
    	}
    	return true
    }
    
    // clobberIfDead resets v when use count is 1. Returns true.
    // clobberIfDead is used by rewrite rules to decrement
    // use counts of v's args when v is dead and never used.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 19:02:52 UTC 2024
    - 64.2K bytes
    - Viewed (0)
  7. src/testing/testing.go

    		c.lastRaceErrors.Store(c.parent.checkRaces())
    	}
    }
    
    // checkRaces checks whether the global count of data race errors has increased
    // since c's count was last reset.
    //
    // If so, it marks c as having failed due to those races (logging an error for
    // the first such race), and updates the race counts for the parents of c so
    // that if they are currently suspended (such as in a call to T.Run) they will
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 76.1K bytes
    - Viewed (0)
  8. src/time/time_test.go

    	if testing.Short() {
    		t.Skip("skipping malloc count in short mode")
    	}
    	if runtime.GOMAXPROCS(0) > 1 {
    		t.Skip("skipping; GOMAXPROCS>1")
    	}
    	for _, mt := range mallocTest {
    		allocs := int(testing.AllocsPerRun(100, mt.fn))
    		if allocs > mt.count {
    			t.Errorf("%s: %d allocs, want %d", mt.desc, allocs, mt.count)
    		}
    	}
    }
    
    func TestLoadFixed(t *testing.T) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 03:13:47 UTC 2024
    - 56.5K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    // apiextensions-apiserver has discovery disabled, so hardcode this mapping
    var fakeRESTMapper map[schema.GroupVersionResource]string = map[schema.GroupVersionResource]string{
    	myCRDV1Beta1: "MyCoolCRD",
    }
    
    // FixTabsOrDie counts the number of tab characters preceding the first
    // line in the given yaml object. It removes that many tabs from every
    // line. It panics (it's a test function) if some line has fewer tabs
    // than the first line.
    //
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/util/flowcontrol/fairqueuing/queueset/queueset_test.go

    func fairAlloc(demands []float64, capacity float64) []float64 {
    	count := len(demands)
    	indices := make([]int, count)
    	for i := 0; i < count; i++ {
    		indices[i] = i
    	}
    	sort.Slice(indices, func(i, j int) bool { return demands[indices[i]] < demands[indices[j]] })
    	alloc := make([]float64, count)
    	var next int
    	var prevAlloc float64
    	for ; next < count; next++ {
    		// `capacity` is how much remains assuming that
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Sep 26 12:55:23 UTC 2023
    - 58.4K bytes
    - Viewed (0)
Back to top