- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 33 for getChars (0.05 sec)
-
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 20.8K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 30K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 103.2K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 29.7K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 6.4K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 13K bytes - Viewed (0) -
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: Sat Dec 20 13:44:44 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 23.4K bytes - Viewed (0) -
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 moreRegistered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 24.2K bytes - Viewed (0)