- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 639 for shar (0.02 sec)
-
android/guava/src/com/google/common/io/LineReader.java
while (lines.peek() == null) { Java8Compatibility.clear(cbuf); // The default implementation of Reader#read(CharBuffer) allocates a // temporary char[], so we call Reader#read(char[], int, int) instead. int read = (reader != null) ? reader.read(buf, 0, buf.length) : readable.read(cbuf); if (read == -1) { lineBuf.finish(); break; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessRegisterRequest.java
this.version = version; } /** * Gets the share name to monitor. * * @return the share name */ public String getShareName() { return shareName; } /** * Sets the share name to monitor. * * @param shareName the share name */ public void setShareName(String shareName) { this.shareName = shareName;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 24 00:12:28 UTC 2025 - 2.6K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbShareInfoTest.java
SmbShareInfo pipeShare = new SmbShareInfo("PIPE", 3, "A named pipe"); assertEquals(SmbFile.TYPE_NAMED_PIPE, pipeShare.getType()); // Test for TYPE_SHARE (disk share) SmbShareInfo diskShare = new SmbShareInfo("DISK", 0, "A disk share"); assertEquals(SmbFile.TYPE_SHARE, diskShare.getType()); // Test for another type that should default to TYPE_SHARE
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5K bytes - Viewed (0) -
android/guava/src/com/google/common/hash/Hasher.java
@Override Hasher putBoolean(boolean b); @CanIgnoreReturnValue @Override Hasher putChar(char c); /** * Equivalent to processing each {@code char} value in the {@code CharSequence}, in order. In * other words, no character encoding is performed; the low byte and high byte of each {@code * char} are hashed directly (in that order). The input must not be updated while this method is * in progress. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Mar 17 20:26:29 UTC 2025 - 5.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/witness/WitnessIntegrationTest.java
// 3. Event notifications mockService.sendNotification(WitnessEventType.RESOURCE_CHANGE, "\\\\cluster\\share"); mockService.sendNotification(WitnessEventType.CLIENT_MOVE, "\\\\cluster\\share"); mockService.sendNotification(WitnessEventType.NODE_AVAILABLE, "\\\\cluster\\share"); // 4. Cleanup and unregistration assertTrue(mockService.unregisterWitness(regId));Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/core/xml/DomUtil.java
*/ public static String encodeAttrQuot(final String s) { if (s == null) { return null; } final char[] content = s.toCharArray(); final StringBuilder buf = new StringBuilder(s.length() + 100); for (final char element : content) { switch (element) { case '<': buf.append("<"); break; case '>':Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 10.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/BenchmarkHelpers.java
+ "\u0ce6\u0d66\u0e50\u0ed0\u0f20\u1040\u1090\u17e0\u1810\u1946" + "\u19d0\u1b50\u1bb0\u1c40\u1c50\ua620\ua8d0\ua900\uaa50\uff10"; for (char base : zeros.toCharArray()) { for (int offset = 0; offset < 10; offset++) { sb.append((char) (base + offset)); } } ALL_DIGITS = sb.toString(); } /** Sample CharMatcher instances for benchmarking. */ public enum SampleMatcherConfig {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 10 19:54:19 UTC 2025 - 3.1K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/DfsTest.java
} @Test void testGetReferral_Success() throws IOException, SmbAuthException { String domain = "domain.com"; String root = "share"; String path = "\\folder"; String fullPath = "\\" + domain + "\\" + root + path; // Should be "\domain.com\share\folder" lenient().when(smbTransport.getDfsReferrals(auth, fullPath, 0)).thenReturn(dfsReferral);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.6K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/com/SmbComTreeDisconnect.java
import jcifs.Configuration; import jcifs.internal.smb1.ServerMessageBlock; /** * SMB1 COM_TREE_DISCONNECT command implementation. * * This command disconnects from a tree connection (share) on the server. * It releases the tree ID and terminates access to the share. */ public class SmbComTreeDisconnect extends ServerMessageBlock { /** * Constructs a tree disconnect request to close a connection to a shared resource. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/SmbResourceLocatorTest.java
class HappyPath { @Test void testBasicProperties() throws Exception { String url = "smb://server/share/path/file.txt"; DummySmbResourceLocator loc = new DummySmbResourceLocator(url); assertEquals("file.txt", loc.getName()); assertEquals("smb://server/share/path/", loc.getParent()); assertEquals(url, loc.getPath()); // canonicalisation simply removes '.' and '..'Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8K bytes - Viewed (0)