Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Test25143 (0.48 sec)

  1. src/cmd/cgo/internal/test/cgo_test.go

    func Test22906(t *testing.T)                 { test22906(t) }
    func Test23356(t *testing.T)                 { test23356(t) }
    func Test24206(t *testing.T)                 { test24206(t) }
    func Test25143(t *testing.T)                 { test25143(t) }
    func Test26066(t *testing.T)                 { test26066(t) }
    func Test26213(t *testing.T)                 { test26213(t) }
    func Test27660(t *testing.T)                 { test27660(t) }
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed May 17 21:53:11 UTC 2023
    - 6.4K bytes
    - Viewed (0)
  2. src/cmd/cgo/internal/test/test.go

    	}
    }
    
    // issue 25143
    
    func issue25143sum(ns ...C.int) C.int {
    	total := C.int(0)
    	for _, n := range ns {
    		total += n
    	}
    	return total
    }
    
    func test25143(t *testing.T) {
    	if got, want := issue25143sum(1, 2, 3), C.int(6); got != want {
    		t.Errorf("issue25143sum(1, 2, 3) == %v, expected %v", got, want)
    	}
    }
    
    // issue 26066
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon May 20 15:50:06 UTC 2024
    - 48.5K bytes
    - Viewed (0)
Back to top