Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for freed (0.25 sec)

  1. src/arena/arena.go

    that use-after-free bugs are possible with regular Go values. This package
    limits the impact of these use-after-free bugs by preventing reuse of freed
    memory regions until the garbage collector is able to determine that it is
    safe. Typically, a use-after-free bug will result in a fault and a helpful
    error message, but this package reserves the right to not force a fault on
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Oct 12 20:23:36 GMT 2022
    - 4.3K bytes
    - Viewed (0)
  2. src/cmd/cgo/doc.go

    		C.myprint(cs)
    		C.free(unsafe.Pointer(cs))
    	}
    
    A few special functions convert between Go and C types
    by making copies of the data. In pseudo-Go definitions:
    
    	// Go string to C string
    	// The C string is allocated in the C heap using malloc.
    	// It is the caller's responsibility to arrange for it to be
    	// freed, such as by calling C.free (be sure to include stdlib.h
    	// if C.free is needed).
    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)
  3. src/cmd/cgo/internal/test/issue23555a/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue23555
    
    // #include <stdlib.h>
    import "C"
    
    func X() {
    	C.free(C.malloc(10))
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 250 bytes
    - Viewed (0)
  4. api/go1.3.txt

    pkg syscall (netbsd-386), const CLONE_VM ideal-int
    pkg syscall (netbsd-386), const MADV_DONTNEED = 4
    pkg syscall (netbsd-386), const MADV_DONTNEED ideal-int
    pkg syscall (netbsd-386), const MADV_FREE = 6
    pkg syscall (netbsd-386), const MADV_FREE ideal-int
    pkg syscall (netbsd-386), const MADV_NORMAL = 0
    pkg syscall (netbsd-386), const MADV_NORMAL ideal-int
    pkg syscall (netbsd-386), const MADV_RANDOM = 1
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Jun 02 02:45:00 GMT 2014
    - 117K bytes
    - Viewed (0)
  5. api/go1.13.txt

    pkg syscall (netbsd-arm64-cgo), const MADV_DONTNEED = 4
    pkg syscall (netbsd-arm64-cgo), const MADV_DONTNEED ideal-int
    pkg syscall (netbsd-arm64-cgo), const MADV_FREE = 6
    pkg syscall (netbsd-arm64-cgo), const MADV_FREE ideal-int
    pkg syscall (netbsd-arm64-cgo), const MADV_NORMAL = 0
    pkg syscall (netbsd-arm64-cgo), const MADV_NORMAL ideal-int
    pkg syscall (netbsd-arm64-cgo), const MADV_RANDOM = 1
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Aug 08 18:44:16 GMT 2019
    - 452.6K bytes
    - Viewed (0)
  6. doc/go1.17_spec.html

    </p>
    
    <p>
    After a backslash, certain single-character escapes represent special values:
    </p>
    
    <pre class="grammar">
    \a   U+0007 alert or bell
    \b   U+0008 backspace
    \f   U+000C form feed
    \n   U+000A line feed or newline
    \r   U+000D carriage return
    \t   U+0009 horizontal tab
    \v   U+000B vertical tab
    \\   U+005C backslash
    \'   U+0027 single quote  (valid escape only within rune literals)
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue23555b/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package issue23555
    
    // #include <stdlib.h>
    import "C"
    
    func X() {
    	C.free(C.malloc(10))
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 250 bytes
    - Viewed (0)
  8. src/cmd/cgo/internal/swig/testdata/stdio/main.swig

    #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)
  9. PATENTS

    Additional IP Rights Grant (Patents)
    
    "This implementation" means the copyrightable works distributed by
    Google as part of the Go project.
    
    Google hereby grants to You a perpetual, worldwide, non-exclusive,
    no-charge, royalty-free, irrevocable (except as stated in this section)
    patent license to make, have made, use, offer to sell, sell, import,
    transfer and otherwise run, modify and propagate the contents of this
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Dec 06 21:31:59 GMT 2010
    - 1.3K bytes
    - Viewed (0)
  10. doc/go_spec.html

    </p>
    
    <p>
    After a backslash, certain single-character escapes represent special values:
    </p>
    
    <pre class="grammar">
    \a   U+0007 alert or bell
    \b   U+0008 backspace
    \f   U+000C form feed
    \n   U+000A line feed or newline
    \r   U+000D carriage return
    \t   U+0009 horizontal tab
    \v   U+000B vertical tab
    \\   U+005C backslash
    \'   U+0027 single quote  (valid escape only within rune literals)
    HTML
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 26 00:39:16 GMT 2024
    - 279.6K bytes
    - Viewed (0)
Back to top