Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 227 for nprocs (0.23 sec)

  1. src/go/doc/testdata/testing.go

    	ok = true
    	if len(tests) == 0 {
    		fmt.Fprintln(os.Stderr, "testing: warning: no tests to run")
    		return
    	}
    	for _, procs := range cpuList {
    		runtime.GOMAXPROCS(procs)
    		// We build a new channel tree for each run of the loop.
    		// collector merges in one channel all the upstream signals from parallel tests.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Oct 02 02:28:27 UTC 2022
    - 11.8K bytes
    - Viewed (0)
  2. src/runtime/mgc.go

    			trackLimiterEvent = pp.limiterEvent.start(limiterEventIdleMarkWork, startTime)
    		}
    
    		decnwait := atomic.Xadd(&work.nwait, -1)
    		if decnwait == work.nproc {
    			println("runtime: work.nwait=", decnwait, "work.nproc=", work.nproc)
    			throw("work.nwait was > work.nproc")
    		}
    
    		systemstack(func() {
    			// Mark our goroutine preemptible so its stack
    			// can be scanned. This lets two mark workers
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62K bytes
    - Viewed (0)
  3. src/runtime/debug.go

    	}
    
    	lock(&sched.lock)
    	ret := int(gomaxprocs)
    	unlock(&sched.lock)
    	if n <= 0 || n == ret {
    		return ret
    	}
    
    	stw := stopTheWorldGC(stwGOMAXPROCS)
    
    	// newprocs will be processed by startTheWorld
    	newprocs = int32(n)
    
    	startTheWorldGC(stw)
    	return ret
    }
    
    // NumCPU returns the number of logical CPUs usable by the current process.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat May 11 20:38:24 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/model/schemas.go

    		ValidationExtensions: s.ValidationExtensions,
    	}
    	props := make(map[string]schema.Structural, len(s.Properties))
    	for k, prop := range s.Properties {
    		props[k] = prop
    	}
    	stringType := schema.Structural{Generic: schema.Generic{Type: "string"}}
    	props["kind"] = stringType
    	props["apiVersion"] = stringType
    	props["metadata"] = schema.Structural{
    		Generic: schema.Generic{Type: "object"},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  5. ci/official/containers/linux_arm64/builder.devtoolset/build_devtoolset.sh

    patch -p1 < /gcc9-fixups.patch
    patch -p1 < /stringop_trunc.patch
    cd ../glibc-build
    ../glibc-src/configure --prefix=/usr --disable-werror --enable-obsolete-rpc --disable-profile
    make -j$(nproc)
    make install DESTDIR=${TARGET}
    cd ..
    
    # Symlinks in the binary distribution are set up for installation in /usr, we
    # need to fix up all the links to stay within /${TARGET}.
    /fixlinks.sh "/${TARGET}"
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Sep 29 00:26:34 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  6. subprojects/core/src/test/groovy/org/gradle/process/internal/JvmOptionsTest.groovy

            when:
            opts.jvmArgs('-Dprops=a:1\nb:2\nc:3')
    
            then:
            opts.allJvmArgs.contains('-Dprops=a:1\nb:2\nc:3')
            opts.mutableSystemProperties['props'] == 'a:1\nb:2\nc:3'
        }
    
        def "options with Win newlines are parsed correctly"() {
            def opts = createOpts()
            when:
            opts.jvmArgs('-Dprops=a:1\r\nb:2\r\nc:3')
    
            then:
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Oct 05 19:36:14 UTC 2023
    - 10.8K bytes
    - Viewed (0)
  7. src/internal/trace/testdata/fuzz/FuzzReader/invalid-proc-state

    Carlos Amedee <******@****.***> 1715265901 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 221 bytes
    - Viewed (0)
  8. subprojects/core/src/integTest/groovy/org/gradle/api/DynamicObjectIntegrationTest.groovy

                t.props
                t.m1(1,2,3)
                t.p1 = 1
                t.p1 += 1
    
                assert t.methods.size() == 1
                assert t.props.p1 == 2
    
                t {
                    props
                    m1(1,2,3)
                    p1 = 4
                    p1 += 1
                }
    
                assert t.methods.size() == 1
                assert t.props.p1 == 5
            """
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 13:27:33 UTC 2024
    - 32.7K bytes
    - Viewed (0)
  9. maven-core/src/main/java/org/apache/maven/properties/internal/EnvironmentUtils.java

         * variable lookup.
         *
         * @param props The properties to add the environment variables to, may be {@code null}.
         */
        public static void addEnvVars(Properties props) {
            if (props != null) {
                if (envVars == null) {
                    Properties tmp = new Properties();
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Fri Sep 22 06:01:36 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  10. src/cmd/trace/jsontrace_test.go

    	procStarted := map[uint64]bool{}
    	for _, e := range data.Events {
    		if e.Name == "proc start" {
    			if procStarted[e.TID] == true {
    				t.Errorf("proc started twice: %d", e.TID)
    			}
    			procStarted[e.TID] = true
    		}
    		if e.Name == "proc stop" {
    			if procStarted[e.TID] == false {
    				t.Errorf("proc stopped twice: %d", e.TID)
    			}
    			procStarted[e.TID] = false
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:48:18 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top