Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for freed (0.17 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 May 07 11:14:38 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 May 07 11:14:38 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 May 07 11:14:38 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 211.6K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/test/issue1435.go

    //   int i;
    //   pthread_mutex_lock(&mu);
    //   all_done = 1;
    //   pthread_mutex_unlock(&mu);
    //   for (i = 0; i < nts; i++) {
    //     pthread_join(t[i], NULL);
    //   }
    //   pthread_mutex_destroy(&mu);
    //   free(t);
    // }
    import "C"
    
    // compareStatus is used to confirm the contents of the thread
    // specific status files match expectations.
    func compareStatus(filter, expect string) error {
    	expected := filter + expect
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri Jul 28 21:31:41 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  8. api/go1.16.txt

    pkg syscall (darwin-arm64), const MADV_FREE = 5
    pkg syscall (darwin-arm64), const MADV_FREE ideal-int
    pkg syscall (darwin-arm64), const MADV_FREE_REUSABLE = 7
    pkg syscall (darwin-arm64), const MADV_FREE_REUSABLE ideal-int
    pkg syscall (darwin-arm64), const MADV_FREE_REUSE = 8
    pkg syscall (darwin-arm64), const MADV_FREE_REUSE ideal-int
    pkg syscall (darwin-arm64), const MADV_NORMAL = 0
    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)
  9. api/go1.txt

    pkg syscall (darwin-386), const MADV_CAN_REUSE ideal-int
    pkg syscall (darwin-386), const MADV_DONTNEED ideal-int
    pkg syscall (darwin-386), const MADV_FREE ideal-int
    pkg syscall (darwin-386), const MADV_FREE_REUSABLE ideal-int
    pkg syscall (darwin-386), const MADV_FREE_REUSE ideal-int
    pkg syscall (darwin-386), const MADV_NORMAL ideal-int
    pkg syscall (darwin-386), const MADV_RANDOM 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)
  10. api/go1.14.txt

    pkg syscall (freebsd-arm64), const MADV_DONTNEED = 4
    pkg syscall (freebsd-arm64), const MADV_DONTNEED ideal-int
    pkg syscall (freebsd-arm64), const MADV_FREE = 5
    pkg syscall (freebsd-arm64), const MADV_FREE ideal-int
    pkg syscall (freebsd-arm64), const MADV_NOCORE = 8
    pkg syscall (freebsd-arm64), const MADV_NOCORE ideal-int
    pkg syscall (freebsd-arm64), const MADV_NORMAL = 0
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Fri Feb 17 20:31:46 GMT 2023
    - 508.9K bytes
    - Viewed (0)
Back to top