Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for maps (0.15 sec)

  1. doc/go1.17_spec.html

    <a href="#Deletion_of_map_elements"><code>delete</code></a> built-in function.
    </p>
    <p>
    A new, empty map value is made using the built-in
    function <a href="#Making_slices_maps_and_channels"><code>make</code></a>,
    which takes the map type and an optional capacity hint as arguments:
    </p>
    
    <pre>
    make(map[string]int)
    make(map[string]int, 100)
    </pre>
    
    <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. api/go1.3.txt

    pkg syscall (netbsd-386), const MAP_ALIGNMENT_SHIFT ideal-int
    pkg syscall (netbsd-386), const MAP_ANON = 4096
    pkg syscall (netbsd-386), const MAP_ANON ideal-int
    pkg syscall (netbsd-386), const MAP_FILE = 0
    pkg syscall (netbsd-386), const MAP_FILE ideal-int
    pkg syscall (netbsd-386), const MAP_FIXED = 16
    pkg syscall (netbsd-386), const MAP_FIXED ideal-int
    pkg syscall (netbsd-386), const MAP_HASSEMAPHORE = 512
    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)
  3. src/cmd/cgo/internal/test/callback.go

    	"runtime"
    	"strings"
    	"sync"
    	"testing"
    	"unsafe"
    )
    
    // Pass a func value from nestedCall to goCallback using an integer token.
    var callbackMutex sync.Mutex
    var callbackToken int
    var callbackFuncs = make(map[int]func())
    
    // nestedCall calls into C, back into Go, and finally to f.
    func nestedCall(f func()) {
    	// callback(x) calls goCallback(x)
    	callbackMutex.Lock()
    	callbackToken++
    	i := callbackToken
    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