Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for TestArithmeticConst (0.17 sec)

  1. src/cmd/compile/internal/test/testdata/gen/arithConstGen.go

    								panic(err)
    							}
    						}
    
    					}
    				}
    
    			}
    		}
    
    		fmt.Fprintf(w, "}\n\n")
    	}
    
    	fmt.Fprint(w, `
    
    // TestArithmeticConst tests results for arithmetic operations against constants.
    func TestArithmeticConst(t *testing.T) {
    `)
    
    	for _, s := range szs {
    		fmt.Fprintf(w, `for _, test := range tests_%s%s {`, s.name, s.oponly)
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Tue Sep 20 02:13:02 UTC 2022
    - 8.3K bytes
    - Viewed (0)
  2. src/cmd/compile/internal/test/testdata/arithConst_test.go

    	test_int8{fn: xor_127_int8, fnname: "xor_127_int8", in: 127, want: 0},
    	test_int8{fn: xor_int8_127, fnname: "xor_int8_127", in: 127, want: 0}}
    
    // TestArithmeticConst tests results for arithmetic operations against constants.
    func TestArithmeticConst(t *testing.T) {
    	for _, test := range tests_uint64 {
    		if got := test.fn(test.in); got != test.want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Dec 23 06:40:04 UTC 2020
    - 633.8K bytes
    - Viewed (0)
Back to top