Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 58 of 58 for Longs (0.02 sec)

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

        List<Short> shorts = Arrays.asList((short) 0, (short) 1, (short) 2);
        List<Integer> ints = Arrays.asList(0, 1, 2);
        List<Float> floats = Arrays.asList((float) 0, (float) 1, (float) 2);
        List<Long> longs = Arrays.asList((long) 0, (long) 1, (long) 2);
        List<Double> doubles = Arrays.asList((double) 0, (double) 1, (double) 2);
    
        assertThat(Floats.toArray(bytes)).isEqualTo(array);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 02:56:12 UTC 2024
    - 30.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/math/BigIntegerMath.java

        int bits = LongMath.log2(startingNumber, FLOOR) + 1;
        // Check for the next power of two boundary, to save us a CLZ operation.
        int nextPowerOfTwo = 1 << (bits - 1);
    
        // Iteratively multiply the longs as big as they can go.
        for (long num = startingNumber; num <= n; num++) {
          // Check to see if the floor(log2(num)) + 1 has changed.
          if ((num & nextPowerOfTwo) != 0) {
            nextPowerOfTwo <<= 1;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 18.8K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/Ints.java

       *     Character.MAX_RADIX}
       * @throws NullPointerException if {@code string} is {@code null}
       * @since 19.0
       */
      @CheckForNull
      public static Integer tryParse(String string, int radix) {
        Long result = Longs.tryParse(string, radix);
        if (result == null || result.longValue() != result.intValue()) {
          return null;
        } else {
          return result.intValue();
        }
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 31K bytes
    - Viewed (0)
  4. docs/fr/docs/async.md

    Pendant que vous attendez, vous allez choisir une table avec votre crush 😍, vous discutez avec votre crush 😍 pendant un long moment (les burgers étant "magnifiques" ils sont très longs à préparer ✨🍔✨).
    
    Pendant que vous êtes assis à table, en attendant que les burgers 🍔 soient prêts, vous pouvez passer ce temps à admirer à quel point votre crush 😍 est géniale, mignonne et intelligente ✨😍✨.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 25.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

        }
      }
    
      /**
       * Attempts to remove a single frame from a queue and send it. This prefers to write urgent pongs
       * before less urgent messages and close frames. For example it's possible that a caller will
       * enqueue messages followed by pongs, but this sends pongs followed by messages. Pongs are always
       * written in the order they were enqueued.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

          SocketTimeoutException::class.java,
          "sent ping but didn't receive pong within 500ms (after 0 successful ping/pongs)",
        )
      }
    
      @Test
      fun unexpectedPongsDoNotInterfereWithFailureDetection() {
        client.initWebSocket(random, pingIntervalMillis = 500)
    
        // At 0ms the server sends 3 unexpected pongs. The client accepts 'em and ignores em.
        server.webSocket!!.pong("pong 1".encodeUtf8())
        client.processNextFrame()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

            .build(),
        )
        val webSocket = newWebSocket()
        clientListener.assertOpen()
        val server = serverListener.assertOpen() as RealWebSocket
        Thread.sleep(1000)
    
        // No pings and no pongs.
        assertThat(webSocket.sentPingCount()).isEqualTo(0)
        assertThat(webSocket.receivedPingCount()).isEqualTo(0)
        assertThat(webSocket.receivedPongCount()).isEqualTo(0)
        assertThat(server.sentPingCount()).isEqualTo(0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_3x.md

        sockets and HTTP/2 connections.**
    
        Previously if you configured a ping interval that would cause OkHttp to send
        pings, but it did not track whether the reply pongs were received. With this
        update OkHttp requires that every ping receive a response: if it does not
        the connection will be closed and the listener's `onFailure()` method will
        be called.
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
Back to top