Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 223 for rounds (0.1 sec)

  1. src/runtime/map_fast64.go

    		insertb = h.newoverflow(t, b)
    		inserti = 0 // not necessary, but avoids needlessly spilling inserti
    	}
    	insertb.tophash[inserti&(abi.MapBucketCount-1)] = tophash(hash) // mask inserti to avoid bounds checks
    
    	insertk = add(unsafe.Pointer(insertb), dataOffset+inserti*8)
    	// store new key at insert position
    	*(*uint64)(insertk) = key
    
    	h.count++
    
    done:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  2. pkg/controller/podgc/gc_controller.go

    				// ignore not founds
    				defer utilruntime.HandleError(err)
    				metrics.DeletingPodsErrorTotal.WithLabelValues(pod.Namespace, metrics.PodGCReasonTerminated).Inc()
    			}
    			metrics.DeletingPodsTotal.WithLabelValues(pod.Namespace, metrics.PodGCReasonTerminated).Inc()
    		}(terminatedPods[i])
    	}
    	wait.Wait()
    }
    
    // gcOrphaned deletes pods that are bound to nodes that don't exist.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sat May 04 18:33:12 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  3. samples/addons/grafana.yaml

    "mode":"multi","sort":"none"}},"pluginVersion":"10.1.5","targets":[{"datasource":{"type":"prometheus","uid":"${datasource}"},"expr":"(sum(irate(container_cpu_usage_seconds_total{pod=~\"istio-ingressgateway-.*\",container=\"istio-proxy\"}[1m])) / (round(sum(irate(istio_requests_total{source_workload=\"istio-ingressgateway\", reporter=\"source\"}[1m])), 0.001)/1000))","format":"time_series","hide":false,"intervalFactor":1,"legendFormat":"istio-ingressgateway","refId":"A"},{"datasource":{"type":"pr...
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Jun 12 20:46:28 UTC 2024
    - 242.3K bytes
    - Viewed (0)
  4. src/cmd/internal/obj/arm64/asm7.go

    		// the constant pool across a cache line.
    		c.pool.size = roundUp(c.pool.size, 8)
    	}
    	c.pool.size += uint32(sz)
    	p.Pool = t
    }
    
    // roundUp rounds up x to "to".
    func roundUp(x, to uint32) uint32 {
    	if to == 0 || to&(to-1) != 0 {
    		log.Fatalf("rounded up to a value that is not a power of 2: %d\n", to)
    	}
    	return (x + to - 1) &^ (to - 1)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 15:44:14 UTC 2024
    - 201.1K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiserver/pkg/admission/plugin/cel/composition_test.go

    			expectErr:            true,
    			expectedErrorMessage: `found no matching overload for '_==_' applied to '(int, string)'`,
    		},
    		{
    			name: "delayed eval error",
    			variables: []NamedExpressionAccessor{
    				&testVariable{
    					name:       "count",
    					expression: "object.subsets[114514].addresses.size()", // array index out of bound
    				},
    			},
    			attributes:           endpointCreateAttributes(),
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_generated_ops.td

    }
    
    def TF_RoundOp : TF_Op<"Round", [Pure, TF_Idempotent, TF_SameOperandsAndResultTypeResolveRef]> {
      let summary = [{
    Rounds the values of a tensor to the nearest integer, element-wise.
      }];
    
      let description = [{
    Rounds half to even.  Also known as bankers rounding. If you want to round
    according to the current system rounding mode use std::cint.
      }];
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Jun 11 23:24:08 UTC 2024
    - 793K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/types2/signature.go

    					recvTParams = recv.TypeParams().list()
    				}
    			}
    			// provide type parameter bounds
    			if len(tparams) == len(recvTParams) {
    				smap := makeRenameMap(recvTParams, tparams)
    				for i, tpar := range tparams {
    					recvTPar := recvTParams[i]
    					check.mono.recordCanon(tpar, recvTPar)
    					// recvTPar.bound is (possibly) parameterized in the context of the
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 21:33:05 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  8. src/slices/slices.go

    func Clone[S ~[]E, E any](s S) S {
    	// The s[:0:0] preserves nil in case it matters.
    	return append(s[:0:0], s...)
    }
    
    // Compact replaces consecutive runs of equal elements with a single copy.
    // This is like the uniq command found on Unix.
    // Compact modifies the contents of the slice s and returns the modified slice,
    // which may have a smaller length.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 29 14:01:59 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  9. src/hash/maphash/smhasher_test.go

    	// Each entry in the grid should be about REP/2.
    	// More precisely, we did N = k.bits() * hashSize experiments where
    	// each is the sum of REP coin flips. We want to find bounds on the
    	// sum of coin flips such that a truly random experiment would have
    	// all sums inside those bounds with 99% probability.
    	N := n * hashSize
    	var c float64
    	// find c such that Prob(mean-c*stddev < x < mean+c*stddev)^N > .9999
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 16:41:38 UTC 2024
    - 11K bytes
    - Viewed (0)
  10. cmd/prepare-storage.go

    	}
    
    	// prepare getElapsedTime() to calculate elapsed time since we started trying formatting disks.
    	// All times are rounded to avoid showing milli, micro and nano seconds
    	formatStartTime := time.Now().Round(time.Second)
    	getElapsedTime := func() string {
    		return time.Now().Round(time.Second).Sub(formatStartTime).String()
    	}
    
    	var (
    		tries   int
    		verbose bool
    	)
    
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun May 19 08:06:49 UTC 2024
    - 11.1K bytes
    - Viewed (0)
Back to top