Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 181 for Nice (0.04 sec)

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

    	}
    
    	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)
    	cpuStealVal := math.Round(ts.Steal/tot*100*100) / 100
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Apr 23 23:56:12 UTC 2024
    - 3K bytes
    - Viewed (0)
  2. platforms/core-runtime/launcher/src/test/groovy/org/gradle/launcher/cli/converter/PropertiesToDaemonParametersConverterTest.groovy

        }
    
        def "shows nice message for dummy java home"() {
            when:
            converter.convert([(DaemonBuildOptions.JavaHomeOption.GRADLE_PROPERTY): "/invalid/path"], params)
    
            then:
            def ex = thrown(IllegalArgumentException)
            ex.message.contains 'org.gradle.java.home'
            ex.message.contains '/invalid/path'
        }
    
        def "shows nice message for invalid java home"() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 10 18:03:55 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. hack/verify-vendor.sh

    # Copy the contents of the kube directory into the nice clean place (which is NOT shaped like a GOPATH)
    _kubetmp="${_tmpdir}/kubernetes"
    mkdir -p "${_kubetmp}"
    tar --exclude=.git --exclude="./_*" -c . | (cd "${_kubetmp}" && tar xf -)
    
    pushd "${_kubetmp}" > /dev/null 2>&1
      # Destroy deps in the copy of the kube tree
      rm -rf ./vendor ./LICENSES
    
      # Recreate the vendor tree using the nice clean set we just downloaded
      hack/update-vendor.sh
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 06 05:44:45 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. tensorflow/c/c_test.c

    // just nice to know that it compiles.
    void* create(TF_OpKernelConstruction* ctx) {
      TF_DataType type;
      TF_Status* s = TF_NewStatus();
      TF_OpKernelConstruction_GetAttrType(ctx, "foobar", &type, s);
      TF_DeleteStatus(s);
      return NULL;
    }
    
    // A compute function. This will never actually get called in this test, it's
    // just nice to know that it compiles.
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Apr 24 20:50:35 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. src/compress/flate/deflate.go

    	if lookahead < minMatchLook {
    		minMatchLook = lookahead
    	}
    
    	win := d.window[0 : pos+minMatchLook]
    
    	// We quit when we get a match that's at least nice long
    	nice := len(win) - pos
    	if d.nice < nice {
    		nice = d.nice
    	}
    
    	// If we've got a match that's good enough, only look in 1/4 the chain.
    	tries := d.chain
    	length = prevLength
    	if length >= d.good {
    		tries >>= 2
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 26 13:32:40 UTC 2024
    - 20.3K bytes
    - Viewed (0)
  6. src/cmd/go/internal/base/tool.go

    // If the tool cannot be found, Tool exits the process.
    func Tool(toolName string) string {
    	toolPath, err := ToolPath(toolName)
    	if err != nil && len(cfg.BuildToolexec) == 0 {
    		// Give a nice message if there is no tool with that name.
    		fmt.Fprintf(os.Stderr, "go: no such tool %q\n", toolName)
    		SetExitStatus(2)
    		Exit()
    	}
    	return toolPath
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 07 19:04:09 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/Builder.java

     * </p>
     * <strong>Note:</strong> This interface is part of work in progress and can be changed or removed without notice.
     */
    public interface Builder {
        //
        // Be nice to whittle this down to Session, maybe add task segments to the session. The session really is
        // the place to store reactor related information.
        //
        void build(
                MavenSession session,
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon Mar 18 00:24:53 UTC 2024
    - 2K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java

     * it delegates to other components that potentially encounter problems. Then, the problem reporter can focus on
     * providing a simple error message, leaving the donkey work of creating a nice model problem to this component.
     *
     */
    public interface ModelProblemCollector {
    
        /**
         * The collected problems.
         * @return a list of model problems encountered, never {@code null}
         */
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Apr 12 10:50:18 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  9. platforms/core-runtime/functional/src/test/groovy/org/gradle/internal/collect/PersistentListTest.groovy

        }
    
        def "lists with elements #elements are the same"() {
            expect:
            listOf(elements) == listOf(elements)
    
            where:
            elements << [["a"], ["a", "b"]]
        }
    
        def "has a nice toString method"() {
            expect:
            PersistentList.of().toString() == "Nil"
            PersistentList.of("a").toString() == "a"
            PersistentList.of("a", "b").toString() == "a : b"
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 09:24:00 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  10. cmd/metrics-resource.go

    	// cpu stats
    	cpuUser       MetricName = "user"
    	cpuSystem     MetricName = "system"
    	cpuIOWait     MetricName = "iowait"
    	cpuIdle       MetricName = "idle"
    	cpuNice       MetricName = "nice"
    	cpuSteal      MetricName = "steal"
    	cpuLoad1      MetricName = "load1"
    	cpuLoad5      MetricName = "load5"
    	cpuLoad15     MetricName = "load15"
    	cpuLoad1Perc  MetricName = "load1_perc"
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 17 15:15:13 UTC 2024
    - 17.2K bytes
    - Viewed (0)
Back to top