Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 188 for sehari (0.04 sec)

  1. src/main/java/jcifs/dcerpc/msrpc/netdfs.java

                        }
                        this.s[_i].decode(_src);
                    }
                }
            }
        }
    
        /**
         * DFS storage information structure containing server and share details
         */
        public static class DfsStorageInfo extends NdrObject {
    
            /**
             * Default constructor for DfsStorageInfo
             */
            public DfsStorageInfo() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 21.8K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTransportPoolImplTest.java

            assertTrue(ex.getMessage().contains("Connection failed"));
        }
    
        @Test
        @DisplayName("Should perform logon to IPC$ share")
        void testLogon() throws Exception {
            // Given: Mock transport, session and tree
            SmbTransportPoolImpl poolSpy = spy(pool);
            when(ctx.getTransportPool()).thenReturn(poolSpy);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 19.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/http/NetworkExplorer.java

                p++;
            }
            while (p < len && pathInfo.charAt(p) == '/') {
                p++;
            }
            if (p < len) { /* then there must be a share */
                out[i] = '/';
                i++;
                do { /* collect the share name */
                    out[i++] = ch = pathInfo.charAt(p++);
                } while (p < len && ch != '/');
            }
            return new String(out, 0, i);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/DfsImpl.java

            }
    
            /*
             * Subtract the server and share from the pathConsumed so that
             * it reflects the part of the relative path consumed and not
             * the entire path.
             */
    
            DfsReferralDataInternal next = dri;
            do {
                next.stripPathConsumed(1 + server.length() + 1 + share.length());
                next = next.next();
            } while (next != dri);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  5. src/test/java/jcifs/context/CIFSContextWrapperTest.java

            assertNotNull(cifsContextWrapper);
        }
    
        @Test
        void testGetSmbResource() throws CIFSException, MalformedURLException {
            // Test get(String url) method
            String url = "smb://server/share/file.txt";
            SmbResource mockSmbResource = mock(SmbFile.class);
            // Mocking SmbFile constructor is tricky, so we'll just verify the call to the delegate
            // and ensure no exception is thrown for a valid URL.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 10.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbRandomAccessFileTest.java

            smbFile.tree = smbTree;
            smbFile.fid = 1;
            smbFile.tree_num = 1;
    
            when(smbFile.isFile()).thenReturn(true);
            when(smbFile.getUncPath()).thenReturn("\\\\server\\share\\file.txt");
            when(smbFile.isOpen()).thenReturn(true);
    
            // Mock the open method to do nothing
            doNothing().when(smbFile).open(anyInt(), anyInt(), anyInt(), anyInt());
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformationTest.java

        }
    
        @Test
        void testToStringWithDifferentPaths() {
            // Test with various path formats
            String[] testPaths = { "simple.txt", "path/to/file.doc", "//server/share/file.txt", "folder\\windows\\style.txt", "" // empty path
            };
    
            for (String path : testPaths) {
                trans2QueryPathInfo = new Trans2QueryPathInformation(config, path, TEST_INFO_LEVEL);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/http/NetworkExplorer.java

                p++;
            }
            while (p < len && pathInfo.charAt(p) == '/') {
                p++;
            }
            if (p < len) { /* then there must be a share */
                out[i] = '/';
                i++;
                do { /* collect the share name */
                    out[i++] = ch = pathInfo.charAt(p++);
                } while (p < len && ch != '/');
            }
            return new String(out, 0, i);
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  9. src/test/java/jcifs/smb/SmbTreeHandleImplTest.java

            // Validates simple property delegation to the connection
            when(treeConnection.getTreeType()).thenReturn(7);
            when(treeConnection.getConnectedShare()).thenReturn("SHARE");
            assertEquals(7, handle.getTreeType());
            assertEquals("SHARE", handle.getConnectedShare());
            verify(treeConnection).getTreeType();
            verify(treeConnection).getConnectedShare();
        }
    
        @Test
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.4K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/helper/ViewHelper.java

                }
                break;
            case SAFARI:
                if (isLocalFile) {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.winlocal.safari", "file://"));
                } else {
                    url = url.replaceFirst("file:/+", systemProperties.getProperty("file.protocol.safari", "file:////"));
                }
                break;
            case OPERA:
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 52.6K bytes
    - Viewed (0)
Back to top