Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of about 10,000 for typC (0.07 sec)

  1. test/asmhdr.dir/main.go

    	if want := unsafe.Sizeof(typ{}); want != uintptr(typSize) {
    		println("typSize", want, "!=", typSize)
    	}
    	if want := unsafe.Offsetof(typ{}.a); want != uintptr(typA) {
    		println("typA", want, "!=", typA)
    	}
    	if want := unsafe.Offsetof(typ{}.b); want != uintptr(typB) {
    		println("typB", want, "!=", typB)
    	}
    	if want := unsafe.Offsetof(typ{}.c); want != uintptr(typC) {
    		println("typC", want, "!=", typC)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 10 21:27:19 UTC 2022
    - 1.8K bytes
    - Viewed (0)
  2. test/asmhdr.dir/main.s

    GLOBL ·longStringAsm(SB),RODATA,$91
    
    DATA ·typSize(SB)/8, $typ__size
    GLOBL ·typSize(SB),RODATA,$8
    
    DATA ·typA(SB)/8, $typ_a
    GLOBL ·typA(SB),RODATA,$8
    
    DATA ·typB(SB)/8, $typ_b
    GLOBL ·typB(SB),RODATA,$8
    
    DATA ·typC(SB)/8, $typ_c
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Jan 10 21:27:19 UTC 2022
    - 733 bytes
    - Viewed (0)
  3. src/cmd/compile/internal/ir/type.go

    )
    
    // Calling TypeNode converts a *types.Type to a Node shell.
    
    // A typeNode is a Node wrapper for type t.
    type typeNode struct {
    	miniNode
    	typ *types.Type
    }
    
    func newTypeNode(typ *types.Type) *typeNode {
    	n := &typeNode{typ: typ}
    	n.pos = src.NoXPos
    	n.op = OTYPE
    	n.SetTypecheck(1)
    	return n
    }
    
    func (n *typeNode) Type() *types.Type { return n.typ }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Aug 20 05:56:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  4. src/internal/reflectlite/type.go

    type interfaceType = abi.InterfaceType
    
    // ptrType represents a pointer type.
    type ptrType = abi.PtrType
    
    // sliceType represents a slice type.
    type sliceType = abi.SliceType
    
    // structType represents a struct type.
    type structType = abi.StructType
    
    // name is an encoded type name with optional extra data.
    //
    // The first byte is a bit field containing:
    //
    //	1<<0 the name is exported
    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/reflect/type.go

    	AssignableTo(u Type) bool
    
    	// ConvertibleTo reports whether a value of the type is convertible to type u.
    	// Even if ConvertibleTo returns true, the conversion may still panic.
    	// For example, a slice of type []T is convertible to *[N]T,
    	// but the conversion will panic if its length is less than N.
    	ConvertibleTo(u Type) bool
    
    	// Comparable reports whether values of this type are comparable.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 85.5K bytes
    - Viewed (0)
  6. 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)
  7. src/encoding/gob/type.go

    	typ := field.Type
    	for typ.Kind() == reflect.Pointer {
    		typ = typ.Elem()
    	}
    	if typ.Kind() == reflect.Chan || typ.Kind() == reflect.Func {
    		return false
    	}
    
    	return true
    }
    
    // getBaseType returns the Gob type describing the given reflect.Type's base type.
    // typeLock must be held.
    func getBaseType(name string, rt reflect.Type) (gobType, error) {
    	ut := userType(rt)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  8. src/mime/type.go

    }
    
    // ExtensionsByType returns the extensions known to be associated with the MIME
    // type typ. The returned extensions will each begin with a leading dot, as in
    // ".html". When typ has no associated extensions, ExtensionsByType returns an
    // nil slice.
    func ExtensionsByType(typ string) ([]string, error) {
    	justType, _, err := ParseMediaType(typ)
    	if err != nil {
    		return nil, err
    	}
    
    	once.Do(initMime)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 5K bytes
    - Viewed (0)
  9. 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)
  10. src/cmd/compile/internal/types/type.go

    }
    
    // Map contains Type fields specific to maps.
    type Map struct {
    	Key  *Type // Key type
    	Elem *Type // Val (elem) type
    
    	Bucket *Type // internal struct type representing a hash bucket
    }
    
    // MapType returns t's extra map-specific fields.
    func (t *Type) MapType() *Map {
    	t.wantEtype(TMAP)
    	return t.extra.(*Map)
    }
    
    // Forward contains Type fields specific to forward types.
    type Forward struct {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 49.5K bytes
    - Viewed (0)
Back to top