Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 24 for overhead (2.83 sec)

  1. src/main/java/jcifs/internal/smb2/nego/Smb2NegotiateResponse.java

            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: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/smb1/BufferCache.java

     */
    
    package jcifs.smb1.smb1;
    
    import jcifs.smb1.Config;
    
    /**
     * Buffer cache implementation for SMB1 protocol operations.
     * Manages a pool of byte buffers to reduce garbage collection overhead.
     *
     * Performance optimizations:
     * - Uses ConcurrentLinkedQueue for O(1) operations
     * - Lock-free operations for better concurrency
     * - Proper buffer validation and limits
     */
    public class BufferCache {
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/info/Smb2QueryInfoResponseTest.java

            assertTrue(response instanceof ServerMessageBlock2);
        }
    
        @Test
        @DisplayName("Test OVERHEAD constant value")
        void testOverheadConstant() {
            assertEquals(72, Smb2QueryInfoResponse.OVERHEAD);
            assertEquals(Smb2Constants.SMB2_HEADER_LENGTH + 8, Smb2QueryInfoResponse.OVERHEAD);
        }
    
        @ParameterizedTest
        @CsvSource({ "1, 6", // SMB2_0_INFO_FILE, FILE_INTERNAL_INFO
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 24.5K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/CriticalPerformanceTest.java

            System.out.printf("  Avg release time: %.2f ns%n", avgReleaseTimeNs);
    
            // Verify O(1) performance - should be reasonably fast (allowing for JVM overhead)
            assertTrue(avgAllocTimeNs < 10000, "Average allocation should be under 10000ns (O(1) performance)");
            assertTrue(avgReleaseTimeNs < 10000, "Average release should be under 10000ns (O(1) performance)");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/crawler/serializer/DataSerializer.java

     * type is determined by the crawler data serializer configuration.
     * </p>
     * <p>
     * The class is thread-safe and uses ThreadLocal to maintain Kryo instances
     * per thread to avoid synchronization overhead.
     * </p>
     *
     */
    public class DataSerializer {
    
        /** Logger for this class. */
        private static final Logger logger = LogManager.getLogger(DataSerializer.class);
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Wed Nov 19 07:09:17 UTC 2025
    - 6.5K bytes
    - Viewed (3)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaBufferManager.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * RDMA buffer manager for efficient memory region pooling.
     *
     * Manages pools of pre-registered memory regions to avoid the overhead
     * of frequent registration/deregistration during RDMA operations.
     */
    public class RdmaBufferManager implements AutoCloseable {
    
        private static final Logger log = LoggerFactory.getLogger(RdmaBufferManager.class);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 8.7K bytes
    - Viewed (0)
  7. README.md

    - **Memory efficient** - Specialized collections like `LruHashMap` and `ArrayMap` for memory-conscious applications
    - **Java 21 features** - Switch expressions and pattern matching for reduced overhead
    
    ## 🧪 Building and Testing
    
    ### Development Setup
    ```bash
    # Clone the repository
    git clone https://github.com/codelibs/corelib.git
    cd corelib
    
    # Compile the project
    mvn clean compile
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sun Aug 31 02:56:02 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/core/crypto/CachedCipher.java

    /**
     * A high-performance utility class for encrypting and decrypting data using cached {@link Cipher} instances.
     * <p>
     * This class provides efficient encryption/decryption by pooling and reusing cipher instances,
     * reducing the overhead of repeated cipher initialization. It supports both string-based keys
     * and {@link Key} objects, with configurable algorithms and character encodings.
     * </p>
     * <p>
     * <strong>Key Features:</strong>
     * </p>
     * <ul>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/Configuration.java

         */
        int getListCount();
    
        /**
         *
         * Property {@code jcifs.smb.client.listSize} (int, default 65435)
         *
         * @return maximum data size for list/info requests (known overhead is subtracted)
         */
        int getListSize();
    
        /**
         *
         *
         * Property {@code jcifs.smb.client.attrExpirationPeriod} (int, 5000)
         *
         * @return timeout of file attribute cache
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbFile.java

                            if (th.isSMB2()) {
                                try {
                                    // Use FILE_READ_ATTRIBUTES only for minimal overhead
                                    withOpen(th, Smb2CreateRequest.FILE_OPEN, SmbConstants.FILE_READ_ATTRIBUTES,
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
Back to top