Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 807 for minline (0.12 sec)

  1. src/cmd/compile/internal/ssa/numberlines.go

    		}
    		sort.Sort(entries)
    		total := uint64(0)            // sum over files of maxline(file) - minline(file)
    		maxfile := int32(0)           // max(file indices)
    		minline := uint32(0xffffffff) // min over files of minline(file)
    		maxline := uint32(0)          // max over files of maxline(file)
    		for _, v := range entries {
    			if f.pass.stats > 1 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Aug 14 21:26:13 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  2. test/inline.go

    		return x + func(y int) int { // ERROR "can inline r.func2.1" "can inline r.r.func2.func3"
    			return 2*y + x*z
    		}(x) // ERROR "inlining call to r.func2.1"
    	}
    	return foo(42) + bar(42) // ERROR "inlining call to r.func1" "inlining call to r.func2" "inlining call to r.r.func2.func3"
    }
    
    func s0(x int) int { // ERROR "can inline s0"
    	foo := func() { // ERROR "can inline s0.func1" "func literal does not escape"
    		x = x + 1
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Oct 19 23:33:25 UTC 2023
    - 11.7K bytes
    - Viewed (0)
  3. src/cmd/vendor/rsc.io/markdown/inline.go

    		p.emitted = i
    	}
    }
    
    func (p *parseState) skip(i int) {
    	p.emitted = i
    }
    
    func (p *parseState) inline(s string) []Inline {
    	s = trimSpaceTab(s)
    	// Scan text looking for inlines.
    	// Leaf inlines are converted immediately.
    	// Non-leaf inlines have potential starts pushed on a stack while we await completion.
    	// Links take priority over other emphasis, so the emphasis must be delayed.
    	p.s = s
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Jun 04 16:19:04 UTC 2024
    - 21.9K bytes
    - Viewed (0)
  4. tensorflow/compiler/mlir/tfrt/tests/mlrt/inline.mlir

    // RUN: tf-tfrt-opt -split-input-file -pass-pipeline='builtin.module(tf-to-mlrt, inline)' %s | FileCheck %s -dump-input=fail
    
    // Test generated tf_mlrt while body and predicate is inlined.
    
    func.func @then(%x: tensor<i1>, %y: tensor<i1>, %z: tensor<i32>) -> tensor<i1> {
      return %x: tensor<i1>
    }
    
    func.func @else(%x: tensor<i1>, %y: tensor<i1>, %z: tensor<i32>) -> tensor<i1> {
      return %y: tensor<i1>
    }
    
    // CHECK-LABEL: func @while_cond_if
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Fri Mar 22 01:01:31 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  5. src/cmd/compile/internal/dwarfgen/dwinl.go

    	// is part of the top-level function (ii == 0) or if it was
    	// produced as a result of an inline (ii != 0).
    	//
    	// If a variable was not produced by an inline and its containing
    	// function was not inlined, then we just assign an ordering of
    	// based on variable name.
    	//
    	// If a variable was not produced by an inline and its containing
    	// function was inlined, then we need to assign a child index
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 20:45:07 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. tensorflow/compiler/mlir/tfr/passes/decompose.cc

    LogicalResult DecomposeTFOpsPass::InlineTFRFuncCalls() {
      // The Inliner will automatically use the registered dialect inliner.
      InlinerInterface inliner(&getContext());
      func::FuncOp func = getOperation();
      SymbolTable table(external_tfr_module_.has_value()
                            ? *external_tfr_module_
                            : func->getParentOfType<ModuleOp>());
    
      // The inliner only inlines the TFR call op.
      bool changed = false;
    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. src/cmd/compile/internal/inline/inlheur/scoring.go

    			st = "PROMOTED"
    			expinl = true
    		case hairyval <= bud && score > bud:
    			// Demoted: we would have inlined it before, but after
    			// score adjustment we decided not to inline.
    			st = "DEMOTED"
    		}
    		inlined := cs.aux&csAuxInlined != 0
    		indprom := false
    		if cs.parent != nil {
    			indprom = indirectlyDueToPromotion(cs.parent)
    		}
    		if inlined && indprom {
    			st += "|INDPROM"
    		}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 24.2K bytes
    - Viewed (0)
  8. test/inline_sync.go

    func small5() { // ERROR "can inline small5"
    	// the Unlock fast path should be inlined
    	mutex.Unlock() // ERROR "inlining call to sync\.\(\*Mutex\)\.Unlock"
    }
    
    func small6() { // ERROR "can inline small6"
    	// the Lock fast path should be inlined
    	mutex.Lock() // ERROR "inlining call to sync\.\(\*Mutex\)\.Lock"
    }
    
    var once *sync.Once
    
    func small7() { // ERROR "can inline small7"
    	// the Do fast path should be inlined
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Oct 06 21:01:50 UTC 2023
    - 1.6K bytes
    - Viewed (0)
  9. 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)
  10. test/closure3.dir/main.go

    		}
    	}
    
    	{
    		a := 2
    		if r := func(x int) int { // ERROR "can inline main.func28"
    			b := 3
    			return func(y int) int { // ERROR "can inline main.func28.1" "can inline main.main.func28.func35"
    				c := 5
    				func(z int) { // ERROR "can inline main.func28.1.1" "can inline main.func28.main.func28.1.2" "can inline main.main.func28.func35.1" "can inline main.main.func28.main.main.func28.func35.func37"
    					a = a * x
    					b = b * y
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Aug 17 19:36:29 UTC 2023
    - 8.3K bytes
    - Viewed (0)
Back to top