Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for ERRORAUTO (0.43 sec)

  1. test/inline.go

    func k() (T, int, int) { return T{}, 0, 0 } // ERROR "can inline k"
    
    func f3() { // ERROR "can inline f3"
    	T.meth(k()) // ERROR "inlining call to k" "inlining call to T.meth"
    	// ERRORAUTO "inlining call to T.meth"
    }
    
    func small1() { // ERROR "can inline small1"
    	runtime.GC()
    }
    func small2() int { // ERROR "can inline small2"
    	return runtime.GOMAXPROCS(0)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  2. test/newinline.go

    func k() (T, int, int) { return T{}, 0, 0 } // ERROR "can inline k"
    
    func f3() { // ERROR "can inline f3"
    	T.meth(k()) // ERROR "inlining call to k" "inlining call to T.meth"
    	// ERRORAUTO "inlining call to T.meth"
    }
    
    func small1() { // ERROR "can inline small1"
    	runtime.GC()
    }
    func small2() int { // ERROR "can inline small2"
    	return runtime.GOMAXPROCS(0)
    }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  3. src/cmd/vet/vet_test.go

    	auto    bool // match <autogenerated> line
    	file    string
    	prefix  string
    }
    
    var (
    	errRx       = regexp.MustCompile(`// (?:GC_)?ERROR(NEXT)? (.*)`)
    	errAutoRx   = regexp.MustCompile(`// (?:GC_)?ERRORAUTO(NEXT)? (.*)`)
    	errQuotesRx = regexp.MustCompile(`"([^"]*)"`)
    	lineRx      = regexp.MustCompile(`LINE(([+-])(\d+))?`)
    )
    
    // wantedErrors parses expected errors from comments in a file.
    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/cmd/internal/testdir/testdir_test.go

    	auto    bool // match <autogenerated> line
    	file    string
    	prefix  string
    }
    
    var (
    	errRx       = regexp.MustCompile(`// (?:GC_)?ERROR (.*)`)
    	errAutoRx   = regexp.MustCompile(`// (?:GC_)?ERRORAUTO (.*)`)
    	errQuotesRx = regexp.MustCompile(`"([^"]*)"`)
    	lineRx      = regexp.MustCompile(`LINE(([+-])(\d+))?`)
    )
    
    func (t test) wantedErrors(file, short string) (errs []wantedError) {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Mar 21 20:08:06 UTC 2024
    - 57.5K bytes
    - Viewed (0)
Back to top