Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 80 for notre (1.14 sec)

  1. src/test/java/jcifs/ntlmssp/Type1MessageTest.java

            // When
            Type1Message type1 = new Type1Message(mockContext, flags, null, null);
    
            // Then
            // Note: Constructor sets default flags OR'd with provided flags
            assertTrue((type1.getFlags() & flags) != 0);
            // Note: getType() method does not exist in Type1Message
        }
    
        @Test
        @DisplayName("Should create Type 1 message with domain and workstation")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/Smb2TransformHeaderTest.java

        void testTransformHeaderSize() {
            // When
            int headerSize = transformHeader.size();
    
            // Then
            assertEquals(52, headerSize); // SMB2 Transform Header is 52 bytes
        }
    
        // Note: SMB2 Transform Header doesn't have a protocol ID field
        // The protocol ID is part of the encrypted SMB2 message, not the transform header
    
        @Test
        @DisplayName("Should set and get signature")
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/io/FileUtil.java

    import org.codelibs.core.net.URLUtil;
    import org.codelibs.core.nio.ChannelUtil;
    import org.codelibs.core.timer.TimeoutManager;
    
    /**
     * Utility class for handling {@link File}.
     * <p>
     * <strong>SECURITY NOTE:</strong> When accepting file paths from untrusted sources,
     * always validate them using {@link #isPathSafe(Path, Path)} to prevent path traversal attacks.
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 13.1K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/trans2/Trans2SetFileInformationResponseTest.java

        void testInheritedProperties() {
            // Test that inherited properties are accessible
    
            // Test dataCount property - using public method
            response.setDataCount(100);
            // Note: getDataCount() is protected, so we can't test it directly
    
            // Test subCommand property
            assertEquals(SmbComTransaction.TRANS2_SET_FILE_INFORMATION, response.getSubCommand());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 15.9K bytes
    - Viewed (0)
  5. src/test/java/jcifs/internal/fscc/FileInformationTest.java

            int decodedBytes = decoded.decode(buffer, 0, 8);
            assertEquals(8, decodedBytes);
    
            // Verify the round trip preserves the value
            // Note: We can't directly access endOfFile field, but toString contains it
            assertEquals(original.toString(), decoded.toString());
        }
    
        /**
         * Test FileEndOfFileInformation with various end of file values
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.5K bytes
    - Viewed (0)
  6. src/test/java/jcifs/pac/kerberos/KerberosTicketTest.java

            }
        }
    
        @Test
        void testConstructorWithUnrecognizedField() throws IOException, GeneralSecurityException {
            // Test with an unrecognized field in the ticket
            // Note: In the actual implementation, field 99 would come after mandatory fields,
            // so decryption happens first. We test with a mocked successful decryption.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans/nt/NtTransNotifyChangeTest.java

            String result = notifyChange.toString();
    
            assertNotNull(result);
            // Hexdump uses uppercase letters
            // Note: completionFilter is displayed with 4 hex chars, not 8
            assertTrue(result.contains("fid=0xFFFF"));
            assertTrue(result.contains("filter=0xFFFF")); // Only 4 hex chars are shown
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.4K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/fscc/FileSystemInformationTest.java

            void testToString() {
                String result = fileFsSizeInfo.toString();
    
                assertNotNull(result);
                assertTrue(result.contains("SmbInfoAllocation")); // Note: toString() uses this name
                assertTrue(result.contains("alloc="));
                assertTrue(result.contains("free="));
            }
        }
    
        @Nested
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/StringUtil.java

                return text.substring(prefix.length());
            }
            return text;
        }
    
        /**
         * Decapitalizes a string according to JavaBeans conventions.
         * Note: If the first two characters are uppercase, the string will not be decapitalized.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
         * StringUtil.decapitalize("UserId")  = "userId"
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Nov 22 11:21:59 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/Dfs.java

                    SmbTransport trans = null;
    
                    root = root.toLowerCase();
    
                    /* The link entries contain maps of referrals by path representing DFS links.
                     * Note that paths are relative to the root like "\" and not "\example.com\root".
                     */
                    CacheEntry links = (CacheEntry) roots.get(root);
                    if (links != null && now > links.expiration) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.2K bytes
    - Viewed (0)
Back to top