Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 120 for Dtype (0.08 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/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)
  3. 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)
  4. src/cmd/compile/internal/typecheck/type.go

    Matthew Dempsky <******@****.***> 1651619260 -0700
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 05 18:49:25 UTC 2022
    - 178 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. istioctl/pkg/writer/envoy/configdump/listener.go

    			return iAddr < jAddr
    		}
    		iType := retrieveListenerType(verifiedListeners[i])
    		jType := retrieveListenerType(verifiedListeners[j])
    		return iType < jType
    	})
    
    	printStr := "ADDRESSES\tPORT"
    	if includeConfigType {
    		printStr = "NAME\t" + printStr
    	}
    	if filter.Verbose {
    		printStr += "\tMATCH\tDESTINATION"
    	} else {
    		printStr += "\tTYPE"
    	}
    	fmt.Fprintln(w, printStr)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 18.1K bytes
    - Viewed (0)
  8. 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)
  9. 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)
  10. 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)
Back to top