- Sort Score
- Num 10 results
- Language All
Results 3151 - 3160 of 5,248 for strike (0.14 seconds)
-
android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java
* * <p>The default implementation returns a new {@link Executor} that sets the name of its threads * to the string returned by {@link #serviceName} */ protected Executor executor() { return command -> newThread(serviceName(), command).start(); } @Override public String toString() { return serviceName() + " [" + state() + "]"; } @Override public final boolean isRunning() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Fri Jul 11 18:52:30 GMT 2025 - 7.2K bytes - Click Count (0) -
src/main/java/org/codelibs/core/misc/Base64Util.java
* </p> * * @param inData * The data to encode * @return The encoded data, or an empty string if the input is null or empty */ public static String encode(final byte[] inData) { if (ArrayUtil.isEmpty(inData)) { return ""; } return Base64.getEncoder().encodeToString(inData); } /**Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat Nov 22 11:21:59 GMT 2025 - 2.1K bytes - Click Count (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt
val extensions = try { X509TrustManagerExtensions(trustManager) } catch (iae: IllegalArgumentException) { // X509TrustManagerExtensions checks for checkServerTrusted(X509Certificate[], String, String) null } return when { extensions != null -> AndroidCertificateChainCleaner(trustManager, extensions) else -> null } } }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 2.7K bytes - Click Count (0) -
samples/simple-client/src/main/java/okhttp3/sample/OkHttpContributors.java
public class OkHttpContributors { private static final String ENDPOINT = "https://api.github.com/repos/square/okhttp/contributors"; private static final Moshi MOSHI = new Moshi.Builder().build(); private static final JsonAdapter<List<Contributor>> CONTRIBUTORS_JSON_ADAPTER = MOSHI.adapter( Types.newParameterizedType(List.class, Contributor.class)); static class Contributor { String login; int contributions; }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri Apr 05 03:30:42 GMT 2024 - 2.2K bytes - Click Count (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
for (CrawlerStatus status : CrawlerStatus.values()) { String description = getStatusDescription(status); assertNotNull(description); assertFalse(description.isEmpty()); } } /** * Helper method to test switch statement */ private String getStatusDescription(CrawlerStatus status) { switch (status) { case INITIALIZING:
Created: Sat Dec 20 11:21:39 GMT 2025 - Last Modified: Wed Sep 03 14:42:53 GMT 2025 - 15.8K bytes - Click Count (0) -
src/test/java/jcifs/netbios/NameQueryResponseTest.java
addrEntryField.setAccessible(true); addrEntryField.set(nameQueryResponse, null); // The toString method appends to super.toString(). We'll check the appended part. String expectedEnd = ",addrEntry=]"; String actual = nameQueryResponse.toString(); assertTrue(actual.endsWith(expectedEnd), "toString should end with ',addrEntry=]' when addrEntry is null");
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 14.4K bytes - Click Count (0) -
src/main/java/org/codelibs/core/convert/CalendarConversionUtil.java
* Converts to {@link Calendar}. * * @param o * The object to convert * @param pattern * The pattern string * @return The converted {@link Calendar} */ public static Calendar toCalendar(final Object o, final String pattern) { if (o instanceof Calendar) { return (Calendar) o; }Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 2.4K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/exception/WebApiException.java
* * @param statusCode The HTTP status code * @param message The detail message * @param cause The cause of this exception */ public WebApiException(final int statusCode, final String message, final Throwable cause) { super(message, cause); this.statusCode = statusCode; } /** * Constructs a WebApiException with the specified status code and message. *Created: Sat Dec 20 09:19:18 GMT 2025 - Last Modified: Thu Jul 17 08:28:31 GMT 2025 - 2.3K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/StandardSystemPropertyTest.java
@NullUnmarked public class StandardSystemPropertyTest extends TestCase { public void testGetKeyMatchesString() { for (StandardSystemProperty property : StandardSystemProperty.values()) { String fieldName = property.name(); String expected = Ascii.toLowerCase(fieldName).replaceAll("_", "."); assertEquals(expected, property.key()); } } public void testGetValue() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 19 18:03:30 GMT 2024 - 2.5K bytes - Click Count (0) -
guava-gwt/test-super/com/google/common/collect/testing/super/com/google/common/collect/testing/Platform.java
static <T> T[] clone(T[] array) { return (T[]) Arrays.copyOfRange(array, 0, array.length); } // TODO: Consolidate different copies in one single place. static String format(String template, Object... args) { // start substituting the arguments into the '%s' placeholders StringBuilder builder = new StringBuilder(template.length() + 16 * args.length); int templateStart = 0; int i = 0;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Dec 04 17:37:03 GMT 2017 - 2.1K bytes - Click Count (0)