Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 36 of 36 for getChars (0.2 sec)

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

            SmbTreeConnection c = newConn();
            SmbTreeImpl tree = mock(SmbTreeImpl.class);
            when(tree.acquire(false)).thenReturn(tree);
            when(tree.getTreeType()).thenReturn(7);
            when(tree.getShare()).thenReturn("SHARE");
            setTree(c, tree);
    
            assertEquals(7, c.getTreeType());
            assertEquals("SHARE", c.getConnectedShare());
            // try-with-resources closes the acquired tree
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 13K bytes
    - Viewed (0)
  2. src/main/java/jcifs/http/NetworkExplorer.java

                redir.append('/');
                redir.append(refdata.getServer());
                redir.append('/');
                redir.append(refdata.getShare());
                redir.append('/');
                if (qs != null) {
                    redir.append(req.getQueryString());
                }
                resp.sendRedirect(redir.toString());
                resp.flushBuffer();
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 23.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Chars.java

      }
    
      /**
       * Returns the {@code char} value whose big-endian representation is stored in the first 2 bytes
       * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getChar()}. For example, the
       * input byte array {@code {0x54, 0x32}} would yield the {@code char} value {@code '\\u5432'}.
       *
       * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that library exposes much more
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/primitives/Chars.java

      }
    
      /**
       * Returns the {@code char} value whose big-endian representation is stored in the first 2 bytes
       * of {@code bytes}; equivalent to {@code ByteBuffer.wrap(bytes).getChar()}. For example, the
       * input byte array {@code {0x54, 0x32}} would yield the {@code char} value {@code '\\u5432'}.
       *
       * <p>Arguably, it's preferable to use {@link java.nio.ByteBuffer}; that library exposes much more
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  5. src/test/java/jcifs/smb/SmbFileIntegrationTest.java

            assertEquals("file.txt", file.getName(), "Name should be extracted correctly");
            assertTrue(file.getPath().endsWith("/shared/path/file.txt"), "Path should end correctly");
            assertEquals("shared", file.getShare(), "Share should be extracted correctly");
            assertNotNull(file.getParent(), "Parent should not be null");
            assertTrue(file.getParent().endsWith("/shared/path/"), "Parent path should be correct");
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 56K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/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 share;
        }
    
        String getServerWithDfs() {
            if (dfsReferral != null) {
                return dfsReferral.server;
            }
            return getServer();
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 112.2K bytes
    - Viewed (0)
Back to top