- Sort Score
- Num 10 results
- Language All
Results 3761 - 3770 of 5,248 for strike (0.22 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/HeadersJvmTest.kt
} // Fails on JS, ClassCastException: Illegal cast @Test fun ofMapThrowsOnNull() { assertFailsWith<NullPointerException> { (mapOf("User-Agent" to null) as Map<String, String>).toHeaders() } } @Test fun toMultimapGroupsHeaders() { val headers = Headers.headersOf( "cache-control", "no-cache", "cache-control",
Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue May 27 14:51:25 GMT 2025 - 5.7K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
} private Profile newExistsProfile(String filePath) { ActivationFile activationFile = ActivationFile.newBuilder().exists(filePath).build(); return newProfile(activationFile); } private Profile newMissingProfile(String filePath) { ActivationFile activationFile =Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 6.2K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/app/job/AllJobScheduler.java
public class AllJobScheduler implements LaJobScheduler { private static final Logger logger = LogManager.getLogger(AllJobScheduler.class); /** Application type identifier for job context */ protected static final String APP_TYPE = "JOB"; /** * Default constructor. */ public AllJobScheduler() { // Default constructor } @Resource private TimeManager timeManager; @ResourceCreated: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 4.3K bytes - Click Count (0) -
android/guava-testlib/test/com/google/common/testing/TearDownStackTest.java
} } }); return result; } private static final class ThrowingTearDown implements TearDown { private final String id; boolean ran = false; ThrowingTearDown(String id) { this.id = id; } @Override public void tearDown() throws Exception { ran = true; throw new RuntimeException(id); } }Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Wed Oct 01 13:14:50 GMT 2025 - 4.6K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/RemoteRepository.java
* @see ModelBase#getRepositories() * @see ModelBase#getPluginRepositories() */ @Experimental @Immutable public interface RemoteRepository extends Repository { @Nonnull String getUrl(); @Nonnull String getProtocol();Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Aug 27 21:13:34 GMT 2024 - 3.3K bytes - Click Count (0) -
build-logic/documentation/src/test/resources/org/gradle/test/JavaClassWithAnnotation.java
package org.gradle.test; @Deprecated @JavaAnnotation public class JavaClassWithAnnotation { @Deprecated @JavaAnnotation String getAnnotatedProperty() { return "hi"; } @Deprecated @JavaAnnotation void annotatedMethod() { }Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 09 08:14:05 GMT 2020 - 242 bytes - Click Count (0) -
src/main/java/org/codelibs/core/io/WriterUtil.java
* @param encoding the encoding (must not be {@literal null} or empty) * @return a {@link Writer} to output to the stream */ public static Writer create(final OutputStream os, final String encoding) { assertArgumentNotNull("os", os); assertArgumentNotEmpty("encoding", encoding); try { return new OutputStreamWriter(os, encoding); } catch (final IOException e) {
Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 3K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryRequestTest.java
} @Test void testToString() { // Test the toString method's output format NameQueryRequest request = new NameQueryRequest(mockConfig, mockName); String expectedStringPrefix = "NameQueryRequest["; String actualString = request.toString(); assertTrue(actualString.startsWith(expectedStringPrefix)); assertTrue(actualString.endsWith("]"));Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 3.8K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/internal/duplex/MockSocketHandler.kt
*/ class MockSocketHandler : SocketHandler { private val actions = LinkedBlockingQueue<Action>() private val results = LinkedBlockingQueue<FutureTask<Void>>() fun receiveRequest(expected: String) = apply { actions += { stream -> val actual = stream.source.readUtf8(expected.utf8Size()) if (actual != expected) throw AssertionError("$actual != $expected") } }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 3.3K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
} /** * Writes thread dump information to the specified file. * * @param file the file path to write the thread dump to */ public static void writeThreadDump(final String file) { try (final Writer writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(file), Constants.CHARSET_UTF_8))) { processThreadDump(s -> { try {Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Fri Nov 28 16:29:12 GMT 2025 - 3.3K bytes - Click Count (0)