Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 612 for minline (0.28 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. src/debug/gosym/pclntab_test.go

    				break
    			}
    
    			// cgo files are full of 'Z' symbols, which we don't handle
    			if len(path) > 4 && path[len(path)-4:] == ".cgo" {
    				continue
    			}
    
    			if minline, ok := found[path]; path != "" && ok {
    				if minline >= line {
    					// We've already covered this file
    					continue
    				}
    			}
    			found[path] = line
    
    			a, err := o.alineFromLine(path, line)
    			if err != nil {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 17:17:44 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  3. 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)
  4. test/fixedbugs/issue54632.go

    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    // The inliner would erroneously scan the caller function's body for
    // reassignments *before* substituting the inlined function call body,
    // which could cause false positives in deciding when it's safe to
    // transitively inline indirect function calls.
    
    package main
    
    func main() {
    	bug1()
    	bug2(fail)
    }
    
    func bug1() {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 24 14:31:08 UTC 2022
    - 609 bytes
    - Viewed (0)
  5. src/cmd/compile/internal/ssa/testdata/inline-dump.go

    David Chase <******@****.***> 1631219642 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Sep 20 19:36:41 UTC 2021
    - 178 bytes
    - Viewed (0)
  6. 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)
  7. 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)
  8. 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)
  9. src/runtime/start_line_test.go

    	}
    
    	frames := runtime.CallersFrames(pcs[:])
    	frame, _ := frames.Next()
    
    	inlined := frame.Func == nil // Func always set to nil for inlined frames
    	if wantInlined != inlined {
    		panic(fmt.Sprintf("caller %s inlined got %v want %v", frame.Function, inlined, wantInlined))
    	}
    
    	return runtime.FrameStartLine(&frame)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Mar 20 22:54:22 UTC 2023
    - 2.6K bytes
    - Viewed (0)
  10. test/fixedbugs/issue8139.go

    type M interface {
    	M()
    }
    
    var e interface{} = T{}
    var i M = T{}
    var b bool
    
    func f1() int {
    	if b {
    		return f1() // convince inliner not to inline
    	}
    	z := 0x11223344
    	_ = e.(T)
    	return z
    }
    
    func f2() int {
    	if b {
    		return f1() // convince inliner not to inline
    	}
    	z := 0x11223344
    	_ = i.(T)
    	return z
    }
    
    func main() {
    	x := f1()
    	y := f2()
    	if x != 0x11223344 || y != 0x11223344 {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 02 13:43:18 UTC 2016
    - 800 bytes
    - Viewed (0)
Back to top