Java换算 1GB 为多少byte 左移1位,表示乘以2的一次方,由于1K = 1024 bytes = 2的10次方 bytes,1GB = 1024 * 1024 * 1024 bytes = 2的30次方 bytes
long result = 1 << 30;