Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Translation (0.6 sec)

  1. src/cmd/cgo/doc.go

    distinguish functions from global variables.) Cgo reads the constant
    values from the __cgodebug_* from the object file's data segment.
    
    At this point cgo knows the meaning of each C.xxx well enough to start
    the translation process.
    
    Translating Go
    
    Given the input Go files x.go and y.go, cgo generates these source
    files:
    
    	x.cgo1.go       # for gc (cmd/compile)
    	y.cgo1.go       # for gc
    	_cgo_gotypes.go # for gc
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Sun Mar 31 09:02:45 GMT 2024
    - 42.1K bytes
    - Viewed (0)
  2. src/cmd/cgo/gcc.go

    			t.Go = c.complex64
    		case 16:
    			t.Go = c.complex128
    		}
    		if t.Align = t.Size / 2; t.Align >= c.ptrSize {
    			t.Align = c.ptrSize
    		}
    
    	case *dwarf.FuncType:
    		// No attempt at translation: would enable calls
    		// directly between worlds, but we need to moderate those.
    		t.Go = c.uintptr
    		t.Align = c.ptrSize
    
    	case *dwarf.IntType:
    		if dt.BitSize > 0 {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Nov 02 16:43:23 GMT 2023
    - 97K bytes
    - Viewed (0)
Back to top