Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 195 for Inlining (0.17 sec)

  1. test/fixedbugs/issue35073b.go

    	m := make(map[string]string) // ERROR "moved to heap: m" "make\(map\[string\]string\) escapes to heap"
    
    	_ = unsafe.Pointer(reflect.ValueOf(&n).Elem().UnsafeAddr()) // ERROR "inlining call"
    	_ = unsafe.Pointer(reflect.ValueOf(&m).Elem().Pointer())    // ERROR "inlining call"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 15:12:49 UTC 2023
    - 706 bytes
    - Viewed (0)
  2. test/inline_variadic.go

    // license that can be found in the LICENSE file.
    
    // Test inlining of variadic functions.
    // See issue #18116.
    
    package foo
    
    func head(xs ...string) string { // ERROR "can inline head" "leaking param: xs to result"
    	return xs[0]
    }
    
    func f() string { // ERROR "can inline f"
    	x := head("hello", "world") // ERROR "inlining call to head" "\.\.\. argument does not escape"
    	return x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 26 23:50:45 UTC 2021
    - 513 bytes
    - Viewed (0)
  3. test/fixedbugs/issue23521.go

    	for {
    		panic("")
    	}
    }
    
    func g() int { // ERROR "can inline g"
    	return f() // ERROR "inlining call to f"
    }
    
    func f2() int { // ERROR "can inline f2"
    	if !truth {
    		nonleaf()
    	} else {
    		return 0
    	}
    	panic("")
    }
    
    func g2() int { // ERROR "can inline g2"
    	return f2() // ERROR "inlining call to f2"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Apr 03 15:19:41 UTC 2018
    - 773 bytes
    - Viewed (0)
  4. test/fixedbugs/issue56280.dir/a.go

    // license that can be found in the LICENSE file.
    
    package a
    
    func F() { // ERROR "can inline F"
    	g(0) // ERROR "inlining call to g\[go.shape.int\]"
    }
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 08 21:26:09 UTC 2022
    - 382 bytes
    - Viewed (0)
  5. test/fixedbugs/issue24651a.go

    	return x * (x + 1) * (x + 2)
    }
    
    var x = 5
    
    //go:noinline Provide a clean, constant reason for not inlining main
    func main() { // ERROR "cannot inline main: marked go:noinline$"
    	println("Foo(", x, ")=", Foo(x))
    	println("Bar(", x, ")=", Bar(x)) // ERROR "inlining call to Bar"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 881 bytes
    - Viewed (0)
  6. test/fixedbugs/issue5259.go

    // compiledir
    
    // Copyright 2013 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 5259: Inlining of method value causes internal compiler error
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Apr 13 06:22:16 UTC 2013
    - 263 bytes
    - Viewed (0)
  7. test/fixedbugs/issue40252.go

    // rundir
    
    // Copyright 2020 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.
    
    // gccgo got an undefined symbol reference when inlining a method expression.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Sat Aug 15 00:23:28 UTC 2020
    - 265 bytes
    - Viewed (0)
  8. test/fixedbugs/bug467.go

    // compiledir
    
    // Copyright 2012 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.
    
    // Exported data for inlining could forget types of
    // local variables declared in inlinable bodies.
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 293 bytes
    - Viewed (0)
  9. test/linkname.dir/linkname3.go

    import _ "./linkname1"
    import "./linkname2"
    
    func main() { // ERROR "can inline main"
    	str := "hello/world"
    	bs := []byte(str)        // ERROR "\(\[\]byte\)\(str\) escapes to heap"
    	if y.ContainsSlash(bs) { // ERROR "inlining call to y.ContainsSlash"
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Feb 08 20:59:45 UTC 2017
    - 270 bytes
    - Viewed (0)
  10. test/fixedbugs/issue33739.go

    // rundir
    
    // 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.
    
    // Issue 33739: gccgo undefined symbol with cross-package inlining
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 28 18:35:32 UTC 2019
    - 255 bytes
    - Viewed (0)
Back to top