Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. src/cmd/compile/internal/types2/sizes_test.go

    	}
    	mustTypecheck(src, &conf, &info)
    	for _, tv := range info.Types {
    		_ = conf.Sizes.Sizeof(tv.Type)
    		_ = conf.Sizes.Alignof(tv.Type)
    	}
    }
    
    // go.dev/issue/53884.
    func TestAtomicAlign(t *testing.T) {
    	testenv.MustHaveGoBuild(t) // The Go command is needed for the importer to determine the locations of stdlib .a files.
    
    	const src = `
    package main
    
    import "sync/atomic"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 21:00:48 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  2. src/go/types/sizes_test.go

    	}
    	mustTypecheck(src, &conf, &info)
    	for _, tv := range info.Types {
    		_ = conf.Sizes.Sizeof(tv.Type)
    		_ = conf.Sizes.Alignof(tv.Type)
    	}
    }
    
    // go.dev/issue/53884.
    func TestAtomicAlign(t *testing.T) {
    	testenv.MustHaveGoBuild(t) // The Go command is needed for the importer to determine the locations of stdlib .a files.
    
    	const src = `
    package main
    
    import "sync/atomic"
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Aug 16 21:00:48 UTC 2023
    - 4K bytes
    - Viewed (0)
Back to top