Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 21 for greater (0.05 sec)

  1. guava/src/com/google/common/collect/TopKSelector.java

       * Returns a {@code TopKSelector} that collects the greatest {@code k} elements added to it,
       * relative to the natural ordering of the elements, and returns them via {@link #topK} in
       * descending order.
       *
       * @throws IllegalArgumentException if {@code k < 0} or {@code k > Integer.MAX_VALUE / 2}
       */
      public static <T extends Comparable<? super T>> TopKSelector<T> greatest(int k) {
        return greatest(k, Ordering.natural());
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/helper/SystemHelper.java

        }
    
        /**
         * Creates a temporary file.
         *
         * @param prefix The prefix for the file name.
         * @param suffix The suffix for the file name.
         * @return The created temporary file.
         * @throws IORuntimeException if the file cannot be created.
         */
        public File createTempFile(final String prefix, final String suffix) {
            try {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 36.6K bytes
    - Viewed (0)
  3. docs/recipes.md

    Download a file, print its headers, and print its response body as a string.
    
    The `string()` method on response body is convenient and efficient for small documents. But if the response body is large (greater than 1 MiB), avoid `string()` because it will load the entire document into memory. In that case, prefer to process the body as a stream.
    
    === ":material-language-kotlin: Kotlin"
        ```kotlin
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/opensearch/client/SearchEngineClient.java

            return response.isAcknowledged();
        }
    
        /**
         * Creates aliases for a newly created index.
         *
         * @param index            the index configuration name
         * @param createdIndexName the actual index name that was created
         */
        protected void createAlias(final String index, final String createdIndexName) {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 121.9K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/hash/BloomFilter.java

       * @return a {@code BloomFilter}
       */
      public static <T extends @Nullable Object> BloomFilter<T> create(
          Funnel<? super T> funnel, int expectedInsertions, double fpp) {
        return create(funnel, (long) expectedInsertions, fpp);
      }
    
      /**
       * Creates a {@link BloomFilter} with the expected number of insertions and expected false
       * positive probability.
       *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Aug 31 13:15:26 UTC 2025
    - 26.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

             *
             * 2b. If the resolved types are different from the original types, things are trickier. The
             * only way to get a TypeVariable instance for the resolved types is to create our own. The
             * created TypeVariable will not interoperate with any JDK TypeVariable. But this is OK: We
             * don't _want_ our new TypeVariable to be equal to the JDK TypeVariable because it has
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

       * the event source has already been closed or canceled.
       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new event source and immediately returns it. Creating an event source initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 2.5K bytes
    - Viewed (0)
  8. guava/src/com/google/common/reflect/TypeResolver.java

             *
             * 2b. If the resolved types are different from the original types, things are trickier. The
             * only way to get a TypeVariable instance for the resolved types is to create our own. The
             * created TypeVariable will not interoperate with any JDK TypeVariable. But this is OK: We
             * don't _want_ our new TypeVariable to be equal to the JDK TypeVariable because it has
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/TestsForListsInJavaUtil.java

      public Test testsForEmptyList() {
        return ListTestSuiteBuilder.using(
                new TestStringListGenerator() {
                  @Override
                  public List<String> create(String[] elements) {
                    return emptyList();
                  }
                })
            .named("emptyList")
            .withFeatures(CollectionFeature.SERIALIZABLE, CollectionSize.ZERO)
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Sep 04 15:04:05 UTC 2025
    - 12K bytes
    - Viewed (0)
  10. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

          // Replace the body with a stripped one so the callbacks can't see real data.
          val response = response.stripBody()
    
          val reader = ServerSentEventReader(body.source(), this)
          try {
            if (!canceled) {
              listener.onOpen(this, response)
              while (!canceled && reader.processNextEvent()) {
              }
            }
          } catch (e: Exception) {
            val exception =
              when {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top