Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for errorCheck (0.16 sec)

  1. test/fixedbugs/bug385_32.go

    // errorcheck
    
    //go:build 386 || amd64p32 || arm
    
    // Copyright 2011 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 2444
    
    package main
    func main() {
    	var arr [1000200030]int   // GC_ERROR "type .* too large"
    	arr_bkup := arr
    	_ = arr_bkup
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 344 bytes
    - Viewed (0)
  2. test/opt_branchlikely.go

    // errorcheck -0 -d=ssa/likelyadjust/debug=1,ssa/insert_resched_checks/off
    // rescheduling check insertion is turned off because the inserted conditional branches perturb the errorcheck
    
    //go:build amd64
    
    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Test that branches have some prediction properties.
    package foo
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  3. src/cmd/vet/vet_test.go

    		// argument to errorCheck as it does double duty as both a
    		// string that appears in the output, and as file name
    		// openable relative to the test directory, containing text
    		// expectations.
    		//
    		// So, we munge the file.
    		stderr = strings.ReplaceAll(stderr, filepath.FromSlash("./rangeloop.go"), filename)
    
    		if err := errorCheck(stderr, false, filename, filepath.Base(filename)); err != nil {
    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. test/fixedbugs/issue13265.go

    // errorcheck -0 -race
    
    //go:build (linux && amd64) || (linux && ppc64le) || (darwin && amd64) || (freebsd && amd64) || (netbsd && amd64) || (windows && amd64)
    
    // Copyright 2017 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue 13265: nil pointer deref.
    
    package p
    
    func f() {
        var c chan chan chan int
        for ; ; <-<-<-c {
        }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 438 bytes
    - Viewed (0)
  5. test/fixedbugs/bug518.go

    // errorcheck
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // The gofrontend used to accept this.
    
    package p
    
    func F2(a int32) bool {
    	return a == C	// ERROR "invalid|incompatible"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 20 03:00:06 UTC 2023
    - 321 bytes
    - Viewed (0)
  6. test/fixedbugs/issue16369.go

    // errorcheck
    
    // Copyright 2016 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type T interface { // ERROR "invalid recursive type: anonymous interface refers to itself"
    	M(interface {
    		T
    	})
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Dec 19 04:39:56 UTC 2023
    - 302 bytes
    - Viewed (0)
  7. test/fixedbugs/issue34329.go

    // errorcheck -lang=go1.13
    
    // Copyright 2019 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package p
    
    type I interface{ M() }
    
    type _ interface {
    	I
    	I // ERROR "duplicate method M"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 281 bytes
    - Viewed (0)
  8. test/fixedbugs/issue63489b.go

    // errorcheck -lang=go1.4
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build go1.4
    
    package p
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:56:10 UTC 2023
    - 274 bytes
    - Viewed (0)
  9. test/prove_invert_loop_with_unused_iterators.go

    // errorcheck -0 -d=ssa/prove/debug=1
    
    //go:build amd64
    
    package main
    
    func invert(b func(), n int) {
    	for i := 0; i < n; i++ { // ERROR "(Inverted loop iteration|Induction variable: limits \[0,\?\), increment 1)"
    		b()
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 225 bytes
    - Viewed (0)
  10. test/fixedbugs/issue63489a.go

    // errorcheck -lang=go1.21
    
    // Copyright 2023 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    //go:build go1.4
    
    package p
    
    const c = 0o123 // ERROR "file declares //go:build go1.4"
    
    // ERROR "file declares //go:build go1.4"
    
    //line issue63489a.go:13:1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 11:56:10 UTC 2023
    - 362 bytes
    - Viewed (0)
Back to top