- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 245 for acceptT2 (0.06 sec)
-
src/test/java/jcifs/smb/FileEntryAdapterIteratorTest.java
// With filter, resource should be closed due to try-with-resources verify(filter).accept(resource); verify(resource).close(); } @Test @DisplayName("Iterator with rejecting filter - finds next acceptable") void iteratorWithRejectingFilter() throws Exception { // Setup: first entry rejected, second accepted FileEntry entry1 = mock(FileEntry.class);
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/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/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) -
src/test/java/jcifs/internal/smb2/RequestWithFileIdTest.java
new SecureRandom().nextBytes(standardFileId); new SecureRandom().nextBytes(longFileId); RequestWithFileId request = new Smb2CloseRequest(mockConfig, emptyFileId); // All sizes should be accepted without exception assertDoesNotThrow(() -> request.setFileId(shortFileId), "Should handle 8-byte file ID"); assertDoesNotThrow(() -> request.setFileId(standardFileId), "Should handle 16-byte file ID");
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) -
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
boolean getVerbose(); @Nonnull PathScope getPathScope(); /** * Returns a filter for the types of path (class-path, module-path, …) accepted by the tool. * For example, if a Java tools accepts only class-path elements, then the filter should return * {@code true} for {@link JavaPathType#CLASSES} and {@code false} for {@link JavaPathType#MODULES}.
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 20.8K 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) -
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) -
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)