Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for TPTR (0.03 sec)

  1. src/cmd/compile/internal/types/universe.go

    	Types[TUNSAFEPTR] = defBasic(TUNSAFEPTR, UnsafePkg, "Pointer")
    
    	Types[TBLANK] = newType(TBLANK)
    	Types[TNIL] = newType(TNIL)
    
    	// simple aliases
    	SimType[TMAP] = TPTR
    	SimType[TCHAN] = TPTR
    	SimType[TFUNC] = TPTR
    	SimType[TUNSAFEPTR] = TPTR
    
    	for et := TINT8; et <= TUINT64; et++ {
    		IsInt[et] = true
    	}
    	IsInt[TINT] = true
    	IsInt[TUINT] = true
    	IsInt[TUINTPTR] = true
    
    	IsFloat[TFLOAT32] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:49 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/types/kind_string.go

    	_ = x[TINT64-7]
    	_ = x[TUINT64-8]
    	_ = x[TINT-9]
    	_ = x[TUINT-10]
    	_ = x[TUINTPTR-11]
    	_ = x[TCOMPLEX64-12]
    	_ = x[TCOMPLEX128-13]
    	_ = x[TFLOAT32-14]
    	_ = x[TFLOAT64-15]
    	_ = x[TBOOL-16]
    	_ = x[TPTR-17]
    	_ = x[TFUNC-18]
    	_ = x[TSLICE-19]
    	_ = x[TARRAY-20]
    	_ = x[TSTRUCT-21]
    	_ = x[TCHAN-22]
    	_ = x[TMAP-23]
    	_ = x[TINTER-24]
    	_ = x[TFORW-25]
    	_ = x[TANY-26]
    	_ = x[TSTRING-27]
    	_ = x[TUNSAFEPTR-28]
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Jan 26 21:56:38 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  3. src/cmd/compile/internal/types/identity.go

    			switch t1.kind {
    			case TINT8, TUINT8, TINT16, TUINT16, TINT32, TUINT32, TINT64, TUINT64, TINT, TUINT, TUINTPTR, TCOMPLEX64, TCOMPLEX128, TFLOAT32, TFLOAT64, TBOOL, TSTRING, TPTR, TUNSAFEPTR:
    				return true
    			}
    			// fall through to unnamed type comparison for complex types.
    			goto cont
    		}
    		// Special case: we keep byte/uint8 and rune/int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 20:57:01 UTC 2023
    - 4.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/typebits/typebits.go

    	}
    	if !t.HasPointers() {
    		// Note: this case ensures that pointers to not-in-heap types
    		// are not considered pointers by garbage collection and stack copying.
    		return
    	}
    
    	switch t.Kind() {
    	case types.TPTR, types.TUNSAFEPTR, types.TFUNC, types.TCHAN, types.TMAP:
    		if off&int64(types.PtrSize-1) != 0 {
    			base.Fatalf("typebits.Set: invalid alignment, %v", t)
    		}
    		bv.Set(int32(off / int64(types.PtrSize))) // pointer
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 22 01:53:41 UTC 2023
    - 3.2K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/typecheck/universe.go

    	ir.OKForConst[types.TSTRING] = true
    
    	okforlen[types.TARRAY] = true
    	okforlen[types.TCHAN] = true
    	okforlen[types.TMAP] = true
    	okforlen[types.TSLICE] = true
    	okforlen[types.TSTRING] = true
    
    	okforeq[types.TPTR] = true
    	okforeq[types.TUNSAFEPTR] = true
    	okforeq[types.TINTER] = true
    	okforeq[types.TCHAN] = true
    	okforeq[types.TSTRING] = true
    	okforeq[types.TBOOL] = true
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 05 15:20:28 UTC 2023
    - 4.7K bytes
    - Viewed (0)
Back to top