Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 96 for ArrayType (0.21 sec)

  1. src/cmd/link/internal/ld/deadcode.go

    		off += arch.PtrSize
    	case abi.Func: // reflect.funcType
    		off += arch.PtrSize // 4 bytes, pointer aligned
    	case abi.Slice: // reflect.sliceType
    		off += arch.PtrSize
    	case abi.Array: // reflect.arrayType
    		off += 3 * arch.PtrSize
    	case abi.Chan: // reflect.chanType
    		off += 2 * arch.PtrSize
    	case abi.Map: // reflect.mapType
    		off += 4*arch.PtrSize + 8
    	case abi.Interface: // reflect.interfaceType
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jun 07 14:52:41 UTC 2024
    - 19K bytes
    - Viewed (0)
  2. src/cmd/fix/typecheck.go

    					switch st := s.Type.(type) {
    					case *ast.StructType:
    						for _, f := range st.Fields.List {
    							for _, n := range f.Names {
    								t.Field[n.Name] = gofmt(f.Type)
    							}
    						}
    					case *ast.ArrayType, *ast.StarExpr, *ast.MapType:
    						t.Def = gofmt(st)
    					}
    				}
    			}
    		}
    	}
    
    	typecheck1(cfg1, f, typeof, assign)
    	return typeof, assign
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 16 22:02:42 UTC 2022
    - 20.1K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/syntax/printer.go

    			p.print(n.X, blank, n.Op, blank, n.Y)
    		}
    
    	case *KeyValueExpr:
    		p.print(n.Key, _Colon, blank, n.Value)
    
    	case *ListExpr:
    		p.printExprList(n.ElemList)
    
    	case *ArrayType:
    		var len interface{} = _DotDotDot
    		if n.Len != nil {
    			len = n.Len
    		}
    		p.print(_Lbrack, len, _Rbrack, n.Elem)
    
    	case *SliceType:
    		p.print(_Lbrack, _Rbrack, n.Elem)
    
    	case *DotsType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  4. src/runtime/cgocall.go

    	if !t.Pointers() || p == nil {
    		// If the type has no pointers there is nothing to do.
    		return
    	}
    
    	switch t.Kind_ & abi.KindMask {
    	default:
    		throw("can't happen")
    	case abi.Array:
    		at := (*arraytype)(unsafe.Pointer(t))
    		if !indir {
    			if at.Len != 1 {
    				throw("can't happen")
    			}
    			cgoCheckArg(at.Elem, p, at.Elem.Kind_&abi.KindDirectIface == 0, top, msg)
    			return
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertFalse(
            from.getType() + " shouldn't be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
      private static void assertHasArrayInterfaces(TypeToken<?> arrayType) {
        assertEquals(arrayInterfaces(), ImmutableSet.copyOf(arrayType.getGenericInterfaces()));
      }
    
      private static ImmutableSet<TypeToken<?>> arrayInterfaces() {
        ImmutableSet.Builder<TypeToken<?>> builder = ImmutableSet.builder();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        assertFalse(
            from.getType() + " shouldn't be a subtype of " + to.getType(), from.isSubtypeOf(to));
      }
    
      private static void assertHasArrayInterfaces(TypeToken<?> arrayType) {
        assertEquals(arrayInterfaces(), ImmutableSet.copyOf(arrayType.getGenericInterfaces()));
      }
    
      private static ImmutableSet<TypeToken<?>> arrayInterfaces() {
        ImmutableSet.Builder<TypeToken<?>> builder = ImmutableSet.builder();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 88.7K bytes
    - Viewed (0)
  7. src/cmd/vendor/golang.org/x/tools/internal/stdlib/manifest.go

    		{"(Tag).GoString", Method, 0},
    		{"(Tag).String", Method, 0},
    		{"AddrType", Type, 0},
    		{"AddrType.BasicType", Field, 0},
    		{"ArrayType", Type, 0},
    		{"ArrayType.CommonType", Field, 0},
    		{"ArrayType.Count", Field, 0},
    		{"ArrayType.StrideBitSize", Field, 0},
    		{"ArrayType.Type", Field, 0},
    		{"Attr", Type, 0},
    		{"AttrAbstractOrigin", Const, 0},
    		{"AttrAccessibility", Const, 0},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 02:20:05 UTC 2024
    - 534.2K bytes
    - Viewed (0)
  8. src/go/doc/reader.go

    		var typ *namedType // type to associate the function with
    		numResultTypes := 0
    		for _, res := range fun.Type.Results.List {
    			factoryType := res.Type
    			if t, ok := factoryType.(*ast.ArrayType); ok {
    				// We consider functions that return slices or arrays of type
    				// T (or pointers to T) as factory functions of T.
    				factoryType = t.Elt
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  9. src/go/printer/nodes.go

    // The result is false if x could be a type element OR an ordinary (value) expression.
    func isTypeElem(x ast.Expr) bool {
    	switch x := x.(type) {
    	case *ast.ArrayType, *ast.StructType, *ast.FuncType, *ast.InterfaceType, *ast.MapType, *ast.ChanType:
    		return true
    	case *ast.UnaryExpr:
    		return x.Op == token.TILDE
    	case *ast.BinaryExpr:
    		return isTypeElem(x.X) || isTypeElem(x.Y)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Oct 17 18:53:17 UTC 2023
    - 52.6K bytes
    - Viewed (0)
  10. src/cmd/doc/pkg.go

    	case *ast.CompositeLit:
    		typ := pkg.oneLineNodeDepth(n.Type, depth)
    		if len(n.Elts) == 0 {
    			return fmt.Sprintf("%s{}", typ)
    		}
    		return fmt.Sprintf("%s{ %s }", typ, dotDotDot)
    
    	case *ast.ArrayType:
    		length := pkg.oneLineNodeDepth(n.Len, depth)
    		element := pkg.oneLineNodeDepth(n.Elt, depth)
    		return fmt.Sprintf("[%s]%s", length, element)
    
    	case *ast.MapType:
    		key := pkg.oneLineNodeDepth(n.Key, depth)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 08 20:15:52 UTC 2024
    - 32K bytes
    - Viewed (0)
Back to top