Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for PtrScalar (0.12 sec)

  1. src/runtime/gcinfo_test.go

    		verifyGCInfo(t, "stack Ptr", &x, infoPtr)
    		runtime.KeepAlive(x)
    	}
    	{
    		var x ScalarPtr
    		verifyGCInfo(t, "stack ScalarPtr", &x, infoScalarPtr)
    		runtime.KeepAlive(x)
    	}
    	{
    		var x PtrScalar
    		verifyGCInfo(t, "stack PtrScalar", &x, infoPtrScalar)
    		runtime.KeepAlive(x)
    	}
    	{
    		var x BigStruct
    		verifyGCInfo(t, "stack BigStruct", &x, infoBigStruct())
    		runtime.KeepAlive(x)
    	}
    	{
    		var x string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 09 19:58:08 UTC 2023
    - 6K bytes
    - Viewed (0)
  2. src/reflect/all_test.go

    		// or else reflect will use it instead of having to construct one.
    		// The goal is to test the construction.
    		type Scalar struct{ x uintptr }
    		type Ptr struct{ x *byte }
    		type Ptrscalar struct {
    			*byte
    			uintptr
    		}
    		type Scalarptr struct {
    			uintptr
    			*byte
    		}
    		type Bigptrscalar struct {
    			_ [100]*byte
    			_ [100]uintptr
    		}
    		type Int64 int64
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 218.8K bytes
    - Viewed (0)
Back to top