Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 738 for eval (0.04 sec)

  1. okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt

      var testLogHandler = TestLogHandler(OkHttpClient::class.java)
      private lateinit var webServer: MockWebServer
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private val clientListener = WebSocketRecorder("client")
      private val serverListener = WebSocketRecorder("server")
      private val random = Random(0)
      private var client =
        clientTestRule.newClientBuilder()
          .writeTimeout(Duration.ofMillis(500))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketProtocol.kt

       * represent the length.
       */
      internal const val B1_MASK_LENGTH = 127
    
      internal const val OPCODE_CONTINUATION = 0x0
      internal const val OPCODE_TEXT = 0x1
      internal const val OPCODE_BINARY = 0x2
    
      internal const val OPCODE_CONTROL_CLOSE = 0x8
      internal const val OPCODE_CONTROL_PING = 0x9
      internal const val OPCODE_CONTROL_PONG = 0xa
    
      /**
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/ws/MessageDeflater.kt

    import okio.ByteString.Companion.decodeHex
    import okio.DeflaterSink
    
    private val EMPTY_DEFLATE_BLOCK = "000000ffff".decodeHex()
    private const val LAST_OCTETS_COUNT_TO_REMOVE_AFTER_DEFLATION = 4
    
    class MessageDeflater(
      private val noContextTakeover: Boolean,
    ) : Closeable {
      private val deflatedBytes = Buffer()
    
      private val deflater =
        Deflater(
          Deflater.DEFAULT_COMPRESSION,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        ) {
          val settings = response.settings
          stream.connection.setSettings(settings)
    
          if (response.socketPolicy === NoResponse) {
            return
          }
    
          val bodyDelayNanos = response.bodyDelayNanos
          val trailers = response.trailers
          val body = response.body
          val streamHandler = response.streamHandler
          val outFinished = (
            body == null &&
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

      val fastFallback: Boolean = builder.fastFallback
    
      @get:JvmName("authenticator")
      val authenticator: Authenticator = builder.authenticator
    
      @get:JvmName("followRedirects")
      val followRedirects: Boolean = builder.followRedirects
    
      @get:JvmName("followSslRedirects")
      val followSslRedirects: Boolean = builder.followSslRedirects
    
      @get:JvmName("cookieJar")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:21:33 UTC 2024
    - 52K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

    import okio.Timeout
    
    /** A logical bidirectional stream. */
    @Suppress("NAME_SHADOWING")
    class Http2Stream internal constructor(
      val id: Int,
      val connection: Http2Connection,
      outFinished: Boolean,
      inFinished: Boolean,
      headers: Headers?,
    ) {
      internal val lock: ReentrantLock = ReentrantLock()
      val condition: Condition = lock.newCondition()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/RecordedResponse.kt

    import java.util.Date
    
    /**
     * A received response or failure recorded by the response recorder.
     */
    class RecordedResponse(
      @JvmField val request: Request,
      val response: Response?,
      val webSocket: WebSocket?,
      val body: String?,
      val failure: IOException?,
    ) {
      fun assertRequestUrl(url: HttpUrl) =
        apply {
          assertThat(request.url).isEqualTo(url)
        }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/primitives/UnsignedInteger.java

        // TODO(lowasser): make this GWT-compatible
        return fromIntBits(value * checkNotNull(val).value);
      }
    
      /**
       * Returns the result of dividing this by {@code val}.
       *
       * @throws ArithmeticException if {@code val} is zero
       * @since 14.0
       */
      public UnsignedInteger dividedBy(UnsignedInteger val) {
        return fromIntBits(UnsignedInts.divide(value, checkNotNull(val).value));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  9. guava/src/com/google/common/primitives/UnsignedInteger.java

        // TODO(lowasser): make this GWT-compatible
        return fromIntBits(value * checkNotNull(val).value);
      }
    
      /**
       * Returns the result of dividing this by {@code val}.
       *
       * @throws ArithmeticException if {@code val} is zero
       * @since 14.0
       */
      public UnsignedInteger dividedBy(UnsignedInteger val) {
        return fromIntBits(UnsignedInts.divide(value, checkNotNull(val).value));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 23 18:45:50 UTC 2023
    - 8.3K bytes
    - Viewed (0)
  10. internal/pubsub/pubsub_test.go

    		t.Fatalf("unexpected error: %v", err)
    	}
    	val := maskString("hello")
    	ps.Publish(val)
    
    	msg1 := <-ch1
    	msg2 := <-ch2
    	if msg1 != val && msg2 != val {
    		t.Fatalf("expected both subscribers to have%s , found %s and  %s", val, msg1, msg2)
    	}
    }
    
    func TestMultiPubSubMask(t *testing.T) {
    	ps := New[Maskable, Maskable](3)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 5.8K bytes
    - Viewed (0)
Back to top