Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 346 for Given (4.24 sec)

  1. src/main/java/org/codelibs/core/convert/StringConversionUtil.java

        /**
         * Converts the given object to a string.
         *
         * @param value
         *            The object to convert
         * @return The converted {@literal String}
         */
        public static String toString(final Object value) {
            return toString(value, null);
        }
    
        /**
         * Converts the given object to a string.
         *
         * @param value
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbAuthenticationHolder.java

     * authentication based on a given path.
     *
     * <p>This class manages a collection of {@link SmbAuthentication} objects, each associated
     * with a specific path prefix. When a path is provided, it iterates through the stored
     * authentications to find the one whose path prefix matches the beginning of the given path.
     * This allows for different SMB shares to use different authentication credentials.</p>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb1/smb1/Trans2SetFileInformationTest.java

            assertEquals(0, trans2SetFileInformation.maxDataCount);
            assertEquals(0, trans2SetFileInformation.maxSetupCount);
        }
    
        @Test
        void testWriteSetupWireFormat() {
            // Given
            byte[] dst = new byte[2];
    
            // When
            int result = trans2SetFileInformation.writeSetupWireFormat(dst, 0);
    
            // Then
            assertEquals(2, result);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ioctl/SrvCopychunkCopyTest.java

        class ConstructorTests {
    
            @Test
            @DisplayName("Should create instance with source key and single chunk")
            void testConstructorWithSingleChunk() {
                // Given
                byte[] sourceKey = new byte[SOURCE_KEY_SIZE];
                Arrays.fill(sourceKey, (byte) 0xAB);
                SrvCopychunk chunk = new SrvCopychunk(100, 200, 300);
    
                // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 23.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/pac/kerberos/KerberosRelevantAuthDataTest.java

         * @throws IOException if ASN.1 encoding fails.
         * @throws PACDecodingException if PAC decoding fails.
         */
        @Test
        void testConstructor_ValidToken() throws IOException, PACDecodingException {
            // 1. GIVEN
            // Create a mock KerberosAuthData to be returned by the mocked parse method
            KerberosAuthData mockAuthData = mock(KerberosAuthData.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9K bytes
    - Viewed (0)
  6. src/main/java/jcifs/DfsResolver.java

         * @param tf the CIFS context
         * @param domain the domain name to check
         * @return whether the given domain is trusted
         * @throws CIFSException if the operation fails
         */
        boolean isTrustedDomain(CIFSContext tf, String domain) throws CIFSException;
    
        /**
         * Get a connection to the domain controller for a given domain
         *
         * @param tf the CIFS context
         * @param domain the domain name
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/com/SmbComRenameTest.java

        /**
         * Test constructor initialization with valid parameters
         */
        @Test
        @DisplayName("Test constructor initializes fields correctly")
        public void testConstructor() throws Exception {
            // Given
            String oldFileName = "oldFile.txt";
            String newFileName = "newFile.txt";
    
            // When
            smbComRename = new SmbComRename(config, oldFileName, newFileName);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/util/CryptoTest.java

     */
    @DisplayName("Crypto Utility Tests")
    class CryptoTest extends BaseTest {
    
        @Test
        @DisplayName("Should calculate MD4 hash correctly")
        void testMD4Hash() {
            // Given
            String input = "Hello World";
            byte[] data = input.getBytes();
    
            // When
            MessageDigest md4 = Crypto.getMD4();
            byte[] hash = md4.digest(data);
    
            // Then
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.4K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbSessionImplSecurityTest.java

        }
    
        /**
         * Test that concurrent tree operations are thread-safe with CopyOnWriteArrayList.
         */
        @Test
        public void testConcurrentTreeOperationsThreadSafe() throws Exception {
            // Given
            SmbSessionImpl session = new SmbSessionImpl(mockContext, "testhost", "testdomain", mockTransport);
    
            int threadCount = 10;
            int opsPerThread = 100;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 11K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComWriteAndXResponseTest.java

            config = new PropertyConfiguration(new Properties());
        }
    
        /**
         * Test of readParameterWordsWireFormat method
         */
        @Test
        public void testReadParameterWordsWireFormat() {
            // Given
            byte[] buffer = new byte[] { (byte) 0xff, (byte) 0xff, 0, 0, 0, 0, 0, 0 };
            SmbComWriteAndXResponse instance = new SmbComWriteAndXResponse(config);
    
            // When
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.2K bytes
    - Viewed (0)
Back to top