Searched refs:ONE_MB (Results 1 – 3 of 3) sorted by relevance
36 private static final int ONE_MB = 1024 * 1024; field in SocketTimeoutTest39 Socket socket = socket(ONE_MB, 0); in readWithoutTimeout()42 source.require(ONE_MB); in readWithoutTimeout()51 source.require(ONE_MB); in readWithTimeout()59 Socket socket = socket(0, ONE_MB); in writeWithoutTimeout()62 byte[] data = new byte[ONE_MB]; in writeWithoutTimeout()72 byte[] data = new byte[ONE_MB]; in writeWithTimeout()
2609 const ONE_MB: i64 = 1024 * ONE_KB; constant2646 let critical_guest_available = 400 * ONE_MB; in new()2675 file_to_i64(LOWMEM_AVAILABLE, 0).map_err(Error::ReadMemAvailable)? * ONE_MB; in delta()2680 self.max_balloon_actual / ONE_MB, in delta()2699 self.critical_guest_available / ONE_MB, in delta()2712 const MAX_CRITICAL_DELTA: i64 = 10 * ONE_MB; in delta()2736 if guest_above_critical < ONE_MB in delta()2737 || host_above_critical < ONE_MB in delta()2746 result / ONE_MB, in delta()2747 host_available / ONE_MB, in delta()[all …]