- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 695 for asText (0.04 sec)
-
src/test/java/jcifs/smb/SmbPipeOutputStreamTest.java
// Act out.close(); // Assert verifyNoInteractions(handle); } @Nested @DisplayName("Constructor invalid inputs") class ConstructorInvalidInputs { @Test @DisplayName("Null handle triggers NullPointerException") void ctor_nullHandle_throwsNPE() { // Act + AssertRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/dcerpc/msrpc/MsrpcSamrConnect2Test.java
// Act & Assert assertDoesNotThrow(() -> new MsrpcSamrConnect2(null, 0, ph)); } @Test @DisplayName("should accept negative access mask values") void testNegativeAccessMaskAccepted() { // Arrange SamrPolicyHandle ph = createMockPolicyHandle(); // Act & AssertRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
android/guava/src/com/google/common/base/Converter.java
// TODO(kevinb): we shouldn't be checking for a null result at runtime. Assert? return a == null ? null : checkNotNull(doForward(a)); } else { return unsafeDoForward(a); } } @Nullable A correctedDoBackward(@Nullable B b) { if (handleNullAutomatically) { // TODO(kevinb): we shouldn't be checking for a null result at runtime. Assert? return b == null ? null : checkNotNull(doBackward(b));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 18 21:43:06 UTC 2025 - 22.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/AbstractSortedMultiset.java
public @Nullable Entry<E> firstEntry() { Iterator<Entry<E>> entryIterator = entryIterator(); return entryIterator.hasNext() ? entryIterator.next() : null; } @Override public @Nullable Entry<E> lastEntry() { Iterator<Entry<E>> entryIterator = descendingEntryIterator(); return entryIterator.hasNext() ? entryIterator.next() : null; } @Override public @Nullable Entry<E> pollFirstEntry() {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 4.5K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbAuthExceptionTest.java
void intConstructor_populatesMessageAndStatus(int errCode, int expectedStatus) { // Arrange & Act: create exception with error code SmbAuthException ex = new SmbAuthException(errCode); // Assert: type, message derived from code, status mapping, and no cause assertNotNull(ex); assertTrue(ex instanceof SmbException);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava/src/com/google/common/base/PairwiseEquivalence.java
Iterator<T> iteratorA = iterableA.iterator(); Iterator<T> iteratorB = iterableB.iterator(); while (iteratorA.hasNext() && iteratorB.hasNext()) { if (!elementEquivalence.equivalent(iteratorA.next(), iteratorB.next())) { return false; } } return !iteratorA.hasNext() && !iteratorB.hasNext(); } @Override protected int doHash(Iterable<T> iterable) { int hash = 78721;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeInternalTest.java
// Assert - verify interaction with dependency verify(tree, times(1)).connectLogon(context); verify(tree, never()).close(); } @Test @DisplayName("connectLogon accepts null context but still invokes") void connectLogon_withNull_isInvoked() throws Exception { // Act tree.connectLogon(null);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
SmbFileFilter filter = f -> f.isDirectory(); when(smbFile.isDirectory()).thenReturn(true); // Act boolean result = filter.accept(smbFile); // Assert assertTrue(result, "Directory should be accepted"); verify(smbFile, times(1)).isDirectory(); verify(smbFile, never()).getName(); verifyNoMoreInteractions(smbFile); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.4K bytes - Viewed (0) -
api/maven-api-xml/src/main/java/org/apache/maven/api/xml/ImmutableCollections.java
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Mon Jul 07 11:47:42 UTC 2025 - 7.8K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0)