Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/internal/abi/switch.go

    		return true
    	default:
    		return false
    	}
    }
    
    type TypeAssert struct {
    	Cache   *TypeAssertCache
    	Inter   *InterfaceType
    	CanFail bool
    }
    type TypeAssertCache struct {
    	Mask    uintptr
    	Entries [1]TypeAssertCacheEntry
    }
    type TypeAssertCacheEntry struct {
    	// type of source value (a *runtime._type)
    	Typ uintptr
    	// itab to use for result (a *runtime.itab)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 17:02:53 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  2. 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)
  3. src/cmd/vendor/golang.org/x/sys/plan9/mkerrors.sh

    echo ')'
    
    # Run C program to print error and syscall strings.
    (
    	echo -E "
    #include <stdio.h>
    #include <stdlib.h>
    #include <errno.h>
    #include <ctype.h>
    #include <string.h>
    #include <signal.h>
    
    #define nelem(x) (sizeof(x)/sizeof((x)[0]))
    
    enum { A = 'A', Z = 'Z', a = 'a', z = 'z' }; // avoid need for single quotes below
    
    int errors[] = {
    "
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 26 00:11:50 UTC 2022
    - 5.9K bytes
    - Viewed (0)
  4. src/syscall/mkerrors.sh

    echo ')'
    
    # Run C program to print error and syscall strings.
    (
    	echo -E "
    #include <stdio.h>
    #include <stdlib.h>
    #include <errno.h>
    #include <ctype.h>
    #include <string.h>
    #include <signal.h>
    
    #define nelem(x) (sizeof(x)/sizeof((x)[0]))
    
    enum { A = 'A', Z = 'Z', a = 'a', z = 'z' }; // avoid need for single quotes below
    
    int errors[] = {
    "
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 06 21:22:22 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  5. src/runtime/pinner.go

    	mask := v.mask
    	if multipin {
    		mask <<= 1
    	}
    	if val {
    		atomic.Or8(v.bytep, mask)
    	} else {
    		atomic.And8(v.bytep, ^mask)
    	}
    }
    
    // pinnerBits is the same type as gcBits but has different methods.
    type pinnerBits gcBits
    
    // ofObject returns the pinState of the n'th object.
    // nosplit, because it's called by isPinned, which is nosplit
    //
    //go:nosplit
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 04 14:29:45 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. src/cmd/compile/internal/walk/walk.go

    			// Expand as needed.
    		}
    
    		return false
    	})
    }
    
    // itabType loads the _type field from a runtime.itab struct.
    func itabType(itab ir.Node) ir.Node {
    	if itabTypeField == nil {
    		// internal/abi.ITab's Type field
    		itabTypeField = runtimeField("Type", rttype.ITab.OffsetOf("Type"), types.NewPtr(types.Types[types.TUINT8]))
    	}
    	return boundedDotPtr(base.Pos, itab, itabTypeField)
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Feb 27 20:56:00 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top