Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 254 for shares (4.83 sec)

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

            connectionState = 0;
        }
    
        synchronized SmbTree getSmbTree(String share, final String service) {
            SmbTree t;
    
            if (share == null) {
                share = "IPC$";
            }
            for (final Enumeration e = trees.elements(); e.hasMoreElements();) {
                t = (SmbTree) e.nextElement();
                if (t.matches(share, service)) {
                    return t;
                }
            }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 20.7K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbPipeInputStream.java

                }
                return resp.getAvailable();
            } catch (final SmbException se) {
                throw seToIoe(se);
            }
        }
    
        @Override
        public void close() {
            // ignore, the shared file descriptor is closed by the pipe handle
        }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbSessionImpl.java

            return this.sessionKey;
        }
    
        @Override
        public SmbTreeImpl getSmbTree(String share, String service) {
            if (share == null) {
                share = "IPC$";
            }
    
            synchronized (this.trees) {
                for (SmbTreeImpl t : this.trees) {
                    if (t.matches(share, service)) {
                        return t.acquire();
                    }
                }
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 68.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/internal/smb2/lock/Smb2LeaseBreakNotification.java

         * @return the access mask hint
         */
        public int getAccessMaskHint() {
            return accessMaskHint;
        }
    
        /**
         * Gets the share access hint for optimizing lease handling
         * @return the share access hint
         */
        public int getShareAccessHint() {
            return shareAccessHint;
        }
    
        @Override
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 02:21:31 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/SmbTreeHandleTest.java

        /**
         * Test for getConnectedShare() method.
         * Verifies that the method returns the correct connected share name.
         */
        @Test
        void testGetConnectedShare() {
            when(smbTreeHandle.getConnectedShare()).thenReturn("TEST_SHARE");
            assertEquals("TEST_SHARE", smbTreeHandle.getConnectedShare(), "Connected share should be TEST_SHARE");
        }
    
        /**
         * Test for isSameTree() method.
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.1K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/DirFileEntryEnumIterator2Test.java

        void happyPath_enumerates_and_closes(String wildcard) throws Exception {
            // Setup required for this test
            when(parent.getLocator()).thenReturn(locator);
            when(locator.getUNCPath()).thenReturn("\\\\server\\share\\dir\\");
            when(tree.getConfig()).thenReturn(config);
            when(config.getMaximumBufferSize()).thenReturn(65535);
            when(config.getListSize()).thenReturn(65535);
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 13.7K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb1/ntlmssp/NtlmFlags.java

        */
        int NTLMSSP_TARGET_TYPE_SERVER = 0x00020000;
    
        /**
        * Sent by the server in the Type 2 message to indicate that the
        * target authentication realm is a share (presumably for share-level
        * authentication).
        */
        int NTLMSSP_TARGET_TYPE_SHARE = 0x00040000;
    
        /**
        * Indicates that the NTLM2 signing and sealing scheme should be used
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. README.md

    // Using default context
    CIFSContext context = SingletonContext.getInstance();
    
    // Access a file (encryption is transparent - automatically used if server requires it)
    try (SmbFile file = new SmbFile("smb://server/share/file.txt", context)) {
        if (file.exists()) {
            System.out.println("File size: " + file.length());
        }
    }
    ```
    
    ### With Authentication
    
    ```java
    import jcifs.CIFSContext;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 30 09:24:52 UTC 2025
    - 6.2K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/witness/MockWitnessService.java

                throw new IOException("Service not started");
            }
            return serverSocket.getLocalPort();
        }
    
        /**
         * Simulate a witness registration
         *
         * @param shareName the share name
         * @param serverAddress the server address
         * @param flags the registration flags
         * @return the registration ID
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  10. README.md

    - Solr: <https://gitbox.apache.org/repos/asf/solr.git>
    
    If you're seeing this message then switch the development to 'main':
    git checkout main
    
    Development for branch 8x remains in the shared repository:
    
    - https://gitbox.apache.org/repos/asf/lucene-solr.git
    
    ## GitHub forks?
    
    If you are using GitHub, make a clone of the corresponding repository
    mirror and create your pull requests against the main branch:
    Registered: Sat Dec 20 08:54:13 UTC 2025
    - Last Modified: Wed Mar 10 10:02:23 UTC 2021
    - 1.5K bytes
    - Viewed (0)
Back to top