Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 120 for Dtype (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. src/runtime/print.go

    // license that can be found in the LICENSE file.
    
    package runtime
    
    import (
    	"internal/goarch"
    	"unsafe"
    )
    
    // The compiler knows that a print of a value of this type
    // should use printhex instead of printuint (decimal).
    type hex uint64
    
    func bytes(s string) (ret []byte) {
    	rp := (*slice)(unsafe.Pointer(&ret))
    	sp := stringStructOf(&s)
    	rp.array = sp.str
    	rp.len = sp.len
    	rp.cap = sp.len
    	return
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 20 03:27:26 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/ssa/expand_calls.go

    				move.AuxInt = v.Type.Size()
    				store.copyOf(move)
    			}
    			continue
    		}
    
    		var auxBase *Value
    		if len(regs) == 0 {
    			offset := aux.OffsetOfResult(i)
    			auxBase = x.offsetFrom(x.f.Entry, x.sp, offset, types.NewPtr(v.Type))
    		}
    		var rc registerCursor
    		rc.init(regs, aux.abiInfo, nil, auxBase, 0)
    		x.rewriteSelectOrArg(call.Pos, call.Block, v, v, mem, v.Type, rc)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 28 05:13:40 UTC 2023
    - 31.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