Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 126 for Inlining (0.19 sec)

  1. tensorflow/compiler/mlir/tensorflow/tests/inlining.mlir

    Adrian Kuegel <******@****.***> 1698648479 -0700
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Mon Oct 30 06:52:55 UTC 2023
    - 7.2K bytes
    - Viewed (0)
  2. test/newinline.go

    	runtime.GC()
    }
    
    // Issue #29737 - make sure we can do inlining for a chain of recursive functions
    func ee() { // ERROR "can inline ee"
    	ff(100) // ERROR "inlining call to ff" "inlining call to gg" "inlining call to hh"
    }
    
    func ff(x int) { // ERROR "can inline ff"
    	if x < 0 {
    		return
    	}
    	gg(x - 1) // ERROR "inlining call to gg" "inlining call to hh"
    }
    func gg(x int) { // ERROR "can inline gg"
    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. test/inline_sync.go

    	// the RUnlock fast path should be inlined
    	rwmutex.RUnlock() // ERROR "inlining call to sync\.\(\*RWMutex\)\.RUnlock" "inlining call to atomic\.\(\*Int32\)\.Add"
    }
    
    func small9() { // ERROR "can inline small9"
    	// the RLock fast path should be inlined
    	rwmutex.RLock() // ERROR "inlining call to sync\.\(\*RWMutex\)\.RLock" "inlining call to atomic\.\(\*Int32\)\.Add"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 21:01:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  4. test/closure3.dir/main.go

    					return a*x + b*y + c*z
    				}(10) // ERROR "inlining call to main.func27.1.1"
    			}(100) // ERROR "inlining call to main.func27.1" "inlining call to main.func27.main.func27.1.2"
    		}(1000); r != 2350 { // ERROR "inlining call to main.func27" "inlining call to main.main.func27.func34" "inlining call to main.main.func27.main.main.func27.func34.func36"
    			ppanic("r != 2350")
    		}
    	}
    
    	{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:29 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  5. test/inline.go

    	runtime.GC()
    }
    
    // Issue #29737 - make sure we can do inlining for a chain of recursive functions
    func ee() { // ERROR "can inline ee"
    	ff(100) // ERROR "inlining call to ff" "inlining call to gg" "inlining call to hh"
    }
    
    func ff(x int) { // ERROR "can inline ff"
    	if x < 0 {
    		return
    	}
    	gg(x - 1) // ERROR "inlining call to gg" "inlining call to hh"
    }
    func gg(x int) { // ERROR "can inline gg"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  6. test/fixedbugs/issue7921.go

    	for _, x := range xs {
    		b.WriteString(x)
    	}
    	return b.Len() // ERROR "inlining call to bytes.\(\*Buffer\).Len$"
    }
    
    func bufferNoEscape3(xs []string) string { // ERROR "xs does not escape$"
    	b := bytes.NewBuffer(make([]byte, 0, 64)) // ERROR "&bytes.Buffer{...} does not escape$" "make\(\[\]byte, 0, 64\) does not escape$" "inlining call to bytes.NewBuffer$"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 19:43:26 UTC 2023
    - 2.2K bytes
    - Viewed (0)
  7. test/escape4.go

    		p = alloc(3) // ERROR "inlining call to alloc"
    	}() // ERROR "inlining call to f1.func1" "inlining call to alloc" "moved to heap: x"
    
    	f = func() { // ERROR "func literal escapes to heap" "can inline f1.func2"
    		p = alloc(3) // ERROR "inlining call to alloc" "moved to heap: x"
    	}
    	f()
    }
    
    func f2() {} // ERROR "can inline f2"
    
    // No inline for recover; panic now allowed to inline.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 19:43:26 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  8. test/fixedbugs/issue52193.go

    	p256 := ecdh.P256() // ERROR "inlining call to ecdh.P256"
    
    	ourKey, err := p256.GenerateKey(rand.Reader) // ERROR "devirtualizing p256.GenerateKey" "inlining call to ecdh.*GenerateKey"
    	if err != nil {
    		return nil, err
    	}
    
    	peerPublic, err := p256.NewPublicKey(peerShare) // ERROR "devirtualizing p256.NewPublicKey" "inlining call to ecdh.*NewPublicKey"
    	if err != nil {
    		return nil, err
    	}
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 09 17:21:38 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  9. test/fixedbugs/issue42284.dir/b.go

    // license that can be found in the LICENSE file.
    
    package b
    
    import "./a"
    
    func g() {
    	h := a.E() // ERROR "inlining call to a.E" "T\(0\) does not escape"
    	h.M()      // ERROR "devirtualizing h.M to a.T" "inlining call to a.T.M"
    
    	// BAD: T(0) could be stack allocated.
    	i := a.F(a.T(0)) // ERROR "inlining call to a.F" "a.T\(0\) escapes to heap"
    
    	// Testing that we do NOT devirtualize here:
    	i.M()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 18:09:45 UTC 2023
    - 513 bytes
    - Viewed (0)
  10. test/fixedbugs/issue42284.dir/a.go

    	i = nil
    	return i
    }
    
    func g() {
    	h := E() // ERROR "inlining call to E" "T\(0\) does not escape"
    	h.M()    // ERROR "devirtualizing h.M to T" "inlining call to T.M"
    
    	// BAD: T(0) could be stack allocated.
    	i := F(T(0)) // ERROR "inlining call to F" "T\(0\) escapes to heap"
    
    	// Testing that we do NOT devirtualize here:
    	i.M()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 20 18:09:45 UTC 2023
    - 750 bytes
    - Viewed (0)
Back to top