Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 804 for Field6 (0.11 sec)

  1. src/go/printer/testdata/complit.x

    	V1	= T{
    		F1: "hello",
    		// contains filtered or unexported fields
    	}
    	V2	= T{
    
    		F1: "hello",
    		// contains filtered or unexported fields
    	}
    	V3	= T{
    		F1:	"hello",
    		F2: T2{
    			A: "world",
    			// contains filtered or unexported fields
    		},
    		// contains filtered or unexported fields
    	}
    	V4	= T{
    		// contains filtered or unexported fields
    	}
    
    	// Single-line declarations
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 01 19:53:32 UTC 2018
    - 1.1K bytes
    - Viewed (0)
  2. src/reflect/visiblefields.go

    package reflect
    
    // VisibleFields returns all the visible fields in t, which must be a
    // struct type. A field is defined as visible if it's accessible
    // directly with a FieldByName call. The returned fields include fields
    // inside anonymous struct members and unexported fields. They follow
    // the same order found in the struct, with anonymous fields followed
    // immediately by their promoted fields.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 26 14:24:17 UTC 2021
    - 3K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types2/struct.go

    // if no field has a tag, tags may be nil.
    func NewStruct(fields []*Var, tags []string) *Struct {
    	var fset objset
    	for _, f := range fields {
    		if f.name != "_" && fset.insert(f) != nil {
    			panic("multiple fields with the same name")
    		}
    	}
    	if len(tags) > len(fields) {
    		panic("more tags than fields")
    	}
    	s := &Struct{fields: fields, tags: tags}
    	s.markComplete()
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  4. staging/src/k8s.io/apimachinery/pkg/apis/meta/internalversion/defaults_test.go

    			expectedObj:             ListOptions{LabelSelector: labels.Everything(), FieldSelector: fields.Everything(), Watch: true, ResourceVersionMatch: "m"},
    		},
    		{
    			name:                    "no-op, Watch=false",
    			watchListFeatureEnabled: true,
    			targetObj:               ListOptions{LabelSelector: labels.Everything(), FieldSelector: fields.Everything()},
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 01 10:00:32 UTC 2023
    - 5.5K bytes
    - Viewed (0)
  5. internal/event/target/nsq_test.go

    )
    
    func TestNSQArgs_Validate(t *testing.T) {
    	type fields struct {
    		Enable      bool
    		NSQDAddress xnet.Host
    		Topic       string
    		TLS         struct {
    			Enable     bool
    			SkipVerify bool
    		}
    	}
    	tests := []struct {
    		name    string
    		fields  fields
    		wantErr bool
    	}{
    		{
    			name: "test1_missing_topic",
    			fields: fields{
    				Enable: true,
    				NSQDAddress: xnet.Host{
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  6. staging/src/k8s.io/apiserver/pkg/authorization/cel/compile_test.go

    		if err := compareFieldsForType(t, reflect.TypeOf(v1.ResourceAttributes{}), resourceAttributesDeclType, field, fields); err != nil {
    			t.Error(err)
    			return nil
    		}
    		return resourceAttributesDeclType
    	case reflect.TypeOf(&v1.NonResourceAttributes{}):
    		nonResourceAttributesDeclType := buildNonResourceAttributesType(field, fields)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apimachinery/pkg/util/managedfields/internal/managedfields.go

    type ManagedInterface interface {
    	// Fields gets the fieldpath.ManagedFields.
    	Fields() fieldpath.ManagedFields
    
    	// Times gets the timestamps associated with each operation.
    	Times() map[string]*metav1.Time
    }
    
    type managedStruct struct {
    	fields fieldpath.ManagedFields
    	times  map[string]*metav1.Time
    }
    
    var _ ManagedInterface = &managedStruct{}
    
    // Fields implements ManagedInterface.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Mar 08 21:44:00 UTC 2023
    - 8.1K bytes
    - Viewed (0)
  8. src/go/types/struct.go

    // if no field has a tag, tags may be nil.
    func NewStruct(fields []*Var, tags []string) *Struct {
    	var fset objset
    	for _, f := range fields {
    		if f.name != "_" && fset.insert(f) != nil {
    			panic("multiple fields with the same name")
    		}
    	}
    	if len(tags) > len(fields) {
    		panic("more tags than fields")
    	}
    	s := &Struct{fields: fields, tags: tags}
    	s.markComplete()
    	return s
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  9. src/mime/type_plan9.go

    		return
    	}
    	defer f.Close()
    
    	scanner := bufio.NewScanner(f)
    	for scanner.Scan() {
    		fields := strings.Fields(scanner.Text())
    		if len(fields) <= 2 || fields[0][0] != '.' {
    			continue
    		}
    		if fields[1] == "-" || fields[2] == "-" {
    			continue
    		}
    		setExtensionType(fields[0], fields[1]+"/"+fields[2])
    	}
    	if err := scanner.Err(); err != nil {
    		panic(err)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun May 15 19:56:08 UTC 2016
    - 1K bytes
    - Viewed (0)
  10. staging/src/k8s.io/apiserver/pkg/registry/generic/matcher.go

    import (
    	metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
    	"k8s.io/apimachinery/pkg/fields"
    )
    
    // ObjectMetaFieldsSet returns a fields that represent the ObjectMeta.
    func ObjectMetaFieldsSet(objectMeta *metav1.ObjectMeta, hasNamespaceField bool) fields.Set {
    	if !hasNamespaceField {
    		return fields.Set{
    			"metadata.name": objectMeta.Name,
    		}
    	}
    	return fields.Set{
    		"metadata.name":      objectMeta.Name,
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri Feb 03 06:33:43 UTC 2017
    - 1.6K bytes
    - Viewed (0)
Back to top