- Sort Score
- Result 10 results
- Languages All
Results 1841 - 1850 of 2,175 for match (0.02 sec)
-
android/guava-tests/test/com/google/common/collect/CompactLinkedHashMapTest.java
* the License. */ package com.google.common.collect; import static com.google.common.collect.Maps.immutableEntry; import static com.google.common.truth.Truth.assertThat; import static java.lang.Math.max; import com.google.common.collect.testing.MapTestSuiteBuilder; import com.google.common.collect.testing.TestStringMapGenerator; import com.google.common.collect.testing.features.CollectionFeature;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 6.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/VirtualHostHelperTest.java
}); try { HtmlNext result = virtualHostHelper.getVirtualHostPath(null); // If it doesn't throw an exception, the test passes assertTrue(true); } catch (Exception e) { // If it throws any exception, the test passes assertTrue(true); } } public void test_getVirtualHostPath_withComplexPath() {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/creator/PagerCreatorTest.java
} @Override public Class<?> fromComponentNameToClass(String componentName) { try { return Class.forName(componentName); } catch (ClassNotFoundException e) { return null; } } @Override public Class<?> toCompleteClass(Class<?> clazz) { return clazz; }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 13.6K bytes - Viewed (0) -
src/cmd/api/main_test.go
// // The source import path and expanded import path are identical except for vendored packages. // For example, on return: // // w.importMap["math"] = "math" // w.importDir["math"] = "<goroot>/src/math" // // w.importMap["golang.org/x/net/route"] = "vendor/golang.org/x/net/route" // w.importDir["vendor/golang.org/x/net/route"] = "<goroot>/src/vendor/golang.org/x/net/route" //
Registered: Tue Sep 09 11:13:09 UTC 2025 - Last Modified: Thu Feb 20 03:25:33 UTC 2025 - 31.4K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/Futures.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 64.3K bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
timeZone = utc set2DigitYearStart(Date(-631152000000L)) // 1950-01-01T00:00:00Z. } try { val parsed = dateFormat.parse(string) return parsed.time } catch (e: ParseException) { throw ProtocolException("Failed to parse UTCTime $string") } } internal fun formatUtcTime(date: Long): String { val utc = TimeZone.getTimeZone("GMT") val dateFormat =
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/FunctionsTest.java
// convoluted way to check that the same result happens from each Y expected = null; try { expected = f.apply(i); } catch (IllegalArgumentException e) { try { g.apply(i); fail(); } catch (IllegalArgumentException ok) { continue; } } assertEquals(expected, g.apply(i)); } } @J2ktIncompatible
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 15.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ListSubListTester.java
} public void testSubList_startGreaterThanEnd() { try { getList().subList(1, 0); fail("subList(1, 0) should throw"); } catch (IndexOutOfBoundsException expected) { } catch (IllegalArgumentException expected) { /* * The subList() docs claim that this should be an * IndexOutOfBoundsException, but many JDK implementations throw
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java
try { long skipped = sis.skip(10); // If it doesn't throw, it should only skip what's available assertEquals(3, skipped); } catch (IOException e) { // This is also acceptable behavior - skip may fail when it runs out of data assertTrue(e.getMessage().contains("unexpected EOF")); } } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 14.2K bytes - Viewed (0) -
guava-tests/test/com/google/common/reflect/TypeTokenTest.java
} catch (AssertionError expected) { return; } fail(); } public void testAssertSubtypeTokenBeforeSupertypeToken_duplicate() { try { assertSubtypeTokenBeforeSupertypeToken( ImmutableList.of(TypeToken.of(String.class), TypeToken.of(String.class))); } catch (AssertionError expected) { return; } fail();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Sep 02 17:23:59 UTC 2025 - 89K bytes - Viewed (0)