- Sort Score
- Result 10 results
- Languages All
Results 481 - 490 of 909 for match2 (0.69 sec)
-
guava/src/com/google/common/primitives/Doubles.java
public static @Nullable Double tryParse(String string) { if (FLOATING_POINT_PATTERN.matcher(string).matches()) { // TODO(lowasser): could be potentially optimized, but only with // extensive testing try { return Double.parseDouble(string); } catch (NumberFormatException e) { // Double.parseDouble has changed specs several times, so fall through // gracefully
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 27.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/validation/UriTypeValidator.java
return check(protocols, value); } return true; } /** * Checks if the given value matches any of the specified protocols. * * @param protocols the allowed protocols * @param value the URI string to validate * @return true if the value matches allowed protocols, false otherwise */ protected static boolean check(final String[] protocols, final String value) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/JobHelperTest.java
try { jobHelper.register((ScheduledJob) null); fail("Should throw ScheduledJobException"); } catch (ScheduledJobException e) { assertEquals("No job.", e.getMessage()); } catch (Exception e) { // Expected due to missing dependencies in test environment assertTrue(true); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 6.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt
value < 0 -> 0 else -> value.toInt() } } catch (_: NumberFormatException) { return defaultValue } } /** Closes this, ignoring any checked exceptions. */ fun Closeable.closeQuietly() { try { close() } catch (rethrown: RuntimeException) { throw rethrown } catch (_: Exception) { } } /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 10.1K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt
import okio.ByteString /** * Encode and decode a model object like a [Long] or [Certificate] as DER bytes. */ internal interface DerAdapter<T> { /** Returns true if this adapter can read [header] in a choice. */ fun matches(header: DerHeader): Boolean /** * Returns a value from this adapter. * * This must always return a value, though it doesn't necessarily need to consume data from
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.2K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
// will not be transmitted. val conditionName: String val conditionValue: String? when { etag != null -> { conditionName = "If-None-Match" conditionValue = etag } lastModified != null -> { conditionName = "If-Modified-Since" conditionValue = lastModifiedString }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbTreeImplTest.java
assertEquals("A:", tree.getService()); } // Test case for the matches method @Test void testMatches() { SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:"); assertTrue(tree.matches("share", "A:")); assertFalse(tree.matches("othershare", "A:")); } // Test case for the equals method @Test void testEquals() {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.8K bytes - Viewed (0) -
guava-gwt/test-super/com/google/common/util/concurrent/super/com/google/common/util/concurrent/TestPlatform.java
try { future.get(); fail(); } catch (Exception e) { assertThat(e).isInstanceOf(IllegalStateException.class); assertThat(e).hasMessageThat().isEqualTo("Cannot get() on a pending future."); } } static void verifyTimedGetOnPendingFuture(Future<?> future) { try { future.get(0, SECONDS); fail(); } catch (Exception e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 2.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/direction/sponsor/FessMultipartRequestHandler.java
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 18.6K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/exception/FessUserNotFoundExceptionTest.java
String username = "nonexistentuser"; try { throw new FessUserNotFoundException(username); } catch (FessUserNotFoundException e) { assertEquals("User is not found: nonexistentuser", e.getMessage()); assertNull(e.getCause()); } catch (Exception e) { fail("Should have caught FessUserNotFoundException"); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 6.6K bytes - Viewed (0)