Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Goulden (0.81 sec)

  1. src/cmd/compile/internal/test/logic_test.go

    	// golden functions we use repeatedly
    	zero := func(x int64) int64 { return 0 }
    	id := func(x int64) int64 { return x }
    	or := func(x, y int64) int64 { return x | y }
    	and := func(x, y int64) int64 { return x & y }
    	y := func(x, y int64) int64 { return y }
    
    	for _, test := range [...]struct {
    		name   string
    		f      func(int64) int64
    		golden func(int64) int64
    	}{
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Nov 17 23:34:11 UTC 2023
    - 11.2K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/inline/inlheur/funcprops_test.go

    	"flag"
    	"fmt"
    	"internal/testenv"
    	"os"
    	"path/filepath"
    	"regexp"
    	"strconv"
    	"strings"
    	"testing"
    	"time"
    )
    
    var remasterflag = flag.Bool("update-expected", false, "if true, generate updated golden results in testcases for all props tests")
    
    func TestFuncProperties(t *testing.T) {
    	td := t.TempDir()
    	// td = "/tmp/qqq"
    	// os.RemoveAll(td)
    	// os.Mkdir(td, 0777)
    	testenv.MustHaveGoBuild(t)
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 16 20:15:25 UTC 2023
    - 15K bytes
    - Viewed (0)
  3. src/cmd/api/testdata/src/pkg/p4/golden.txt

    Matthew Dempsky <******@****.***> 1706243372 -0800
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri Jan 26 19:39:32 UTC 2024
    - 329 bytes
    - Viewed (0)
  4. src/cmd/asm/internal/asm/endtoend_test.go

    	"cmd/asm/internal/lex"
    	"cmd/internal/obj"
    )
    
    // An end-to-end test for the assembler: Do we print what we parse?
    // Output is generated by, in effect, turning on -S and comparing the
    // result against a golden file.
    
    func testEndToEnd(t *testing.T, goarch, file string) {
    	input := filepath.Join("testdata", file+".s")
    	architecture, ctxt := setArch(goarch)
    	architecture.Init(ctxt)
    	lexer := lex.NewLexer(input)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Dec 07 18:42:59 UTC 2023
    - 11.6K bytes
    - Viewed (0)
Back to top