Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for inPackage (0.09 sec)

  1. src/go/build/build_test.go

    	ctxt  Context
    	name  string
    	data  string
    	match bool
    }{
    	{ctxtP9, "foo_arm.go", "", true},
    	{ctxtP9, "foo1_arm.go", "// +build linux\n\npackage main\n", false},
    	{ctxtP9, "foo_darwin.go", "", false},
    	{ctxtP9, "foo.go", "", true},
    	{ctxtP9, "foo1.go", "// +build linux\n\npackage main\n", false},
    	{ctxtP9, "foo.badsuffix", "", false},
    	{ctxtAndroid, "foo_linux.go", "", true},
    	{ctxtAndroid, "foo_android.go", "", true},
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 15 16:24:01 UTC 2023
    - 23.9K bytes
    - Viewed (0)
  2. src/cmd/covdata/dump.go

    		counters = v.Counters
    	} else if d.cmd == debugDumpMode && *liveflag {
    		suppressOutput = true
    	}
    
    	if d.cmd == debugDumpMode && !suppressOutput {
    		if !d.preambleEmitted {
    			fmt.Printf("\nPackage path: %s\n", d.pkgImportPath)
    			fmt.Printf("Package name: %s\n", d.pkgName)
    			fmt.Printf("Module path: %s\n", d.modulePath)
    			d.preambleEmitted = true
    		}
    		fmt.Printf("\nFunc: %s\n", fd.Funcname)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 23 11:36:57 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/cmd/cover/cover_test.go

    	t.Parallel()
    
    	// srcPath is intentionally not clean so that the path passed to testcover
    	// will not normalize the trailing / to a \ on Windows.
    	srcPath := t.TempDir() + string(filepath.Separator) + "\npackage main\nfunc main() { panic(string([]rune{'u', 'h', '-', 'o', 'h'}))\n/*/main.go"
    	mainSrc := ` package main
    
    func main() {
    	/* nothing here */
    	println("ok")
    }
    `
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  4. src/cmd/cover/cover.go

    	// we have instrumented functions.
    	if counterStmt == nil && len(p.counterLengths) != 0 {
    		panic("internal error: seen functions with regonly/testmain")
    	}
    
    	// Emit package name.
    	fmt.Fprintf(w, "\npackage %s\n\n", pkgconfig.PkgName)
    
    	// Emit package ID var.
    	fmt.Fprintf(w, "\nvar %sP uint32\n", *varVar)
    
    	// Emit all of the counter variables.
    	for k := range p.counterLengths {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 14 19:41:17 UTC 2024
    - 34.5K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/_gen/rulegen.go

    	case *File:
    		file := n
    		seenRewrite := make(map[[3]string]string)
    		fmt.Fprintf(w, "// Code generated from _gen/%s%s.rules using 'go generate'; DO NOT EDIT.\n", n.Arch.name, n.Suffix)
    		fmt.Fprintf(w, "\npackage ssa\n")
    		for _, path := range append([]string{
    			"fmt",
    			"internal/buildcfg",
    			"math",
    			"cmd/internal/obj",
    			"cmd/compile/internal/base",
    			"cmd/compile/internal/types",
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Sep 02 22:09:21 UTC 2023
    - 48.7K bytes
    - Viewed (0)
Back to top