- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 63 for overheads (0.04 sec)
-
android/guava/src/com/google/common/util/concurrent/AbstractFutureState.java
// There are a few design constraints to consider // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I // have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the // timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of // spinning, so we use SPIN_THRESHOLD_NANOS which is what AbstractQueuedSynchronizer uses for // similar purposes.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 33.2K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/AbstractFutureState.java
// There are a few design constraints to consider // * We want to be responsive to small timeouts, unpark() has non trivial latency overheads (I // have observed 12 micros on 64-bit linux systems to wake up a parked thread). So if the // timeout is small we shouldn't park(). This needs to be traded off with the cpu overhead of // spinning, so we use SPIN_THRESHOLD_NANOS which is what AbstractQueuedSynchronizer uses for // similar purposes.
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 34.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/MoreExecutors.java
} catch (SecurityException e) { // OK if we can't set the name in this environment. } return result; } // TODO(lukes): provide overloads for ListeningExecutorService? ListeningScheduledExecutorService? // TODO(lukes): provide overloads that take constant strings? Function<Runnable, String>s to // calculate names? /**
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Wed Oct 08 18:55:33 UTC 2025 - 45.2K bytes - Viewed (0) -
docs/contribute/concurrency.md
Blocking APIs may be inefficient because you hold a thread idle while waiting on the network. Threads are expensive because they have both a memory overhead and a context-switching overhead. #### Framed protocols
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sun Feb 06 16:35:36 UTC 2022 - 7K bytes - Viewed (0) -
guava/src/com/google/common/primitives/ImmutableIntArray.java
* </ul> * * <p>Disadvantages compared to {@code int[]}: * * <ul> * <li>Memory footprint has a fixed overhead (about 24 bytes per instance). * <li><i>Some</i> construction use cases force the data to be copied (though several construction * APIs are offered that don't). * <li>Can't be passed directly to methods that expect {@code int[]} (though the most common * utilities do have replacements here).Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 21.5K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/ImmutableLongArray.java
* </ul> * * <p>Disadvantages compared to {@code long[]}: * * <ul> * <li>Memory footprint has a fixed overhead (about 24 bytes per instance). * <li><i>Some</i> construction use cases force the data to be copied (though several construction * APIs are offered that don't). * <li>Can't be passed directly to methods that expect {@code long[]} (though the most common * utilities do have replacements here).Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Fri Dec 12 14:49:24 UTC 2025 - 22K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java
* along with information about the read operation. * * @author mbechler */ public class Smb2ReadResponse extends ServerMessageBlock2Response { /** * Protocol overhead size for SMB2 read response */ public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 16; private int dataRemaining; private int dataLength; private final byte[] outputBuffer; private final int outputBufferOffset;Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.4K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java
* * @author mbechler * */ public class Smb2QueryInfoResponse extends ServerMessageBlock2Response { /** * Protocol overhead size for SMB2 query info response */ public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 8; private final byte expectInfoType; private final byte expectInfoClass; private Decodable info; /**Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.8K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/InvalidatableSet.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Jan 30 16:59:10 UTC 2025 - 1.8K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/io/Smb2WriteRequest.java
* * @author mbechler */ public class Smb2WriteRequest extends ServerMessageBlock2Request<Smb2WriteResponse> implements RequestWithFileId { /** * The overhead size in bytes for an SMB2 write request packet. */ public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 48; private byte[] data; private int dataOffset; private int dataLength; private byte[] fileId;
Registered: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 23 05:11:12 UTC 2025 - 7.1K bytes - Viewed (0)