Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 79 for Dtype (0.05 sec)

  1. src/cmd/cgo/gcc.go

    func (p *Package) recordTypedefs(dtype dwarf.Type, pos token.Pos) {
    	p.recordTypedefs1(dtype, pos, map[dwarf.Type]bool{})
    }
    
    func (p *Package) recordTypedefs1(dtype dwarf.Type, pos token.Pos, visited map[dwarf.Type]bool) {
    	if dtype == nil {
    		return
    	}
    	if visited[dtype] {
    		return
    	}
    	visited[dtype] = true
    	switch dt := dtype.(type) {
    	case *dwarf.TypedefType:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 97K bytes
    - Viewed (0)
  2. 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)
  3. src/internal/reflectlite/type.go

    	return s[i+1:]
    }
    
    func toRType(t *abi.Type) rtype {
    	return rtype{t}
    }
    
    func elem(t *abi.Type) *abi.Type {
    	et := t.Elem()
    	if et != nil {
    		return et
    	}
    	panic("reflect: Elem of invalid type " + toRType(t).String())
    }
    
    func (t rtype) Elem() Type {
    	return toType(elem(t.common()))
    }
    
    func (t rtype) In(i int) Type {
    	tt := t.Type.FuncType()
    	if tt == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 17:01:54 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  4. src/internal/fmtsort/sort.go

    	})
    	return sorted
    }
    
    // compare compares two values of the same type. It returns -1, 0, 1
    // according to whether a > b (1), a == b (0), or a < b (-1).
    // If the types differ, it returns -1.
    // See the comment on Sort for the comparison rules.
    func compare(aVal, bVal reflect.Value) int {
    	aType, bType := aVal.Type(), bVal.Type()
    	if aType != bType {
    		return -1 // No good answer possible, but don't return 0: they're not equal.
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 19:31:45 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/encoding/gob/type.go

    )
    
    // userTypeInfo stores the information associated with a type the user has handed
    // to the package. It's computed once and stored in a map keyed by reflection
    // type.
    type userTypeInfo struct {
    	user        reflect.Type // the type the user handed us
    	base        reflect.Type // the base type after all indirections
    	indir       int          // number of indirections to reach the base type
    	externalEnc int          // xGob, xBinary, or xText
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 02:00:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
  6. src/sync/atomic/type.go

    var _ = &Pointer[int]{}
    
    // A Pointer is an atomic pointer of type *T. The zero value is a nil *T.
    type Pointer[T any] struct {
    	// Mention *T in a field to disallow conversion between Pointer types.
    	// See go.dev/issue/56603 for more details.
    	// Use *T, not T, to avoid spurious recursive type definition errors.
    	_ [0]*T
    
    	_ noCopy
    	v unsafe.Pointer
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  7. src/runtime/type.go

    // license that can be found in the LICENSE file.
    
    // Runtime type representation.
    
    package runtime
    
    import (
    	"internal/abi"
    	"unsafe"
    )
    
    type nameOff = abi.NameOff
    type typeOff = abi.TypeOff
    type textOff = abi.TextOff
    
    type _type = abi.Type
    
    // rtype is a wrapper that allows us to define additional methods.
    type rtype struct {
    	*abi.Type // embedding is okay here (unlike reflect) because none of this is public
    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/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)
  9. 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)
  10. 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)
Back to top