- Sort Score
- Num 10 results
- Language All
Results 781 - 790 of 1,069 for match1 (0.1 seconds)
-
guava/src/com/google/common/collect/ForwardingSortedMap.java
SortedMap<@Nullable Object, V> self = (SortedMap<@Nullable Object, V>) this; Object ceilingKey = self.tailMap(key).firstKey(); return unsafeCompare(comparator(), ceilingKey, key) == 0; } catch (ClassCastException | NoSuchElementException | NullPointerException e) { return false; } } /** * A sensible default implementation of {@link #subMap(Object, Object)} in terms of {@link
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Feb 12 16:28:01 GMT 2025 - 5.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Joiner.java
* * @since 11.0 */ @CanIgnoreReturnValue public final StringBuilder appendTo(StringBuilder builder, Iterator<?> parts) { try { appendTo((Appendable) builder, parts); } catch (IOException impossible) { throw new AssertionError(impossible); } return builder; } /** * Appends the string representation of each of {@code parts}, using the previously configured
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 17 20:26:29 GMT 2025 - 19.3K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/SocketChannelTest.kt
sniMatchers = listOf( object : SNIMatcher(StandardConstants.SNI_HOST_NAME) { override fun matches(serverName: SNIServerName): Boolean { acceptedHostName = (serverName as SNIHostName).asciiName return true }Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 7.9K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/exception/InvalidAccessTokenExceptionTest.java
String expectedType = "OAuth"; String expectedMessage = "OAuth token is invalid"; try { throw new InvalidAccessTokenException(expectedType, expectedMessage); } catch (InvalidAccessTokenException e) { assertEquals(expectedType, e.getType()); assertEquals(expectedMessage, e.getMessage()); assertNull(e.getCause()); } } @Test
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 10.7K bytes - Click Count (0) -
build-logic/src/main/kotlin/BndBuildAction.kt
builtJar.write(archiveFile) archiveFile.setLastModified(System.currentTimeMillis()) } } catch (e: Exception) { throw GradleException("Bnd build failed", e) } } private fun isZip(file: File): Boolean = try { ZipFile(file).close() true } catch (e: Exception) { false } companion object { /**
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Thu Feb 05 09:17:33 GMT 2026 - 8.9K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java
* @param message message to use upon assertion failure */ protected void expectNullKeyMissingWhenNullKeysUnsupported(String message) { try { assertFalse(message, getMap().containsKey(null)); } catch (NullPointerException tolerated) { // Tolerated } } /** * Equivalent to {@link #expectMissingValues(Object[]) expectMissingValues} {@code (null)} except
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Jan 18 02:54:30 GMT 2025 - 7.8K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/base/EnumsTest.java
try { try { urls.add(new File(entry).toURI().toURL()); } catch (SecurityException e) { // File.toURI checks to see if the file is a directory urls.add(new URL("file", null, new File(entry).getAbsolutePath())); } } catch (MalformedURLException e) { throw new AssertionError("malformed class path entry: " + entry, e); } }Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Mar 13 01:05:11 GMT 2026 - 8.4K bytes - Click Count (0) -
guava-tests/test/com/google/common/primitives/UnsignedIntegerTest.java
boolean expectSuccess = value >= min && value <= max; try { assertThat(UnsignedInteger.valueOf(value).longValue()).isEqualTo(value); assertThat(expectSuccess).isTrue(); } catch (IllegalArgumentException e) { assertThat(expectSuccess).isFalse(); } } } public void testValueOfBigInteger() { long min = 0; long max = (1L << 32) - 1;
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Dec 11 20:45:32 GMT 2025 - 9.6K bytes - Click Count (0) -
src/main/java/org/codelibs/core/lang/ClassLoaderUtil.java
assertArgumentNotEmpty("name", name); try { final Enumeration<URL> e = loader.getResources(name); return new EnumerationIterator<>(e); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Loads the class with the specified binary name. * * @param loader
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 7.6K bytes - Click Count (0) -
android-test/src/test/kotlin/okhttp/android/test/BaseOkHttpClientUnitTest.kt
assertThat(httpUrl.topPrivateDomain()).isEqualTo("google.co.uk") } private fun assumeNetwork() { try { InetAddress.getByName("www.google.com") } catch (uhe: UnknownHostException) { throw AssumptionViolatedException(uhe.message, uhe) } }
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 22 20:03:31 GMT 2025 - 2.3K bytes - Click Count (0)