- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for Map (0.02 sec)
-
src/cmd/compile/internal/types2/format.go
// Qualify the package unless it's the package being type-checked. if pkg != check.pkg { if check.pkgPathMap == nil { check.pkgPathMap = make(map[string]map[string]bool) check.seenPkgMap = make(map[*Package]bool) check.markImports(check.pkg) } // If the same package name was used by multiple packages, display the full path. if len(check.pkgPathMap[pkg.name]) > 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.5K bytes - Viewed (0) -
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) -
src/internal/types/testdata/check/decls0.go
I10 } I10 interface { I11 } I11 interface { I9 } C1 chan int C2 <-chan int C3 chan<- C3 C4 chan C5 C5 chan C6 C6 chan C4 M1 map[Last]string M2 map[string]M2 Last int ) // cycles in function/method declarations // (test cases for issues #5217, #25790 and variants) func f1(x f1 /* ERROR "not a type" */ ) {}
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 4.1K bytes - Viewed (0) -
test/linknameasm.dir/x.go
// Use of this source code is governed by a BSD-style // license that can be found in the LICENSE file. // Test that a linkname applied on an assembly declaration // does not affect stack map generation. package main import ( "runtime" _ "unsafe" ) //go:linkname asm func asm(*int) func main() { x := new(int) asm(x) } // called from asm func callback() {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri Jun 07 15:22:22 UTC 2024 - 451 bytes - Viewed (0) -
src/cmd/vendor/github.com/google/pprof/driver/driver.go
type Symbolizer interface { Symbolize(mode string, srcs MappingSources, prof *profile.Profile) error } // MappingSources map each profile.Mapping to the source of the profile. // The key is either Mapping.File or Mapping.BuildId. type MappingSources map[string][]struct { Source string // URL of the source the mapping was collected from
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 31 19:48:28 UTC 2024 - 9.8K bytes - Viewed (0) -
src/cmd/compile/internal/syntax/testdata/issue47704.go
// license that can be found in the LICENSE file. package p func _() { _ = m[] // ERROR expected operand _ = m[x,] _ = m[x /* ERROR unexpected name a */ a b c d] } // test case from the issue func f(m map[int]int) int { return m[0 // ERROR expected comma, \: or \] ]
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 387 bytes - Viewed (0) -
src/go/types/format.go
// Qualify the package unless it's the package being type-checked. if pkg != check.pkg { if check.pkgPathMap == nil { check.pkgPathMap = make(map[string]map[string]bool) check.seenPkgMap = make(map[*Package]bool) check.markImports(check.pkg) } // If the same package name was used by multiple packages, display the full path. if len(check.pkgPathMap[pkg.name]) > 1 {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 3.5K bytes - Viewed (0) -
src/net/netip/inlining_test.go
t.Parallel() out, err := exec.Command( testenv.GoToolPath(t), "build", "--gcflags=-m", "net/netip").CombinedOutput() if err != nil { t.Fatalf("go build: %v, %s", err, out) } got := map[string]bool{} regexp.MustCompile(` can inline (\S+)`).ReplaceAllFunc(out, func(match []byte) []byte { got[strings.TrimPrefix(string(match), " can inline ")] = true return nil }) wantInlinable := []string{
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 17:10:01 UTC 2024 - 2K bytes - Viewed (0) -
src/cmd/compile/internal/types2/labels.go
type block struct { parent *block // enclosing block lstmt *syntax.LabeledStmt // labeled statement to which this block belongs, or nil labels map[string]*syntax.LabeledStmt // allocated lazily } // insert records a new label declaration for the current block. // The label must not have been declared before in any block. func (b *block) insert(s *syntax.LabeledStmt) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 7.2K bytes - Viewed (0) -
src/go/types/labels.go
type block struct { parent *block // enclosing block lstmt *ast.LabeledStmt // labeled statement to which this block belongs, or nil labels map[string]*ast.LabeledStmt // allocated lazily } // insert records a new label declaration for the current block. // The label must not have been declared before in any block. func (b *block) insert(s *ast.LabeledStmt) {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu May 30 19:19:55 UTC 2024 - 7.2K bytes - Viewed (0)