Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for packagefile (0.25 sec)

  1. src/cmd/link/internal/ld/ld.go

    			before = ""
    		}
    		switch verb {
    		default:
    			log.Fatalf("%s:%d: unknown directive %q", file, lineNum, verb)
    		case "packagefile":
    			if before == "" || after == "" {
    				log.Fatalf(`%s:%d: invalid packagefile: syntax is "packagefile path=filename"`, file, lineNum)
    			}
    			ctxt.PackageFile[before] = after
    		case "packageshlib":
    			if before == "" || after == "" {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Sep 22 16:48:30 UTC 2023
    - 8K bytes
    - Viewed (0)
  2. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/CrossTaskClassChangesIncrementalCompilationIntegrationTest.groovy

                @Retention(RetentionPolicy.RUNTIME)
                @Target(ElementType.PACKAGE)
                public @interface Anno {}
            """]
            def packageFile = file("api/src/main/${language.name}/foo/package-info.${language.name}")
            packageFile.text = """@Deprecated package foo;"""
            source(
                api: ["package foo; public class A {}", "package bar; public class B {}"],
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Oct 24 06:54:47 UTC 2023
    - 12.6K bytes
    - Viewed (0)
  3. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/AbstractSourceIncrementalCompilationIntegrationTest.groovy

                @Retention(RetentionPolicy.RUNTIME)
                @Target(ElementType.PACKAGE)
                public @interface Anno {}
            """)
            def packageFile = file("src/main/${languageName}/foo/package-info.${languageName}")
            packageFile.text = """@Deprecated package foo;"""
            source(
                "package foo; class A {}",
                "package foo; public class B {}",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Aug 28 11:40:18 UTC 2023
    - 16.5K bytes
    - Viewed (0)
  4. platforms/jvm/language-java/src/integTest/groovy/org/gradle/java/compile/incremental/JavaSourceIncrementalCompilationIntegrationTest.groovy

                @Target(ElementType.PACKAGE)
                public @interface Anno {
                       int value();
                }
            """
            def packageFile = file("src/main/${languageName}/foo/package-info.${languageName}")
            packageFile.text = """@Deprecated @annotations.Anno(Const.CONST + 1) package foo; import constant.Const;"""
            source(
                "package foo; class A {}",
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Jan 25 17:44:34 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  5. src/cmd/go/internal/clean/clean.go

    		base.Errorf("go: %s: %v", p.Dir, err)
    		return
    	}
    
    	sh := work.NewShell("", fmt.Print)
    
    	packageFile := map[string]bool{}
    	if p.Name != "main" {
    		// Record which files are not in package main.
    		// The others are.
    		keep := func(list []string) {
    			for _, f := range list {
    				packageFile[f] = true
    			}
    		}
    		keep(p.GoFiles)
    		keep(p.CgoFiles)
    		keep(p.TestGoFiles)
    		keep(p.XTestGoFiles)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  6. test/linkmain_run.go

    	if err != nil {
    		fmt.Println(err)
    		os.Exit(1)
    	}
    	tmp := func(name string) string {
    		return filepath.Join(tmpDir, name)
    	}
    
        importcfg, err := exec.Command("go", "list", "-export", "-f", "{{if .Export}}packagefile {{.ImportPath}}={{.Export}}{{end}}", "std").Output()
        if err != nil {
            fmt.Println(err)
            os.Exit(1)
        }
        os.WriteFile(tmp("importcfg"), importcfg, 0644)
    
    	// helloworld.go is package main
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  7. src/cmd/go/testdata/script/gcflags_patterns.txt

    go build -a -n -ldflags=-X=math.pi=3
    stderr 'link.* -X=math.pi=3'
    
    # cgo.a should not be a dependency of internally-linked go package
    go build -ldflags='-linkmode=external -linkmode=internal' -n prog.go
    ! stderr 'packagefile .*runtime/cgo.a'
    
    -- z1/z.go --
    package z1
    import _ "y"
    import _ "z2"
    
    -- z1/z_test.go --
    package z1_test
    import "testing"
    import _ "z3"
    func Test(t *testing.T) {}
    
    -- z2/z.go --
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 21 14:58:44 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  8. src/cmd/link/doc.go

    	-f
    		Ignore version mismatch in the linked archives.
    	-g
    		Disable Go package data checks.
    	-importcfg file
    		Read import configuration from file.
    		In the file, set packagefile, packageshlib to specify import resolution.
    	-installsuffix suffix
    		Look for packages in $GOROOT/pkg/$GOOS_$GOARCH_suffix
    		instead of $GOROOT/pkg/$GOOS_$GOARCH.
    	-k symbol
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Mar 15 16:11:52 UTC 2024
    - 4K bytes
    - Viewed (0)
  9. src/cmd/go/internal/work/gccgo.go

    		}
    		before, after, _ := strings.Cut(args, "=")
    		switch verb {
    		default:
    			base.Fatalf("importcfg:%d: unknown directive %q", lineNum, verb)
    		case "packagefile":
    			if before == "" || after == "" {
    				return fmt.Errorf(`importcfg:%d: invalid packagefile: syntax is "packagefile path=filename": %s`, lineNum, line)
    			}
    			archive := gccgoArchive(root, before)
    			if err := sh.Mkdir(filepath.Dir(archive)); err != nil {
    				return err
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 02 22:18:34 UTC 2024
    - 19K bytes
    - Viewed (0)
  10. platforms/software/testing-base/src/test/groovy/org/gradle/api/internal/tasks/testing/report/DefaultTestReportTest.groovy

            index.assertHasLinkTo('packages/default-package', 'default-package')
            index.assertHasLinkTo('classes/Test', 'Test')
    
            def packageFile = results(reportDir.file('packages/default-package.html'))
            packageFile.assertHasLinkTo('../classes/Test', 'Test')
        }
    
        def escapesHtmlContentInReport() {
            given:
            report = reportWithMaxThreads(1)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 05 16:29:26 UTC 2024
    - 27.2K bytes
    - Viewed (0)
Back to top