Search Options

Results per page
Sort
Preferred Languages
Advance

Results 581 - 590 of 4,686 for uses (1.6 sec)

  1. src/test/java/jcifs/smb1/netbios/SocketInputStreamTest.java

            InputStream in = new ByteArrayInputStream(concat(messageHeader(3), data));
            SocketInputStream sis = new SocketInputStream(in);
    
            // Try to skip more than available
            // Skip uses read internally, which may throw IOException when it tries to read the next header
            try {
                long skipped = sis.skip(10);
                // If it doesn't throw, it should only skip what's available
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashCode.java

       * probably not what you want to use.
       */
      @Override
      public final int hashCode() {
        // If we have at least 4 bytes (32 bits), just take the first 4 bytes. Since this is
        // already a (presumably) high-quality hash code, any four bytes of it will do.
        if (bits() >= 32) {
          return asInt();
        }
        // If we have less than 4 bytes, use them all.
        byte[] bytes = getBytesInternal();
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 12.6K bytes
    - Viewed (0)
  3. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

       * ImmutableSortedSet) creates an empty sortedDelegate, which, in a vacuum, sets this object's
       * contents to empty. By contrast, the non-GWT constructor with the same signature uses the
       * comparator only as a comparator. It does NOT assume empty contents. (It requires an
       * implementation of iterator() to define its contents, and methods like contains() are
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Aug 06 18:32:41 UTC 2025
    - 15.5K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      @AndroidIncompatible
      public static final class ImmutableLongArrayAsListGenerator extends TestLongListGenerator {
        @Override
        protected List<Long> create(Long[] elements) {
          return makeArray(elements).asList();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      @AndroidIncompatible
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Dec 12 14:49:24 UTC 2025
    - 20.9K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/LocalCache.java

            Segment<K, V> segment, ReferenceEntry<K, V> entry, V value, int weight);
    
        /**
         * Returns the default equivalence strategy used to compare and hash keys or values referenced
         * at this strength. This strategy will be used unless the user explicitly specifies an
         * alternate strategy.
         */
        abstract Equivalence<Object> defaultEquivalence();
      }
    
      /** Creates new entries. */
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Sep 11 19:35:11 UTC 2025
    - 148.9K bytes
    - Viewed (0)
  6. impl/maven-core/src/test/java/org/apache/maven/configuration/internal/CompositeBeanHelperPerformanceTest.java

    import static org.mockito.Mockito.mock;
    import static org.mockito.Mockito.when;
    
    /**
     * Performance comparison test between original CompositeBeanHelper and OptimizedCompositeBeanHelper.
     * This test uses JMH (Java Microbenchmark Harness) for accurate performance measurement.
     *
     * To run this benchmark:
     * mvn test -Dtest=CompositeBeanHelperPerformanceTest -pl impl/maven-core
     *
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Thu Jul 17 07:40:49 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinderTest.kt

    import okhttp3.internal.concurrent.TaskFaker
    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    /**
     * Unit test for [FastFallbackExchangeFinder] implementation details.
     *
     * This test uses [TaskFaker] to deterministically test racy code. Each function in this test has
     * the same structure:
     *
     *  * prepare a set of plans, each with a predictable connect delay
     *  * attempt to find a connection
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 20.9K bytes
    - Viewed (0)
  8. docs/en/docs/management-tasks.md

    ## Review PRs
    
    If a PR doesn't explain what it does or why, ask for more information.
    
    A PR should have a specific use case that it is solving.
    
    * If the PR is for a feature, it should have docs.
        * Unless it's a feature we want to discourage, like support for a corner case that we don't want users to use.
    * The docs should include a source example file, not write Python directly in Markdown.
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  9. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java

            delete(builder -> builder.setQuery(QueryBuilders.matchAllQuery()));
        }
    
        /**
         * Deletes documents from the OpenSearch index based on the specified search criteria.
         * Uses scroll and bulk delete operations for efficient deletion of large result sets.
         *
         * @param callback The callback to configure the search request for identifying documents to delete.
    Registered: Sat Dec 20 11:21:39 UTC 2025
    - Last Modified: Thu Nov 20 08:40:57 UTC 2025
    - 34.3K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/ConnectionCoalescingTest.kt

        )
    
        // Seed the connection pool.
        assert200Http2Response(execute(url), server.hostName)
    
        // Use the coalesced connection which should retry on a fresh connection.
        val sanUrl =
          url
            .newBuilder()
            .host("san.com")
            .build()
        execute(sanUrl).use { response ->
          assertThat(response.code).isEqualTo(200)
          assertThat(response.priorResponse!!.code).isEqualTo(421)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jun 19 11:44:16 UTC 2025
    - 19.1K bytes
    - Viewed (0)
Back to top