Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 21 of 21 for 0xdeadbeef (0.07 sec)

  1. src/sync/atomic/atomic_test.go

    // ensure that the operations apply to the full word size.
    // The struct fields x.before and x.after check that the
    // operations do not extend past the full word size.
    
    const (
    	magic32 = 0xdedbeef
    	magic64 = 0xdeddeadbeefbeef
    )
    
    func TestSwapInt32(t *testing.T) {
    	var x struct {
    		before int32
    		i      int32
    		after  int32
    	}
    	x.before = magic32
    	x.after = magic32
    	var j int32
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Fri May 17 18:37:29 UTC 2024
    - 71.4K bytes
    - Viewed (0)
Back to top