Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 216 for yield (0.05 sec)

  1. src/cmd/compile/internal/syntax/parser.go

    	}
    
    	return f
    }
    
    // EmbeddedElem = MethodSpec | EmbeddedTerm { "|" EmbeddedTerm } .
    func (p *parser) embeddedElem(f *Field) *Field {
    	if trace {
    		defer p.trace("embeddedElem")()
    	}
    
    	if f == nil {
    		f = new(Field)
    		f.pos = p.pos()
    		f.Type = p.embeddedTerm()
    	}
    
    	for p.tok == _Operator && p.op == Or {
    		t := new(Operation)
    		t.pos = p.pos()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  2. src/encoding/json/decode_test.go

    	{CaseName: Name(""), in: `{"Y": 1, "Z": 2}`, ptr: new(T), err: fmt.Errorf("json: unknown field \"Z\""), disallowUnknownFields: true},
    
    	{CaseName: Name(""), in: `{"alpha": "abc", "alphabet": "xyz"}`, ptr: new(U), out: U{Alphabet: "abc"}},
    	{CaseName: Name(""), in: `{"alpha": "abc", "alphabet": "xyz"}`, ptr: new(U), err: fmt.Errorf("json: unknown field \"alphabet\""), disallowUnknownFields: true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 11 16:40:14 UTC 2024
    - 67.6K bytes
    - Viewed (0)
  3. src/crypto/x509/x509.go

    // policy OIDs. By default, only the PolicyIdentifier is marshaled, but if the
    // GODEBUG setting "x509usepolicies" has the value "1", the Policies field will
    // be marshaled instead of the PolicyIdentifier field. The Policies field can
    // be used to marshal policy OIDs which have components that are larger than 31
    // bits.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 09:20:15 UTC 2024
    - 82K bytes
    - Viewed (0)
  4. src/html/template/exec_test.go

    	{"empty with struct", "{{.Empty4}}", "{UinEmpty}", tVal, true},
    	{"empty with struct, field", "{{.Empty4.V}}", "UinEmpty", tVal, true},
    
    	// Edge cases with <no value> with an interface value
    	{"field on interface", "{{.foo}}", "", nil, true},                  // NOTE: <no value> in text/template
    	{"field on parenthesized interface", "{{(.).foo}}", "", nil, true}, // NOTE: <no value> in text/template
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Feb 24 21:59:12 UTC 2024
    - 57.6K bytes
    - Viewed (0)
  5. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/cel/compilation_test.go

    							Rule: "self.if == 10",
    						},
    						{
    							Rule: "self == 10",
    						},
    					},
    				},
    			},
    			expectedResults: []validationMatcher{
    				invalidError("undefined field 'namespace'"),
    				invalidError("undefined field 'if'"),
    				invalidError("found no matching overload"),
    			},
    		},
    		{
    			name: "transition rule identified",
    			input: schema.Structural{
    				Generic: schema.Generic{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu May 16 20:13:14 UTC 2024
    - 51.5K bytes
    - Viewed (0)
  6. src/text/template/exec_test.go

    	{"empty with struct", "{{.Empty4}}", "{UinEmpty}", tVal, true},
    	{"empty with struct, field", "{{.Empty4.V}}", "UinEmpty", tVal, true},
    
    	// Edge cases with <no value> with an interface value
    	{"field on interface", "{{.foo}}", "<no value>", nil, true},
    	{"field on parenthesized interface", "{{(.).foo}}", "<no value>", nil, true},
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 24 22:23:55 UTC 2024
    - 60.1K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/instantiation/generator/AbstractClassGenerator.java

            }
            return true;
        }
    
        private boolean isSyntheticMetaClassField(Field field) {
            return field.isSynthetic() && field.getType() == MetaClass.class;
        }
    
        private void assembleProperties(ClassDetails classDetails, ClassMetadata classMetaData) {
            for (PropertyDetails property : classDetails.getProperties()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:37 UTC 2024
    - 63K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiserver/pkg/storage/cacher/cacher.go

    		scope.name = requestInfo.Name
    	} else if selectorName, ok := pred.Field.RequiresExactMatch("metadata.name"); ok {
    		scope.name = selectorName
    	}
    
    	triggerValue, triggerSupported := "", false
    	if c.indexedTrigger != nil {
    		for _, field := range pred.IndexFields {
    			if field == c.indexedTrigger.indexName {
    				if value, ok := pred.Field.RequiresExactMatch(field); ok {
    					triggerValue, triggerSupported = value, true
    					break
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Jun 12 10:12:02 UTC 2024
    - 51.8K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/types2/api_test.go

    		"A{}.B":    {"field (main.A) B *main.B", ".[0]"},
    		"new(A).B": {"field (*main.A) B *main.B", "->[0]"},
    		"A{}.C":    {"field (main.A) C main.C", ".[1]"},
    		"new(A).C": {"field (*main.A) C main.C", "->[1]"},
    		"A{}.b":    {"field (main.A) b int", "->[0 0]"},
    		"new(A).b": {"field (*main.A) b int", "->[0 0]"},
    		"A{}.c":    {"field (main.A) c int", ".[1 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)
  10. src/go/types/api_test.go

    		"A{}.B":    {"field (main.A) B *main.B", ".[0]"},
    		"new(A).B": {"field (*main.A) B *main.B", "->[0]"},
    		"A{}.C":    {"field (main.A) C main.C", ".[1]"},
    		"new(A).C": {"field (*main.A) C main.C", "->[1]"},
    		"A{}.b":    {"field (main.A) b int", "->[0 0]"},
    		"new(A).b": {"field (*main.A) b int", "->[0 0]"},
    		"A{}.c":    {"field (main.A) c int", ".[1 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)
Back to top