Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for toString (0.15 sec)

  1. src/cmd/cgo/doc.go

    C.sizeof_struct_stat.
    
    A C function may be declared in the Go file with a parameter type of
    the special name _GoString_. This function may be called with an
    ordinary Go string value. The string length, and a pointer to the
    string contents, may be accessed by calling the C functions
    
    	size_t _GoStringLen(_GoString_ s);
    	const char *_GoStringPtr(_GoString_ s);
    
    These functions are only available in the preamble, not in other C
    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 c.incompleteStructs[tag] {
    				tt.Go = c.Ident(incomplete)
    			}
    			typedef[name.Name] = &tt
    		}
    
    	case *dwarf.TypedefType:
    		// Record typedef for printing.
    		if dt.Name == "_GoString_" {
    			// Special C name for Go string type.
    			// Knows string layout used by compilers: pointer plus length,
    			// which rounds up to 2 pointers after alignment.
    			t.Go = c.string
    			t.Size = c.ptrSize * 2
    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/cmd/cgo/internal/test/callback_c.c

    }
    
    int
    returnAfterGrowFromGo(void)
    {
    	extern int goReturnVal(void);
    	return goReturnVal();
    }
    
    void
    callGoWithString(void)
    {
    	extern void goWithString(GoString);
    	const char *str = "string passed from C to Go";
    	goWithString((GoString){str, strlen(str)});
    C
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 933 bytes
    - Viewed (0)
  4. api/go1.17.txt

    pkg time, const Layout = "01/02 03:04:05PM '06 -0700"
    pkg time, const Layout ideal-string
    pkg time, func UnixMicro(int64) Time
    pkg time, func UnixMilli(int64) Time
    pkg time, method (Time) GoString() string
    pkg time, method (Time) IsDST() bool
    pkg time, method (Time) UnixMicro() int64
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 18K bytes
    - Viewed (0)
  5. api/go1.19.txt

    pkg debug/elf, const R_LARCH_TLS_TPREL32 R_LARCH #46229
    pkg debug/elf, const R_LARCH_TLS_TPREL64 = 11 #46229
    pkg debug/elf, const R_LARCH_TLS_TPREL64 R_LARCH #46229
    pkg debug/elf, method (R_LARCH) GoString() string #46229
    pkg debug/elf, method (R_LARCH) String() string #46229
    pkg debug/elf, type R_LARCH int #46229
    pkg debug/pe, const IMAGE_COMDAT_SELECT_ANY = 2 #51868
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:29:41 GMT 2022
    - 17.9K bytes
    - Viewed (1)
  6. api/go1.21.txt

    pkg debug/elf, const DF_1_WEAKFILTER DynFlag1 #56887
    pkg debug/elf, const R_PPC64_REL24_P9NOTOC = 124 #60348
    pkg debug/elf, const R_PPC64_REL24_P9NOTOC R_PPC64 #60348
    pkg debug/elf, method (DynFlag1) GoString() string #56887
    pkg debug/elf, method (DynFlag1) String() string #56887
    pkg debug/elf, method (*File) DynValue(DynTag) ([]uint64, error) #56892
    pkg debug/elf, type DynFlag1 uint32 #56887
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Mon Aug 07 09:39:17 GMT 2023
    - 25.6K bytes
    - Viewed (0)
Back to top