Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 804 for Field6 (0.13 sec)

  1. test/escape_field.go

    // BAD: we are not leaking param x, only x.p2
    func field6(x *X) { // ERROR "leaking param content: x$"
    	sink = x.p2
    }
    
    func field6a() {
    	i := 0 // ERROR "moved to heap: i$"
    	var x X
    	// BAD: &i should not escape
    	x.p1 = &i
    	field6(&x)
    }
    
    func field7() {
    	i := 0
    	var y Y
    	y.x.p1 = &i
    	x := y.x
    	var y1 Y
    	y1.x = x
    	_ = y1.x.p1
    }
    
    func field8() {
    	i := 0 // ERROR "moved to heap: i$"
    	var y Y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 12 08:31:49 UTC 2020
    - 2.9K bytes
    - Viewed (0)
  2. schema/index_test.go

    			Class: "UNIQUE",
    			Fields: []schema.IndexOption{
    				{Field: &schema.Field{Name: "FieldD"}},
    				// Note: Duplicate Columns
    				{Field: &schema.Field{Name: "FieldD"}},
    			},
    		},
    		"uniq_field_e1_e2": {
    			Name:  "uniq_field_e1_e2",
    			Class: "UNIQUE",
    			Fields: []schema.IndexOption{
    				{Field: &schema.Field{Name: "FieldE1"}},
    				{Field: &schema.Field{Name: "FieldE2"}},
    			},
    		},
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Sun Feb 04 07:49:19 UTC 2024
    - 8K bytes
    - Viewed (0)
  3. hack/testdata/CRD/foo-updated-subfield.yaml

    kind: Foo
    apiVersion: company.com/v1
    metadata:
      name: test
      labels:
        pruneGroup: "true"
    someField: field1
    otherField: field2
    nestedField:
      someSubfield: modifiedSubfield
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 01 15:43:24 UTC 2017
    - 203 bytes
    - Viewed (0)
  4. hack/testdata/CRD/foo.yaml

    kind: Foo
    apiVersion: company.com/v1
    metadata:
      name: test
      labels:
        pruneGroup: "true"
    someField: field1
    otherField: field2
    nestedField:
      someSubfield: subfield1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 01 15:43:24 UTC 2017
    - 196 bytes
    - Viewed (0)
  5. hack/testdata/CRD/foo-2.yaml

    kind: Foo
    apiVersion: company.com/v1
    metadata:
      name: second-instance
      namespace: default
      labels:
        pruneGroup: "true"
    someField: field1
    otherField: field2
    nestedField:
      someSubfield: subfield1
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Apr 26 17:04:19 UTC 2021
    - 228 bytes
    - Viewed (0)
  6. staging/src/k8s.io/apimachinery/pkg/fields/fields.go

    limitations under the License.
    */
    
    package fields
    
    import (
    	"sort"
    	"strings"
    )
    
    // Fields allows you to present fields independently from their storage.
    type Fields interface {
    	// Has returns whether the provided field exists.
    	Has(field string) (exists bool)
    
    	// Get returns the value for the provided field.
    	Get(field string) (value string)
    }
    
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Jan 19 14:50:16 UTC 2017
    - 1.7K bytes
    - Viewed (0)
  7. pkg/test/echo/fields.go

    	MethodField           Field = "Method"
    	ProtocolField         Field = "Proto"
    	AlpnField             Field = "Alpn"
    	RequestHeaderField    Field = "RequestHeader"
    	ResponseHeaderField   Field = "ResponseHeader"
    	ClusterField          Field = "Cluster"
    	IstioVersionField     Field = "IstioVersion"
    	IPField               Field = "IP" // The Requester’s IP Address.
    	LatencyField          Field = "Latency"
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 16:20:31 UTC 2023
    - 2.9K bytes
    - Viewed (0)
  8. staging/src/k8s.io/apiextensions-apiserver/pkg/apiserver/schema/defaulting/validation_test.go

    								"field1": {
    									Type: "integer",
    								},
    								"field2": {
    									Type: "integer",
    								},
    							},
    							XValidations: apiextensions.ValidationRules{
    								{
    									Rule: "self.field1 < self.field2",
    								},
    							},
    							Default: jsonPtr(map[string]interface{}{"field1": 1, "field2": 2}),
    						},
    					},
    				},
    			},
    		},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Apr 24 18:25:29 UTC 2024
    - 7.2K bytes
    - Viewed (0)
  9. hack/testdata/CRD/multi-crd-list-updated-field.yaml

      metadata:
        name: test-list
        labels:
          pruneGroup: "true"
      someField: modifiedField
      otherField: field2
    - kind: Bar
      apiVersion: company.com/v1
      metadata:
        name: test-list
        labels:
          pruneGroup: "true"
      someField: modifiedField
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Sun Oct 01 15:43:24 UTC 2017
    - 349 bytes
    - Viewed (0)
  10. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/fields.go

    )
    
    // EmptyFields represents a set with no paths
    // It looks like metav1.Fields{Raw: []byte("{}")}
    var EmptyFields = func() metav1.FieldsV1 {
    	f, err := SetToFields(*fieldpath.NewSet())
    	if err != nil {
    		panic("should never happen")
    	}
    	return f
    }()
    
    // FieldsToSet creates a set paths from an input trie of fields
    func FieldsToSet(f metav1.FieldsV1) (s fieldpath.Set, err error) {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 1.3K bytes
    - Viewed (0)
Back to top