- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 712 for rejects (0.34 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/WebPlatformToAsciiTest.kt
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 3.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFilenameFilterTest.java
assertTrue(result, "Filter should accept any provided name"); verifyNoInteractions(mockDir); } /** * Happy-path: a filter that rejects any name. */ @ParameterizedTest @DisplayName("rejects every provided name") @ValueSource(strings = { "file.txt", "data.DAT", "a", "", " " }) void rejectsAnyNameReturnsFalse(String input) throws Exception {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.3K bytes - Click Count (0) -
architecture/build-execution-model.md
3. If the daemon is not able to run the request, for example it is already running a request or is shutting down, it rejects the request. The client starts again. 4. The daemon runs the request, sending back data such as logging output or tooling API events and intermediate models while doing so.
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jun 12 09:50:57 GMT 2025 - 907 bytes - Click Count (0) -
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
import java.util.Set; import okhttp3.CertificatePinner; import okhttp3.Interceptor; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class CheckHandshake { /** Rejects otherwise-trusted certificates. */ private static final Interceptor CHECK_HANDSHAKE_INTERCEPTOR = new Interceptor() { final Set<String> denylist = Collections.singleton(Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbFileFilterTest.java
// negative size -> reject when(smbFile.length()).thenReturn(-1L); assertFalse(filter.accept(smbFile), "Negative size should be rejected"); verify(smbFile, times(1)).length(); // zero size -> reject reset(smbFile); when(smbFile.length()).thenReturn(0L); assertFalse(filter.accept(smbFile), "Zero size should be rejected"); verify(smbFile, times(1)).length();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/NetServerFileEntryAdapterIteratorTest.java
assertFalse(itr.hasNext()); } @Test @DisplayName("Filter rejects first, accepts second; interactions verified") void filterRejectsThenAccepts_nextYieldsAccepted() throws Exception { // Arrange: two entries; filter rejects first, accepts second setupParentForUrlCreation(); StubFileEntry skip = new StubFileEntry("SKIPME", SmbConstants.TYPE_SERVER);
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
assertNull(request.getUserPrincipal()); assertEquals("NTLM", request.getAuthType()); } @Test @DisplayName("constructor rejects null HttpServletRequest") void testConstructorWithNullHttpRequest(@Mock Principal mockPrincipal) { // HttpServletRequestWrapper throws IllegalArgumentException for null request
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbNamedPipeTest.java
assertEquals(SmbPipeResource.PIPE_TYPE_RDWR, pipe.getPipeType(), "Pipe type should match constructor"); } @ParameterizedTest @DisplayName("Rejects non-IPC$ URLs") @ValueSource(strings = { "smb://server/C$/foo", "smb://server/public/foo", "smb://server/share/path" }) void rejectsNonIpcShare(String url) { // Arrange & Act & Assert
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.2K bytes - Click Count (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/Platform.java
return Sets.newHashSetWithExpectedSize(expectedSize); } static <E extends @Nullable Object> Set<E> newConcurrentHashSet() { // GWT's ConcurrentHashMap is a wrapper around HashMap, but it rejects null keys, which matches // the behaviour of the non-GWT implementation of newConcurrentHashSet(). // On the other hand HashSet might be better for code size if apps aren't
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Jan 23 17:16:53 GMT 2026 - 5.3K bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
} } else if (className.equals(allowedPattern)) { return ObjectInputFilter.Status.ALLOWED; } } // Reject everything else return ObjectInputFilter.Status.REJECTED; }; /** * Tests if the object can be serialized. * * @param obj the object to be serialized (must not be {@literal null})Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Feb 12 12:10:45 GMT 2026 - 8.9K bytes - Click Count (0)