Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for 1e6 (0.03 sec)

  1. src/archive/tar/strconv_test.go

    		{+1, +1e9 - 1e0, "1.999999999"},
    		{+1, +1e9 - 1e3, "1.999999"},
    		{+1, +1e9 - 1e6, "1.999"},
    		{+1, +0e0 - 0e0, "1"},
    		{+1, +1e6 - 0e0, "1.001"},
    		{+1, +1e3 - 0e0, "1.000001"},
    		{+1, +1e0 - 0e0, "1.000000001"},
    		{0, 1e9 - 1e0, "0.999999999"},
    		{0, 1e9 - 1e3, "0.999999"},
    		{0, 1e9 - 1e6, "0.999"},
    		{0, 0e0, "0"},
    		{0, 1e6 + 0e0, "0.001"},
    		{0, 1e3 + 0e0, "0.000001"},
    		{0, 1e0 + 0e0, "0.000000001"},
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Feb 09 05:28:50 UTC 2021
    - 14K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(converter.convert("0")).isEqualTo((Double) 0.0);
        assertThat(converter.convert("-1")).isEqualTo((Double) (-1.0));
        assertThat(converter.convert("1e6")).isEqualTo((Double) 1e6);
        assertThat(converter.convert("1e-6")).isEqualTo((Double) 1e-6);
      }
    
      public void testStringConverter_convertError() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  3. cmd/local-locker_test.go

    	}
    }
    
    func Test_localLocker_expireOldLocksExpire(t *testing.T) {
    	rng := rand.New(rand.NewSource(0))
    	quorum := 0
    	// Numbers of unique locks
    	for _, locks := range []int{100, 1000, 1e6} {
    		if testing.Short() && locks > 100 {
    			continue
    		}
    		t.Run(fmt.Sprintf("%d-locks", locks), func(t *testing.T) {
    			// Number of readers per lock...
    			for _, readers := range []int{1, 10, 100} {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Jul 24 10:24:01 UTC 2024
    - 11.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/primitives/DoublesTest.java

        assertThat(converter.convert("0")).isEqualTo((Double) 0.0);
        assertThat(converter.convert("-1")).isEqualTo((Double) (-1.0));
        assertThat(converter.convert("1e6")).isEqualTo((Double) 1e6);
        assertThat(converter.convert("1e-6")).isEqualTo((Double) 1e-6);
      }
    
      public void testStringConverter_convertError() {
        assertThrows(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 32.2K bytes
    - Viewed (0)
  5. internal/config/identity/plugin/config.go

    		return AuthNResponse{}, err
    	}
    	defer o.args.CloseRespFn(resp.Body)
    	reqDurNanos := time.Since(reqStartTime).Nanoseconds()
    	o.serviceMetrics.accumRequestRTT(reqStartTime, float64(reqDurNanos)/1e6, true)
    
    	switch resp.StatusCode {
    	case 200:
    		var result AuthNSuccessResponse
    		if err = json.NewDecoder(resp.Body).Decode(&result); err != nil {
    			return AuthNResponse{}, err
    		}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/InterceptorTest.kt

        }
        val elapsedNanos = System.nanoTime() - startNanos
        org.junit.jupiter.api.Assertions.assertTrue(
          elapsedNanos < TimeUnit.SECONDS.toNanos(5),
          "Timeout should have taken ~100ms but was " + elapsedNanos / 1e6 + " ms",
        )
      }
    
      @Test
      fun chainWithReadTimeout() {
        val interceptor1 =
          Interceptor { chainA: Interceptor.Chain ->
            assertThat(chainA.readTimeoutMillis()).isEqualTo(5000)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(converter.convert("1")).isEqualTo((Float) 1.0f);
        assertThat(converter.convert("0")).isEqualTo((Float) 0.0f);
        assertThat(converter.convert("-1")).isEqualTo((Float) (-1.0f));
        assertThat(converter.convert("1e6")).isEqualTo((Float) 1e6f);
        assertThat(converter.convert("1e-6")).isEqualTo((Float) 1e-6f);
      }
    
      public void testStringConverter_convertError() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/primitives/FloatsTest.java

        assertThat(converter.convert("1")).isEqualTo((Float) 1.0f);
        assertThat(converter.convert("0")).isEqualTo((Float) 0.0f);
        assertThat(converter.convert("-1")).isEqualTo((Float) (-1.0f));
        assertThat(converter.convert("1e6")).isEqualTo((Float) 1e6f);
        assertThat(converter.convert("1e-6")).isEqualTo((Float) 1e-6f);
      }
    
      public void testStringConverter_convertError() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
Back to top