Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 19 for overheads (0.08 sec)

  1. 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)
  2. 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)
  3. 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)
  4. android/guava/src/com/google/common/graph/InvalidatableSet.java

      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    
      private void validate() {
        // Don't use checkState(), because we don't want the overhead of generating the error message
        // unless it's actually going to be used; validate() is called for all set method calls, so it
        // needs to be fast.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Jan 30 16:59:10 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

     *
     * @author mbechler
     *
     */
    public class Smb2QueryDirectoryResponse extends ServerMessageBlock2Response {
    
        /**
         * Protocol overhead size for SMB2 query directory response
         */
        public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 8;
    
        private final byte expectInfoClass;
        private FileEntry[] results;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  7. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

     *
     * @author David Richter
     */
    @NullUnmarked
    public class IteratorBenchmark {
      @Param({"0", "1", "16", "256", "4096", "65536"})
      int size;
    
      // use concrete classes to remove any possible polymorphic overhead?
      Object[] array;
      ArrayList<Object> arrayList;
      LinkedList<Object> linkedList;
    
      @BeforeExperiment
      void setUp() {
        array = new Object[size];
        arrayList = Lists.newArrayListWithCapacity(size);
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

            super(config, SMB2_QUERY_INFO);
            this.outputBufferLength = Math.min(config.getMaximumBufferSize(), config.getListSize()) - Smb2QueryInfoResponse.OVERHEAD & ~0x7;
            this.fileId = fileId;
        }
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.internal.smb2.RequestWithFileId#setFileId(byte[])
         */
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/TransformedListIterator.java

    import com.google.common.base.Function;
    import java.util.ListIterator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An iterator that transforms a backing list iterator; for internal use. This avoids the object
     * overhead of constructing a {@link Function} for internal methods.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    abstract class TransformedListIterator<F extends @Nullable Object, T extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/TransformedListIterator.java

    import com.google.common.base.Function;
    import java.util.ListIterator;
    import org.jspecify.annotations.Nullable;
    
    /**
     * An iterator that transforms a backing list iterator; for internal use. This avoids the object
     * overhead of constructing a {@link Function} for internal methods.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    abstract class TransformedListIterator<F extends @Nullable Object, T extends @Nullable Object>
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
Back to top