Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestGoodOSArch (0.13 sec)

  1. src/go/build/syslist_test.go

    	{"file_foo_" + thisArch + ".go", true},
    	{"file_foo_" + otherArch + ".go", false},
    	{"file_" + thisOS + ".c", true},
    	{"file_" + otherOS + ".c", false},
    }
    
    func TestGoodOSArch(t *testing.T) {
    	for _, test := range tests {
    		if Default.goodOSArchFile(test.name, make(map[string]bool)) != test.result {
    			t.Fatalf("goodOSArchFile(%q) != %v", test.name, test.result)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Sep 23 18:12:59 UTC 2020
    - 1.4K bytes
    - Viewed (0)
  2. src/cmd/go/internal/modindex/syslist_test.go

    	{"file_foo_" + thisArch + ".go", true},
    	{"file_foo_" + otherArch + ".go", false},
    	{"file_" + thisOS + ".c", true},
    	{"file_" + otherOS + ".c", false},
    }
    
    func TestGoodOSArch(t *testing.T) {
    	for _, test := range tests {
    		if (*Context)(&build.Default).goodOSArchFile(test.name, make(map[string]bool)) != test.result {
    			t.Fatalf("goodOSArchFile(%q) != %v", test.name, test.result)
    		}
    	}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 20:19:10 UTC 2022
    - 1.5K bytes
    - Viewed (0)
Back to top