Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 391 - 400 of 608 for _append (0.28 seconds)

  1. android/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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to Top