- Sort Score
- Num 10 results
- Language All
Results 321 - 330 of 492 for _append (0.05 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
okhttp/src/jvmTest/kotlin/okhttp3/internal/HostnamesTest.kt
assertThat("localhost".toCanonicalHost()).isEqualTo("localhost") assertThat("☃.net".toCanonicalHost()).isEqualTo("xn--n3h.net") // IPv4 Compatible or Mapped addresses assertThat("::192.168.0.1".toCanonicalHost()).isEqualTo("::c0a8:1") assertThat("::FFFF:192.168.0.1".toCanonicalHost()).isEqualTo("192.168.0.1")
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 5.1K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/opensearch/client/CrawlerEngineClientTest.java
@Test public void test_instanceFieldsInitialization() { // Test that instance fields are properly initialized assertNotNull(crawlerEngineClient); // The actual client initialization happens lazily when needed } // Test that close method exists (inherited) @Test public void test_closeMethodExists() { // Test that close method is available (inherited from parent)Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 5K bytes - Click Count (0) -
guava/src/com/google/common/collect/ImmutableMultiset.java
* the result of applying {@code countFunction} to the inputs. * * <p>If the mapped elements contain duplicates (according to {@link Object#equals}), the first * occurrence in encounter order appears in the resulting multiset, with count equal to the sum of * the outputs of {@code countFunction.applyAsInt(t)} for each {@code t} mapped to that element. * * @since 22.0 */ public static <T extends @Nullable Object, E>Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Sep 22 21:07:18 GMT 2025 - 20.6K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/MapMergeTester.java
getKeyForNullValue(), v3(), (oldV, newV) -> { throw new AssertionFailedError( "Should not call merge function if key was mapped to null"); })); expectReplacement(entry(getKeyForNullValue(), v3())); } @MapFeature.Require({SUPPORTS_PUT, ALLOWS_NULL_KEYS}) public void testMergeAbsentNullKey() { assertEquals(
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 6.8K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/MemoryUtilTest.java
assertEquals(58L, MemoryUtil.sizeOf("こん")); // Very long string StringBuilder longString = new StringBuilder(); for (int i = 0; i < 1000; i++) { longString.append("x"); } assertEquals(1056L, MemoryUtil.sizeOf(longString.toString())); } @Test public void test_sizeOf_numberTypes() { // Test various Number subclasses
Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 12K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/util/OptionalUtilTest.java
// Test with very large strings StringBuilder largeString = new StringBuilder(); for (int i = 0; i < 10000; i++) { largeString.append("x"); } OptionalEntity<String> largeStringOpt = OptionalUtil.ofNullable(largeString.toString()); assertTrue(largeStringOpt.isPresent()); assertEquals(10000, largeStringOpt.get().length());Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 13.3K bytes - Click Count (0) -
guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java
// If the class is accessible to the system ClassLoader (ClassLoader.getSystemClassLoader()) // then FRQ does not bother to load Finalizer.class through a separate ClassLoader. That happens // in our test environment, which foils the purpose of this test, so we disable the logic for // our test by setting a static field. We are changing the field in the parallel version of FRQ
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 26 02:41:17 GMT 2026 - 7.7K bytes - Click Count (0) -
android/guava/src/com/google/common/base/Platform.java
// - even for the JVM in our open-source release (https://github.com/google/guava/issues/3147) // If anyone in our monorepo uses the Android copy of Guava on a JVM, that would be unfortunate. // But that is only likely to happen in Robolectric tests, where the risks of JDK regex are low. return new JdkPatternCompiler(); } private static final class JdkPatternCompiler implements PatternCompiler { @Override
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 4.1K bytes - Click Count (0) -
android/guava/src/com/google/common/net/PercentEscaper.java
cp >>>= 4; dest[4] = upperHexDigits[0x8 | (cp & 0x3)]; cp >>>= 2; dest[2] = upperHexDigits[cp & 0x7]; return dest; } else { // If this ever happens it is due to bug in UnicodeEscaper, not bad input. throw new IllegalArgumentException("Invalid unicode character value " + cp); } }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 28 01:26:26 GMT 2024 - 8.6K bytes - Click Count (0) -
guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java
private interface ChainingCalls { // A method that is defined to 'return this' @CanIgnoreReturnValue ChainingCalls chainingCall(); // A method that just happens to return a ChainingCalls object ChainingCalls nonChainingCall(); } private static final class ForwardingChainingCalls implements ChainingCalls { final ChainingCalls delegate;Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Wed Apr 01 17:27:13 GMT 2026 - 12.9K bytes - Click Count (0)