- Sort Score
- Result 10 results
- Languages All
Results 2471 - 2480 of 2,810 for created (0.04 sec)
-
src/test/java/jcifs/SmbPipeHandleTest.java
mockSmbPipeHandleInternal = mock(SmbPipeHandleInternal.class); mockInputStream = mock(InputStream.class); mockOutputStream = mock(OutputStream.class); // Create a mock implementation of the SmbPipeHandle interface smbPipeHandle = mock(SmbPipeHandle.class); // Define behavior for the mock handle when(smbPipeHandle.getPipe()).thenReturn(mockPipeResource);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
src/test/java/jcifs/smb1/UniAddressTest.java
* 1. Basic constructor validation * --------------------------------------------------------------------- */ @Test void constructorAcceptsNonNullObject() { // Arrange : create a dummy address InetAddress dummy = mock(InetAddress.class); // Act UniAddress ua = new UniAddress(dummy); // AssertRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.9K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbRenewableCredentialsTest.java
void renewBehaviorsAcrossImplementations(String label, Supplier<SmbRenewableCredentials> supplier, boolean expectSame, boolean expectNew) { // Arrange: create an implementation instance SmbRenewableCredentials impl = supplier.get(); // Act: call renew CredentialsInternal renewed = impl.renew(); // Assert: verify behavior based on scenario
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7K bytes - Viewed (0) -
guava/src/com/google/common/escape/Escaper.java
* * <p>Popular escapers are defined as constants in classes like {@link * com.google.common.html.HtmlEscapers} and {@link com.google.common.xml.XmlEscapers}. To create * your own escapers, use {@link CharEscaperBuilder}, or extend {@code CharEscaper} or {@code * UnicodeEscaper}. * * @author David Beaumont * @since 15.0 */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Feb 13 15:45:16 UTC 2025 - 4.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
import org.apache.maven.api.annotations.Nullable; import org.apache.maven.api.annotations.ThreadSafe; import static java.util.Objects.requireNonNull; /** * The proto session, material used to create {@link Session}. * * @since 4.0.0 */ @Experimental @ThreadSafe public interface ProtoSession { /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/SparseImmutableTable.java
// requireNonNull is safe because the cell exists in the table. cellColumnIndices[i++] = requireNonNull(columnKeyToIndex.get(cell.getColumnKey())); } return SerializedForm.create(this, cellRowIndices, cellColumnIndices); }Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 5.5K bytes - Viewed (1) -
guava-tests/test/com/google/common/hash/AbstractStreamingHasherTest.java
assertThrows(IndexOutOfBoundsException.class, () -> sink.putBytes(new byte[8], 0, 16)); assertThrows(IndexOutOfBoundsException.class, () -> sink.putBytes(new byte[8], 0, -1)); } /** * This test creates a long random sequence of inputs, then a lot of differently configured sinks * process it; all should produce the same answer, the only difference should be the number of
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 8.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
resp.decode(buf, headerStart); assertArrayEquals(blob, resp.getBlob()); assertEquals(sessionFlags, resp.getSessionFlags()); assertTrue(resp.isLoggedInAsGuest(), "Anonymous should be treated as guest login"); } @Test @DisplayName("prepare should not set sessionId if not received yet") void testPrepareWithoutReceivedDoesNotPropagate() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/Shorts.java
* * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the * equivalent {@link Short#compare} method instead. * * @param a the first {@code short} to compare * @param b the second {@code short} to compare * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is * greater than {@code b}; or zero if they are equal */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
guava/src/com/google/common/primitives/Shorts.java
* * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the * equivalent {@link Short#compare} method instead. * * @param a the first {@code short} to compare * @param b the second {@code short} to compare * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is * greater than {@code b}; or zero if they are equal */Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0)