Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 295 for Another (1.13 sec)

  1. src/test/java/jcifs/DialectVersionTest.java

        @Test
        @DisplayName("Should maintain SMB2 flag consistency")
        void testSMB2FlagConsistency() {
            // SMB1 should not be SMB2
            assertFalse(DialectVersion.SMB1.isSMB2());
    
            // All other versions should be SMB2
            for (DialectVersion version : DialectVersion.values()) {
                if (version != DialectVersion.SMB1) {
                    assertTrue(version.isSMB2(), "Version " + version + " should be SMB2");
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

     * </p>
     * <p>
     * If the source object is a {@link Date}, {@link Calendar}, or {@link java.sql.Date}, the converted object is created using the millisecond value of the source.
     * For other types, the converted object is created from the string representation of the source object.
     * </p>
     * <p>
     * If no pattern is specified, the pattern used for conversion depends on the locale as follows:
     * </p>
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  3. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

    /**
     * Security-focused test cases for Smb2NegotiateResponse input validation.
     * Tests various malformed input scenarios to ensure proper validation and
     * protection against buffer overflow, integer overflow, and other attacks.
     */
    public class Smb2NegotiateResponseInputValidationTest {
    
        private Configuration mockConfig;
        private Smb2NegotiateResponse response;
    
        @BeforeEach
        public void setUp() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  4. src/test/java/jcifs/smb/SmbSessionInternalTest.java

        void getSmbTree_happy() {
            when(session.getSmbTree(anyString(), anyString())).thenReturn(tree);
    
            String share = "share";
            String svc = "A:"; // service string example (e.g., DISK, IPC, or other)
            SmbTree result = session.getSmbTree(share, svc);
    
            assertSame(tree, result);
    
            ArgumentCaptor<String> shareCap = ArgumentCaptor.forClass(String.class);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/smb1/DosFileFilter.java

         */
        protected int attributes;
    
        /**
         * Creates a DOS file filter with the specified wildcard and attributes.
         * This filter can be considerably more efficient than other file filters
         * as the specified wildcard and attributes are passed to the server for
         * filtering there (although attributes are largely ignored by servers
         * they are filtered locally by the default accept method).
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosCredentialsTest.java

                KerberosKey[] keys = credentials.getKeys();
                assertEquals(0, keys.length);
            }
        }
    
        /**
         * Test getKeys method when subject has other credential types.
         *
         * @throws LoginException if login fails.
         */
        @Test
        void testGetKeys_WithOtherCredentialTypes() throws LoginException {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/ProcessHelper.java

            this.streamCloseTimeout = streamCloseTimeout;
        }
    
        /**
         * Sends a command to the process associated with the given session ID.
         * Uses finer-grained locking to avoid blocking other operations during I/O.
         *
         * @param sessionId unique identifier for the process session
         * @param command the command to send to the process
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Nov 20 06:54:47 UTC 2025
    - 10.9K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/Smb2SigningDigestTest.java

                int flags = SMBUtil.readInt4(data, 16);
                assertTrue((flags & ServerMessageBlock2.SMB2_FLAGS_SIGNED) != 0, "Signed flag should be set");
            }
    
            @Test
            @DisplayName("Should preserve other flags when setting signed flag")
            void testSignPreservesOtherFlags() {
                // Set initial flags with some existing flags
                int initialFlags = 0x00000001 | 0x00000002 | 0x00000004;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 43.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                        if (ans != null) {
                            ans.hostName.srcHashCode = 0; // just has to be different
                                                          // from other methods
                            return ans;
                        }
                        break;
                    case RESOLVER_WINS:
                    case RESOLVER_BCAST:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/app/web/admin/dataconfig/CreateForm.java

    import jakarta.validation.constraints.Size;
    
    /**
     * Form class for creating data store configurations.
     * Data configs allow administrators to set up crawling of various data sources
     * including databases, CSV files, and other structured data sources.
     */
    public class CreateForm {
    
        /**
         * Creates a new CreateForm instance.
         */
        public CreateForm() {
            // Default constructor
        }
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
Back to top