Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 178 for contention (2.35 sec)

  1. fess-crawler/src/test/java/org/codelibs/fess/crawler/extractor/impl/EXTRACTOR_TESTS_README.md

    4. **Edge Cases**: Null, empty, and boundary conditions are covered
    5. **Resources**: Test resources are properly managed and cleaned up
    
    ## Contributing
    
    When adding new tests:
    1. Follow the existing naming convention: `test_<method>_<scenario>_<expectedResult>`
    2. Add clear JavaDoc comments explaining the test purpose
    3. Ensure tests are independent and can run in any order
    4. Clean up resources in finally blocks or use try-with-resources
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Wed Nov 19 08:55:01 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

        if (witnessClient != null) {
            witnessClient.close();
        }
        super.logoff();
    }
    ```
    
    ### 5.2 Tree Connection Integration
    ```java
    // In SmbTree.java
    public void connectWithWitnessSupport() throws IOException {
        // Perform normal tree connection
        super.connect();
        
        // Register for witness notifications for this share
        if (session.isWitnessEnabled()) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/RdmaNegotiateResponse.java

     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * RDMA negotiation response parameters.
     *
     * Contains the negotiated parameters returned by the RDMA peer
     * during connection establishment.
     */
    public class RdmaNegotiateResponse {
    
        private int status;
        private int selectedVersion;
        private int creditsGranted;
        private int maxReceiveSize;
        private int maxReadWriteSize;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbFileTest.java

            @Test
            public void testGetTypeForFile() throws Exception {
                // Mocking underlying connection and info retrieval is complex.
                // This test focuses on the logic based on the URL structure.
                SmbFile file = new SmbFile("smb1://server/share/file.txt");
                // Without a real connection, getType relies on path parsing.
                // getUncPath0() will result in a path > 1, so it should be TYPE_FILESYSTEM
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  5. README.md

        for (SmbFile f : file.listFiles()) {
            System.out.println(f.getName());
        }
    }
    ```
    
    ## Configuration
    
    ### Basic Configuration Properties
    
    ```properties
    # Connection settings
    jcifs.smb.client.connTimeout=35000
    jcifs.smb.client.soTimeout=180000
    jcifs.smb.client.responseTimeout=30000
    
    # Authentication
    jcifs.smb.client.domain=WORKGROUP
    jcifs.smb.client.username=guest
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  6. fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java

    import org.dbflute.utflute.core.PlainTestCase;
    
    /**
     * Test class for {@link Handler} and its inner class {@link Handler.StorageURLConnection}.
     * This test covers URL parsing, connection state management, and thread-safety.
     */
    public class HandlerTest extends PlainTestCase {
        @Override
        protected void setUp() throws Exception {
            super.setUp();
            new StandardCrawlerContainer();
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Dec 11 08:38:29 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  7. src/main/java/jcifs/internal/smb1/com/ServerData.java

         */
        public int smaxMpxCount;
        /**
         * Maximum buffer size the server can handle.
         */
        public int maxBufferSize;
        /**
         * Session key for this connection.
         */
        public int sessKey;
        /**
         * Server capabilities bitmap.
         */
        public int scapabilities;
        /**
         * OEM domain name of the server.
         */
        public String oemDomainName;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  8. src/main/java/jcifs/CIFSContext.java

         */
        SmbPipeResource getPipe(String url, int pipeType) throws CIFSException;
    
        /**
         * Close all connections and release resources associated with this context
         *
         * @return whether any connection was still in use
         * @throws CIFSException if an error occurs during cleanup
         */
        boolean close() throws CIFSException;
    
        /**
         * Get the configuration object for this context
         *
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/SmbConstants.java

         * Default buffer size for change notification responses.
         */
        int DEFAULT_NOTIFY_BUF_SIZE = 1024;
    
        /**
         * Default maximum number of sessions per transport connection.
         */
        int DEFAULT_SSN_LIMIT = 250;
        /**
         * Default connection timeout in milliseconds.
         */
        int DEFAULT_CONN_TIMEOUT = 35000;
    
        /**
         * No flags set in SMB header.
         */
        int FLAGS_NONE = 0x00;
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:49:49 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/witness/MockWitnessService.java

                    clientSocket.close();
                } catch (IOException e) {
                    if (running.get()) {
                        log.debug("Error accepting client connection", e);
                    }
                }
            }
        }
    
        @Override
        public void close() {
            stop();
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
Back to top