Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 73 for Dtype (0.04 sec)

  1. src/runtime/cgocall.go

    // depending on indir. The top parameter is whether we are at the top
    // level, where Go pointers are allowed. Go pointers to pinned objects are
    // allowed as long as they don't reference other unpinned pointers.
    func cgoCheckArg(t *_type, p unsafe.Pointer, indir, top bool, msg string) {
    	if !t.Pointers() || p == nil {
    		// If the type has no pointers there is nothing to do.
    		return
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  2. src/runtime/netpoll.go

    // must be stored in interfaces indirectly. See issue 42076.
    func (pd *pollDesc) makeArg() (i any) {
    	x := (*eface)(unsafe.Pointer(&i))
    	x._type = pdType
    	x.data = unsafe.Pointer(&pd.self)
    	return
    }
    
    var (
    	pdEface any    = (*pollDesc)(nil)
    	pdType  *_type = efaceOf(&pdEface)._type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 15 19:57:43 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  3. src/runtime/malloc.go

    //   - github.com/v2pro/plz
    //
    // Do not remove or change the type signature.
    // See go.dev/issue/67401.
    //
    //go:linkname reflect_unsafe_New reflect.unsafe_New
    func reflect_unsafe_New(typ *_type) unsafe.Pointer {
    	return mallocgc(typ.Size_, typ, true)
    }
    
    //go:linkname reflectlite_unsafe_New internal/reflectlite.unsafe_New
    func reflectlite_unsafe_New(typ *_type) unsafe.Pointer {
    	return mallocgc(typ.Size_, typ, true)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 59.6K bytes
    - Viewed (0)
  4. src/runtime/defs_freebsd_amd64.go

    	flags      int32
    	pad_cgo_0  [4]byte
    	rtp        *rtprio
    	spare      [3]uintptr
    }
    
    type thread int64 // long
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type stackt struct {
    	ss_sp     uintptr
    	ss_size   uintptr
    	ss_flags  int32
    	pad_cgo_0 [4]byte
    }
    
    type siginfo struct {
    	si_signo  int32
    	si_errno  int32
    	si_code   int32
    	si_pid    int32
    	si_uid    uint32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  5. src/runtime/race.go

    const raceenabled = true
    
    // For all functions accepting callerpc and pc,
    // callerpc is a return PC of the function that calls this function,
    // pc is start PC of the function that calls this function.
    func raceReadObjectPC(t *_type, addr unsafe.Pointer, callerpc, pc uintptr) {
    	kind := t.Kind_ & abi.KindMask
    	if kind == abi.Array || kind == abi.Struct {
    		// for composite objects we have to read every address
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  6. src/runtime/defs_dragonfly_amd64.go

    	_NOTE_TRIGGER = 0x1000000
    )
    
    type rtprio struct {
    	_type uint16
    	prio  uint16
    }
    
    type lwpparams struct {
    	start_func uintptr
    	arg        unsafe.Pointer
    	stack      uintptr
    	tid1       unsafe.Pointer // *int32
    	tid2       unsafe.Pointer // *int32
    }
    
    type sigset struct {
    	__bits [4]uint32
    }
    
    type stackt struct {
    	ss_sp     uintptr
    	ss_size   uintptr
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top