Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,285 for Inline1 (0.43 sec)

  1. src/cmd/compile/internal/inline/interleaved/interleaved.go

    // returns.
    func fixpoint(fn *ir.Func, match func(ir.Node) bool, edit func(ir.Node) ir.Node) {
    	// Consider the expression "f(g())". We want to be able to replace
    	// "g()" in-place with its inlined representation. But if we first
    	// replace "f(...)" with its inlined representation, then "g()" will
    	// instead appear somewhere within this new AST.
    	//
    	// To mitigate this, each matched node n is wrapped in a ParenExpr,
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  2. test/escape4.go

    	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.
    func f3() { panic(1) } // ERROR "can inline f3" "1 escapes to heap"
    func f4() { recover() }
    
    func f5() *byte { // ERROR "can inline f5"
    	type T struct {
    		x [1]byte
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 14 19:43:26 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  3. cmd/xl-storage-meta-inline.go

    import (
    	"errors"
    	"fmt"
    
    	"github.com/tinylib/msgp/msgp"
    )
    
    // xlMetaInlineData is serialized data in [string][]byte pairs.
    type xlMetaInlineData []byte
    
    // xlMetaInlineDataVer indicates the version of the inline data structure.
    const xlMetaInlineDataVer = 1
    
    // versionOK returns whether the version is ok.
    func (x xlMetaInlineData) versionOK() bool {
    	if len(x) == 0 {
    		return true
    	}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  4. analysis/analysis-api/src/org/jetbrains/kotlin/analysis/api/session/KtAnalysisSessionProvider.kt

         */
        @KaAnalysisApiInternals
        public abstract fun afterLeavingAnalysis(session: KaSession, useSiteElement: KtElement)
    
        /**
         * [afterLeavingAnalysis] hooks into analysis *after* [analyze]'s action has been executed.
         *
         * The signature of [afterLeavingAnalysis] should be kept stable to avoid breaking binary compatibility, since [analyze] is inlined.
         */
    Registered: Wed Jun 12 09:53:16 UTC 2024
    - Last Modified: Mon May 27 17:22:24 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. tensorflow/compiler/mlir/tensorflow/transforms/executor_tpuv1_inline_tpu_island.cc

      if (!nested_module) return;
    
      InlinerInterface inliner(&getContext());
      auto walk_result = getOperation().walk([&](TF::PartitionedCallOp call_op) {
        if (!call_op.getF().getRootReference().getValue().starts_with(
                kNestedModule))
          return WalkResult::advance();
        // This is a call we need to inline!
        LLVM_DEBUG(llvm::dbgs()
                   << "Found call to inline: " << *call_op.getOperation() << "\n");
    
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Dec 19 08:06:04 UTC 2023
    - 4K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tensorflow/ir/tf_ops.cc

        //     post inlining, the function will be dead and eliminated from the IR.
        //     So there won't be any code duplication.
        // plus the function caller op can be replaced by inlined ops.
        return !wouldBeCloned || TensorFlowDialect::CanDuplicate(op);
      }
    
      //===--------------------------------------------------------------------===//
      // Transformation Hooks
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Thu Apr 25 16:01:03 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  7. test/newinline.go

    	return func() int { return 42 }() // ERROR "can inline p.func1" "inlining call to p.func1"
    }
    
    func q(x int) int { // ERROR "can inline q"
    	foo := func() int { return x * 2 } // ERROR "can inline q.func1" "func literal does not escape"
    	return foo()                       // ERROR "inlining call to q.func1"
    }
    
    func r(z int) int { // ERROR "can inline r"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  8. test/inline_endian.go

    // license that can be found in the LICENSE file.
    
    // Similar to inline.go, but only for architectures that can merge loads.
    
    package foo
    
    import (
    	"encoding/binary"
    )
    
    // Ensure that simple encoding/binary functions are cheap enough
    // that functions using them can also be inlined (issue 42958).
    func endian(b []byte) uint64 { // ERROR "can inline endian" "b does not escape"
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Sep 15 21:05:02 UTC 2022
    - 1.6K bytes
    - Viewed (0)
  9. src/cmd/vendor/github.com/google/pprof/internal/driver/driver.go

    		// This is because the merge is done by address and in case of an inlined
    		// stack each of the inlined entries is a separate callgraph node.
    		cfg.NoInlines = true
    	case "weblist":
    		trim = false
    		cfg.Granularity = "addresses"
    		cfg.NoInlines = false // Need inline info to support call expansion
    	case "peek":
    		trim = false
    	case "list":
    		trim = false
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 31 19:48:28 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  10. cmd/kubeadm/app/cmd/util/documentation_test.go

    			out:  "Paragraph1Line1 Paragraph1Line2\n\nParagraph2Line1 Paragraph2Line2",
    		},
    		{
    			desc: "Double spaced line breaks",
    			in:   "Line1  \nLine2",
    			out:  "Line1\nLine2",
    		},
    		{
    			desc: "Double spaced line breaks don't preserve indentation",
    			in:   "\tLine1  \n\tLine2",
    			out:  "Line1\nLine2",
    		},
    	}
    
    	for _, test := range tests {
    		t.Run(test.desc, func(t *testing.T) {
    			got := LongDesc(test.in)
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Mon Jun 24 11:40:55 UTC 2019
    - 2.8K bytes
    - Viewed (0)
Back to top