Search Options

Results per page
Sort
Preferred Languages
Advance

Results 641 - 650 of 2,776 for 2$ (0.03 sec)

  1. src/bytes/buffer_test.go

    		empty(t, "TestLargeByteWrites (2)", &buf, s, make([]byte, len(testString)/i))
    	}
    	check(t, "TestLargeByteWrites (3)", &buf, "")
    }
    
    func TestLargeStringReads(t *testing.T) {
    	var buf Buffer
    	for i := 3; i < 30; i += 3 {
    		s := fillString(t, "TestLargeReads (1)", &buf, "", 5, testString[:len(testString)/i])
    		empty(t, "TestLargeReads (2)", &buf, s, make([]byte, len(testString)))
    	}
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Sep 03 20:55:15 UTC 2024
    - 18.6K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

        Constructor<WithConstructorAndTypeParameter> constructor = type.getDeclaredConstructor();
        Invokable<?, ?> factory = Invokable.from(constructor);
        assertThat(factory.getTypeParameters()).hasLength(2);
        assertEquals(type.getTypeParameters()[0], factory.getTypeParameters()[0]);
        assertEquals(constructor.getTypeParameters()[0], factory.getTypeParameters()[1]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #4
        }
        stopwatch.sleepMillis(500); // #5: to repay for the last acquire
        stopwatch.sleepMillis(2000); // #6: didn't get cold! It would take another 2 seconds to go cold
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #7
        }
        assertEvents(
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1
            "U0.50", // #2
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // // #4
        }
        stopwatch.sleepMillis(500); // #5: to repay for the last acquire
        stopwatch.sleepMillis(2000); // #6: didn't get cold! It would take another 2 seconds to go cold
        for (int i = 0; i < 8; i++) {
          limiter.acquire(); // #7
        }
        assertEvents(
            "R0.00, R1.38, R1.13, R0.88, R0.63, R0.50, R0.50, R0.50", // #1
            "U0.50", // #2
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/reflect/InvokableTest.java

        Constructor<WithConstructorAndTypeParameter> constructor = type.getDeclaredConstructor();
        Invokable<?, ?> factory = Invokable.from(constructor);
        assertThat(factory.getTypeParameters()).hasLength(2);
        assertEquals(type.getTypeParameters()[0], factory.getTypeParameters()[0]);
        assertEquals(constructor.getTypeParameters()[0], factory.getTypeParameters()[1]);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 13:00:28 UTC 2024
    - 30.7K bytes
    - Viewed (0)
  6. CHANGELOG/CHANGELOG-1.17.md

        - [Source Code](#source-code-2)
        - [Client binaries](#client-binaries-2)
        - [Server binaries](#server-binaries-2)
        - [Node binaries](#node-binaries-2)
      - [Changelog since v1.17.14](#changelog-since-v11714)
      - [Changes by Kind](#changes-by-kind-2)
        - [Feature](#feature-1)
        - [Bug or Regression](#bug-or-regression-2)
        - [Other (Cleanup or Flake)](#other-cleanup-or-flake-1)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Jan 28 10:44:33 UTC 2021
    - 346.2K bytes
    - Viewed (1)
  7. okcurl/src/main/kotlin/okhttp3/curl/internal/-MainCommon.kt

      request.url(url)
    
      data?.let {
        request.method(requestMethod, it.toRequestBody(mediaType()))
      }
    
      for (header in headers.orEmpty()) {
        val parts = header.split(':', limit = 2)
        if (!isSpecialHeader(parts[0])) {
          request.header(parts[0], parts[1])
        }
      }
      referer?.let {
        request.header("Referer", it)
      }
      request.header("User-Agent", userAgent)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  8. android/guava-tests/benchmark/com/google/common/math/DoubleMathRoundingBenchmark.java

      RoundingMode mode;
    
      @BeforeExperiment
      void setUp() {
        for (int i = 0; i < ARRAY_SIZE; i++) {
          doubleInIntRange[i] = randomDouble(Integer.SIZE - 2);
          doubleInLongRange[i] = randomDouble(Long.SIZE - 2);
          positiveDoubles[i] = randomPositiveDouble();
        }
      }
    
      @Benchmark
      int roundToInt(int reps) {
        int tmp = 0;
        for (int i = 0; i < reps; i++) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 2.6K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb1/com/SmbComSeek.java

        protected int writeParameterWordsWireFormat ( byte[] dst, int dstIndex ) {
            int start = dstIndex;
            SMBUtil.writeInt2(this.fid, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt2(this.mode, dst, dstIndex);
            dstIndex += 2;
            SMBUtil.writeInt4(this.offset, dst, dstIndex);
            dstIndex += 4;
            return dstIndex - start;
        }
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 3K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb1/smb1/TestLocking.java

                        if (expire > ctime)
                            delay = expire - ctime;
                    }
    
    if (delay > 2)
    System.out.println("delay=" + delay);
                    Thread.sleep(delay);
                } while (delay > 2);
    
                synchronized (t) {
                    t.notifyAll();
                }
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 3.4K bytes
    - Viewed (0)
Back to top