- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 248 for acceptX (0.04 sec)
-
src/test/java/jcifs/smb/DirFileEntryAdapterIteratorTest.java
when(mockDelegate.next()).thenReturn(mockFileEntry1, mockFileEntry2, mockFileEntry3); // Create a mock filter that accepts file1 and file3 but not file2 when(mockFilter.accept(mockResource1)).thenReturn(true); when(mockFilter.accept(mockResource2)).thenReturn(false); when(mockFilter.accept(mockResource3)).thenReturn(true);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 14.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
when(filter.accept(resource)).thenReturn(false, true); TestIterator iterator = new TestIterator(filter); // Verify iteration assertTrue(iterator.hasNext()); assertSame(resource, iterator.next()); assertFalse(iterator.hasNext()); // Both resources should be closed verify(filter, times(2)).accept(resource);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 10.6K bytes - Viewed (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
// Verify filter interactions: not called for '.' and '..', called for others verify(nameFilter, never()).accept(parent, "."); verify(nameFilter, never()).accept(parent, ".."); ArgumentCaptor<String> nameCaptor = ArgumentCaptor.forClass(String.class); verify(nameFilter, atLeast(1)).accept(eq(parent), nameCaptor.capture());
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.5K bytes - Viewed (0) -
guava/src/com/google/common/net/InetAddresses.java
* * <p>This deliberately avoids all nameservice lookups (e.g. no DNS). * * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you * want to accept ASCII digits only, you can use something like {@code * CharMatcher.ascii().matchesAllOf(ipString)}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
// Given RequestWithFileId request = new Smb2CloseRequest(mockConfig, testFileId); // When request.setFileId(emptyFileId); // Then - should accept empty file ID assertDoesNotThrow(() -> request.setFileId(emptyFileId), "Should handle empty file ID without throwing exception"); } @Test @DisplayName("Should handle unspecified file ID constant")
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0) -
src/test/java/jcifs/spnego/NegTokenInitTest.java
} @Test @DisplayName("Parse accepts non-zero outer tag numbers (current implementation behavior)") void testParseAcceptsNonZeroOuterTag() throws Exception { // Note: The current implementation does not validate the outer APPLICATION tag number // This test documents the actual behavior - any tag number is accepted byte[] token =
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 21K bytes - Viewed (0) -
android/guava/src/com/google/common/net/InetAddresses.java
* * <p>This deliberately avoids all nameservice lookups (e.g. no DNS). * * <p>This method accepts non-ASCII digits, for example {@code "192.168.0.1"} (those are fullwidth * characters). That is consistent with {@link InetAddress}, but not with various RFCs. If you * want to accept ASCII digits only, you can use something like {@code * CharMatcher.ascii().matchesAllOf(ipString)}. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Feb 19 21:24:11 UTC 2025 - 47.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt
} /** * This accepts a [BufferedSource] instead of using [Socket.source], just in case we've already * received data from the peer. This accepts a [BufferedSink] for symmetry with the source. */ fun initReaderAndWriter( name: String, socket: BufferedSocket, client: Boolean, ) { val extensions = this.extensions!!
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 21.6K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/ImmutableCollection.java
} final void addAll(@Nullable Object[] elements, int n) { checkElementsNotNull(elements, n); ensureRoomFor(n); /* * The following call is not statically checked, since arraycopy accepts plain Object for its * parameters. If it were statically checked, the checker would still be OK with it, since * we're copying into a `contents` array whose type allows it to contain nulls. Still, it's
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 21.4K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
The upcoming Android Studio runs in a JVM but has classes from Android and that confused OkHttp! * Fix: Include the header `Accept: text/event-stream` for SSE calls. This header is not added if the request already contains an `Accept` header. * Fix: Don't crash with a `NullPointerException` if a server sends a close while we're sending a ping. OkHttp had a race condition bug.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Apr 17 13:25:31 UTC 2024 - 25.2K bytes - Viewed (0)