Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for ginney (0.13 sec)

  1. src/cmd/cgo/doc.go

    points to is pinned.
    
    C code may not keep a copy of a Go pointer after the call returns,
    unless the memory it points to is pinned with [runtime.Pinner] and the
    Pinner is not unpinned while the Go pointer is stored in C memory.
    This implies that C code may not keep a copy of a string, slice,
    channel, and so forth, because they cannot be pinned with
    [runtime.Pinner].
    
    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

    				name = st.Field[0].Name
    				ident[name] = name
    				ft = st.Field[0].Type
    			}
    		}
    
    		// TODO: Handle fields that are anonymous structs by
    		// promoting the fields of the inner struct.
    
    		t := c.Type(ft, pos)
    		tgo := t.Go
    		size := t.Size
    		talign := t.Align
    		if f.BitOffset > 0 || f.BitSize > 0 {
    			// The layout of bitfields is implementation defined,
    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