Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/runtime/unsafe.go

    	}
    }
    
    // Keep this code in sync with cmd/compile/internal/walk/builtin.go:walkUnsafeSlice
    func unsafeslice64(et *_type, ptr unsafe.Pointer, len64 int64) {
    	len := int(len64)
    	if int64(len) != len64 {
    		panicunsafeslicelen1(getcallerpc())
    	}
    	unsafeslice(et, ptr, len)
    }
    
    func unsafeslicecheckptr(et *_type, ptr unsafe.Pointer, len64 int64) {
    	unsafeslice64(et, ptr, len64)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 21:51:18 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/typebits/typebits.go

    		// 2. If it is an empty interface, the pointer points to a _type.
    		//   a. If it is a compile-time-allocated type, it points into
    		//      the read-only data section.
    		//   b. If it is a reflect-allocated type, it points into the Go heap.
    		//      Reflect is responsible for keeping a reference to
    		//      the underlying type so it won't be GCd.
    		// If we ever have a moving GC, we need to change this for 2b (as
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  3. src/runtime/defs_freebsd_arm.go

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

    		// For empty interface, this is:
    		//   l.tab == type(r)
    		// For non-empty interface, this is:
    		//   l.tab != nil && l.tab._type == type(r)
    		//
    		// TODO(mdempsky): For non-empty interface comparisons, just
    		// compare against the itab address directly?
    		var eqtype ir.Node
    		tab := ir.NewUnaryExpr(base.Pos, ir.OITAB, l)
    		rtyp := reflectdata.CompareRType(base.Pos, n)
    		if l.Type().IsEmptyInterface() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 24 21:55:14 UTC 2023
    - 16.2K bytes
    - Viewed (0)
  5. src/cmd/vendor/golang.org/x/sys/unix/bpxsvc_zos.go

    	St_res05        [16]uint8 // 0xc8
    	// end of version 2
    }
    
    type BpxFilestatus struct {
    	Oflag1 byte
    	Oflag2 byte
    	Oflag3 byte
    	Oflag4 byte
    }
    
    type BpxMode struct {
    	Ftype byte
    	Mode1 byte
    	Mode2 byte
    	Mode3 byte
    }
    
    // Thr attribute structure for extended attributes
    type Bpxyatt_t struct { // DSECT BPXYATT
    	Att_id           [4]uint8
    	Att_version      uint16
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 16:12:58 UTC 2024
    - 19.9K bytes
    - Viewed (0)
  6. src/runtime/defs_freebsd_arm64.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.3K bytes
    - Viewed (0)
  7. src/runtime/error.go

    type Error interface {
    	error
    
    	// RuntimeError is a no-op function but
    	// serves to distinguish types that are run time
    	// errors from ordinary errors: a type is a
    	// run time error if it has a RuntimeError method.
    	RuntimeError()
    }
    
    // A TypeAssertionError explains a failed type assertion.
    type TypeAssertionError struct {
    	_interface    *_type
    	concrete      *_type
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 08 19:10:41 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  8. src/runtime/mbarrier.go

    // wbMove performs the write barrier operations necessary before
    // copying a region of memory from src to dst of type typ.
    // Does not actually do the copying.
    //
    //go:nowritebarrierrec
    //go:nosplit
    func wbMove(typ *_type, dst, src unsafe.Pointer) {
    	// This always copies a full value of type typ so it's safe to
    	// pass a type here.
    	//
    	// See the comment on bulkBarrierPreWrite.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 29 17:58:53 UTC 2024
    - 15.7K bytes
    - Viewed (0)
  9. src/runtime/checkptr.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package runtime
    
    import "unsafe"
    
    func checkptrAlignment(p unsafe.Pointer, elem *_type, n uintptr) {
    	// nil pointer is always suitably aligned (#47430).
    	if p == nil {
    		return
    	}
    
    	// Check that (*[n]elem)(p) is appropriately aligned.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  10. src/runtime/debuglog.go

    		return l
    	}
    	l.w.byte(debugLogPtr)
    	if x == nil {
    		l.w.uvarint(0)
    	} else {
    		v := efaceOf(&x)
    		switch v._type.Kind_ & abi.KindMask {
    		case abi.Chan, abi.Func, abi.Map, abi.Pointer, abi.UnsafePointer:
    			l.w.uvarint(uint64(uintptr(v.data)))
    		default:
    			throw("not a pointer type")
    		}
    	}
    	return l
    }
    
    //go:nosplit
    func (l *dlogger) s(x string) *dlogger {
    	if !dlogEnabled {
    		return l
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 02 15:10:48 UTC 2024
    - 18.3K bytes
    - Viewed (0)
Back to top