Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 49 for runN (0.15 sec)

  1. src/runtime/proc.go

    	for !q.empty() && t-h < uint32(len(pp.runq)) {
    		gp := q.pop()
    		pp.runq[t%uint32(len(pp.runq))].set(gp)
    		t++
    		n++
    	}
    	qsize -= int(n)
    
    	if randomizeScheduler {
    		off := func(o uint32) uint32 {
    			return (pp.runqtail + o) % uint32(len(pp.runq))
    		}
    		for i := uint32(1); i < n; i++ {
    			j := cheaprandn(i + 1)
    			pp.runq[off(i)], pp.runq[off(j)] = pp.runq[off(j)], pp.runq[off(i)]
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 207.5K bytes
    - Viewed (0)
  2. src/reflect/value.go

    func cvtIntString(v Value, t Type) Value {
    	s := "\uFFFD"
    	if x := v.Int(); int64(rune(x)) == x {
    		s = string(rune(x))
    	}
    	return makeString(v.flag.ro(), s, t)
    }
    
    // convertOp: uintXX -> string
    func cvtUintString(v Value, t Type) Value {
    	s := "\uFFFD"
    	if x := v.Uint(); uint64(rune(x)) == x {
    		s = string(rune(x))
    	}
    	return makeString(v.flag.ro(), s, t)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. src/cmd/go/internal/work/exec.go

    				b.cacheObjdirFile(a, cache.Default(), ba.covMetaFileName)
    			}
    		}
    	}
    
    	// Run SWIG on each .swig and .swigcxx file.
    	// Each run will generate two files, a .go file and a .c or .cxx file.
    	// The .go file will use import "C" and is to be processed by cgo.
    	// For -cover test or build runs, this needs to happen after the cover
    	// tool is run; we don't want to instrument swig-generated Go files,
    	// see issue #64661.
    	if p.UsesSwig() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jun 10 14:46:37 UTC 2024
    - 105.6K bytes
    - Viewed (0)
  4. src/net/http/serve_test.go

    	const chunkedMode = true
    	run(t, func(t *testing.T, mode testMode) {
    		t.Run("identity", func(t *testing.T) { testHeadBody(t, mode, identityMode, "HEAD") })
    		t.Run("chunked", func(t *testing.T) { testHeadBody(t, mode, chunkedMode, "HEAD") })
    	})
    }
    
    func TestGetBody(t *testing.T) {
    	const identityMode = false
    	const chunkedMode = true
    	run(t, func(t *testing.T, mode testMode) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 17:57:01 UTC 2024
    - 202K bytes
    - Viewed (0)
  5. src/net/http/transport_test.go

    func runCancelTest(t *testing.T, f func(t *testing.T, test cancelTest), opts ...any) {
    	run(t, func(t *testing.T, mode testMode) {
    		if mode == http1Mode {
    			t.Run("TransportCancel", func(t *testing.T) {
    				runCancelTestTransport(t, mode, f)
    			})
    		}
    		t.Run("RequestCancel", func(t *testing.T) {
    			runCancelTestChannel(t, mode, f)
    		})
    		t.Run("ContextCancel", func(t *testing.T) {
    			runCancelTestContext(t, mode, f)
    		})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jun 06 21:59:21 UTC 2024
    - 192.6K bytes
    - Viewed (0)
  6. platforms/software/dependency-management/src/integTest/groovy/org/gradle/integtests/resolve/transform/ArtifactTransformCachingIntegrationTest.groovy

                    }
                }
            """
    
            when:
            run(":app:toBeFinalized", "withDependency")
    
            def lib1Message = "Transforming lib1.jar with MakeGreen"
            def lib2Message = "Transforming lib2.jar with MakeGreen"
    
            then:
            if (!GradleContextualExecuter.configCache) {
                // Only runs once, as the transform execution in-memory cache is not discarded prior to execution time
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 11:52:44 UTC 2024
    - 97.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              @Override
              public void run() {}
            };
        final Runnable finishSuccess =
            new Runnable() {
              @Override
              public void run() {
                delayedSuccess.set("b");
              }
            };
        final Runnable finishFailure =
            new Runnable() {
              @Override
              public void run() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/FuturesTest.java

              @Override
              public void run() {}
            };
        final Runnable finishSuccess =
            new Runnable() {
              @Override
              public void run() {
                delayedSuccess.set("b");
              }
            };
        final Runnable finishFailure =
            new Runnable() {
              @Override
              public void run() {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 144.1K bytes
    - Viewed (0)
  9. src/reflect/all_test.go

    	{V([]byte("bytes3")), V([]byte("bytes3"))},
    	{V(MyString("runesโ™")), V([]rune("runesโ™"))},
    	{V([]rune("runesโ™•")), V(MyString("runesโ™•"))},
    	{V([]rune("runes๐Ÿ™ˆ๐Ÿ™‰๐Ÿ™Š")), V([]rune("runes๐Ÿ™ˆ๐Ÿ™‰๐Ÿ™Š"))},
    	{V([]rune("runes๐Ÿ™ˆ๐Ÿ™‰๐Ÿ™Š")), V(MyRunes("runes๐Ÿ™ˆ๐Ÿ™‰๐Ÿ™Š"))},
    	{V(MyRunes("runes๐Ÿ™ˆ๐Ÿ™‰๐Ÿ™Š")), V([]rune("runes๐Ÿ™ˆ๐Ÿ™‰๐Ÿ™Š"))},
    	{V(int('a')), V(MyString("a"))},
    	{V(int8('a')), V(MyString("a"))},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/validation_test.go

    			schema: schemas(integerType),
    			valid: []string{
    				"self.val1 > 0",
    			}},
    	}
    	for _, tt := range tests {
    		t.Run(tt.name, func(t *testing.T) {
    			ctx := context.TODO()
    			for j := range tt.valid {
    				validRule := tt.valid[j]
    				t.Run(validRule, func(t *testing.T) {
    					t.Parallel()
    					s := withRule(*tt.schema, validRule)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue Jun 04 17:14:10 UTC 2024
    - 159.9K bytes
    - Viewed (0)
Back to top