Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Translations (0.16 sec)

  1. src/cmd/cgo/doc.go

    only operation you can do with a zero-sized field) you must take the
    address of the struct and add the size of the struct.
    
    Cgo translates C types into equivalent unexported Go types.
    Because the translations are unexported, a Go package should not
    expose C types in its exported API: a C type used in one Go package
    is different from the same C type used in another.
    
    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)
  3. misc/cgo/gmp/gmp.go

    Cgo's most interesting translation is for functions.  If xxx is a C
    function, then cgo rewrites C.xxx into a new function _C_xxx that
    calls the C xxx in a standard pthread.  The new function translates
    its arguments, calls xxx, and translates the return value.
    
    Translation of parameters and the return value follows the type
    translation above except that arrays passed as parameters translate
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 9.5K bytes
    - Viewed (0)
  4. src/cmd/addr2line/main.go

    			// This was an extension in the old C version of 'go tool addr2line'
    			// and is probably not used by anyone, but recognize the syntax.
    			// We don't have an implementation.
    			fmt.Fprintf(stdout, "!reverse translation not implemented\n")
    			continue
    		}
    		pc, _ := strconv.ParseUint(strings.TrimPrefix(p, "0x"), 16, 64)
    		file, line, fn := tab.PCToLine(pc)
    		name := "?"
    		if fn != nil {
    			name = fn.Name
    		} else {
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Apr 11 16:34:30 GMT 2022
    - 2.3K bytes
    - Viewed (0)
Back to top