Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 11 - 20 of 88 for overheads (0.15 seconds)

  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.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Jan 30 16:59:10 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. 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;
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 23 05:11:12 GMT 2025
    - 7.1K bytes
    - Click Count (0)
  3. 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;
    
        /**
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  4. src/test/java/jcifs/smb/NtlmUtilTest.java

            byte[] viaHash = NtlmUtil.nTOWFv2(domain, user, NtlmUtil.getNTHash(password));
            byte[] viaPassword = NtlmUtil.nTOWFv2(domain, user, password);
    
            // Assert: overloads consistent
            assertArrayEquals(viaHash, viaPassword, "Both overloads must compute same NTLMv2 key");
    
            // Changing domain should change the key (domain is part of MAC input)
            byte[] differentDomain = NtlmUtil.nTOWFv2("DOMAIN", user, password);
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 30 05:58:03 GMT 2025
    - 12K bytes
    - Click Count (1)
  5. 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.
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Feb 29 22:32:18 GMT 2024
    - 2.3K bytes
    - Click Count (0)
  6. architecture/standards/0008-use-nullaway.md

    * Some public APIs have incorrect nullability annotations (both overly restrictive and overly permissive)
    
    While there are competing ways to represent absence (`Optional`, "Null Object" pattern, method overloads),
    it is unlikely that we'll be able to remove `null` entirely.
    
    After migrating to Java 8, we can use pluggable type checkers to ensure that our annotations are consistent, 
    and there are no missing null checks.
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Dec 11 10:24:40 GMT 2025
    - 4K bytes
    - Click Count (0)
  7. 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).
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 22K bytes
    - Click Count (0)
  8. 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).
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Dec 12 14:49:24 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  9. 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;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.3K bytes
    - Click Count (0)
  10. 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);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 3.5K bytes
    - Click Count (0)
Back to Top