Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 373 for steste (2.98 sec)

  1. src/test/java/jcifs/smb/DfsReferralTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    import org.junit.jupiter.api.Test;
    
    import jcifs.DfsReferralData;
    
    /**
     * Tests for the DfsReferral class.
     */
    class DfsReferralTest {
    
        /**
         * Test the constructor and the getData method.
         */
        @Test
        void testConstructorAndGetData() {
            // Create a mock DfsReferralData object
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  2. src/test/java/jcifs/internal/smb1/com/SmbComSessionSetupAndXTest.java

    import jcifs.internal.util.SMBUtil;
    import jcifs.smb.NtlmPasswordAuthenticator;
    import jcifs.smb.SmbException;
    
    /**
     * Unit tests exercising {@link SmbComSessionSetupAndX}.  The class under test
     * contains several protected helper methods and a complex constructor
     * that branches on credential type.  These tests use reflection to call
     * protected methods and Mockito to stub collaborators.
     */
    @ExtendWith(MockitoExtension.class)
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  3. src/test/java/jcifs/smb/SmbResourceLocatorImplTest.java

            assertTrue(base.overlaps(child));
    
            SmbResourceLocatorImpl other = locator("smb://server/share/other");
            assertFalse(base.overlaps(other));
        }
    
        @Test
        @DisplayName("isRoot and isRootOrShare reflect path state")
        void testIsRootAndShare() {
            assertTrue(locator("smb://server/").isRoot());
            assertFalse(locator("smb://server/share/").isRoot());
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  4. src/test/java/org/codelibs/core/xml/DomUtilTest.java

            final DocumentBuilder builder = DocumentBuilderFactoryUtil.newDocumentBuilder();
            final Document doc = DocumentBuilderUtil.parse(builder, ResourceUtil.getResourceAsStream("org/codelibs/core/xml/test1.xml"));
            final Element root = doc.getDocumentElement();
            final String contents = DomUtil.toString(root);
            System.out.println(contents);
        }
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat May 10 01:32:17 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/ResourceNameFilter.java

    /**
     * Filter based on a resource name
     *
     * @author mbechler
     *
     */
    public interface ResourceNameFilter {
    
        /**
         * Tests whether the specified resource name should be included.
         *
         * @param parent the parent SMB resource
         * @param name the resource name to test
         * @return whether the given filename should be included
         * @throws CIFSException if an error occurs while accessing the resource
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbFileFilter.java

     */
    
    package jcifs.smb1.smb1;
    
    /**
     * Filter interface for SMB file listings
     */
    public interface SmbFileFilter {
        /**
         * Tests whether the specified SMB file should be included in a file list.
         *
         * @param file the SMB file to test for inclusion
         * @return true if the file should be included, false otherwise
         * @throws SmbException if an error occurs while accessing the file
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/smb1/SmbFile.java

                final int length = in.length;
                int i, o, state;
                final int s;
    
                /* The canonicalization routine
                 */
                state = 0;
                o = 0;
                for (i = 0; i < length; i++) {
                    switch (state) {
                    case 0:
                        if (in[i] != '/') {
                            return null;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/app/pager/CrawlingInfoPager.java

         */
        public String sessionId;
    
        /**
         * Creation time of the crawling information.
         */
        public String createdTime;
    
        /**
         * Clears all pagination state and crawling information fields.
         * Resets all counts, page flags, and crawling-specific fields to their default values.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/app/pager/FailureUrlPager.java

        public String errorCount;
    
        /** Last time this URL was accessed. */
        public String lastAccessTime;
    
        /**
         * Clears all pager data and resets to default values.
         * This method resets pagination state and search filters.
         */
        public void clear() {
            allRecordCount = 0;
            allPageCount = 0;
            existPrePage = false;
            existNextPage = false;
            pageSize = getDefaultPageSize();
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 7K bytes
    - Viewed (0)
  10. src/test/java/jcifs/internal/smb1/com/SmbComLockingAndXTest.java

     * is stored in private fields; tests make use of the same package to
     * access those members directly.
     */
    @ExtendWith(MockitoExtension.class)
    class SmbComLockingAndXTest {
    
        /**
         * Helper for setting a field via reflection.
         */
        private static void setField(Object target, String name, Object value) {
            try {
                Field f = target.getClass().getDeclaredField(name);
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
Back to top