- Sort Score
- Num 10 results
- Language All
Results 51 - 60 of 620 for Accept4 (0.09 seconds)
-
android/guava-testlib/src/com/google/common/testing/FakeTicker.java
@SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long time, TimeUnit timeUnit) { return advance(timeUnit.toNanos(time)); } /** Advances the ticker value by {@code nanoseconds}. */ @SuppressWarnings("GoodTime") // should accept a java.time.Duration @CanIgnoreReturnValue public FakeTicker advance(long nanoseconds) {Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Apr 14 15:16:19 GMT 2025 - 4.1K bytes - Click Count (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt
@JvmStatic fun createFactory(callFactory: Call.Factory): EventSource.Factory = EventSource.Factory { request, listener -> val actualRequest = if (request.header("Accept") == null) { request.newBuilder().addHeader("Accept", "text/event-stream").build() } else { request } RealEventSource(actualRequest, listener).apply { connect(callFactory) } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 03 07:51:20 GMT 2025 - 1.6K bytes - Click Count (0) -
compat/maven-resolver-provider/src/main/java/org/apache/maven/repository/internal/type/TypeDeriver.java
root.accept(new DependencyGraphDumper( l -> sb.append(l).append("\n"), DependencyGraphDumper.defaultsWith( List.of(DependencyGraphDumper.artifactProperties(List.of(ArtifactProperties.TYPE)))))); logger.debug("TYPES: Before transform:\n {}", sb); } root.accept(new TypeDeriverVisitor(registry));
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Mar 28 11:22:05 GMT 2026 - 8K bytes - Click Count (0) -
src/test/java/jcifs/smb/DirFileEntryEnumIteratorBaseTest.java
@ValueSource(strings = { "", "file.txt", "subdir" }) @DisplayName("Name filter interaction: accept calls and rejections") void nameFilterAccepts(String acceptedName) throws Exception { // Arrange stubAcquireReturnsSelf(); when(nameFilter.accept(any(), any())).thenReturn(false); when(nameFilter.accept(parent, acceptedName)).thenReturn(true); FileEntry initial = entry("first");Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.5K bytes - Click Count (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JettyHttpClientTest.kt
.newRequest(server.url("/").toUri()) .header("Accept", "text/plain") val response = request.send() assertThat(response.status).isEqualTo(200) assertThat(response.contentAsString).isEqualTo("hello, Jetty HTTP Client") val recorded = server.takeRequest() assertThat(recorded.headers["Accept"]).isEqualTo("text/plain") assertThat(recorded.headers["Accept-Encoding"]).isEqualTo("gzip")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Jun 18 12:28:21 GMT 2025 - 2.1K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/web/admin/searchlist/AdminSearchlistAction.java
throwError.accept(messages -> fessConfig.invalidIndexRequiredFields(doc) .stream() .forEach(s -> messages.addErrorsPropertyRequired("doc." + s, s))); } if (!fessConfig.validateIndexArrayFields(doc)) { throwError.accept(messages -> fessConfig.invalidIndexArrayFields(doc)
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Sat Mar 28 06:38:39 GMT 2026 - 25.5K bytes - Click Count (1) -
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
.newBuilder(server.url("/").toUri()) .header("Accept", "text/plain") .build() val response = httpClient.send(request, BodyHandlers.ofString()) assertThat(response.statusCode()).isEqualTo(200) assertThat(response.body()).isEqualTo("hello, Java HTTP Client") val recorded = server.takeRequest() assertThat(recorded.headers["Accept"]).isEqualTo("text/plain")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 25 13:16:02 GMT 2026 - 2.6K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnsh/ShellInvoker.java
░▒▓█▓▒░░▒▓█▓▒░░▒▓█▓▒░ ░▒▓██▓▒░ ░▒▓█▓▒░░▒▓█▓▒░░▒▓███████▓▒░ ░▒▓█▓▒░░▒▓█▓▒░"""; context.writer.accept(banner); if (!context.options().showVersion().orElse(false)) { context.writer.accept(CLIReportingUtils.showVersionMinimal()); } context.writer.accept(""); try (holder) { SimpleSystemRegistryImpl systemRegistry =Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Thu Oct 16 06:12:36 GMT 2025 - 10.1K bytes - Click Count (0) -
android/guava/src/com/google/common/util/concurrent/UncheckedExecutionException.java
*/ /** * Creates a new instance with {@code null} as its detail message and no cause. * * @deprecated Prefer {@linkplain UncheckedExecutionException(Throwable)} a constructor that * accepts a cause: Users of this class typically expect for instances to have a non-null * cause. At the moment, you can <i>usually</i> still preserve behavior by passing an explicitCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 13 17:34:21 GMT 2025 - 4.2K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/NtlmChallengeTest.java
@Test @DisplayName("Constructor accepts null challenge") void testConstructorAcceptsNullChallenge() { UniAddress dc = mock(UniAddress.class); NtlmChallenge nc = new NtlmChallenge(null, dc); assertNull(nc.challenge); assertSame(dc, nc.dc); } @Test @DisplayName("Constructor accepts null dc") void testConstructorAcceptsNullDc() {Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6K bytes - Click Count (0)