Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 114 for T_simple (0.14 sec)

  1. src/html/template/exec_test.go

    	return &n
    }
    
    func newString(s string) *string {
    	return &s
    }
    
    func newIntSlice(n ...int) *[]int {
    	p := new([]int)
    	*p = make([]int, len(n))
    	copy(*p, n)
    	return p
    }
    
    // Simple methods with and without arguments.
    func (t *T) Method0() string {
    	return "M0"
    }
    
    func (t *T) Method1(a int) int {
    	return a
    }
    
    func (t *T) Method2(a uint16, b string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  2. platforms/documentation/docs/src/docs/userguide/api/kotlin_dsl.adoc

    [source,text]
    ----
    ❯ ./gradlew help --task test
    ...
    Type
         Test (org.gradle.api.tasks.testing.Test)
    ----
    
    Note that the IDE can assist you with the required imports, so you only need the simple names of the types, i.e. without the package name part.
    In this case, there's no need to import the `Test` task type as it is part of the Gradle API and is therefore <<kotlin_dsl#sec:implicit_imports,imported implicitly>>.
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 22 20:16:10 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  3. src/regexp/syntax/parse.go

    	PerlX                           // allow Perl extensions
    	UnicodeGroups                   // allow \p{Han}, \P{Han} for Unicode group and negation
    	WasDollar                       // regexp OpEndText was $, not \z
    	Simple                          // regexp contains no counted repetition
    
    	MatchNL = ClassNL | DotNL
    
    	Perl        = ClassNL | OneLine | PerlX | UnicodeGroups // as close to Perl as possible
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 13:59:01 UTC 2024
    - 52.1K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apiextensions-apiserver/test/integration/ratcheting_test.go

    				return false, errors.New("expected error when creating sentinel resource")
    			}
    
    			// Check to see if the returned error message contains our
    			// unique string. UUID should be unique enough to just check
    			// simple existence in the error.
    			if strings.Contains(err.Error(), uuidString) {
    				return true, nil
    			}
    
    			return false, nil
    		})
    	}
    	return err
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Tue May 28 08:48:22 UTC 2024
    - 59.5K bytes
    - Viewed (0)
  5. src/text/template/exec_test.go

    	return &n
    }
    
    func newString(s string) *string {
    	return &s
    }
    
    func newIntSlice(n ...int) *[]int {
    	p := new([]int)
    	*p = make([]int, len(n))
    	copy(*p, n)
    	return p
    }
    
    // Simple methods with and without arguments.
    func (t *T) Method0() string {
    	return "M0"
    }
    
    func (t *T) Method1(a int) int {
    	return a
    }
    
    func (t *T) Method2(a uint16, b string) string {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  6. src/cmd/go/internal/modget/get.go

    //
    // Note: we're only doing very simple disambiguation here. The goal is to
    // reproduce the user's intent, not to find a solution that a human couldn't.
    // In the vast majority of cases, we expect only one module per pathSet,
    // but we want to give some minimal additional tools so that users can add an
    // extra argument or two on the command line to resolve simple ambiguities.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 18:26:32 UTC 2024
    - 66.5K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/g3doc/_includes/tf_passes.md

    are only kept in the context rather than the ops folded/IR mutated.
    
    #### Options
    ```
    -max-iterations : Maximum shape inference iterations
    ```
    ### `-tf-simple-device-assignment`
    
    _Simple device assignment in TF dialect._
    
    Assigns the default device to all ops that have an empty (or
    nonexistent) device attribute.
    
    For example, if we have the code
    
    ```mlir
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Wed Aug 02 02:26:39 UTC 2023
    - 96.4K bytes
    - Viewed (0)
  8. src/cmd/dist/test.go

    func (t *tester) addTest(name, heading string, fn func(*distTest) error) {
    	if t.testNames[name] {
    		panic("duplicate registered test name " + name)
    	}
    	if heading == "" {
    		panic("empty heading")
    	}
    	// Two simple checks for cases that would conflict with the fast path in registerTests.
    	if !strings.Contains(name, ":") && heading != "Testing packages." {
    		panic("empty variant is reserved exclusively for registerStdTest")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 16:01:35 UTC 2024
    - 50K bytes
    - Viewed (0)
  9. pkg/registry/core/pod/strategy_test.go

    	tcs := []struct {
    		name              string
    		in                *api.Pod
    		opts              *api.PodLogOptions
    		expectedErr       error
    		expectedTransport http.RoundTripper
    	}{
    		{
    			name: "simple",
    			in: &api.Pod{
    				ObjectMeta: metav1.ObjectMeta{Name: fakePodName},
    				Spec: api.PodSpec{
    					Containers: []api.Container{
    						{Name: "mycontainer"},
    					},
    					NodeName: "foo",
    				},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 76.2K bytes
    - Viewed (0)
  10. src/cmd/compile/internal/ssa/prove.go

    			// should be rewritten to:
    			//	for i := 5; 0 < i; i-- {
    			continue
    		}
    
    		if end.Block == ind.Block {
    			// we can't rewrite loops where the condition depends on the loop body
    			// this simple check is forced to work because if this is true a Phi in ind.Block must exists
    			continue
    		}
    
    		check := ind.Block.Controls[0]
    		// invert the check
    		check.Args[0], check.Args[1] = check.Args[1], check.Args[0]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 04 17:30:21 UTC 2024
    - 48.9K bytes
    - Viewed (0)
Back to top