Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 37 for uncu (0.01 sec)

  1. src/main/java/jcifs/smb/SmbFileHandleImpl.java

                final int access, final int attrs, final int options, final long initialSize) {
            this.cfg = cfg;
            this.fileId = fid;
            this.initialSize = initialSize;
            this.fid = 0;
            this.unc = unc;
            this.flags = flags;
            this.access = access;
            this.attrs = attrs;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 9.4K bytes
    - Viewed (1)
  2. src/main/java/jcifs/smb/SmbTreeImpl.java

                        if (log.isDebugEnabled()) {
                            log.debug("treeConnect: unc=" + unc + ",service=" + svc);
                        }
    
                        if (transport.isSMB2()) {
                            final Smb2TreeConnectRequest req = new Smb2TreeConnectRequest(sess.getConfig(), unc);
                            if (andx != null) {
                                req.chain((ServerMessageBlock2) andx);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb1/smb1/SmbFileOutputStream.java

                } catch (final SmbException se) {
                    fp = 0L;
                }
            }
            if (file instanceof SmbNamedPipe && file.unc.startsWith("\\pipe\\")) {
                file.unc = file.unc.substring(5);
                file.send(new TransWaitNamedPipe("\\pipe" + file.unc), new TransWaitNamedPipeResponse());
            }
            file.open(openFlags, access | SmbConstants.FILE_WRITE_DATA, SmbFile.ATTR_NORMAL, 0);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 11K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbFile.java

                name = name.substring(0, last);
            }
            if (context.share == null) {
                this.unc = "\\";
            } else if (context.unc.equals("\\")) {
                this.unc = '\\' + name;
            } else {
                this.unc = context.unc + '\\' + name;
            }
            /* why? am I going around in circles?
             *  this.type = type == TYPE_WORKGROUP ? 0 : type;
             */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/dfs/DfsReferralDataInternal.java

         */
        void stripPathConsumed(int i);
    
        @Override
        DfsReferralDataInternal next();
    
        /**
         * Set the UNC path link for this referral
         *
         * @param link the UNC path link to set
         */
        void setLink(String link);
    
        /**
         * Get the cache key for this referral
         *
         * @return cache key
         */
        String getKey();
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbResourceLocatorInternalTest.java

        }
    
        // Happy path: handleDFSReferral returns a resolved path
        @Test
        @DisplayName("handleDFSReferral returns resolved UNC path as stubbed")
        void handleDfsReferralValidInputs() {
            // Edge-like Windows UNC-style: a single backslash in the path
            String reqPath = "\\";
            String resolved = "smb://server/share/path";
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  7. src/test/java/jcifs/smb/DirFileEntryEnumIterator1Test.java

            verify(tree, times(1)).acquire();
            verify(tree, times(1)).release(); // closed after failure
        }
    
        @Test
        @DisplayName("open(): invalid UNC without trailing backslash throws SmbException")
        void invalidUncThrows() throws Exception {
            // Override the default setup for this specific test
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.7K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbResourceLocatorInternal.java

        /**
         * Internal: for testing only
         *
         * @param dr the DFS referral data to process
         * @param reqPath the requested path to resolve
         * @return resolved unc path
         */
        String handleDFSReferral(DfsReferralData dr, String reqPath);
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 2K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/TransactNamedPipeOutputStream.java

            super(pipe, false, pipe.pipeType & 0xFFFF00FF | SmbFile.O_EXCL);
            this.pipe = pipe;
            this.dcePipe = (pipe.pipeType & SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT) == SmbNamedPipe.PIPE_TYPE_DCE_TRANSACT;
            path = pipe.unc;
        }
    
        @Override
        public void close() throws IOException {
            pipe.close();
        }
    
        @Override
        public void write(final int b) throws IOException {
            tmp[0] = (byte) b;
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  10. cmd/xl-storage_windows_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    package cmd
    
    import (
    	"bytes"
    	"context"
    	"fmt"
    	"testing"
    )
    
    // Test if various paths work as expected when converted to UNC form
    func TestUNCPaths(t *testing.T) {
    	testCases := []struct {
    		objName string
    		pass    bool
    	}{
    		{"/abcdef", true},
    		{"/a/b/c/d/e/f/g", true},
    		{string(bytes.Repeat([]byte("界"), 85)), true},
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Wed Nov 29 06:35:16 UTC 2023
    - 2.8K bytes
    - Viewed (0)
Back to top