Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 103 for runUse (0.12 sec)

  1. subprojects/core/src/test/groovy/org/gradle/execution/plan/DefaultExecutionPlanParallelTest.groovy

            if (value == null) {
                return []
            } else if (value instanceof Node) {
                return [value]
            } else {
                return value
            }
        }
    
        def "runs finalizer and its dependencies after finalized task"() {
            given:
            Task dep = task("dep", type: Async)
            Task finalizerDep1 = task("finalizerDep1", type: Async)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 05 22:18:26 UTC 2024
    - 93.5K bytes
    - Viewed (0)
  2. pkg/scheduler/framework/runtime/framework.go

    		panic("No QueueSort plugin is registered in the frameworkImpl.")
    	}
    
    	// Only one QueueSort plugin can be enabled.
    	return f.queueSortPlugins[0].Less
    }
    
    // RunPreFilterPlugins runs the set of configured PreFilter plugins. It returns
    // *Status and its code is set to non-success if any of the plugins returns
    // anything but Success/Skip.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 17 09:07:27 UTC 2024
    - 60.9K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/api_test.go

    		{`package c1b; var _ = int(0)`, `int(0)`, `int`, `0`},
    		{`package c1c; type T int; var _ = T(0)`, `T(0)`, `c1c.T`, `0`},
    
    		{`package c2a; var _ = rune('A')`, `'A'`, `rune`, `65`},
    		{`package c2b; var _ = rune('A')`, `rune('A')`, `rune`, `65`},
    		{`package c2c; type T rune; var _ = T('A')`, `T('A')`, `c2c.T`, `65`},
    
    		{`package c3a; var _ = float32(0.)`, `0.`, `float32`, `0`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 20:08:23 UTC 2024
    - 93.3K bytes
    - Viewed (0)
  4. src/go/build/build.go

    	var args []string
    	arg := make([]rune, len(s))
    	escaped := false
    	quoted := false
    	quote := '\x00'
    	i := 0
    	for _, rune := range s {
    		switch {
    		case escaped:
    			escaped = false
    		case rune == '\\':
    			escaped = true
    			continue
    		case quote != '\x00':
    			if rune == quote {
    				quote = '\x00'
    				continue
    			}
    		case rune == '"' || rune == '\'':
    			quoted = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 16:25:21 UTC 2024
    - 62.3K bytes
    - Viewed (0)
  5. src/go/types/api_test.go

    		{`package c1b; var _ = int(0)`, `int(0)`, `int`, `0`},
    		{`package c1c; type T int; var _ = T(0)`, `T(0)`, `c1c.T`, `0`},
    
    		{`package c2a; var _ = rune('A')`, `'A'`, `rune`, `65`},
    		{`package c2b; var _ = rune('A')`, `rune('A')`, `rune`, `65`},
    		{`package c2c; type T rune; var _ = T('A')`, `T('A')`, `c2c.T`, `65`},
    
    		{`package c3a; var _ = float32(0.)`, `0.`, `float32`, `0`},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 94.2K bytes
    - Viewed (0)
  6. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/MapPropertySpec.groovy

            where:
            method << ["get", "finalizeValue", "isPresent"]
        }
    
        Property<String> valueProperty() {
            return new DefaultProperty<String>(host, String)
        }
    
        def "runs side effect when calling '#getter' on property to which providers were added via 'put'"() {
            def sideEffect1 = Mock(ValueSupplier.SideEffect)
            def sideEffect2 = Mock(ValueSupplier.SideEffect)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 58.7K bytes
    - Viewed (0)
  7. src/cmd/dist/test.go

    	isRegisterTestOpt()
    }
    
    // rtSkipFunc is a registerTest option that runs a skip check function before
    // running the test.
    type rtSkipFunc struct {
    	skip func(*distTest) (string, bool) // Return message, true to skip the test
    }
    
    func (rtSkipFunc) isRegisterTestOpt() {}
    
    // registerTest registers a test that runs the given goTest.
    //
    // Each Go package in goTest will have a corresponding test
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/endpoints/installer.go

    		return fmt.Sprintf("%v", padding)
    	}
    
    	article := "a"
    	if isVowel(rune(noun[0])) {
    		article = "an"
    	}
    
    	return fmt.Sprintf("%s%s%s", padding, article, padding)
    }
    
    // isVowel returns true if the rune is a vowel (case insensitive).
    func isVowel(c rune) bool {
    	vowels := []rune{'a', 'e', 'i', 'o', 'u'}
    	for _, value := range vowels {
    		if value == unicode.ToLower(c) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Mar 01 18:15:22 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  9. platforms/core-configuration/model-core/src/test/groovy/org/gradle/api/internal/provider/CollectionPropertySpec.groovy

            where:
            method << ["get", "finalizeValue", "isPresent"]
        }
    
        Property<String> elementProperty() {
            return new DefaultProperty<String>(host, String)
        }
    
        def "runs side effect when calling '#getter' on property to which providers were added via 'add'"() {
            def sideEffect1 = Mock(ValueSupplier.SideEffect)
            def sideEffect2 = Mock(ValueSupplier.SideEffect)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 17 11:41:55 UTC 2024
    - 49.7K bytes
    - Viewed (0)
  10. src/runtime/pprof/pprof_test.go

    					i+1, j, n, max)
    				t.Logf("counts %v", counts)
    				break
    			}
    		}
    	}
    
    	runs := 100
    	if testing.Short() {
    		runs = 5
    	}
    	for i := 0; i < runs; i++ {
    		// Run multiple times to shake out data races
    		t.Run("goroutine launches", testLaunches)
    	}
    }
    
    func BenchmarkGoroutine(b *testing.B) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 18:42:28 UTC 2024
    - 68.8K bytes
    - Viewed (0)
Back to top