Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 134 for mytype (0.14 sec)

  1. src/cmd/compile/internal/typecheck/mkbuiltin.go

    	fmt.Fprintln(w, "}")
    }
    
    // typeInterner maps Go type expressions to compiler code that
    // constructs the denoted type. It recognizes and reuses common
    // subtype expressions.
    type typeInterner struct {
    	typs []string
    	hash map[string]int
    }
    
    func (i *typeInterner) intern(t ast.Expr) int {
    	x := i.mktype(t)
    	v, ok := i.hash[x]
    	if !ok {
    		v = len(i.typs)
    		if i.hash == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/Type.java

        /**
         * Returns the dependency type id.
         * The id uniquely identifies this <i>dependency type</i>.
         *
         * @return the id of this type, never {@code null}.
         */
        @Nonnull
        String id();
    
        /**
         * Returns the dependency type language.
         *
         * @return the language of this type, never {@code null}.
         */
        @Nonnull
        Language getLanguage();
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Mon May 13 09:53:45 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  3. 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)
  4. 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)
  5. src/cmd/compile/internal/ir/type.go

    func TypeNode(t *types.Type) Node {
    	if n := t.Obj(); n != nil {
    		if n.Type() != t {
    			base.Fatalf("type skew: %v has type %v, but expected %v", n, n.Type(), t)
    		}
    		return n.(*Name)
    	}
    	return newTypeNode(t)
    }
    
    // A DynamicType represents a type expression whose exact type must be
    // computed dynamically.
    type DynamicType struct {
    	miniExpr
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Aug 20 05:56:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. 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)
  7. src/cmd/compile/internal/types/universe.go

    			CheckSize(typ)
    		}
    		return typ
    	}
    
    	for _, s := range &basicTypes {
    		Types[s.etype] = defBasic(s.etype, BuiltinPkg, s.name)
    	}
    
    	for _, s := range &typedefs {
    		sameas := s.sameas32
    		if PtrSize == 8 {
    			sameas = s.sameas64
    		}
    		SimType[s.etype] = sameas
    
    		Types[s.etype] = defBasic(s.etype, BuiltinPkg, s.name)
    	}
    
    	// We create separate byte and rune types for better error messages
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  8. 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)
  9. src/debug/dwarf/type.go

    type UcharType struct {
    	BasicType
    }
    
    // An IntType represents a signed integer type.
    type IntType struct {
    	BasicType
    }
    
    // A UintType represents an unsigned integer type.
    type UintType struct {
    	BasicType
    }
    
    // A FloatType represents a floating point type.
    type FloatType struct {
    	BasicType
    }
    
    // A ComplexType represents a complex floating point type.
    type ComplexType struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 18 19:33:30 UTC 2023
    - 21.9K bytes
    - Viewed (0)
  10. 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)
Back to top