Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 57 for Dtype (0.04 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. src/internal/abi/type.go

    }
    
    // Imethod represents a method on an interface type
    type Imethod struct {
    	Name NameOff // name of method
    	Typ  TypeOff // .(*FuncType) underneath
    }
    
    // ArrayType represents a fixed array type.
    type ArrayType struct {
    	Type
    	Elem  *Type // array element type
    	Slice *Type // slice type
    	Len   uintptr
    }
    
    // Len returns the length of t if t is an array type, otherwise 0
    func (t *Type) Len() int {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 17 21:09:59 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  7. staging/src/k8s.io/apiextensions-apiserver/pkg/apis/apiextensions/v1/conversion_test.go

    	}
    
    	for _, tc := range testcases {
    		aType := reflect.TypeOf(tc.a)
    		bType := reflect.TypeOf(tc.b)
    		t.Run(aType.String(), func(t *testing.T) {
    			assertEqualTypes(t, nil, aType, bType)
    		})
    	}
    }
    
    func assertEqualTypes(t *testing.T, path []string, a, b reflect.Type) {
    	if a == b {
    		return
    	}
    
    	if a.Kind() != b.Kind() {
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Wed Feb 28 19:06:46 UTC 2024
    - 29.2K bytes
    - Viewed (0)
  8. src/runtime/iface.go

    	stringEface any = stringInterfacePtr("")
    	sliceEface  any = sliceInterfacePtr(nil)
    
    	uint16Type *_type = efaceOf(&uint16Eface)._type
    	uint32Type *_type = efaceOf(&uint32Eface)._type
    	uint64Type *_type = efaceOf(&uint64Eface)._type
    	stringType *_type = efaceOf(&stringEface)._type
    	sliceType  *_type = efaceOf(&sliceEface)._type
    )
    
    // The conv and assert functions below do very similar things.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 22.5K bytes
    - Viewed (0)
  9. src/testing/quick/quick.go

    		config = &defaultConfig
    	}
    
    	x, xType, ok := functionAndType(f)
    	if !ok {
    		return SetupError("f is not a function")
    	}
    	y, yType, ok := functionAndType(g)
    	if !ok {
    		return SetupError("g is not a function")
    	}
    
    	if xType != yType {
    		return SetupError("functions have different types")
    	}
    
    	arguments := make([]reflect.Value, xType.NumIn())
    	rand := config.getRand()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 08 17:55:47 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  10. src/go/types/signature.go

    		// collect generic receiver type parameters, if any
    		// - a receiver type parameter is like any other type parameter, except that it is declared implicitly
    		// - the receiver specification acts as local declaration for its type parameters, which may be blank
    		_, rname, rparams := check.unpackRecv(recvPar.List[0].Type, true)
    		if len(rparams) > 0 {
    			// The scope of the type parameter T in "func (r T[T]) f()"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Feb 29 22:06:18 UTC 2024
    - 13K bytes
    - Viewed (0)
Back to top