Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for translateY (0.26 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

    	} else if escaped {
    		err = errors.New("unfinished escaping")
    	}
    	return args, err
    }
    
    // Translate rewrites f.AST, the original Go input, to remove
    // references to the imported package C, replacing them with
    // references to the equivalent Go types, functions, and variables.
    func (p *Package) Translate(f *File) {
    	for _, cref := range f.Ref {
    		// Convert C.ulong to C.unsigned long, etc.
    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. misc/cgo/gmp/gmp.go

    find the definition of xxx.  If xxx is a type, cgo replaces C.xxx with
    a Go translation.  C arithmetic types translate to precisely-sized Go
    arithmetic types.  A C struct translates to a Go struct, field by
    field; unrepresentable fields are replaced with opaque byte arrays.  A
    C union translates into a struct containing the first union member and
    perhaps additional padding.  C arrays become Go arrays.  C pointers
    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)
  5. src/cmd/addr2line/main.go

    	}
    
    	stdin := bufio.NewScanner(os.Stdin)
    	stdout := bufio.NewWriter(os.Stdout)
    
    	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.
    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)
  6. 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)
Back to top