Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 73 for Overhead (0.11 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  2. architecture/standards/0002-avoid-using-java-serialization.md

    This is due to Java's use of reflection and the need to maintain a lot of metadata.
    
    - **Size of Serialized Data:**
    Java serialization tends to produce larger serialized objects because it includes class metadata and other overhead.
    
    - **Flexibility and Control:**
    Java serialization offers limited control over the serialization process, such as excluding certain fields, customizing naming conventions, and handling complex data structures more gracefully.
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Feb 29 22:32:18 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. guava-tests/benchmark/com/google/common/collect/ComparatorDelegationOverheadBenchmark.java

    import com.google.caliper.Benchmark;
    import com.google.caliper.Param;
    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.Random;
    
    /**
     * A benchmark to determine the overhead of sorting with {@link Ordering#from(Comparator)}, or with
     * {@link Ordering#natural()}, as opposed to using the inlined {@link Arrays#sort(Object[])}
     * implementation, which uses {@link Comparable#compareTo} directly.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  4. impl/maven-core/src/main/java/org/apache/maven/eventspy/internal/EventSpyDispatcher.java

        private final List<EventSpy> eventSpies;
    
        @Inject
        public EventSpyDispatcher(List<EventSpy> eventSpies) {
            // make copy to get rid of needless overhead for dynamic lookups
            this.eventSpies = new ArrayList<>(eventSpies);
        }
    
        public ExecutionListener chainListener(ExecutionListener listener) {
            if (eventSpies.isEmpty()) {
                return listener;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. android/guava-tests/benchmark/com/google/common/collect/IteratorBenchmark.java

     *
     * @author David Richter
     */
    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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 3.4K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/io/Smb2ReadResponse.java

    import jcifs.smb.NtStatus;
    
    
    /**
     * @author mbechler
     *
     */
    public class Smb2ReadResponse extends ServerMessageBlock2Response {
    
        /**
         * 
         */
        public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 16;
    
        private int dataRemaining;
        private int dataLength;
        private byte[] outputBuffer;
        private int outputBufferOffset;
    
    
        /**
         * @param config
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Aug 05 07:13:17 UTC 2018
    - 3.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb2/info/Smb2QueryDirectoryResponse.java

    import jcifs.smb.FileEntry;
    
    
    /**
     * @author mbechler
     *
     */
    public class Smb2QueryDirectoryResponse extends ServerMessageBlock2Response {
    
        /**
         * 
         */
        public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 8;
    
        private final byte expectInfoClass;
        private FileEntry[] results;
    
    
        /**
         * @param config
         * @param expectInfoClass
         */
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3.6K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoRequest.java

        public Smb2QueryInfoRequest ( Configuration config, byte[] fileId ) {
            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: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Nov 14 10:41:31 UTC 2021
    - 5.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/info/Smb2QueryInfoResponse.java

    import jcifs.internal.util.SMBUtil;
    
    
    /**
     * @author mbechler
     *
     */
    public class Smb2QueryInfoResponse extends ServerMessageBlock2Response {
    
        public static final int OVERHEAD = Smb2Constants.SMB2_HEADER_LENGTH + 8;
    
        private byte expectInfoType;
        private byte expectInfoClass;
        private Decodable info;
    
    
        /**
         * @param config
         * @param expectInfoType
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sat Nov 13 15:13:49 UTC 2021
    - 6K bytes
    - Viewed (0)
  10. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            int maxBufferSize = tc.getConfig().getTransactionBufferSize();
            this.maxReadSize = Math.min(maxBufferSize - Smb2ReadResponse.OVERHEAD, Math.min(tc.getConfig().getReceiveBufferSize(), this.maxReadSize))
                    & ~0x7;
            this.maxWriteSize = Math.min(maxBufferSize - Smb2WriteRequest.OVERHEAD, Math.min(tc.getConfig().getSendBufferSize(), this.maxWriteSize))
                    & ~0x7;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Mar 22 10:09:46 UTC 2020
    - 17.6K bytes
    - Viewed (0)
Back to top