Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 152 for ROUND (0.03 sec)

  1. cmd/metrics-v3-system-cpu.go

    		m.Set(sysCPULoadPerc, math.Round(perc*100)/100)
    	}
    
    	ts := cpuMetrics.TimesStat
    	tot := ts.User + ts.System + ts.Idle + ts.Iowait + ts.Nice + ts.Steal
    	cpuUserVal := math.Round(ts.User/tot*100*100) / 100
    	m.Set(sysCPUUser, cpuUserVal)
    	cpuSystemVal := math.Round(ts.System/tot*100*100) / 100
    	m.Set(sysCPUSystem, cpuSystemVal)
    	cpuNiceVal := math.Round(ts.Nice/tot*100*100) / 100
    	m.Set(sysCPUNice, cpuNiceVal)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 23 23:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. cmd/kubeadm/app/apis/kubeadm/fuzzer/fuzzer.go

    	// Avoid round tripping the ClusterConfiguration embedded in the InitConfiguration, since it is
    	// only present in the internal version and not in public versions
    	obj.ClusterConfiguration = kubeadm.ClusterConfiguration{}
    
    	// Adds the default bootstrap token to get the round trip working
    	obj.BootstrapTokens = []bootstraptokenv1.BootstrapToken{
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jun 13 06:41:07 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  3. src/internal/zstd/xxhash.go

    		n := copy(xh.buf[xh.cnt:], b)
    		b = b[n:]
    		xh.v[0] = xh.round(xh.v[0], binary.LittleEndian.Uint64(xh.buf[:]))
    		xh.v[1] = xh.round(xh.v[1], binary.LittleEndian.Uint64(xh.buf[8:]))
    		xh.v[2] = xh.round(xh.v[2], binary.LittleEndian.Uint64(xh.buf[16:]))
    		xh.v[3] = xh.round(xh.v[3], binary.LittleEndian.Uint64(xh.buf[24:]))
    		xh.cnt = 0
    	}
    
    	for len(b) >= 32 {
    		xh.v[0] = xh.round(xh.v[0], binary.LittleEndian.Uint64(b))
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 18 20:34:13 UTC 2023
    - 3.3K bytes
    - Viewed (0)
  4. src/crypto/md5/gen.go

    }
    
    func rotate() string {
    	data.a, data.b, data.c, data.d = data.d, data.a, data.b, data.c
    	return "" // no output
    }
    
    func idx(round, index int) int {
    	v := 0
    	switch round {
    	case 1:
    		v = index
    	case 2:
    		v = (1 + 5*index) & 15
    	case 3:
    		v = (5 + 3*index) & 15
    	case 4:
    		v = (7 * index) & 15
    	}
    	return v
    }
    
    func seq(i int) []int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 13 18:57:38 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  5. test/linkobj.go

    		fatalf("listing stdlib export files: %v", err)
    	}
    
    	// two rounds: once using normal objects, again using .a files (compile -pack).
    	for round := 0; round < 2; round++ {
    		pkg := "-pack=" + fmt.Sprint(round)
    
    		// The compiler expects the files being read to have the right suffix.
    		o := "o"
    		if round == 1 {
    			o = "a"
    		}
    
    		importcfg := string(stdlibimportcfg) + "\npackagefile p1=p1." + o + "\npackagefile p2=p2." + o
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 3.5K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/tests/compile_mlir_util/convert_mhlo_quant_to_int.mlir

    // CHECK:         %[[ADD:.*]] = f32[] add(f32[] %[[DIV]], f32[]
    // CHECK:         %[[CLAMP:.*]] = f32[] clamp(f32[] %[[MIN:.*]], f32[] %[[ADD]],
    // CHECK:         %[[ROUND:.*]] = f32[] round-nearest-even(f32[] %[[CLAMP]])
    // CHECK:         %[[CONVERT_0:.*]] = u8[] convert(f32[] %[[ROUND]])
    // CHECK:         %[[CONVERT_1:.*]] = s32[] convert(u8[] %[[CONVERT_0]])
    // CHECK:         %[[SUB:.*]] = s32[] subtract(s32[] %[[CONVERT_1]],
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Sep 07 16:28:50 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  7. pkg/controller/job/tracking_utils_test.go

    			t.Errorf("Unexpected keys for job %s (-want,+got):\n%s", track.job, diff)
    		}
    	}
    
    	// Delete the first round of keys and add the second round in parallel.
    
    	for i, track := range tracks {
    		wg.Add(len(track.firstRound) + 1)
    		track := track
    		for _, uid := range track.firstRound {
    			uid := uid
    			go func() {
    				expectations.finalizerRemovalObserved(logger, track.job, uid)
    				wg.Done()
    			}()
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 14 05:40:02 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/api/testdata/README.md

    resulting in additional fields being output when round-tripping data from previous releases, and failing round-trip tests.
    
    To resolve this, a `<group>.<version>.<kind>_after_roundtrip.[json|yaml|pb]` file containing the 
    expected data after roundtripping can be placed beside the serialized data file from a previous release.
    
    These `after_roundtrip` files are generated by running the failing round-trip tests with `UPDATE_COMPATIBILITY_FIXTURE_DATA=true` set.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 06:06:52 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  9. platforms/jvm/language-java/src/testFixtures/groovy/org/gradle/language/fixtures/ServiceRegistryProcessorFixture.groovy

        }
    
        @Override
        protected String getMembersBlock() {
            """
                int round;
                Set<Element> allElements = new HashSet<Element>();
            """
        }
    
        String getGeneratorCode() {
            return """
                try {
                    if (round == 0) {
                        JavaFileObject javaFile = filer.createSourceFile("ServiceRegistry", new Element[0]);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. tensorflow/compiler/mlir/quantization/tensorflow/tests/fake_quant_e2e_xla.mlir

    // CHECK: %[[add:.*]] = "tf.AddV2"(%[[div]]
    // CHECK: %[[maximum:.*]] = "tf.Maximum"(%[[add]]
    // CHECK: %[[minimum:.*]] = "tf.Minimum"(%[[maximum]]
    // CHECK: %[[round:.*]] = "tf.Round"(%[[minimum]]
    // CHECK: %[[quant:.*]] = "tf.Cast"(%[[round]]) : (tensor<1x3x4x3xf32>) -> tensor<1x3x4x3xi8>
    // CHECK: %[[pad:.*]] = "tf.PadV2"(%[[quant]]
    // CHECK: %[[xlaconv:.*]] = "tf.XlaConvV2"(%[[pad]]
    // CHECK: %[[sub:.*]] = "tf.Sub"(%[[xlaconv]]
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.2K bytes
    - Viewed (0)
Back to top