Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for inlinetest (0.11 sec)

  1. src/runtime/race/testdata/regression_test.go

    	a = 42
    	go func() {
    		_ = a
    		c <- 1
    	}()
    	return a, 10
    }
    
    func issue5431() {
    	var p **inltype
    	if inlinetest(p).x && inlinetest(p).y {
    	} else if inlinetest(p).x || inlinetest(p).y {
    	}
    }
    
    type inltype struct {
    	x, y bool
    }
    
    func inlinetest(p **inltype) *inltype {
    	return *p
    }
    
    type iface interface {
    	Foo() *struct{ b bool }
    }
    
    type Int int
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Nov 03 02:01:34 UTC 2015
    - 2.7K bytes
    - Viewed (0)
  2. src/debug/gosym/testdata/pclinetest.h

    Austin Clements <******@****.***> 1541097261 -0400
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Nov 12 20:27:20 UTC 2018
    - 74 bytes
    - Viewed (0)
  3. src/debug/gosym/pclntab_test.go

    		t.Skipf("skipping in short mode on non-Linux system %s", runtime.GOARCH)
    	}
    	var err error
    	pclineTempDir, err = os.MkdirTemp("", "pclinetest")
    	if err != nil {
    		t.Fatal(err)
    	}
    	pclinetestBinary = filepath.Join(pclineTempDir, "pclinetest")
    	cmd := exec.Command(testenv.GoToolPath(t), "build", "-o", pclinetestBinary)
    	cmd.Dir = "testdata"
    	cmd.Env = append(os.Environ(), "GOOS=linux")
    	cmd.Stdout = os.Stdout
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Aug 09 17:17:44 UTC 2022
    - 9.6K bytes
    - Viewed (0)
  4. src/cmd/compile/internal/inline/interleaved/interleaved.go

    			}
    		}
    
    		bigCaller := base.Flag.LowerL != 0 && inline.IsBigFunc(fn)
    		if bigCaller && base.Flag.LowerM > 1 {
    			fmt.Printf("%v: function %v considered 'big'; reducing max cost of inlinees\n", ir.Line(fn), fn)
    		}
    
    		match := func(n ir.Node) bool {
    			switch n := n.(type) {
    			case *ir.CallExpr:
    				return true
    			case *ir.TailCallStmt:
    				n.Call.NoInline = true // can't inline yet
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Mar 27 20:42:52 UTC 2024
    - 5.1K bytes
    - Viewed (0)
Back to top