Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for mainSrc (0.18 sec)

  1. src/cmd/cover/cover_test.go

    	mainSrc := ` package main
    
    func main() {
    	/* nothing here */
    	println("ok")
    }
    `
    	if err := os.MkdirAll(filepath.Dir(srcPath), 0777); err != nil {
    		t.Skipf("creating directory with bogus path: %v", err)
    	}
    	if err := os.WriteFile(srcPath, []byte(mainSrc), 0666); err != nil {
    		t.Skipf("writing file with bogus directory: %v", err)
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jun 07 16:54:28 UTC 2023
    - 18.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modload/import.go

    	if cfg.BuildMod == "vendor" {
    		var mainErr error
    		for _, mainModule := range MainModules.Versions() {
    			modRoot := MainModules.ModRoot(mainModule)
    			if modRoot != "" {
    				dir, mainOK, err := dirInModule(path, MainModules.PathPrefix(mainModule), modRoot, true)
    				if mainErr == nil {
    					mainErr = err
    				}
    				if mainOK {
    					mods = append(mods, mainModule)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue May 07 15:21:14 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  3. platforms/native/platform-native/src/integTest/groovy/org/gradle/nativeplatform/NativePlatformSamplesIntegrationTest.groovy

        // /home/tcagent1/agent/work/e67123fb5b9af0ac/subprojects/platform-native/build/tmp/teŝt files/NativePlatf.Test/89jnk/sourceset-variant/build/objs/main/mainC/dey3oyi6y0a9luwot945rff8j/main.o:(.bss+0x0): first defined here
        //clang: error: linker command failed with exit code 1 (use -v to see invocation)
        def sourcesetvariant() {
            given:
            sample sourcesetVariant
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Nov 16 20:20:03 UTC 2023
    - 10.8K bytes
    - Viewed (0)
Back to top