Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 56 for mytype (0.19 sec)

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

    package syntax
    
    import "go/constant"
    
    // A Type represents a type of Go.
    // All types implement the Type interface.
    // (This type originally lived in types2. We moved it here
    // so we could depend on it from other packages without
    // introducing an import cycle.)
    type Type interface {
    	// Underlying returns the underlying type of a type.
    	// Underlying types are never Named, TypeParam, or Alias types.
    	//
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  2. src/internal/reflectlite/type.go

    	}
    	return toType(tt.InSlice()[i])
    }
    
    func (t rtype) Key() Type {
    	tt := t.Type.MapType()
    	if tt == nil {
    		panic("reflect: Key of non-map type")
    	}
    	return toType(tt.Key)
    }
    
    func (t rtype) Len() int {
    	tt := t.Type.ArrayType()
    	if tt == nil {
    		panic("reflect: Len of non-array type")
    	}
    	return int(tt.Len)
    }
    
    func (t rtype) NumField() int {
    	tt := t.Type.StructType()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  3. staging/src/k8s.io/apiserver/pkg/admission/plugin/policy/validating/typechecking.go

    	paramDeclType *apiservercel.DeclType
    
    	variables []v1.Variable
    }
    
    type typeOverwrite struct {
    	object *apiservercel.DeclType
    	params *apiservercel.DeclType
    }
    
    // TypeCheckingResult holds the issues found during type checking, any returned
    // error, and the gvk that the type checking is performed against.
    type TypeCheckingResult struct {
    	// GVK is the associated GVK
    	GVK schema.GroupVersionKind
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 22:07:40 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  4. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/processor/codegen/GradleLazyType.java

            this.type = type;
        }
    
        public Type asType() {
            return type;
        }
    
        public TypeName asTypeName() {
            return TypeUtils.typeName(type);
        }
    
        public static boolean isAnyOf(Type type) {
            for (GradleLazyType gradleType : values()) {
                if (gradleType.type != null && gradleType.type.equals(type)) {
                    return true;
                }
            }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  5. src/internal/abi/type.go

    }
    func (mt *MapType) HashMightPanic() bool { // true if hash function might panic
    	return mt.Flags&16 != 0
    }
    
    func (t *Type) Key() *Type {
    	if t.Kind() == Map {
    		return (*MapType)(unsafe.Pointer(t)).Key
    	}
    	return nil
    }
    
    type SliceType struct {
    	Type
    	Elem *Type // slice element type
    }
    
    // funcType represents a function type.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  6. src/reflect/type.go

    func typeOffFor(t *abi.Type, off aTypeOff) *abi.Type {
    	return toRType(t).typeOff(off)
    }
    
    func (t *interfaceType) typeOff(off aTypeOff) *abi.Type {
    	return toRType(&t.Type).typeOff(off)
    }
    
    func (t *interfaceType) common() *abi.Type {
    	return &t.Type
    }
    
    func (t *interfaceType) uncommon() *abi.UncommonType {
    	return t.Uncommon()
    }
    
    // mapType represents a map type.
    type mapType struct {
    	abi.MapType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  7. src/runtime/type.go

    	return unsafe.Pointer(res)
    }
    
    type uncommontype = abi.UncommonType
    
    type interfacetype = abi.InterfaceType
    
    type maptype = abi.MapType
    
    type arraytype = abi.ArrayType
    
    type chantype = abi.ChanType
    
    type slicetype = abi.SliceType
    
    type functype = abi.FuncType
    
    type ptrtype = abi.PtrType
    
    type name = abi.Name
    
    type structtype = abi.StructType
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:17:26 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  8. src/go/types/type.go

    package types
    
    // A Type represents a type of Go.
    // All types implement the Type interface.
    type Type interface {
    	// Underlying returns the underlying type of a type.
    	// Underlying types are never Named, TypeParam, or Alias types.
    	//
    	// See https://go.dev/ref/spec#Underlying_types.
    	Underlying() Type
    
    	// String returns a string representation of a type.
    	String() string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 20:03:31 UTC 2024
    - 541 bytes
    - Viewed (0)
  9. src/mime/type.go

    		fn()
    	} else {
    		setMimeTypes(builtinTypesLower, builtinTypesLower)
    		osInitMime()
    	}
    }
    
    // TypeByExtension returns the MIME type associated with the file extension ext.
    // The extension ext should begin with a leading dot, as in ".html".
    // When ext has no associated type, TypeByExtension returns "".
    //
    // Extensions are looked up first case-sensitively, then case-insensitively.
    //
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5K bytes
    - Viewed (0)
  10. src/encoding/gob/type.go

    }
    
    func (g *gobEncoderType) string() string { return g.Name }
    
    // Map type
    type mapType struct {
    	CommonType
    	Key  typeId
    	Elem typeId
    }
    
    func newMapType(name string) *mapType {
    	m := &mapType{CommonType{Name: name}, 0, 0}
    	return m
    }
    
    func (m *mapType) init(key, elem gobType) {
    	// Set our type id before evaluating the element's, in case it's our own.
    	setTypeId(m)
    	m.Key = key.id()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top