- Sort Score
- Num 10 results
- Language All
Results 91 - 100 of 692 for acceptX (0.14 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/AccessHeaders.java
Request request = new Request.Builder() .url("https://api.github.com/repos/square/okhttp/issues") .header("User-Agent", "OkHttp Headers.java") .addHeader("Accept", "application/json; q=0.5") .addHeader("Accept", "application/vnd.github.v3+json") .build(); try (Response response = client.newCall(request).execute()) {
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Sun May 22 01:29:42 GMT 2016 - 1.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/NullabilityBreakingChangesRule.groovy
private static List<Boolean> typeParametersNullabilityOf(CtClass ctClass) { NullableClassTypeParametersVisitor visitor = new NullableClassTypeParametersVisitor() new ClassReader(byteCodeFrom(ctClass)).accept(visitor, 0) return visitor.typeParametersNullability } static class NullableClassTypeParametersVisitor extends ClassVisitor { List<Boolean> typeParametersNullability = []Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Oct 27 09:26:32 GMT 2025 - 15.4K bytes - Click Count (0) -
src/test/java/jcifs/smb1/http/NtlmHttpServletRequestTest.java
assertEquals(name, request.getRemoteUser()); verify(mockPrincipal, times(1)).getName(); } @Test @DisplayName("constructor accepts null principal") void testConstructorWithNullPrincipal(@Mock HttpServletRequest mockRequest) { // Constructor accepts null principal without throwing exception NtlmHttpServletRequest request = new NtlmHttpServletRequest(mockRequest, null);
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 04:51:33 GMT 2025 - 3.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/logging/ProjectBuildLogAppender.java
public ProjectBuildLogAppender(BuildEventListener buildEventListener) { this.buildEventListener = buildEventListener; MavenSimpleLogger.setLogSink(this::accept); } protected void accept(String message) { String projectId = MDC.get(KEY_PROJECT_ID); buildEventListener.projectLogMessage(projectId, message); } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.9K bytes - Click Count (0) -
internal/grid/manager.go
w.WriteHeader(http.StatusUpgradeRequired) return } m.IncomingConn(ctx, conn) } } // IncomingConn will handle an incoming connection. // This should be called with the incoming connection after accept. // Auth is handled internally, as well as disconnecting any connections from the same host. func (m *Manager) IncomingConn(ctx context.Context, conn net.Conn) { // We manage our own deadlines.
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Nov 12 20:41:41 GMT 2024 - 10.8K bytes - Click Count (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MarkdownExtractor.java
*/ protected void extractFrontMatterMetadata(final Node document, final ExtractData extractData) { final YamlFrontMatterVisitor visitor = new YamlFrontMatterVisitor(); document.accept(visitor); final Map<String, List<String>> frontMatter = visitor.getData(); for (final Map.Entry<String, List<String>> entry : frontMatter.entrySet()) {Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Sun Nov 23 03:46:53 GMT 2025 - 8.2K bytes - Click Count (0) -
src/test/java/jcifs/internal/witness/MockWitnessService.java
private void runServer() { while (running.get() && !serverSocket.isClosed()) { try { Socket clientSocket = serverSocket.accept(); // In a real implementation, this would handle RPC requests // For the mock, we just accept connections and close them clientSocket.close(); } catch (IOException e) { if (running.get()) {
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 23 09:06:40 GMT 2025 - 8.2K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/DosFileFilter.java
* as the specified wildcard and attributes are passed to the server for * filtering there (although attributes are largely ignored by servers * they are filtered locally by the default accept method). * * @param wildcard the wildcard pattern for matching file names (e.g., "*.txt") * @param attributes the DOS file attributes to match (e.g., ATTR_DIRECTORY) */Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 2.5K bytes - Click Count (0) -
guava-testlib/src/com/google/common/testing/CollectorTester.java
A result(Collector<T, A, R> collector, Iterable<T> inputs) { A accum = collector.supplier().get(); for (T input : inputs) { collector.accumulator().accept(accum, input); } return accum; } }, /** Get one accumulator for each element and merge the accumulators left-to-right. */ MERGE_LEFT_ASSOCIATIVE { @Override
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu May 15 21:47:56 GMT 2025 - 6.6K bytes - Click Count (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest.kt
@BeforeEach fun setUp() { projectDir.resolve("src").resolve("changes").resolve("accepted-changes").mkdirs() firstAcceptedApiChangesFile = projectDir.resolve("src/changes/accepted-changes/accepted-public-api-changes.json") secondAcceptedApiChangesFile = projectDir.resolve("src/changes/accepted-changes/second-accepted-public-api-changes.json") projectDir.resolve("build.gradle.kts") .writeText(Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Fri Nov 29 14:03:44 GMT 2024 - 6K bytes - Click Count (0)