Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 559 for Vong (0.3 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

      private val pingIntervalMillis: Long,
      /**
       * For clients this is initially null, and will be assigned to the agreed-upon extensions. For
       * servers it should be the agreed-upon extensions immediately.
       */
      private var extensions: WebSocketExtensions?,
      /** If compression is negotiated, outbound messages of this size and larger will be compressed. */
      private var minimumDeflateSize: Long,
      private val webSocketCloseTimeout: Long,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       * To differentiate the two cases we ping the server when a stream times out. If the overall
       * connection is fine the ping will receive a pong; otherwise it won't.
       *
       * The deadline to respond to this ping attempts to limit the cost of being wrong. If it is too
       * long, streams created while we await the pong will reuse broken connections and inevitably
       * fail. If it is too short, slow connections will be marked as failed and extra TCP and TLS
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

        // At 0ms the server sends 3 unexpected pongs. The client accepts 'em and ignores em.
        server.webSocket!!.pong("pong 1".encodeUtf8())
        client.processNextFrame()
        server.webSocket!!.pong("pong 2".encodeUtf8())
        client.processNextFrame()
        taskFaker.runTasks()
        server.webSocket!!.pong("pong 3".encodeUtf8())
        client.processNextFrame()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 01:59:58 GMT 2024
    - 18.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

    import okhttp3.internal.ws.WebSocketProtocol.OPCODE_CONTROL_PONG
    import okhttp3.internal.ws.WebSocketProtocol.OPCODE_FLAG_CONTROL
    import okhttp3.internal.ws.WebSocketProtocol.OPCODE_TEXT
    import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_BYTE_MAX
    import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_LONG
    import okhttp3.internal.ws.WebSocketProtocol.PAYLOAD_SHORT
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/LongMath.java

          }
        };
    
        static boolean test(long base, long n) {
          // Since base will be considered % n, it's okay if base > FLOOR_SQRT_MAX_LONG,
          // so long as n <= FLOOR_SQRT_MAX_LONG.
          return ((n <= FLOOR_SQRT_MAX_LONG) ? SMALL : LARGE).testWitness(base, n);
        }
    
        /** Returns a * b mod m. */
        abstract long mulMod(long a, long b, long m);
    
        /** Returns a^2 mod m. */
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 07 17:50:39 GMT 2024
    - 44.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        @Override
        protected List<Long> create(Long[] elements) {
          Long[] prefix = {Long.MIN_VALUE, Long.MAX_VALUE};
          Long[] suffix = {86L, 99L};
          Long[] all = concat(concat(prefix, elements), suffix);
          return makeArray(all).subArray(2, elements.length + 2).asList();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      private static Long[] concat(Long[] a, Long[] b) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 19K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/DiscreteDomain.java

        }
    
        @Override
        @CheckForNull
        public Long previous(Long value) {
          long l = value;
          return (l == Long.MIN_VALUE) ? null : l - 1;
        }
    
        @Override
        Long offset(Long origin, long distance) {
          checkNonnegative(distance, "distance");
          long result = origin + distance;
          if (result < 0) {
            checkArgument(origin < 0, "overflow");
          }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/DiscreteDomain.java

        }
    
        @Override
        @CheckForNull
        public Long previous(Long value) {
          long l = value;
          return (l == Long.MIN_VALUE) ? null : l - 1;
        }
    
        @Override
        Long offset(Long origin, long distance) {
          checkNonnegative(distance, "distance");
          long result = origin + distance;
          if (result < 0) {
            checkArgument(origin < 0, "overflow");
          }
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/primitives/ImmutableLongArrayTest.java

        @Override
        protected List<Long> create(Long[] elements) {
          Long[] prefix = {Long.MIN_VALUE, Long.MAX_VALUE};
          Long[] suffix = {86L, 99L};
          Long[] all = concat(concat(prefix, elements), suffix);
          return makeArray(all).subArray(2, elements.length + 2).asList();
        }
      }
    
      @J2ktIncompatible
      @GwtIncompatible // used only from suite
      private static Long[] concat(Long[] a, Long[] b) {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Jun 01 09:32:35 GMT 2023
    - 20.2K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/AtomicLongMapTest.java

      }
    
      public void testAddAndGet() {
        AtomicLongMap<String> map = AtomicLongMap.create();
        String key = "key";
        long addend = random.nextInt(MAX_ADDEND);
        for (int i = 0; i < ITERATIONS; i++) {
          long before = map.get(key);
          long result = map.addAndGet(key, addend);
          long after = map.get(key);
          assertEquals(before + addend, after);
          assertEquals(after, result);
          addend = after;
        }
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Tue Feb 13 14:28:25 GMT 2024
    - 17.4K bytes
    - Viewed (0)
Back to top