Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for gang (0.1 sec)

  1. src/cmd/go/internal/help/helpdoc.go

    including the vendor element.
    
    Here's the example from the previous section,
    but with the "internal" directory renamed to "vendor"
    and a new foo/vendor/crash/bang directory added:
    
        /home/user/go/
            src/
                crash/
                    bang/              (go code in package bang)
                        b.go
                foo/                   (go code in package foo)
                    f.go
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 11 16:54:28 UTC 2024
    - 36.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/noder/noder.go

    	case withinFunc:
    		return errors.New("go:embed cannot apply to var inside func")
    	case !types.AllowsGoVersion(1, 16):
    		return fmt.Errorf("go:embed requires go1.16 or later (-lang was set to %s; check go.mod)", base.Flag.Lang)
    
    	default:
    		return nil
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:40:57 UTC 2023
    - 12.5K bytes
    - Viewed (0)
  3. src/cmd/asm/internal/asm/testdata/s390x.s

    	LAA	R1, R2, 524287(R3)    // eb213fff7ff8
    	LAAG	R4, R5, -524288(R6)   // eb54600080e8
    	LAAL	R7, R8, 8192(R9)      // eb87900002fa
    	LAALG	R10, R11, -8192(R12)  // ebbac000feea
    	LAN	R1, R2, (R3)          // eb21300000f4
    	LANG	R4, R5, (R6)          // eb54600000e4
    	LAX	R7, R8, (R9)          // eb87900000f7
    	LAXG	R10, R11, (R12)       // ebbac00000e7
    	LAO	R1, R2, (R3)          // eb21300000f6
    	LAOG	R4, R5, (R6)          // eb54600000e6
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Nov 22 03:55:32 UTC 2023
    - 21.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/types2/decl.go

    	if len(tdecl.TParamList) > 0 {
    		tparam0 = tdecl.TParamList[0]
    	}
    
    	// alias declaration
    	if tdecl.Alias {
    		// Report highest version requirement first so that fixing a version issue
    		// avoids possibly two -lang changes (first to Go 1.9 and then to Go 1.23).
    		if !versionErr && tparam0 != nil && !check.verifyVersionf(tparam0, go1_23, "generic type alias") {
    			versionErr = true
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 29.6K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/types2/check_test.go

    		opt(&conf)
    	}
    
    	// apply flag setting (overrides custom configuration)
    	var goexperiment, gotypesalias string
    	flags := flag.NewFlagSet("", flag.PanicOnError)
    	flags.StringVar(&conf.GoVersion, "lang", "", "")
    	flags.StringVar(&goexperiment, "goexperiment", "", "")
    	flags.BoolVar(&conf.FakeImportC, "fakeImportC", false, "")
    	flags.StringVar(&gotypesalias, "gotypesalias", "", "")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 22 19:45:33 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  6. src/cmd/go/internal/work/gc.go

    	if p.Module != nil {
    		v := p.Module.GoVersion
    		if v == "" {
    			v = gover.DefaultGoModVersion
    		}
    		if allowedVersion(v) {
    			defaultGcFlags = append(defaultGcFlags, "-lang=go"+gover.Lang(v))
    		}
    	}
    	if p.Standard {
    		defaultGcFlags = append(defaultGcFlags, "-std")
    	}
    
    	// If we're giving the compiler the entire package (no C etc files), tell it that,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Apr 18 15:37:44 UTC 2024
    - 23K bytes
    - Viewed (0)
  7. src/cmd/cgo/internal/testplugin/plugin_test.go

    	goCmd(t, "build", "-o", "issue53989.exe", "./issue53989/main.go")
    	run(t, "./issue53989.exe")
    }
    
    func TestForkExec(t *testing.T) {
    	// Issue 38824: importing the plugin package causes it hang in forkExec on darwin.
    	globalSkip(t)
    
    	t.Parallel()
    	goCmd(t, "build", "-o", "forkexec.exe", "./forkexec/main.go")
    
    	for i := 0; i < 100; i++ {
    		cmd := testenv.Command(t, "./forkexec.exe", "1")
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:32:53 UTC 2024
    - 12.3K bytes
    - Viewed (0)
  8. src/cmd/compile/internal/types2/stdlib_test.go

    						// to trigger runtime/stdlib-only error output.
    						// In both cases, the code should typecheck.
    						expectErrors = false
    						break
    					}
    					const prefix = "-lang="
    					if strings.HasPrefix(arg, prefix) {
    						goVersion = arg[len(prefix):]
    					}
    				}
    			}
    		}
    
    		// parse and type-check file
    		if testing.Verbose() {
    			fmt.Println("\t", filename)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:18:33 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  9. src/cmd/cgo/internal/testsanitizers/cc_test.go

    	if err != nil {
    		t.Fatalf("Failed to create temp dir: %v", err)
    	}
    	return &tempDir{base: dir}
    }
    
    // hangProneCmd returns an exec.Cmd for a command that is likely to hang.
    //
    // If one of these tests hangs, the caller is likely to kill the test process
    // using SIGINT, which will be sent to all of the processes in the test's group.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 20:00:56 UTC 2024
    - 14.4K bytes
    - Viewed (0)
  10. misc/go_android_exec/main.go

    	// and wait for our os.Stderr (and os.Stdout) to close as a result.
    	// However, if the os.Stderr (or os.Stdout) file descriptors are
    	// passed on, the hanging adb subprocess will hold them open and
    	// go test will hang forever.
    	//
    	// Avoid that by wrapping stderr, breaking the short circuit and
    	// forcing cmd.Run to use another pipe and goroutine to pass
    	// along stderr from adb.
    	cmd.Stderr = struct{ io.Writer }{os.Stderr}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 21 17:46:57 UTC 2023
    - 15.3K bytes
    - Viewed (0)
Back to top