Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for Map (0.02 sec)

  1. src/cmd/go/testdata/script/list_importmap.txt

    stdout '^flag \[fmt\.test\] MAP: map\[fmt:fmt \[fmt\.test\]\]'
    stdout '^fmt\.test MAP: map\[(.* )?testing:testing \[fmt\.test\]'
    ! stdout '^fmt\.test MAP: map\[(.* )?os:'
    stdout '^fmt\.test IMPORT: \[fmt \[fmt\.test\] fmt_test \[fmt\.test\] os reflect testing \[fmt\.test\] testing/internal/testdeps \[fmt\.test\]\]'
    
    
    -- a/b/b.go --
    package b
    
    import _ "c/d"
    -- a/vendor/c/d/d.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 956 bytes
    - Viewed (0)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. src/cmd/go/testdata/script/build_cgo_consistent_results.txt

    [GOOS:illumos] skip "skipping on Solaris; see golang.org/issue/13247"
    
    go build -o $WORK/exe1$GOEXE cgotest
    go build -x -o $WORK/exe2$GOEXE cgotest
    
    # TODO(matloob): skip if stderr does not contain '-fdebug-prefix-map=\$WORK'
    
    cmp $WORK/exe1$GOEXE $WORK/exe2$GOEXE
    
    -- go.mod --
    module cgotest
    
    go 1.16
    -- m.go --
    package cgotest
    
    import "C"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Oct 24 21:26:10 UTC 2022
    - 451 bytes
    - Viewed (0)
  10. src/cmd/go/testdata/script/test_fuzz_mutator.txt

    // (ie. more mutations, and compiler instrumentation)
    func FuzzMutator(f *testing.F) {
    	// TODO(katiehockman): simplify this once we can dedupe crashes (e.g.
    	// replace map with calls to panic, and simply count the number of crashes
    	// that were added to testdata)
    	crashes := make(map[string]bool)
    	// No seed corpus initiated
    	f.Fuzz(func(t *testing.T, b []byte) {
    		crashes[string(b)] = true
    		if len(crashes) >= 10 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 16 16:53:11 UTC 2023
    - 3.7K bytes
    - Viewed (0)
Back to top