Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for Mprotect (0.04 seconds)

  1. api/go1.16.txt

    pkg syscall (darwin-arm64), func Mlock([]uint8) error
    pkg syscall (darwin-arm64), func Mlockall(int) error
    pkg syscall (darwin-arm64), func Mmap(int, int64, int, int, int) ([]uint8, error)
    pkg syscall (darwin-arm64), func Mprotect([]uint8, int) error
    pkg syscall (darwin-arm64), func Munlock([]uint8) error
    pkg syscall (darwin-arm64), func Munlockall() error
    pkg syscall (darwin-arm64), func Munmap([]uint8) error
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Dec 02 16:30:41 GMT 2022
    - 479.2K bytes
    - Click Count (0)
  2. doc/go_spec.html

    causes a <a href="#Run_time_panics">run-time panic</a>.
    </p>
    
    <p>
    The <code>protect</code> function in the example below invokes
    the function argument <code>g</code> and protects callers from
    run-time panics caused by <code>g</code>.
    </p>
    
    <pre>
    func protect(g func()) {
    	defer func() {
    		log.Println("done")  // Println executes normally even if there is a panic
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Tue Dec 02 23:07:19 GMT 2025
    - 286.5K bytes
    - Click Count (1)
Back to Top