Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 1,261 for Inlined (0.1 sec)

  1. test/fixedbugs/bug396.dir/two.go

    // 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.
    
    // Use the functions in one.go so that the inlined
    // forms get type-checked.
    
    package two
    
    import "./one"
    
    func use() {
    	_ = one.New(1)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 298 bytes
    - Viewed (0)
  2. test/fixedbugs/bug392.dir/pkg3.go

    // 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.
    
    // Use the functions in pkg2.go so that the inlined
    // forms get type-checked.
    
    package pkg3
    
    import "./pkg2"
    
    var x = pkg2.F()
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 303 bytes
    - Viewed (0)
  3. test/fixedbugs/issue29562.go

    // compile
    
    // 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.
    
    // Triggers a double walk of the (inlined) switch in il
    
    package p
    
    func il(s string) string {
    	switch len(s) {
    	case 0:
    		return "zero"
    	case 1:
    		return "one"
    	}
    	return s
    }
    
    func f() {
    	var s string
    	var as []string
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 04 21:51:37 UTC 2019
    - 449 bytes
    - Viewed (0)
  4. test/fixedbugs/bug409.go

    // run
    
    // 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.
    
    // Multiple inlined calls to a function that causes
    // redundant address loads.
    
    package main
    
    func F(v [2]float64) [2]float64 {
    	return [2]float64{v[0], v[1]}
    }
    
    func main() {
    	a := F([2]float64{1, 2})
    	b := F([2]float64{3, 4})
    	println(a[0], a[1], b[0], b[1])
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 31 17:36:45 UTC 2018
    - 432 bytes
    - Viewed (0)
  5. test/fixedbugs/issue59404part2.go

    package main
    
    var G func(int) int
    
    //go:noinline
    func callclo(q, r int) int {
    	p := func(z int) int {
    		G = func(int) int { return 1 }
    		return z + 1
    	}
    	res := p(q) ^ p(r) // These calls to "p" will be inlined
    	G = p
    	return res
    }
    
    func main() {
    	callclo(1, 2)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Apr 07 15:07:18 UTC 2023
    - 432 bytes
    - Viewed (0)
  6. test/closure5.dir/a.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Check correctness of various closure corner cases
    // that are expected to be inlined
    
    package a
    
    func f() bool               { return true }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 20 22:53:32 UTC 2021
    - 375 bytes
    - Viewed (0)
  7. test/fixedbugs/bug392.dir/one.go

    // license that can be found in the LICENSE file.
    
    // Functions that the inliner exported incorrectly.
    
    package one
    
    type T int
    
    // Issue 2678
    func F1(T *T) bool { return T == nil }
    
    // Issue 2682.
    func F2(c chan int) bool { return c == (<-chan int)(nil) }
    
    // Use of single named return value.
    func F3() (ret []int) { return append(ret, 1) }
    
    // Call of inlined method with blank receiver.
    func (_ *T) M() int { return 1 }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 851 bytes
    - Viewed (0)
  8. tensorflow/compiler/mlir/lite/utils/fake_quant_utils.cc

                             parent_op->getOperands(), parent_op->getResultTypes(),
                             op->getAttrs(), op->getSuccessors());
        Operation* inlined = builder.create(state);
    
        parent_op->replaceAllUsesWith(inlined);
        parent_op->erase();
      }
      return success();
    }
    
    // Three instances of the rule to cover the three different types of
    // TF::FakeQuant operators
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Sat Jun 03 00:14:05 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. test/fixedbugs/issue44344.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // Issue #44344: a crash in DWARF scope generation (trying to
    // scope the PCs of a function that was inlined away).
    
    package main
    
    func main() {
    	pv := []int{3, 4, 5}
    	if pv[1] != 9 {
    		pv = append(pv, 9)
    	}
    	tryit := func() bool {
    		lpv := len(pv)
    		if lpv == 101 {
    			return false
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Feb 19 14:46:21 UTC 2021
    - 575 bytes
    - Viewed (0)
  10. pkg/ctrlz/assets/static/css/all.css

        padding-left: 1em
    }
    
    .toc-inlined {
        padding-bottom: 1em
    }
    
    .toc-inlined .directory {
        border-left: 0
    }
    
    .toc-inlined .directory li {
        font-size: 1rem
    }
    
    .toc-inlined .directory ul {
        list-style-type: none !important;
        padding-left: 0;
        padding-bottom: 0;
        margin: 0
    }
    
    .toc-inlined .directory ul ul {
        padding-left: 1em
    }
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 17.1K bytes
    - Viewed (0)
Back to top