Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for 2f (0.01 sec)

  1. docs/recipes.md

            executor.schedule({
              System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f)
              call.cancel()
              System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f)
            }, 1, TimeUnit.SECONDS)
    
            System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f)
            try {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  2. samples/guide/src/main/java/okhttp3/recipes/kt/CancelCall.kt

        // Schedule a job to cancel the call in 1 second.
        executor.schedule({
          System.out.printf("%.2f Canceling call.%n", (System.nanoTime() - startNanos) / 1e9f)
          call.cancel()
          System.out.printf("%.2f Canceled call.%n", (System.nanoTime() - startNanos) / 1e9f)
        }, 1, TimeUnit.SECONDS)
    
        System.out.printf("%.2f Executing call.%n", (System.nanoTime() - startNanos) / 1e9f)
        try {
          call.execute().use { response ->
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2K bytes
    - Viewed (0)
  3. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlJvmTest.kt

            .username("=[]:;\"~|?#@^/$%*")
            .build()
        assertThat(url.toString())
          .isEqualTo("http://%3D%5B%5D%3A%3B%22~%7C%3F%23%40%5E%2F$%25*@host/")
        assertThat(url.toUri().toString())
          .isEqualTo("http://%3D%5B%5D%3A%3B%22~%7C%3F%23%40%5E%2F$%25*@host/")
      }
    
      @Test
      fun toUriPasswordSpecialCharacters() {
        val url =
          HttpUrl
            .Builder()
            .scheme("http")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 12K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/HttpUrlTest.kt

            .query("i:\u0001@/\\?#%j")
            .fragment("k:\u0001@/\\?#%l")
            .build()
        assertThat(url.toString())
          .isEqualTo(
            "http://a%3A%01%40%2F%5C%3F%23%25b:c%3A%01%40%2F%5C%3F%23%25d@ef:8080/" +
              "g:%01@%2F%5C%3F%23%25h?i:%01@/\\?%23%25j#k:%01@/\\?#%25l",
          )
        assertThat(url.scheme).isEqualTo("http")
        assertThat(url.username).isEqualTo("a:\u0001@/\\?#%b")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Aug 04 07:38:48 UTC 2025
    - 69.9K bytes
    - Viewed (0)
  5. okhttp/src/jvmTest/kotlin/okhttp3/FormBodyTest.kt

        assertThat(formEncode(44)).isEqualTo("%2C")
        assertThat(formEncode(45)).isEqualTo("-")
        assertThat(formEncode(46)).isEqualTo(".")
        assertThat(formEncode(47)).isEqualTo("%2F")
        assertThat(formEncode(48)).isEqualTo("0")
        assertThat(formEncode(57)).isEqualTo("9")
        assertThat(formEncode(58)).isEqualTo("%3A")
        assertThat(formEncode(59)).isEqualTo("%3B")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.9K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/BoostQueryCommandTest.java

            Term term = new Term("field", "val*");
            WildcardQuery wildcardQuery = new WildcardQuery(term);
            BoostQuery boostQuery = new BoostQuery(wildcardQuery, 2.2f);
    
            QueryContext context = new QueryContext("test", false);
            QueryBuilder result = queryProcessor.execute(context, boostQuery, 1.0f);
    
            assertNotNull(result);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 17K bytes
    - Viewed (0)
  7. guava/src/com/google/common/primitives/UnsignedLong.java

        // The top bit is set, which means that the float value is going to come from the top 24 bits.
        // So we can ignore the bottom 8, except for rounding. See doubleValue() for more.
        return (float) ((value >>> 1) | (value & 1)) * 2f;
      }
    
      /**
       * Returns the value of this {@code UnsignedLong} as a {@code double}, analogous to a widening
       * primitive conversion from {@code long} to {@code double}, and correctly rounded.
       */
      @Override
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Jun 04 13:03:16 UTC 2025
    - 8.8K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          sleepMicros("U", MILLISECONDS.toMicros(millis));
        }
    
        void sleepMicros(String caption, long micros) {
          instant += MICROSECONDS.toNanos(micros);
          events.add(caption + String.format(Locale.ROOT, "%3.2f", micros / 1000000.0));
        }
    
        @Override
        protected void sleepMicrosUninterruptibly(long micros) {
          sleepMicros("R", micros);
        }
    
        String readEventsAndClear() {
          try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

          sleepMicros("U", MILLISECONDS.toMicros(millis));
        }
    
        void sleepMicros(String caption, long micros) {
          instant += MICROSECONDS.toNanos(micros);
          events.add(caption + String.format(Locale.ROOT, "%3.2f", micros / 1000000.0));
        }
    
        @Override
        protected void sleepMicrosUninterruptibly(long micros) {
          sleepMicros("R", micros);
        }
    
        String readEventsAndClear() {
          try {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. src/main/java/org/codelibs/fess/sso/aad/AzureAdAuthenticator.java

                        + URLEncoder.encode(getReplyUrl(request), Constants.UTF_8_CHARSET) + "&client_id=" + getClientId()
                        + "&resource=https%3a%2f%2fgraph.microsoft.com" + "&state=" + state + "&nonce=" + nonce;
            }
            if (logger.isDebugEnabled()) {
                logger.debug("redirect to: {} (using {} endpoint)", authUrl, useV2Endpoint ? "v2.0" : "v1.0");
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 28 09:13:08 UTC 2025
    - 37.3K bytes
    - Viewed (0)
Back to top