Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for FLOAT64 (0.24 sec)

  1. src/fmt/fmt_test.go

    	{"%☠", &[]any{I(1), G(2)}, "&[%!☠(fmt_test.I=1) %!☠(fmt_test.G=2)]"},
    	{"%☠", SI{&[]any{I(1), G(2)}}, "{%!☠(*[]interface {}=&[1 2])}"},
    	{"%☠", reflect.Value{}, "<invalid reflect.Value>"},
    	{"%☠", map[float64]int{NaN: 1}, "map[%!☠(float64=NaN):%!☠(int=1)]"},
    }
    
    // zeroFill generates zero-filled strings of the specified width. The length
    // of the suffix (but not the prefix) is compensated for in the width calculation.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:31:55 UTC 2024
    - 58.6K bytes
    - Viewed (0)
  2. src/runtime/mprof.go

    	var r int64
    	if rate <= 0 {
    		r = 0 // disable profiling
    	} else if rate == 1 {
    		r = 1 // profile everything
    	} else {
    		// convert ns to cycles, use float64 to prevent overflow during multiplication
    		r = int64(float64(rate) * float64(ticksPerSecond()) / (1000 * 1000 * 1000))
    		if r == 0 {
    			r = 1
    		}
    	}
    
    	atomic.Store64(&blockprofilerate, uint64(r))
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:57:37 UTC 2024
    - 53.3K bytes
    - Viewed (0)
  3. pkg/proxy/iptables/proxier.go

    	)
    
    	metrics.IPTablesRulesTotal.WithLabelValues(string(utiliptables.TableFilter)).Set(float64(proxier.filterRules.Lines()))
    	metrics.IPTablesRulesLastSync.WithLabelValues(string(utiliptables.TableFilter)).Set(float64(proxier.filterRules.Lines()))
    	metrics.IPTablesRulesTotal.WithLabelValues(string(utiliptables.TableNAT)).Set(float64(proxier.natRules.Lines() + skippedNatRules.Lines() - deletedChains))
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 21 14:39:54 UTC 2024
    - 65.1K bytes
    - Viewed (0)
  4. pkg/controller/podautoscaler/horizontal.go

    			// the proposal has to be rounded up because the proposed change might not increase the replica count causing the target to never scale up
    			proposed = int32(math.Ceil(float64(periodStartReplicas) * (1 + float64(policy.Value)/100)))
    		}
    		result = selectPolicyFn(result, proposed)
    	}
    	return result
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 63.6K bytes
    - Viewed (0)
  5. src/runtime/mgcmark.go

    	assistBytesPerWork := gcController.assistBytesPerWork.Load()
    	debtBytes := -gp.gcAssistBytes
    	scanWork := int64(assistWorkPerByte * float64(debtBytes))
    	if scanWork < gcOverAssistWork {
    		scanWork = gcOverAssistWork
    		debtBytes = int64(assistBytesPerWork * float64(scanWork))
    	}
    
    	// Steal as much credit as we can from the background GC's
    	// scan credit. This is racy and may drop the background
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 21:25:11 UTC 2024
    - 52.5K bytes
    - Viewed (0)
  6. pkg/controller/job/job_controller.go

    		if hasBackoffLimitPerIndex(job) && job.Status.FailedIndexes != oldCounters.FailedIndexes {
    			if failedDiff := indexesCount(logger, job.Status.FailedIndexes, completions) - indexesCount(logger, oldCounters.FailedIndexes, completions); failedDiff > 0 {
    				metrics.JobFinishedIndexesTotal.WithLabelValues(metrics.Failed, backoffLimitLabel).Add(float64(failedDiff))
    			}
    		}
    	} else {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
  7. pkg/controller/podautoscaler/replica_calculator_test.go

    	finalCPUPercentTarget := int32(target * 100)
    	resourcesUsedRatio := float64(totalUsedCPUOfAllPods) / float64(float64(totalRequestedCPUOfAllPods)*target)
    
    	// i.e. .60 * 20 -> scaled down expectation.
    	finalPods := int32(math.Ceil(resourcesUsedRatio * float64(startPods)))
    
    	// To breach tolerance we will create a utilization ratio difference of tolerance to usageRatioToleranceValue)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat Aug 19 03:31:34 UTC 2023
    - 68.4K bytes
    - Viewed (0)
  8. src/time/format.go

    			// overflow
    			return 0, errors.New("time: invalid duration " + quote(orig))
    		}
    		v *= unit
    		if f > 0 {
    			// float64 is needed to be nanosecond accurate for fractions of hours.
    			// v >= 0 && (f*unit/scale) <= 3.6e+12 (ns/h, h is the largest unit)
    			v += uint64(float64(f) * (float64(unit) / scale))
    			if v > 1<<63 {
    				// overflow
    				return 0, errors.New("time: invalid duration " + quote(orig))
    			}
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 17:09:28 UTC 2024
    - 49.3K bytes
    - Viewed (0)
  9. cmd/iam.go

    			if configRetriableErrors(err) {
    				logger.Info("Waiting for all MinIO IAM sub-system to be initialized.. possible cause (%v)", err)
    				time.Sleep(time.Duration(r.Float64() * float64(time.Second)))
    				continue
    			}
    			iamLogIf(ctx, fmt.Errorf("IAM sub-system is partially initialized, unable to write the IAM format: %w", err), logger.WarningKind)
    			return
    		}
    
    		break
    	}
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Jun 13 22:26:38 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  10. src/cmd/cgo/gcc.go

    	c.uint8 = c.Ident("uint8")
    	c.uint16 = c.Ident("uint16")
    	c.uint32 = c.Ident("uint32")
    	c.uint64 = c.Ident("uint64")
    	c.uintptr = c.Ident("uintptr")
    	c.float32 = c.Ident("float32")
    	c.float64 = c.Ident("float64")
    	c.complex64 = c.Ident("complex64")
    	c.complex128 = c.Ident("complex128")
    	c.void = c.Ident("void")
    	c.string = c.Ident("string")
    	c.goVoid = c.Ident("_Ctype_void")
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
Back to top