- Sort Score
- Num 10 results
- Language All
Results 311 - 320 of 488 for _append (0.04 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
guava-tests/test/com/google/common/util/concurrent/StripedTest.java
Striped<Lock> stripedLock = Striped.lazyWeakLock(Integer.MAX_VALUE); for (int i = 0; i < 10000; i++) { stripedLock.get(new Object()).lock(); // nothing special (e.g. an exception) happens } } public void testBulkGetReturnsSorted() { for (Striped<?> striped : allImplementations()) { Map<Object, Integer> indexByLock = new HashMap<>();
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 8.1K bytes - Click Count (0) -
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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt
* * If the server does not respond to each ping with a pong within `interval`, this client will * assume that connectivity has been lost. When this happens on a web socket the connection is * canceled and its listener is [notified][WebSocketListener.onFailure]. When it happens on an * HTTP/2 connection the connection is closed and any calls it is carrying * [will fail with an IOException][java.io.IOException]. *Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 51.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/ExchangeCodec.kt
@Throws(IOException::class) fun peekTrailers(): Headers? /** * Cancel this stream. Resources held by this stream will be cleaned up, though not synchronously. * That may happen later by the connection pool thread. */ fun cancel() /** * Carries an exchange. This is usually a connection, but it could also be a connect plan for
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jul 29 21:11:09 GMT 2025 - 3.3K 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)