Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 128 for type (0.96 sec)

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

    //
    // It also stores pointers to several special types:
    //   - Types[TANY] is the placeholder "any" type recognized by SubstArgTypes.
    //   - Types[TBLANK] represents the blank variable's type.
    //   - Types[TINTER] is the canonical "interface{}" type.
    //   - Types[TNIL] represents the predeclared "nil" value's type.
    //   - Types[TUNSAFEPTR] is package unsafe's Pointer type.
    var Types [NTYPE]*Type
    
    var (
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/syntax/parser.go

    		var typ Expr   // current type (from right to left)
    		for i := len(list) - 1; i >= 0; i-- {
    			par := list[i]
    			if par.Type != nil {
    				typ = par.Type
    				if par.Name == nil {
    					errPos = StartPos(typ)
    					par.Name = NewName(errPos, "_")
    				}
    			} else if typ != nil {
    				par.Type = typ
    			} else {
    				// par.Type == nil && typ == nil => we only have a par.Name
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  3. src/cmd/cgo/out.go

    func (p *Package) writeDefsFunc(fgo2 io.Writer, n *Name, callsMalloc *bool) {
    	name := n.Go
    	gtype := n.FuncType.Go
    	void := gtype.Results == nil || len(gtype.Results.List) == 0
    	if n.AddError {
    		// Add "error" to return type list.
    		// Type list is known to be 0 or 1 element - it's a C function.
    		err := &ast.Field{Type: ast.NewIdent("error")}
    		l := gtype.Results.List
    		if len(l) == 0 {
    			l = []*ast.Field{err}
    		} else {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 29 16:41:10 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/cmd/cgo/gcc.go

    		}
    	}
    }
    
    // Type returns a *Type with the same memory layout as
    // dtype when used as the type of a variable or a struct field.
    func (c *typeConv) Type(dtype dwarf.Type, pos token.Pos) *Type {
    	return c.loadType(dtype, pos, "")
    }
    
    // loadType recursively loads the requested dtype and its dependency graph.
    func (c *typeConv) loadType(dtype dwarf.Type, pos token.Pos, parent string) *Type {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/reflect/TypeToken.java

        return new SimpleTypeToken<>(type);
      }
    
      /** Returns an instance of type token that wraps {@code type}. */
      public static TypeToken<?> of(Type type) {
        return new SimpleTypeToken<>(type);
      }
    
      /**
       * Returns the raw type of {@code T}. Formally speaking, if {@code T} is returned by {@link
       * java.lang.reflect.Method#getGenericReturnType}, the raw type is what's returned by {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/types2/expr.go

    and assigns it it's final type, that type must be an integer type, and a
    constant lhs must be representable as an integer.
    
    When an expression gets its final type, either on the way out from rawExpr,
    on the way down in updateExprType, or at the end of the type checker run,
    the type (and constant value, if any) is recorded via Info.Types, if present.
    */
    
    type opPredicates map[syntax.Operator]func(Type) bool
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 02:09:54 UTC 2024
    - 51.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/reflect/TypeToken.java

        return new SimpleTypeToken<>(type);
      }
    
      /** Returns an instance of type token that wraps {@code type}. */
      public static TypeToken<?> of(Type type) {
        return new SimpleTypeToken<>(type);
      }
    
      /**
       * Returns the raw type of {@code T}. Formally speaking, if {@code T} is returned by {@link
       * java.lang.reflect.Method#getGenericReturnType}, the raw type is what's returned by {@link
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jun 26 21:02:13 UTC 2023
    - 53.6K bytes
    - Viewed (0)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/manage/schema/extract/ManagedProxyClassGenerator.java

        private static final Type OBJECT_TYPE = Type.getType(Object.class);
        private static final Type STRING_TYPE = Type.getType(String.class);
        private static final Type CLASS_TYPE = Type.getType(Class.class);
        private static final Type CLOSURE_TYPE = Type.getType(Closure.class);
        private static final Type TYPE_CONVERTER_TYPE = Type.getType(TypeConverter.class);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Dec 11 13:37:56 UTC 2023
    - 55.3K bytes
    - Viewed (0)
  9. src/cmd/compile/internal/ppc64/ssa.go

    		p.To.Offset = -1
    
    		pbahead := s.Prog(ppc64.ABEQ)
    		pbahead.To.Type = obj.TYPE_BRANCH
    
    		p = s.Prog(v.Op.Asm())
    		p.From.Type = obj.TYPE_REG
    		p.From.Reg = r1
    		p.Reg = r0
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = r
    
    		pbover := s.Prog(obj.AJMP)
    		pbover.To.Type = obj.TYPE_BRANCH
    
    		p = s.Prog(ppc64.ANEG)
    		p.To.Type = obj.TYPE_REG
    		p.To.Reg = r
    		p.From.Type = obj.TYPE_REG
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:59:38 UTC 2024
    - 55.4K bytes
    - Viewed (0)
  10. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/service/DefaultServiceRegistry.java

                public ClassDetails(Class<?> type) {
                    collectTypes(type, types);
                }
    
                private void collectTypes(@Nullable Class<?> type, Set<Class<?>> types) {
                    if (type == null || !types.add(type)) {
                        return;
                    }
                    collectTypes(type.getSuperclass(), types);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 53.3K bytes
    - Viewed (0)
Back to top