Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 435 for share1 (0.03 sec)

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

         */
        int connectionState;
        int tid;
    
        String share;
        String service = "?????";
        String service0;
        SmbSession session;
        boolean inDfs, inDomainDfs;
        int tree_num; // used by SmbFile.isOpen
    
        SmbTree(final SmbSession session, final String share, final String service) {
            this.session = session;
            this.share = share.toUpperCase();
            if (service != null && !service.startsWith("??")) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  2. src/test/java/jcifs/smb/SmbTreeImplTest.java

            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertNotNull(tree);
            assertEquals("SHARE", tree.getShare());
            assertEquals("A:", tree.getService());
        }
    
        // Test case for the matches method
        @Test
        void testMatches() {
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            assertTrue(tree.matches("share", "A:"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  3. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 22.6K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.kt

    import okhttp3.internal.isHealthy
    import okhttp3.internal.tls.OkHostnameVerifier
    import okio.Buffer
    
    /**
     * A connection to a remote web server capable of carrying 1 or more concurrent streams.
     *
     * Connections are shared in a connection pool. Accesses to the connection's state must be guarded
     * by holding a lock on the connection.
     */
    class RealConnection internal constructor(
      val taskRunner: TaskRunner,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 14.9K bytes
    - Viewed (0)
  5. 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: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbTreeTest.java

            assertTrue(tree.matches("testshare", "TESTSERVICE"));
    
            // Test matching share with null service
            assertTrue(tree.matches("testShare", null));
    
            // Test matching share with service starting with "??"
            assertTrue(tree.matches("testShare", "??otherService"));
    
            // Test non-matching share
            assertFalse(tree.matches("otherShare", "testService"));
    
            // Test non-matching service
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  7. src/test/java/jcifs/internal/RequestWithPathTest.java

            testImplementation.setFullUNCPath(expectedDomain, "server", "\\\\server\\share\\path");
            assertEquals(expectedDomain, testImplementation.getDomain());
        }
    
        @Test
        @DisplayName("Test getFullUNCPath returns complete UNC path")
        void testGetFullUNCPath() {
            // Test with mock
            String expectedUNCPath = "\\\\server\\share\\folder\\file.txt";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/dcerpc/msrpc/MsrpcShareGetInfo.java

    import jcifs.internal.dtyp.SecurityDescriptor;
    
    /**
     * MSRPC implementation for retrieving share information.
     * This class provides functionality to get detailed information about
     * a specific share using the Server Service RPC interface.
     */
    public class MsrpcShareGetInfo extends srvsvc.ShareGetInfo {
    
        /**
         * Creates a new request to get share information.
         *
         * @param server the server name
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/util/InputValidator.java

            }
        }
    
        /**
         * Validates share name
         *
         * @param share the share name to validate
         * @throws IllegalArgumentException if share name is invalid
         */
        public static void validateShareName(String share) {
            if (share == null || share.isEmpty()) {
                throw new IllegalArgumentException("Share name cannot be null or empty");
            }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 13.5K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbResourceLocatorImpl.java

                    this.canon = "/" + this.share + "/" + StringUtil.join("/", remainParts) + (trailingSlash ? "/" : "");
                } else {
                    this.unc = "\\";
                    if (this.share != null) {
                        this.canon = "/" + this.share + (trailingSlash ? "/" : "");
                    } else {
                        this.canon = "/";
                    }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 23.6K bytes
    - Viewed (0)
Back to top