Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 80 for Dtype (0.04 sec)

  1. src/runtime/runtime1.go

    }
    
    // reflectlite_resolveTypeOff resolves an *rtype offset from a base type.
    //
    //go:linkname reflectlite_resolveTypeOff internal/reflectlite.resolveTypeOff
    func reflectlite_resolveTypeOff(rtype unsafe.Pointer, off int32) unsafe.Pointer {
    	return unsafe.Pointer(toRType((*_type)(rtype)).typeOff(typeOff(off)))
    }
    
    // reflect_addReflectOff adds a pointer to the reflection offset lookup map.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 17:52:17 UTC 2024
    - 19.3K bytes
    - Viewed (0)
  2. src/reflect/value.go

    // for the specified type. That is, the returned Value's Type is [PointerTo](typ).
    func New(typ Type) Value {
    	if typ == nil {
    		panic("reflect: New(nil)")
    	}
    	t := &typ.(*rtype).t
    	pt := ptrTo(t)
    	if pt.IfaceIndir() {
    		// This is a pointer to a not-in-heap type.
    		panic("reflect: New of type that may not be allocated in heap (possibly undefined cgo C type)")
    	}
    	ptr := unsafe_New(t)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 21:17:41 UTC 2024
    - 119.9K bytes
    - Viewed (0)
  3. src/cmd/link/internal/ld/decodesym.go

    }
    
    // Type.commonType.kind
    func decodetypeUsegcprog(arch *sys.Arch, p []byte) bool {
    	return abi.Kind(p[2*arch.PtrSize+7])&abi.KindGCProg != 0 //  0x13 / 0x1f
    }
    
    // Type.commonType.size
    func decodetypeSize(arch *sys.Arch, p []byte) int64 {
    	return int64(decodeInuxi(arch, p, arch.PtrSize)) // 0x8 / 0x10
    }
    
    // Type.commonType.ptrdata
    func decodetypePtrdata(arch *sys.Arch, p []byte) int64 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 16:25:18 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  4. src/database/sql/fakedb_test.go

    		}
    		column, value := nameVal[0], nameVal[1]
    		ctype, ok := c.db.columnType(stmt.table, column)
    		if !ok {
    			stmt.Close()
    			return nil, errf("INSERT table %q references non-existent column %q", stmt.table, column)
    		}
    		stmt.colName = append(stmt.colName, column)
    
    		if !strings.HasPrefix(value, "?") {
    			var subsetVal any
    			// Convert to driver subset type
    			switch ctype {
    			case "string":
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Apr 01 12:38:07 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/tools/go/analysis/passes/asmdecl/asmdecl.go

    }
    
    // A component is an assembly-addressable component of a composite type,
    // or a composite type itself.
    type component struct {
    	size   int
    	offset int
    	kind   asmKind
    	typ    string
    	suffix string // Such as _base for string base, _0_lo for lo half of first element of [1]uint64 on 32 bit machine.
    	outer  string // The suffix for immediately containing composite type.
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 02:38:00 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/syntax/parser.go

    			if pname, ptype := extractName(x, p.tok == _Comma); pname != nil && (ptype != nil || p.tok != _Rbrack) {
    				// d.Name "[" pname ...
    				// d.Name "[" pname ptype ...
    				// d.Name "[" pname ptype "," ...
    				d.TParamList = p.paramList(pname, ptype, _Rbrack, true) // ptype may be nil
    				d.Alias = p.gotAssign()
    				d.Type = p.typeOrNil()
    			} else {
    				// d.Name "[" pname "]" ...
    				// d.Name "[" x ...
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 62.9K bytes
    - Viewed (0)
  7. src/go/doc/reader.go

    // predeclared) type. The namedType for a type name is always found via
    // reader.lookupType.
    type namedType struct {
    	doc  string       // doc comment for type
    	name string       // type name
    	decl *ast.GenDecl // nil if declaration hasn't been seen yet
    
    	isEmbedded bool        // true if this type is embedded
    	isStruct   bool        // true if this type is a struct
    	embedded   embeddedSet // true if the embedded type is a pointer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  8. src/go/internal/gcimporter/gcimporter_test.go

    	{"io.ReadWriter", "type ReadWriter interface{Reader; Writer}"},
    	{"go/ast.Node", "type Node interface{End() go/token.Pos; Pos() go/token.Pos}"},
    	{"go/types.Type", "type Type interface{String() string; Underlying() Type}"},
    }
    
    func TestImportedTypes(t *testing.T) {
    	testenv.MustHaveGoBuild(t)
    
    	// This package only handles gc export data.
    	if runtime.Compiler != "gc" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 16:22:59 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  9. src/runtime/stkframe.go

    	return
    }
    
    var methodValueCallFrameObjs [1]stackObjectRecord // initialized in stackobjectinit
    
    func stkobjinit() {
    	var abiRegArgsEface any = abi.RegArgs{}
    	abiRegArgsType := efaceOf(&abiRegArgsEface)._type
    	if abiRegArgsType.Kind_&abi.KindGCProg != 0 {
    		throw("abiRegArgsType needs GC Prog, update methodValueCallFrameObjs")
    	}
    	// Set methodValueCallFrameObjs[0].gcdataoff so that
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. pkg/controller/job/job_controller.go

    func ensureJobConditionStatus(list []batch.JobCondition, cType batch.JobConditionType, status v1.ConditionStatus, reason, message string, now time.Time) ([]batch.JobCondition, bool) {
    	if condition := findConditionByType(list, cType); condition != nil {
    		if condition.Status != status || condition.Reason != reason || condition.Message != message {
    			*condition = *newCondition(cType, status, reason, message, now)
    			return list, true
    		}
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 10 23:56:37 UTC 2024
    - 77.6K bytes
    - Viewed (0)
Back to top