Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Map (0.02 sec)

  1. doc/next/6-stdlib/99-minor/sync/61696.md

    The [Map.Clear] method deletes all the entries, resulting in
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 10 17:07:25 UTC 2024
    - 105 bytes
    - Viewed (0)
  2. src/cmd/go/testdata/script/test_fuzz_minimize_dirty_cov.txt

    # is unable to actually minimize the input. We do this by checking that
    # an expected value appears in the cache. If a dirty coverage map is used
    # (i.e. the coverage map generated during the last minimization step,
    # rather than the map provided with the initial input) then this value
    # is unlikely to appear in the cache, since the map generated during
    # the last minimization step should not increase the coverage.
    
    [short] skip
    [!fuzz-instrumented] skip
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 27 01:16:19 UTC 2023
    - 1.9K bytes
    - Viewed (0)
  3. src/go/parser/testdata/issue23434.src

    // parser after missing type. There should be exactly
    // one error each time, with now follow errors.
    
    package p
    
    func g() {
    	m := make(map[string]! /* ERROR "expected type, found '!'" */ )
    	for {
    		x := 1
    		print(x)
    	}
    }
    
    func f() {
    	m := make(map[string]) /* ERROR "expected type, found '\)'" */
    	for {
    		x := 1
    		print(x)
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 02 12:56:53 UTC 2023
    - 553 bytes
    - Viewed (0)
  4. api/go1.23.txt

    pkg maps, func All[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq2[$1, $2] #61900
    pkg maps, func Collect[$0 comparable, $1 interface{}](iter.Seq2[$0, $1]) map[$0]$1 #61900
    pkg maps, func Insert[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0, iter.Seq2[$1, $2]) #61900
    pkg maps, func Keys[$0 interface{ ~map[$1]$2 }, $1 comparable, $2 interface{}]($0) iter.Seq[$1] #61900
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 05 20:48:49 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  5. src/cmd/go/testdata/script/cgo_suspect_flag_force_external.txt

    # and -fno-canonical-systemd-headers are permitted for internal linking.
    env CGO_CFLAGS=-fdebug-prefix-map=old=/tmp/new
    go build -x -n -o dummy.exe ./usesInternalCgo
    ! stderr preferlinkext
    env CGO_CFLAGS=-ffile-prefix-map=/Users/someone/_11233/things=new
    go build -x -n -o dummy.exe ./usesInternalCgo
    ! stderr preferlinkext
    env CGO_CFLAGS=-no-canonical-prefixes
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 25 18:16:01 UTC 2023
    - 6.3K bytes
    - Viewed (0)
  6. doc/next/6-stdlib/3-iter.md

    - [Values](/pkg/maps#Values) returns an iterator over values in m.
    - [Insert](/pkg/maps#Insert) adds the key-value pairs from seq to m.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 18:34:13 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/list_pgo_issue66218.txt

    go list -f 'ImportPath: "{{.ImportPath}}", Imports: "{{.Imports}}", ImportMap: "{{.ImportMap}}"' m/a m/b
    cmp stdout want
    
    -- want --
    ImportPath: "m/a", Imports: "[m/b [m/a]]", ImportMap: "map[m/b:m/b [m/a]]"
    ImportPath: "m/b", Imports: "[m/c]", ImportMap: "map[]"
    -- go.mod --
    module m
    
    go 1.23
    
    -- a/a.go --
    package main
    
    import _ "m/b"
    -- a/default.pgo --
    -- b/b.go --
    package a
    
    import _ "m/c"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 28 17:00:51 UTC 2024
    - 615 bytes
    - Viewed (0)
  8. src/cmd/go/testdata/script/build_pgo_auto_multi.txt

    stderr 'preprofile.*-i.*b(/|\\\\)default\.pgo'
    
    # a and b built once each with PGO.
    # Ideally we would check that the passed profile is the expected profile (here
    # and for dependencies). Unfortunately there is no nice way to map the expected
    # paths after preprocessing.
    stderr -count=1 'compile.*-pgoprofile=.*a(/|\\\\)a\.go'
    stderr -count=1 'compile.*-pgoprofile=.*b(/|\\\\)b\.go'
    
    # nopgo should be built without PGO.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:38:19 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. api/go1.22.txt

    pkg go/types, method (*Info) PkgNameOf(*ast.ImportSpec) *PkgName #62037
    pkg go/types, method (Checker) PkgNameOf(*ast.ImportSpec) *PkgName #62037
    pkg go/types, type Alias struct #63223
    pkg go/types, type Info struct, FileVersions map[*ast.File]string #62605
    pkg go/version, func Compare(string, string) int #62039
    pkg go/version, func IsValid(string) bool #62039
    pkg go/version, func Lang(string) string #62039
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 24 20:54:27 UTC 2024
    - 7.7K bytes
    - Viewed (0)
Back to top