Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 321 - 330 of 613 for needs (0.02 seconds)

  1. guava-tests/test/com/google/common/primitives/DoublesTest.java

      // We need to test that our method behaves like the JDK method.
      @SuppressWarnings("InlineMeInliner")
      public void testHashCode() {
        for (double value : VALUES) {
          assertThat(Doubles.hashCode(value)).isEqualTo(Double.hashCode(value));
        }
      }
    
      @SuppressWarnings("InlineMeInliner") // We need to test our method.
      public void testIsFinite() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Mar 08 01:43:32 GMT 2026
    - 30.9K bytes
    - Click Count (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/concurrent/TaskRunnerTest.kt

          "FINE: Q10000 starting              : task one",
          "FINE: Q10000 finished run in   0 µs: task one",
        )
      }
    
      /**
       * The runner doesn't hold references to its queues! Otherwise we'd need a mechanism to clean them
       * up when they're no longer needed and that's annoying. Instead the task runner only tracks which
       * queues have work scheduled.
       */
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 23K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpHeaders.kt

    import okio.ByteString.Companion.encodeUtf8
    
    private val QUOTED_STRING_DELIMITERS = "\"\\".encodeUtf8()
    private val TOKEN_DELIMITERS = "\t ,=".encodeUtf8()
    
    /**
     * Parse RFC 7235 challenges. This is awkward because we need to look ahead to know how to
     * interpret a token.
     *
     * For example, the first line has a parameter name/value pair and the second line has a single
     * token68:
     *
     * ```
     * WWW-Authenticate: Digest foo=bar
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 7.2K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/ArrayListMultimap.java

      /**
       * Reduces the memory used by this {@code ArrayListMultimap}, if feasible.
       *
       * @deprecated For a {@link ListMultimap} that automatically trims to size, use {@link
       *     ImmutableListMultimap}. If you need a mutable collection, remove the {@code trimToSize}
       *     call, or switch to a {@code HashMap<K, ArrayList<V>>}.
       */
      @Deprecated
      public void trimToSize() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 05 23:15:58 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  5. src/test/java/org/codelibs/fess/it/admin/StatsTests.java

            assertNotNull(res, "Stats response should not be null");
            assertTrue(res.size() > 0, "Stats should contain at least some data");
    
            // Check for common stats fields (these may need to be adjusted based on actual implementation)
            // Examples of fields that might be present:
            // - Document count
            // - Index size
            // - Memory usage
            // - System stats
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 11 08:43:05 GMT 2026
    - 6.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/base/ConverterTest.java

            .testEquals();
      }
    
      public void testReverseReverse() {
        Converter<String, Long> converter = STR_TO_LONG;
        assertEquals(converter, converter.reverse().reverse());
      }
    
      // We need to test that apply() does in fact behave like convert().
      @SuppressWarnings("InlineMeInliner")
      public void testApply() {
        assertEquals(LONG_VAL, STR_TO_LONG.apply(STR_VAL));
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 18 18:06:14 GMT 2026
    - 8.3K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/hash/Funnels.java

          return "Funnels.byteArrayFunnel()";
        }
      }
    
      /**
       * Returns a funnel that extracts the characters from a {@code CharSequence}, a character at a
       * time, without performing any encoding. If you need to use a specific encoding, use {@link
       * Funnels#stringFunnel(Charset)} instead.
       *
       * @since 15.0 (since 11.0 as {@code Funnels.stringFunnel()}.
       */
      public static Funnel<CharSequence> unencodedCharsFunnel() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 17 15:26:41 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/SortedSetMultimap.java

       * not necessarily a {@link SortedMap}: A {@code SortedSetMultimap} must expose the <i>values</i>
       * for a given key in sorted order, but it need not expose the <i>keys</i> in sorted order.
       * Individual {@code SortedSetMultimap} implementations, like those built with {@link
       * MultimapBuilder#treeKeys()}, may make additional guarantees.
       */
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sun Dec 22 03:38:46 GMT 2024
    - 5.2K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/util/concurrent/AbstractExecutionThreadService.java

       *
       * <p>By default this method does nothing.
       *
       * <p>Currently, this method is invoked while holding a lock. If an implementation of this method
       * blocks, it can prevent this service from changing state. If you need to performing a blocking
       * operation in order to trigger shutdown, consider instead registering a listener and
       * implementing {@code stopping}. Note, however, that {@code stopping} does not run at exactly the
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Jul 11 18:52:30 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  10. android/guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java

            .thenThrow(new InterruptedException());
    
        AtomicBoolean terminated = new AtomicBoolean();
        // we need to keep this in a flag because t.isInterrupted() returns false after t.join()
        AtomicBoolean interrupted = new AtomicBoolean();
        // we need to use another thread because it will be interrupted and thus using
        // the current one, owned by JUnit, would make the test fail
        Thread thread =
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Mar 16 22:45:21 GMT 2026
    - 26.1K bytes
    - Click Count (0)
Back to Top