- Sort Score
- Result 10 results
- Languages All
Results 1981 - 1990 of 2,274 for all (0.25 sec)
-
android/guava-tests/test/com/google/common/io/CharSourceTest.java
assertThrows(IOException.class, () -> okSource.copyTo(new TestCharSink(option))); // ensure reader was closed IF it was opened (depends on implementation whether or not it's // opened at all if sink.newWriter() throws). assertTrue( "stream not closed when copying to sink with option: " + option, !okSource.wasStreamOpened() || okSource.wasStreamClosed()); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ioctl/Smb2IoctlResponseTest.java
byte[] header = buildHeader(NtStatus.NT_STATUS_BUFFER_OVERFLOW); // SrvPipePeekResponse expects at least 16 bytes (4 ints) output byte[] out = new byte[16]; // leave all fields zero for simplicity byte[] body = buildIoctlResponseBody(Smb2IoctlRequest.FSCTL_PIPE_PEEK, new byte[16], 0, null, out.length, out, 0); byte[] packet = new byte[header.length + body.length];
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacLogonInfoTest.java
when(logonInfo.getGroupSids()).thenReturn(new SID[0]); when(logonInfo.getExtraSids()).thenReturn(new SID[0]); when(logonInfo.getResourceGroupSids()).thenReturn(new SID[0]); // Test all getters assertEquals(TEST_USERNAME, logonInfo.getUserName()); assertEquals(TEST_DOMAIN, logonInfo.getDomainName()); assertEquals(TEST_SERVER, logonInfo.getServerName());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.3K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java
} /** * Verify that readParameterWordsWireFormat parses the SMB header * correctly and updates all relevant members. */ @Test public void readParameterWordsWireFormat_parsesHeaderCorrectly() { DummyResponse d = new DummyResponse(); // Construct a minimal wire format buffer
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb1/trans2/Trans2FindNext2Test.java
Properties props = new Properties(); config = new PropertyConfiguration(props); } @Test void testConstructor() { // Test constructor initializes all fields correctly trans2FindNext2 = new Trans2FindNext2(config, TEST_SID, TEST_RESUME_KEY, TEST_FILENAME, TEST_BATCH_COUNT, TEST_BATCH_SIZE); assertNotNull(trans2FindNext2);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 12.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartBody.kt
*/ @JvmField val PARALLEL = "multipart/parallel".toMediaType() /** * The media-type multipart/form-data follows the rules of all multipart MIME data streams as * outlined in RFC 2046. In forms, there are a series of fields to be supplied by the user who * fills out the form. Each field has a name. Within a given form, the names are unique. */
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/ProcessHelperTest.java
assertTrue(processHelper.isProcessRunning()); // Wait a bit for the processes to start Thread.sleep(50); // Destroy all processes processHelper.destroy(); // Wait a bit for destruction to complete Thread.sleep(100); assertFalse(processHelper.isProcessRunning());
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 12 05:35:01 UTC 2025 - 15.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectResponseTest.java
int read1 = response.readBytesWireFormat(buffer, 0); int read2 = response.readBytesWireFormat(buffer, 0); int read3 = response.readBytesWireFormat(buffer, 0); // Then - all reads should return same result assertEquals(4, read1); assertEquals(4, read2); assertEquals(4, read3); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.1K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lease/DirectoryLeasingIntegrationTest.java
assertNotNull(children); } }); readThreads[i].start(); } // Wait for all threads for (Thread thread : updateThreads) { thread.join(5000); } for (Thread thread : readThreads) { thread.join(5000); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 01:47:47 UTC 2025 - 14.2K bytes - Viewed (0) -
guava/src/com/google/common/collect/DiscreteDomain.java
import java.io.Serializable; import java.math.BigInteger; import java.util.NoSuchElementException; import org.jspecify.annotations.Nullable; /** * A descriptor for a <i>discrete</i> {@code Comparable} domain such as all {@link Integer} * instances. A discrete domain is one that supports the three basic operations: {@link #next}, * {@link #previous} and {@link #distance}, according to their specifications. The methods {@link
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 17:34:21 UTC 2025 - 10.4K bytes - Viewed (0)