Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for bigEndianLoad (0.1 sec)

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

    func TestIssue64468(t *testing.T) {
    	t32 := T32{1, 2}
    	if got, want := t32.bigEndianLoad(), uint64(1<<32+2); got != want {
    		t.Errorf("T32.bigEndianLoad got %x want %x\n", got, want)
    	}
    	if got, want := t32.littleEndianLoad(), uint64(1+2<<32); got != want {
    		t.Errorf("T32.littleEndianLoad got %x want %x\n", got, want)
    	}
    	t16 := T16{1, 2}
    	if got, want := t16.bigEndianLoad(), uint32(1<<16+2); got != want {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu Nov 30 18:35:50 UTC 2023
    - 4.5K bytes
    - Viewed (0)
Back to top