- Sort Score
- Result 10 results
- Languages All
Results 1 - 4 of 4 for Map (0.22 sec)
-
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/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/vendor/golang.org/x/tools/go/analysis/analysis.go
// ResultOf provides the inputs to this analysis pass, which are // the corresponding results of its prerequisite analyzers. // The map keys are the elements of Analysis.Required, // and the type of each corresponding value is the required // analysis's ResultType. ResultOf map[*Analyzer]interface{} // ReadFile returns the contents of the named file. // // The only valid file names are the elements of OtherFiles
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 9.1K bytes - Viewed (0) -
src/cmd/vendor/golang.org/x/tools/internal/versions/types_go122.go
// This would act as a max version on what a tool can support. return Future } // InitFileVersions initializes info to record Go versions for Go files. func InitFileVersions(info *types.Info) { info.FileVersions = make(map[*ast.File]string)
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Jun 04 16:19:04 UTC 2024 - 1.3K bytes - Viewed (0)