Search Options

Results per page
Sort
Preferred Languages
Advance

Results 331 - 340 of 1,577 for inst (0.01 sec)

  1. src/test/java/jcifs/SmbConnectionTest.java

            int readAndXClose = config.getBatchLimit("ReadAndX.Close");
            assertTrue(readAndXClose >= 0, "ReadAndX.Close batch limit should be non-negative");
    
            int treeConnectCheck = config.getBatchLimit("TreeConnectAndX.CheckDirectory");
            assertTrue(treeConnectCheck >= 0, "TreeConnectAndX.CheckDirectory batch limit should be non-negative");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/NtStatusTest.java

            int status = NtStatus.NT_STATUS_OBJECT_NAME_NOT_FOUND;
    
            // When/Then
            assertEquals((int) 0xC0000034L, status);
            // Should be an error status (0xC prefix)
            assertTrue((status & (int) 0xC0000000L) == (int) 0xC0000000L);
        }
    
        @Test
        @DisplayName("Should handle sharing violation status")
        void testSharingViolationStatus() {
            // Given
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/Trans2SetFileInformationResponse.java

        }
    
        @Override
        int writeSetupWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeParametersWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
        int writeDataWireFormat(final byte[] dst, final int dstIndex) {
            return 0;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/CrawlerContext.java

        /** The number of threads used by the crawler */
        protected int numOfThread = 10;
    
        /** The maximum number of times to check for active threads. */
        protected int maxThreadCheckCount = 20;
    
        /** The maximum depth for crawling. A value of -1 indicates no depth check. */
        protected int maxDepth = -1;
    
        /** The maximum number of URLs to access. A value of 0 indicates no limit. */
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  5. src/main/java/jcifs/SmbTransportPool.java

         * @param exclusive
         *            whether to acquire an unshared connection
         * @return a transport connection to the target
         */
        SmbTransport getSmbTransport(CIFSContext tc, Address address, int port, InetAddress localAddr, int localPort, String hostName,
                boolean exclusive);
    
        /**
         * Gets or creates an SMB transport for the given context.
         *
         * @param tc
         *            context to use
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/internal/smb1/trans/TransWaitNamedPipeResponseTest.java

            // Test with different parameters
            int[][] testCases = { { 0, 256 }, { 128, 128 }, { 255, 1 }, { 0, 0 } };
    
            for (int[] testCase : testCases) {
                // Arrange
                byte[] buffer = new byte[512];
                int bufferIndex = testCase[0];
                int len = testCase[1];
    
                // Act
                int result = response.readDataWireFormat(buffer, bufferIndex, len);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/SuggestHelper.java

        /**
         * Initializes the SuggestHelper.
         * This method sets up the suggester, configures field names, and initializes
         * the connection to the search engine.
         */
        @PostConstruct
        public void init() {
            if (logger.isDebugEnabled()) {
                logger.debug("Initializing {}", this.getClass().getSimpleName());
            }
            fessConfig = ComponentUtil.getFessConfig();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 22.3K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            assertEquals(1, pool.failCounts.get("10.0.0.1"));
            assertEquals(1, pool.failCounts.get("10.0.0.2"));
        }
    
        @ParameterizedTest
        @ValueSource(ints = { 0, -1 })
        @DisplayName("Should default to port 445 when port <= 0")
        void testDefaultPort(int invalidPort) throws Exception {
            // Given: Create a new pool for this test to ensure isolation
            SmbTransportPoolImpl testPool = new SmbTransportPoolImpl();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb/SmbOperationException.java

                    return false;
                }
    
                return true;
            }
    
            public long getDelayMs(int attemptNumber) {
                if (!exponentialBackoff) {
                    return initialDelayMs;
                }
    
                long delay = initialDelayMs;
                for (int i = 1; i < attemptNumber; i++) {
                    delay = (long) (delay * backoffMultiplier);
                }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 16.5K bytes
    - Viewed (0)
  10. src/test/java/jcifs/dcerpc/rpcTest.java

                when(mockNdrBuffer.dec_ndr_short()).thenReturn((int) (short) 0x9ABC, (int) (short) 0xDEF0);
                when(mockNdrBuffer.dec_ndr_small()).thenReturn((int) (byte) 0x11, (int) (byte) 0x22, // clock seq bytes
                        (int) (byte) 0xAA, (int) (byte) 0xBB, (int) (byte) 0xCC, (int) (byte) 0xDD, (int) (byte) 0xEE, (int) (byte) 0xFF // node bytes
                );
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.5K bytes
    - Viewed (0)
Back to top