Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 241 for dnes (1.85 sec)

  1. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

            byte[] validProtocolId = { (byte) 0xFD, 'S', 'M', 'B' };
            byte[] invalidProtocolId = { 'I', 'N', 'V', 'D' };
    
            // When/Then
            // Protocol ID validation not applicable for transform header - method does not exist
            // No validation needed as transform header handles protocol ID internally
        }
    
        @Test
        @DisplayName("Should handle null protocol ID")
        void testNullProtocolId() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  2. docs/smb3-features/06-witness-protocol-design.md

        }
        
        // Query for cluster witness service via DNS
        try {
            String clusterName = getClusterName(serverAddress);
            if (clusterName != null) {
                return InetAddress.getByName(clusterName + "-witness");
            }
        } catch (Exception e) {
            log.debug("Failed to discover cluster witness via DNS", e);
        }
        
        return null;  // No witness service found
    }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 02:53:50 UTC 2025
    - 42K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

         *
         * <p>This method is designed to be resilient to malformed robots.txt files.
         * It will parse valid directives and ignore invalid ones, ensuring that partial
         * content can be extracted even from poorly formatted files.</p>
         *
         * <p>The following errors are handled gracefully (line is skipped, parsing continues):</p>
         * <ul>
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Fri Nov 14 12:52:01 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // Then
            assertEquals(4, written);
            assertArrayEquals(expectedStructure, buffer);
        }
    
        @Test
        @DisplayName("Should verify request does not read response data")
        void testRequestDoesNotReadData() {
            // Given
            Configuration mockConfig = mock(Configuration.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileInputStreamTest.java

                verify(mockHandle, times(1)).close();
                verify(mockHandle, atLeastOnce()).acquire();
            }
    
            @Test
            @DisplayName("close() closes handle; does not close file when not unshared")
            void closeClosesHandle() throws Exception {
                SmbFileInputStream in = newStream();
                in.close();
                verify(mockHandle, times(1)).close();
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbWatchHandleImplTest.java

            sut.close();
    
            verify(handle, times(1)).close(0L);
        }
    
        // close() should do nothing when handle is invalid
        @Test
        @DisplayName("close() does nothing when handle invalid")
        void close_invalidHandle_doesNothing() throws Exception {
            when(handle.isValid()).thenReturn(false);
            SmbWatchHandleImpl sut = new SmbWatchHandleImpl(handle, 0, false);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SpnegoContext.java

                            found = mech;
                            break;
                        }
                    }
                    if (found == null) {
                        throw new SmbException("Server does advertise any supported mechanism");
                    }
                }
            } else if (spToken instanceof final NegTokenTarg targ) {
                if (this.firstResponse) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 14.5K bytes
    - Viewed (0)
  8. src/test/java/jcifs/smb/NtlmUtilTest.java

            verify(cifsContext, atLeastOnce()).getConfig();
            verify(configuration, atLeastOnce()).getOemEncoding();
        }
    
        @Test
        @DisplayName("E: splits 7-byte keys into 8-byte DES blocks and concatenates")
        void testE_blockSplitConsistency() throws ShortBufferException {
            // Arrange
            byte[] key14 = hex("01020304050607 11121314151617"); // two 7-byte chunks
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 12K bytes
    - Viewed (1)
  9. src/main/java/jcifs/smb/NtlmPasswordAuthenticator.java

    import jcifs.util.Crypto;
    import jcifs.util.SecureKeyManager;
    import jcifs.util.Strings;
    
    /**
     * This class stores and encrypts NTLM user credentials.
     *
     * Contrary to {@link NtlmPasswordAuthentication} this does not cause guest authentication
     * when the "guest" username is supplied. Use {@link AuthenticationType} instead.
     *
     * @author mbechler
     */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30.3K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/create/Smb2CreateRequestTest.java

            request.setPath("third\\path\\");
            assertEquals("\\third\\path", request.getPath());
    
            // Multiple leading backslashes - only first one gets stripped, then trailing ones get stripped
            // But getPath() adds a backslash at the beginning, so \\fourth\path\\ becomes \fourth\path\
            request.setPath("\\\\fourth\\path\\\\");
            assertEquals("\\\\fourth\\path\\", request.getPath());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top