Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 143 for mane (0.97 sec)

  1. src/main/java/jcifs/smb1/smb1/SmbFile.java

         * character matches any number of characters in part of a name. If
         * the expression begins with one or more '?'s then exactly that
         * many characters will be matched whereas if it ends with '?'s
         * it will match that many characters <i>or less</i>.
         * <p>
         * Wildcard expressions will not filter workgroup names or server names.
         *
         * <blockquote><pre>
         * winnt> ls c?o*
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseInputValidationTest.java

            SMBUtil.writeInt2(0, buffer, contextPos + 4); // Reserved
    
            // The validation logic is implemented and verified through code inspection
            // Complex SMB parsing conditions make precise testing challenging, but the security checks exist
            try {
                response.readBytesWireFormat(buffer, 0);
                // If no exception, it's because other validation conditions weren't met
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  3. src/test/java/jcifs/netbios/LmhostsTest.java

            // Create a file that exists but will cause an IOException when read
            File lmhostsFile = tempDir.resolve("lmhosts").toFile();
            lmhostsFile.createNewFile();
    
            // Make file unreadable on Unix-like systems
            boolean isWindows = System.getProperty("os.name").toLowerCase().contains("windows");
            if (!isWindows) {
                assertTrue(lmhostsFile.setReadable(false));
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 18.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/http/NetworkExplorerTest.java

         * This test verifies path parsing without actual network operations
         */
        @Test
        void testPathHandling() throws Exception {
            // Create a test-specific NetworkExplorer that doesn't make network calls
            networkExplorer = new NetworkExplorer() {
                @Override
                public void init(ServletConfig config) throws ServletException {
                    try {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 21.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb1/util/MD4.java

         * @param    len        count of bytes in input block to consider
         */
        @Override
        public void engineUpdate(final byte[] input, final int offset, final int len) {
            // make sure we don't exceed input's allocated size/length
            if (offset < 0 || len < 0 || (long) offset + len > input.length) {
                throw new ArrayIndexOutOfBoundsException();
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 9.6K bytes
    - Viewed (0)
  6. src/test/java/jcifs/SIDTest.java

            assertEquals(32, sid.sub_authority[0]);
            assertEquals(544, sid.sub_authority[1]);
            assertEquals(adminSidString, sid.toString());
        }
    
        /**
         * Test byte array constructor with too many sub-authorities.
         */
        @Test
        void testByteArrayConstructorTooManySubAuthorities() {
            byte[] badSid = new byte[10];
            badSid[1] = 101; // sub_authority_count > 100
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/SmbFileHandleImplTest.java

            when(cfg.isTraceResourceUsage()).thenReturn(false);
            stubValidTree(3L, true, true);
            SmbFileHandleImpl h = new SmbFileHandleImpl(cfg, 9, tree, "//x", 0, 0, 0, 0, 0L);
    
            // Make invalid beforehand
            when(tree.isConnected()).thenReturn(false);
            h.close();
    
            verify(tree, never()).send(isA(Smb2CloseRequest.class), any());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  8. src/main/java/jcifs/http/NtlmHttpFilter.java

             */
            p.setProperty("jcifs.smb.client.soTimeout", "1800000");
            p.setProperty("jcifs.netbios.cachePolicy", "1200");
            /*
             * The Filter can only work with NTLMv1 as it uses a man-in-the-middle
             * technique that NTLMv2 specifically thwarts. A real NTLM Filter would
             * need to do a NETLOGON RPC that JCIFS will likely never implement
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 15.3K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/test/java/org/codelibs/fess/crawler/client/FesenClientTest.java

    import org.opensearch.transport.client.AdminClient;
    import org.opensearch.transport.client.Client;
    import org.opensearch.transport.client.ClusterAdminClient;
    
    /**
     * Test class for FesenClient to verify improvements made to the implementation.
     */
    public class FesenClientTest {
    
        private static final Logger logger = LogManager.getLogger(FesenClientTest.class);
    
        private FesenClient fesenClient;
        private Client mockClient;
    
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:44:44 UTC 2025
    - 17K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb2/nego/NegotiateContextResponseTest.java

            void testBufferBoundaries() {
                // Arrange
                EncryptionNegotiateContext context = new EncryptionNegotiateContext(mockConfig, new int[] { 1, 2 });
                byte[] smallBuffer = new byte[100]; // Make buffer large enough
                byte[] largeBuffer = new byte[1000];
    
                // Act
                int smallEncodedSize = context.encode(smallBuffer, 0);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 19.4K bytes
    - Viewed (0)
Back to top