Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for docstring (0.19 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. api/go1.5.txt

    pkg debug/dwarf, method (*LineReader) SeekPC(uint64, *LineEntry) error
    pkg debug/dwarf, method (*LineReader) Tell() LineReaderPos
    pkg debug/dwarf, method (*Reader) AddressSize() int
    pkg debug/dwarf, method (Class) GoString() string
    pkg debug/dwarf, method (Class) String() string
    pkg debug/dwarf, type Class int
    pkg debug/dwarf, type Field struct, Class Class
    pkg debug/dwarf, type LineEntry struct
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Jul 30 21:14:09 GMT 2015
    - 46.6K bytes
    - Viewed (0)
  3. api/go1.6.txt

    pkg debug/elf, const SHF_COMPRESSED = 2048
    pkg debug/elf, const SHF_COMPRESSED SectionFlag
    pkg debug/elf, method (CompressionType) GoString() string
    pkg debug/elf, method (CompressionType) String() string
    pkg debug/elf, method (R_MIPS) GoString() string
    pkg debug/elf, method (R_MIPS) String() string
    pkg debug/elf, type Chdr32 struct
    pkg debug/elf, type Chdr32 struct, Addralign uint32
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Jan 13 23:40:13 GMT 2016
    - 12.9K bytes
    - Viewed (0)
  4. 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)
  5. api/go1.txt

    pkg debug/elf, method (ProgType) String() string
    pkg debug/elf, method (R_386) GoString() string
    pkg debug/elf, method (R_386) String() string
    pkg debug/elf, method (R_ALPHA) GoString() string
    pkg debug/elf, method (R_ALPHA) String() string
    pkg debug/elf, method (R_ARM) GoString() string
    pkg debug/elf, method (R_ARM) String() string
    pkg debug/elf, method (R_PPC) GoString() string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  6. 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)
  7. api/go1.1.txt

    pkg debug/elf, const STV_HIDDEN = 2
    pkg debug/elf, const STV_INTERNAL = 1
    pkg debug/elf, const STV_PROTECTED = 3
    pkg debug/elf, const Sym32Size = 16
    pkg debug/elf, const Sym64Size = 24
    pkg debug/elf, method (*File) DynString(DynTag) ([]string, error)
    pkg debug/elf, type FileHeader struct, Entry uint64
    pkg debug/macho, const Cpu386 = 7
    pkg debug/macho, const CpuAmd64 = 16777223
    pkg debug/macho, const LoadCmdDylib = 12
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Thu Mar 31 20:37:15 GMT 2022
    - 2.6M bytes
    - Viewed (0)
  8. misc/cgo/gmp/gmp.go

    		return os.ErrInvalid
    	}
    	p := C.CString(s)
    	defer C.free(unsafe.Pointer(p))
    	if C.mpz_set_str(&z.i[0], p, C.int(base)) < 0 {
    		return os.ErrInvalid
    	}
    	return nil
    }
    
    // String returns the decimal representation of z.
    func (z *Int) String() string {
    	if z == nil {
    		return "nil"
    	}
    	z.doinit()
    	p := C.mpz_get_str(nil, 10, &z.i[0])
    	s := C.GoString(p)
    	C.free(unsafe.Pointer(p))
    	return s
    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)
  9. api/go1.10.txt

    pkg debug/macho, method (RelocTypeARM) GoString() string
    pkg debug/macho, method (RelocTypeARM) String() string
    pkg debug/macho, method (RelocTypeARM64) GoString() string
    pkg debug/macho, method (RelocTypeARM64) String() string
    pkg debug/macho, method (RelocTypeGeneric) GoString() string
    pkg debug/macho, method (RelocTypeGeneric) String() string
    pkg debug/macho, method (RelocTypeX86_64) GoString() string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Feb 06 05:00:01 GMT 2018
    - 30.1K bytes
    - Viewed (0)
  10. api/go1.4.txt

    pkg debug/elf, const R_AARCH64_TLS_TPREL64 R_AARCH64
    pkg debug/elf, const R_AARCH64_TSTBR14 = 279
    pkg debug/elf, const R_AARCH64_TSTBR14 R_AARCH64
    pkg debug/elf, method (R_AARCH64) GoString() string
    pkg debug/elf, method (R_AARCH64) String() string
    pkg debug/elf, type R_AARCH64 int
    
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 12 03:01:01 GMT 2014
    - 34K bytes
    - Viewed (0)
Back to top