Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 226 for initials (1.78 sec)

  1. src/test/java/jcifs/smb/SimpleMemoryManagementTest.java

            // Session starts with usage count > 0
            assertTrue(session.isInUse(), "Session should be in use initially");
    
            // Create and release trees
            SmbTreeImpl tree = session.getSmbTree("share1", null);
            assertNotNull(tree, "Tree should be created");
            tree.release();
    
            // Release the session (back to initial state)
            session.release();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            // Test we can read the initial file that was created
            SmbFile initialFile = new SmbFile(baseUrl + "shared/initial.txt", context);
            assertTrue(initialFile.exists(), "Initial file should exist");
            assertTrue(initialFile.isFile(), "Initial file should be a file");
            assertTrue(initialFile.canRead(), "Should be able to read initial file");
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            negotiatedField.setAccessible(true);
            negotiatedField.set(initial, negotiationResponse);
    
            // When: Request connection with signing enforced
            SmbTransportImpl withSigning = pool.getSmbTransport(ctx, address, 445, false, true);
    
            // Then: Should create new connection
            assertNotSame(initial, withSigning, "Should create new connection with different signing");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb1/smb1/SmbComNtTransactionResponseTest.java

        }
    
        @Test
        void testReadParameterWordsWireFormat_bufDataStartIsNotZero() {
            // Test case when bufDataStart is not 0.
            response.bufDataStart = 50; // Initial non-zero value
            byte[] buffer = new byte[37]; // 3 reserved + 8*4 bytes for int4 values + 2 bytes for setupCount
            int bufferIndex = 0;
    
            // Reserved bytes
            buffer[bufferIndex++] = 0x00;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/CIFSContextCredentialWrapperTest.java

            assertEquals(mockCredentials, wrapper.getCredentials(), "Initial credentials should be set by constructor");
        }
    
        @Test
        @DisplayName("Should return the credentials provided in the constructor")
        void testGetCredentials() {
            assertEquals(mockCredentials, wrapper.getCredentials(), "getCredentials should return the initially set credentials");
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  6. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

        }
    
        /**
         * Test: Retry logic correctly enforces maxRetryCount
         * Verifies that with maxRetryCount=5, the operation is tried exactly 6 times (initial + 5 retries)
         */
        @Test
        public void testRetryLogicMaxRetryCount() throws Exception {
            fesenClient.setMaxRetryCount(5);
            fesenClient.setRetryInterval(10L); // Short interval for testing
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb2/rdma/RdmaIntegrationTest.java

                assertNotNull(initialState, "Initial state should not be null");
                assertTrue(
                        initialState == RdmaConnection.RdmaConnectionState.DISCONNECTED
                                || initialState == RdmaConnection.RdmaConnectionState.CONNECTING,
                        "Initial state should be DISCONNECTED or CONNECTING");
    
                // Test connection properties
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 13.8K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb2/rdma/RdmaCredits.java

            this.creditsGranted = 0;
        }
    
        /**
         * Get initial number of credits to request
         *
         * @return initial credits
         */
        public int getInitialCredits() {
            return initialCredits;
        }
    
        /**
         * Set initial credits
         *
         * @param initialCredits initial credits to request
         */
        public void setInitialCredits(int initialCredits) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java

            FileEntry initial = entry("first");
            FileEntry[] page1 = new FileEntry[] { entry("bad"), entry("good") };
            TestIterator it = TestIterator.create(tree, parent, "*", nameFilter, 0, initial, List.of(new FileEntry[][] { page1 }));
    
            // Act
            assertTrue(it.hasNext());
            assertEquals("first", it.next().getName()); // initial
            assertTrue(it.hasNext());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/core/naming/InitialContextUtil.java

        }
    
        /**
         * Creates and returns an initial context.
         *
         * @return the initial context
         */
        public static InitialContext create() {
            try {
                return new InitialContext();
            } catch (final NamingException ex) {
                throw new NamingRuntimeException(ex);
            }
        }
    
        /**
         * Creates and returns an initial context using the specified environment.
         *
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 2.8K bytes
    - Viewed (0)
Back to top