Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 38 for getChar (0.04 sec)

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

        }
    
        /**
         * @return the service
         */
        public String getService() {
            return this.service;
        }
    
        /**
         * @return the share
         */
        public String getShare() {
            return this.share;
        }
    
        /**
         * @return whether this is a DFS share
         */
        public boolean isDfs() {
            return this.inDfs;
        }
    
        /**
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 30K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb/SmbFile.java

         * <code>null</code> will be returned.
         *
         * @return The share component or <code>null</code> if there is no share
         */
        public String getShare() {
            return this.fileLocator.getShare();
        }
    
        /**
         * Retrieve the hostname of the server for this SMB resource. If the resources has been resolved by DFS this will
         * return the target name.
         *
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/DfsImpl.java

                    log.debug(String.format("Intermediate referral, server %s share %s refPath %s origPath %s nextPath %s", r.getServer(),
                            r.getShare(), r.getPath(), path, nextPath));
                }
                final DfsReferralData nextstart = resolve(tf, r.getServer(), r.getShare(), nextPath, depthLimit - 1);
                final DfsReferralData next = nextstart;
    
                if (next != null) {
                    do {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 29.7K bytes
    - Viewed (0)
  4. src/test/java/jcifs/SmbResourceLocatorTest.java

                return null;
            }
    
            @Override
            public String getURLPath() {
                return null;
            }
    
            @Override
            public String getShare() {
                return null;
            }
    
            @Override
            public String getServerWithDfs() {
                return null;
            }
    
            @Override
            public String getServer() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileTest.java

                assertEquals("localhost", smbFile.getServer());
            }
    
            @Test
            void testGetShare() {
                // Act & Assert
                assertEquals("share", smbFile.getShare());
            }
    
            @Test
            void testGetUncPath() {
                // Arrange
                doReturn("\\localhost\share\file.txt").when(smbFile).getUncPath();
    
                // Act & Assert
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 20.8K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/SmbTreeImplTest.java

        @Test
        void testSmbTreeImplConstructor() {
            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:");
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  7. src/main/java/jcifs/SmbResourceLocator.java

         * and <code>smb://server/</code> URLs which do not specify a share,
         * <code>null</code> will be returned.
         *
         * @return The share component or <code>null</code> if there is no share
         */
        String getShare();
    
        /**
         * Retrieve the hostname of the server for this SMB resource. If the resources has been resolved by DFS this will
         * return the target name.
         *
         * @return The server name
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 6.4K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb1/smb1/SmbRandomAccessFile.java

            final int clen = s.length();
            final int blen = 2 * clen;
            final byte[] b = new byte[blen];
            final char[] c = new char[clen];
            s.getChars(0, clen, c, 0);
            for (int i = 0, j = 0; i < clen; i++) {
                b[j] = (byte) (c[i] >>> 8);
                j++;
                b[j++] = (byte) (c[i] >>> 0);
            }
            write(b, 0, blen);
        }
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/Hexdump.java

                c[ci++] = ' ';
                c[ci++] = ' ';
                c[ci++] = '|';
                System.arraycopy(d, 0, c, ci, 16);
                ci += 16;
                c[ci++] = '|';
                NL.getChars(0, NL_LENGTH, c, ci);
                ci += NL_LENGTH;
            } while (si < length);
    
            ps.println(c);
        }
    
        /**
         * This is an alternative to the <code>java.lang.Integer.toHexString</code>
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/base/Strings.java

        int size = (int) longSize;
        if (size != longSize) {
          throw new ArrayIndexOutOfBoundsException("Required array size too large: " + longSize);
        }
    
        char[] array = new char[size];
        string.getChars(0, len, array, 0);
        int n;
        for (n = len; n < size - n; n <<= 1) {
          System.arraycopy(array, 0, array, n, n);
        }
        System.arraycopy(array, 0, array, n, size - n);
        return new String(array);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Aug 27 17:53:41 UTC 2025
    - 12.2K bytes
    - Viewed (0)
Back to top