Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for rangeloops (0.21 sec)

  1. src/cmd/go/internal/test/flagdefs.go

    	"httpresponse":     true,
    	"ifaceassert":      true,
    	"loopclosure":      true,
    	"lostcancel":       true,
    	"methods":          true,
    	"nilfunc":          true,
    	"printf":           true,
    	"rangeloops":       true,
    	"shift":            true,
    	"sigchanyzer":      true,
    	"slog":             true,
    	"stdmethods":       true,
    	"stdversion":       true,
    	"stringintconv":    true,
    	"structtag":        true,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  2. src/cmd/go/internal/test/test.go

    	// "-cgocall",
    	// "-composites",
    	// "-copylocks",
    	"-directive",
    	"-errorsas",
    	// "-httpresponse",
    	"-ifaceassert",
    	// "-lostcancel",
    	// "-methods",
    	"-nilfunc",
    	"-printf",
    	// "-rangeloops",
    	// "-shift",
    	"-slog",
    	"-stringintconv",
    	// "-structtags",
    	// "-tests",
    	// "-unreachable",
    	// "-unsafeptr",
    	// "-unusedresult",
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 16 14:34:32 UTC 2024
    - 71.9K bytes
    - Viewed (0)
  3. src/cmd/vet/vet_test.go

    		cmd.Env = append(os.Environ(), "GOWORK=off")
    		cmd.Dir = "testdata/rangeloop"
    		cmd.Stderr = new(strings.Builder) // all vet output goes to stderr
    		cmd.Run()
    		stderr := cmd.Stderr.(fmt.Stringer).String()
    
    		filename := filepath.FromSlash("testdata/rangeloop/rangeloop.go")
    
    		// Unlike the tests above, which runs vet in cmd/vet/, this one
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 03 01:02:40 UTC 2024
    - 12.5K bytes
    - Viewed (0)
  4. src/internal/types/testdata/check/stmt0.go

    	case F:
    	}
    }
    
    func fors1() {
    	for {}
    	var i string
    	_ = i
    	for i := 0; i < 10; i++ {}
    	for i := 0; i < 10; j /* ERROR "cannot declare" */ := 0 {}
    }
    
    func rangeloops1() {
    	var (
    		a [10]float32
    		b []string
    		p *[10]complex128
    		pp **[10]complex128
    		s string
    		m map[int]bool
    		c chan int
    		sc chan<- int
    		rc <-chan int
    		xs struct{}
    	)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 19K bytes
    - Viewed (0)
Back to top