Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 613 for slow (0.17 sec)

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

          assertThat(unsignedValue.toString()).isEqualTo(unsignedValue.bigIntegerValue().toString());
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // too slow
      public void testToStringRadix() {
        for (int radix = Character.MIN_RADIX; radix <= Character.MAX_RADIX; radix++) {
          for (int l : TEST_INTS) {
            UnsignedInteger value = UnsignedInteger.fromIntBits(l);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 9.6K bytes
    - Viewed (0)
  2. docs/features/connections.md

    (like HTTP/2).
    
    URLs that share the same address may also share the same underlying TCP socket connection. Sharing a connection has substantial performance benefits: lower latency, higher throughput (due to [TCP slow start](https://www.igvita.com/2011/10/20/faster-web-vs-tcp-slow-start/)) and conserved battery. OkHttp uses a [ConnectionPool](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-connection-pool/) that automatically reuses HTTP/1.x connections and multiplexes HTTP/2 connections....
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Feb 21 03:33:59 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/MultipartReader.kt

     *   }
     * }
     * ```
     *
     * Note that [nextPart] will skip any unprocessed data from the preceding part. If the preceding
     * part is particularly large or if the underlying source is particularly slow, the [nextPart] call
     * may be slow!
     *
     * Closing a part **does not** close this multipart reader; callers must explicitly close this with
     * [close].
     *
     * [rfc_2046]: http://www.ietf.org/rfc/rfc2046.txt
     */
    class MultipartReader
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. src/archive/zip/zip_test.go

    func TestZip64(t *testing.T) {
    	if testing.Short() {
    		t.Skip("slow test; skipping")
    	}
    	t.Parallel()
    	const size = 1 << 32 // before the "END\n" part
    	buf := testZip64(t, size)
    	testZip64DirectoryRecordLength(buf, t)
    }
    
    func TestZip64EdgeCase(t *testing.T) {
    	if testing.Short() {
    		t.Skip("slow test; skipping")
    	}
    	t.Parallel()
    	// Test a zip file with uncompressed size 0xFFFFFFFF.
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Wed Mar 27 18:23:49 GMT 2024
    - 19.5K bytes
    - Viewed (0)
  5. cmd/admin-handlers-users-race_test.go

    // along with this program.  If not, see <http://www.gnu.org/licenses/>.
    
    //go:build !race
    // +build !race
    
    // Tests in this file are not run under the `-race` flag as they are too slow
    // and cause context deadline errors.
    
    package cmd
    
    import (
    	"context"
    	"fmt"
    	"runtime"
    	"testing"
    	"time"
    
    	"github.com/minio/madmin-go/v3"
    	minio "github.com/minio/minio-go/v7"
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Sep 04 19:57:37 GMT 2023
    - 3.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/ImmutableSortedAsList.java

        // Necessary for ISS's with comparators inconsistent with equals.
        return indexOf(target) >= 0;
      }
    
      @GwtIncompatible // super.subListUnchecked does not exist; inherited subList is valid if slow
      /*
       * TODO(cpovirk): if we start to override indexOf/lastIndexOf under GWT, we'll want some way to
       * override subList to return an ImmutableSortedAsList for better performance. Right now, I'm not
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/io/LittleEndianDataOutputStream.java

        super(new DataOutputStream(Preconditions.checkNotNull(out)));
      }
    
      @Override
      public void write(byte[] b, int off, int len) throws IOException {
        // Override slow FilterOutputStream impl
        out.write(b, off, len);
      }
    
      @Override
      public void writeBoolean(boolean v) throws IOException {
        ((DataOutputStream) out).writeBoolean(v);
      }
    
      @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed May 17 14:35:11 GMT 2023
    - 5.2K bytes
    - Viewed (0)
  8. docs/contribute/concurrency.md

    a timeout elapses. If we get bytes but there's nobody asking for them, we buffer them. We don't consider bytes as delivered for flow control until they're consumed by the application.
    
    Consider an application streaming a video over http/2. Perhaps the user pauses the video and the application stops reading bytes from this stream. The buffer will fill up, and flow control prevents the server from sending more data on this stream. When the user unpauses her video the buffer drains, the read...
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  9. guava-tests/benchmark/com/google/common/collect/MinMaxPriorityQueueBenchmark.java

       */
      static class ExpensiveComputation implements Function<Integer, BigInteger> {
        @Override
        public BigInteger apply(Integer from) {
          BigInteger v = BigInteger.valueOf(from);
          // Math.sin is very slow for values outside 4*pi
          // Need to take absolute value to avoid inverting the value.
          for (double i = 0; i < 100; i += 20) {
            v =
                v.add(
                    v.multiply(
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. guava-tests/benchmark/com/google/common/collect/SetContainsBenchmark.java

        this.queries = sampleData.getQueries();
      }
    
      @Benchmark
      boolean contains(int reps) {
        // Paranoia: acting on hearsay that accessing fields might be slow
        // Should write a benchmark to test that!
        Set<Element> set = setToTest;
        Element[] queries = this.queries;
    
        int mask = queries.length - 1;
    
        boolean dummy = false;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 2.4K bytes
    - Viewed (0)
Back to top