Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 91 for _Type (0.05 sec)

  1. src/runtime/mbitmap.go

    			// Allocate space to unroll the gcprog. This space will consist of
    			// a dummy _type value and the unrolled gcprog. The dummy _type will
    			// refer to the bitmap, and the mspan will refer to the dummy _type.
    			if span.spanclass.sizeclass() != 0 {
    				throw("GCProg for type that isn't large")
    			}
    			spaceNeeded := alignUp(unsafe.Sizeof(_type{}), goarch.PtrSize)
    			heapBitsOff := spaceNeeded
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 00:18:55 UTC 2024
    - 60K bytes
    - Viewed (0)
  2. src/runtime/cgocall.go

    		return
    	}
    
    	ep := efaceOf(&ptr)
    	t := ep._type
    
    	top := true
    	if arg != nil && (t.Kind_&abi.KindMask == abi.Pointer || t.Kind_&abi.KindMask == abi.UnsafePointer) {
    		p := ep.data
    		if t.Kind_&abi.KindDirectIface == 0 {
    			p = *(*unsafe.Pointer)(p)
    		}
    		if p == nil || !cgoIsGoPointer(p) {
    			return
    		}
    		aep := efaceOf(&arg)
    		switch aep._type.Kind_ & abi.KindMask {
    		case abi.Bool:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:16:47 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  3. docs/pt/docs/history-design-future.md

    </blockquote>
    
    ## Investigação
    
    Ao usar todas as alternativas anteriores, eu tive a chance de aprender com todas elas, aproveitar ideias e combiná-las da melhor maneira que encontrei para mim e para os times de desenvolvedores com os quais trabalhava.
    
    Por exemplo, estava claro que idealmente ele deveria ser baseado nos _type hints_ padrões do Python.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/syntax/tokens.go

    	_Interface   // interface
    	_Map         // map
    	_Package     // package
    	_Range       // range
    	_Return      // return
    	_Select      // select
    	_Struct      // struct
    	_Switch      // switch
    	_Type        // type
    	_Var         // var
    
    	// empty line comment to exclude it from .String
    	tokenCount //
    )
    
    const (
    	// for BranchStmt
    	Break       = _Break
    	Continue    = _Continue
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 20 14:52:38 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ir/type.go

    	return newTypeNode(t)
    }
    
    // A DynamicType represents a type expression whose exact type must be
    // computed dynamically.
    type DynamicType struct {
    	miniExpr
    
    	// RType is an expression that yields a *runtime._type value
    	// representing the asserted type.
    	//
    	// BUG(mdempsky): If ITab is non-nil, RType may be nil.
    	RType Node
    
    	// ITab is an expression that yields a *runtime.itab value
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sun Aug 20 05:56:49 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  6. src/runtime/runtime-gdb.py

    	try:
    		return str(val['tab'].type) == "struct runtime.itab *" and str(val['data'].type) == "void *"
    	except gdb.error:
    		pass
    
    
    def is_eface(val):
    	try:
    		return str(val['_type'].type) == "struct runtime._type *" and str(val['data'].type) == "void *"
    	except gdb.error:
    		pass
    
    
    def lookup_type(name):
    	try:
    		return gdb.lookup_type(name)
    	except gdb.error:
    		pass
    	try:
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 10 12:59:20 UTC 2023
    - 15.4K bytes
    - Viewed (0)
  7. src/cmd/compile/internal/syntax/token_string.go

    	_ = x[_If-35]
    	_ = x[_Import-36]
    	_ = x[_Interface-37]
    	_ = x[_Map-38]
    	_ = x[_Package-39]
    	_ = x[_Range-40]
    	_ = x[_Return-41]
    	_ = x[_Select-42]
    	_ = x[_Struct-43]
    	_ = x[_Switch-44]
    	_ = x[_Type-45]
    	_ = x[_Var-46]
    	_ = x[tokenCount-47]
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 29 02:28:24 UTC 2020
    - 1.7K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/syntax/printer.go

    		}
    		if n.Values != nil {
    			p.print(blank, _Assign, blank, n.Values)
    		}
    
    	case *TypeDecl:
    		if n.Group == nil {
    			p.print(_Type, blank)
    		}
    		p.print(n.Name)
    		if n.TParamList != nil {
    			p.printParameterList(n.TParamList, _Type)
    		}
    		p.print(blank)
    		if n.Alias {
    			p.print(_Assign, blank)
    		}
    		p.print(n.Type)
    
    	case *VarDecl:
    		if n.Group == nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 24 07:17:27 UTC 2023
    - 21.5K bytes
    - Viewed (0)
  9. src/runtime/heapdump.go

    // Note: when a bucket overflows we may end up
    // serializing a type more than once. That's ok.
    const (
    	typeCacheBuckets = 256
    	typeCacheAssoc   = 4
    )
    
    type typeCacheBucket struct {
    	t [typeCacheAssoc]*_type
    }
    
    var typecache [typeCacheBuckets]typeCacheBucket
    
    // dump a uint64 in a varint format parseable by encoding/binary.
    func dumpint(v uint64) {
    	var buf [10]byte
    	var n int
    	for v >= 0x80 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 09 04:07:57 UTC 2024
    - 17.6K bytes
    - Viewed (0)
  10. src/runtime/defs_dragonfly_amd64.go

    	_EV_CLEAR     = 0x20
    	_EV_ERROR     = 0x4000
    	_EV_EOF       = 0x8000
    	_EVFILT_READ  = -0x1
    	_EVFILT_WRITE = -0x2
    	_EVFILT_USER  = -0x9
    
    	_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
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 12 21:17:22 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top