Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Bainter (0.23 sec)

  1. doc/go1.17_spec.html

    <p>
    A <code>Pointer</code> is a <a href="#Pointer_types">pointer type</a> but a <code>Pointer</code>
    value may not be <a href="#Address_operators">dereferenced</a>.
    Any pointer or value of <a href="#Types">underlying type</a> <code>uintptr</code> can be converted to
    a type of underlying type <code>Pointer</code> and vice versa.
    The effect of converting between <code>Pointer</code> and <code>uintptr</code> is implementation-defined.
    </p>
    
    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)
  2. src/cmd/cgo/internal/test/callback.go

    	callbackMutex.Unlock()
    
    	// Pass the address of i because the C function was written to
    	// take a pointer.  We could pass an int if we felt like
    	// rewriting the C code.
    	C.callback(unsafe.Pointer(&i))
    
    	callbackMutex.Lock()
    	delete(callbackFuncs, i)
    	callbackMutex.Unlock()
    }
    
    //export goCallback
    func goCallback(p unsafe.Pointer) {
    	i := *(*int)(p)
    
    	callbackMutex.Lock()
    	f := callbackFuncs[i]
    	callbackMutex.Unlock()
    Go
    - Registered: Tue Apr 23 11:13:09 GMT 2024
    - Last Modified: Fri May 12 12:00:02 GMT 2023
    - 111.5K bytes
    - Viewed (0)
Back to top