Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 121 for chuge (0.13 sec)

  1. pkg/registry/core/service/storage/alloc.go

    		}
    		newNodePorts = append(newNodePorts, nodePort)
    	}
    
    	newNodePortsNumbers := collectServiceNodePorts(newService)
    
    	// The comparison loops are O(N^2), but we don't expect N to be huge
    	// (there's a hard-limit at 2^16, because they're ports; and even 4 ports would be a lot)
    	for _, oldNodePortNumber := range oldNodePortsNumbers {
    		if containsNumber(newNodePortsNumbers, oldNodePortNumber) {
    			continue
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Oct 31 21:05:05 UTC 2023
    - 37.3K bytes
    - Viewed (0)
  2. src/go/constant/value.go

    	switch x := x.(type) {
    	case int64Val, intVal:
    		return x
    
    	case ratVal:
    		if x.val.IsInt() {
    			return makeInt(x.val.Num())
    		}
    
    	case floatVal:
    		// avoid creation of huge integers
    		// (Existing tests require permitting exponents of at least 1024;
    		// allow any value that would also be permissible as a fraction.)
    		if smallFloat(x.val) {
    			i := newInt()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:03 UTC 2023
    - 34K bytes
    - Viewed (0)
  3. src/image/image.go

    func pixelBufferLength(bytesPerPixel int, r Rectangle, imageTypeName string) int {
    	totalLength := mul3NonNeg(bytesPerPixel, r.Dx(), r.Dy())
    	if totalLength < 0 {
    		panic("image: New" + imageTypeName + " Rectangle has huge or negative dimensions")
    	}
    	return totalLength
    }
    
    // RGBA is an in-memory image whose At method returns [color.RGBA] values.
    type RGBA struct {
    	// Pix holds the image's pixels, in R, G, B, A order. The pixel at
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 12:02:45 UTC 2023
    - 34.9K bytes
    - Viewed (0)
  4. pkg/kubelet/kuberuntime/kuberuntime_container.go

    	if len(args) > 0 {
    		eventMessage = fmt.Sprintf(message, args...)
    	}
    	// this is a hack, but often the error from the runtime includes the containerID
    	// which kills our ability to deduplicate events.  this protection makes a huge
    	// difference in the number of unique events
    	if containerID != "" {
    		eventMessage = strings.Replace(eventMessage, containerID, container.Name, -1)
    	}
    	m.recorder.Event(ref, eventType, reason, eventMessage)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 06:25:43 UTC 2024
    - 54.7K bytes
    - Viewed (0)
  5. src/math/cmplx/cmath_test.go

    	(1.0074784189316340029873945e+00 - 4.194050814891697808029407e-03i),
    	(9.9385534229718327109131502e-01 + 5.144217985914355502713437e-02i),
    	(-1.0000000491604982429364892e+00 - 2.901873195374433112227349e-08i),
    }
    
    // huge values along the real axis for testing reducePi in Tan
    var hugeIn = []complex128{
    	1 << 28,
    	1 << 29,
    	1 << 30,
    	1 << 35,
    	-1 << 120,
    	1 << 240,
    	1 << 300,
    	-1 << 480,
    	1234567891234567 << 180,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 01 03:16:37 UTC 2020
    - 48.1K bytes
    - Viewed (0)
  6. src/fmt/fmt_test.go

    	{"%.*d", args(-1, 42), "%!(BADPREC)42"},
    	{"%.*d", args(int(1e7), 42), "%!(BADPREC)42"},
    	{"%.*d", args(uint(1e7), 42), "%!(BADPREC)42"},
    	{"%.*d", args(uint64(1<<63), 42), "%!(BADPREC)42"},   // Huge negative (-inf).
    	{"%.*d", args(uint64(1<<64-1), 42), "%!(BADPREC)42"}, // Small negative (-1).
    	{"%*d", args(5, "foo"), "%!d(string=  foo)"},
    	{"%*% %d", args(20, 5), "% 5"},
    	{"%*", args(4), "%!(NOVERB)"},
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.19.md

    - Add huge page stats to Allocated resources in "kubectl describe node" ([#80605](https://github.com/kubernetes/kubernetes/pull/80605), [@odinuge](https://github.com/odinuge)) [SIG CLI]
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jan 05 05:42:32 UTC 2022
    - 489.7K bytes
    - Viewed (0)
  8. src/html/template/exec_test.go

    	{"boolean if not", "{{if and true 1 `hi` | not}}TRUE{{else}}FALSE{{end}}", "FALSE", nil, true},
    
    	// Indexing.
    	{"slice[0]", "{{index .SI 0}}", "3", tVal, true},
    	{"slice[1]", "{{index .SI 1}}", "4", tVal, true},
    	{"slice[HUGE]", "{{index .SI 10}}", "", tVal, false},
    	{"slice[WRONG]", "{{index .SI `hello`}}", "", tVal, false},
    	{"slice[nil]", "{{index .SI nil}}", "", tVal, false},
    	{"map[one]", "{{index .MSI `one`}}", "1", tVal, true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  9. src/runtime/mgc.go

    	faultList := userArenaState.fault
    	userArenaState.fault = nil
    	unlock(&userArenaState.lock)
    	for _, lc := range faultList {
    		lc.mspan.setUserArenaChunkToFault()
    	}
    
    	// Enable huge pages on some metadata if we cross a heap threshold.
    	if gcController.heapGoal() > minHeapForMetadataHugePages {
    		systemstack(func() {
    			mheap_.enableMetadataHugePages()
    		})
    	}
    
    	semrelease(&worldsema)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  10. src/runtime/mgcpacer.go

    // available).
    func (c *gcControllerState) revise() {
    	gcPercent := c.gcPercent.Load()
    	if gcPercent < 0 {
    		// If GC is disabled but we're running a forced GC,
    		// act like GOGC is huge for the below calculations.
    		gcPercent = 100000
    	}
    	live := c.heapLive.Load()
    	scan := c.heapScan.Load()
    	work := c.heapScanWork.Load() + c.stackScanWork.Load() + c.globalsScanWork.Load()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 25 19:53:03 UTC 2024
    - 55.4K bytes
    - Viewed (0)
Back to top