Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for memcpy (0.27 sec)

  1. src/cmd/cgo/internal/swig/testdata/stdio/main.swig

    /* A trivial example of wrapping a C library using SWIG.  */
    
    %{
    #include <stdio.h>
    #include <stdlib.h>
    %}
    
    %typemap(gotype) const char * "string"
    %typemap(in) const char * %{
    	$1 = malloc($input.n + 1);
    	memcpy($1, $input.p, $input.n);
    	$1[$input.n] = '\0';
    %}
    %typemap(freearg) const char * %{
    	free($1);
    %}
    
    FILE *fopen(const char *name, const char *mode);
    int fclose(FILE *);
    Plain Text
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:07 GMT 2023
    - 563 bytes
    - Viewed (0)
  2. api/go1.16.txt

    pkg syscall (darwin-arm64), const NOTE_EXIT_DETAIL_MASK = 458752
    pkg syscall (darwin-arm64), const NOTE_EXIT_DETAIL_MASK ideal-int
    pkg syscall (darwin-arm64), const NOTE_EXIT_MEMORY = 131072
    pkg syscall (darwin-arm64), const NOTE_EXIT_MEMORY ideal-int
    pkg syscall (darwin-arm64), const NOTE_EXIT_REPARENTED = 524288
    pkg syscall (darwin-arm64), const NOTE_EXIT_REPARENTED ideal-int
    pkg syscall (darwin-arm64), const NOTE_EXTEND = 4
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Viewed (0)
  3. api/go1.txt

    pkg syscall (windows-386), const CERT_STORE_ADD_ALWAYS ideal-int
    pkg syscall (windows-386), const CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG ideal-int
    pkg syscall (windows-386), const CERT_STORE_PROV_MEMORY ideal-int
    pkg syscall (windows-386), const CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT ideal-int
    pkg syscall (windows-386), const CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT ideal-int
    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)
  4. doc/next/6-stdlib/2-unique.md

    the value in the form of a `Handle[T]`.
    Two `Handle[T]` are equal if and only if the values used to produce the
    handles are equal, allowing programs to deduplicate values and reduce
    their memory footprint.
    Comparing two `Handle[T]` values is efficient, reducing down to a simple
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Apr 24 13:37:36 GMT 2024
    - 579 bytes
    - Viewed (0)
  5. doc/godebug.md

    In particular, a common default Linux kernel configuration can result in
    significant memory overheads, and Go 1.22 no longer works around this default.
    To work around this issue without adjusting kernel settings, transparent huge
    pages can be disabled for Go memory with the
    [`disablethp` setting](/pkg/runtime#hdr-Environment_Variable).
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Tue Apr 16 17:29:58 GMT 2024
    - 13.5K bytes
    - Viewed (0)
  6. api/go1.1.txt

    pkg syscall (windows-386), const CERT_STORE_ADD_ALWAYS = 4
    pkg syscall (windows-386), const CERT_STORE_DEFER_CLOSE_UNTIL_LAST_FREE_FLAG = 4
    pkg syscall (windows-386), const CERT_STORE_PROV_MEMORY = 2
    pkg syscall (windows-386), const CERT_TRUST_HAS_EXCLUDED_NAME_CONSTRAINT = 32768
    pkg syscall (windows-386), const CERT_TRUST_HAS_NOT_DEFINED_NAME_CONSTRAINT = 8192
    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)
Back to top