Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for translator (0.19 sec)

  1. src/cmd/cgo/doc.go

    non-empty C structs. To get the address of such a field (which is the
    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

    	}
    	if !ok {
    		os.Stderr.Write(stderr)
    		os.Exit(2)
    	}
    	return string(stdout), string(stderr)
    }
    
    // A typeConv is a translator from dwarf types to Go types
    // with equivalent memory layout.
    type typeConv struct {
    	// Cache of already-translated or in-progress types.
    	m map[string]*Type
    
    	// Map from types to incomplete pointers to those types.
    	ptrs map[string][]*Type
    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. src/bufio/scan.go

    // UTF-8-encoded rune as a token. The sequence of runes returned is
    // equivalent to that from a range loop over the input as a string, which
    // means that erroneous UTF-8 encodings translate to U+FFFD = "\xef\xbf\xbd".
    // Because of the Scan interface, this makes it impossible for the client to
    // distinguish correctly encoded replacement runes from encoding errors.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Oct 23 09:06:30 GMT 2023
    - 14.2K bytes
    - Viewed (0)
  4. doc/go_mem.html

    provided it can be proved that <code>*shared</code> will not fault on access,
    because the potential added read will not affect any existing concurrent reads or writes.
    On the other hand, the rewrite would not be valid in a source-to-source translator.
    </p>
    
    <h2 id="conclusion">Conclusion</h2>
    
    <p>
    Go programmers writing data-race-free programs can rely on
    sequentially consistent execution of those programs,
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:42 GMT 2024
    - 26.6K bytes
    - Viewed (0)
  5. 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)
  6. src/cmd/addr2line/main.go

    	for stdin.Scan() {
    		p := stdin.Text()
    		if strings.Contains(p, ":") {
    			// Reverse translate file:line to pc.
    			// 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)
    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