Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for eval (0.01 sec)

  1. pom.xml

    					<groupId>org.opensearch.plugin</groupId>
    					<artifactId>aggs-matrix-stats-client</artifactId>
    				</exclusion>
    				<exclusion>
    					<groupId>org.opensearch.plugin</groupId>
    					<artifactId>rank-eval-client</artifactId>
    				</exclusion>
    				<exclusion>
    					<groupId>org.opensearch.plugin</groupId>
    					<artifactId>lang-expression</artifactId>
    				</exclusion>
    				<exclusion>
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Sep 04 05:22:58 UTC 2025
    - 49.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealCall.kt

     */
    class RealCall(
      val client: OkHttpClient,
      /** The application's original request unadulterated by redirects or auth headers. */
      val originalRequest: Request,
      val forWebSocket: Boolean,
    ) : Call,
      Cloneable,
      Lockable {
      private val connectionPool: RealConnectionPool = client.connectionPool.delegate
    
      internal val eventListener: EventListener = client.eventListenerFactory.create(this)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  3. docs/recipes.md

        ```kotlin
          private val executor = Executors.newScheduledThreadPool(1)
          private val client = OkHttpClient()
    
          fun run() {
            val request = Request.Builder()
                .url("http://httpbin.org/delay/2") // This URL is served with a 2 second delay.
                .build()
    
            val startNanos = System.nanoTime()
            val call = client.newCall(request)
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

      private var runCallCount = 0
    
      /** Queues with tasks that are currently executing their [TaskQueue.activeTask]. */
      private val busyQueues = mutableListOf<TaskQueue>()
    
      /** Queues not in [busyQueues] that have non-empty [TaskQueue.futureTasks]. */
      private val readyQueues = mutableListOf<TaskQueue>()
    
      private val runnable: Runnable =
        object : Runnable {
          override fun run() {
            var task: Task =
              withLock {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  5. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

        } else {
          assertThat(event.t).isNull()
        }
      }
    
      internal data class Open(
        val eventSource: EventSource,
        val response: Response,
      )
    
      internal data class Failure(
        val t: Throwable?,
        val response: Response?,
        val message: String?,
      )
    
      internal object Closed
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:32:52 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  6. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

    import okio.ForwardingSink
    import okio.buffer
    
    class UploadProgress {
      companion object {
        private const val IMGUR_CLIENT_ID = "9199fdef135c122"
        private val MEDIA_TYPE_PNG = "image/png".toMediaType()
      }
    
      private val client = OkHttpClient()
    
      @Throws(Exception::class)
      fun run() {
        val progressListener =
          object : ProgressListener {
            private var firstUpdate = true
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http/ThreadInterruptTest.kt

              .build(),
          )
        val response = call.execute()
        interruptLater(500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
        assertFailsWith<IOException> {
          while (responseBody.read(buffer) != -1) {
          }
        }
        responseBody.close()
      }
    
      @Test
      fun forciblyStopDispatcher() {
        client =
          client
            .newBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  8. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceHttpTest.kt

    @Tag("Slowish")
    class EventSourceHttpTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @StartStop
      private val server = MockWebServer()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
      private val eventListener = RecordingEventListener()
      private val listener = EventSourceRecorder()
      private var client =
        clientTestRule
          .newClientBuilder()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/ServerSentEventReader.kt

    import okhttp3.internal.toLongOrDefault
    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString.Companion.encodeUtf8
    import okio.Options
    
    internal class ServerSentEventReader(
      private val source: BufferedSource,
      private val callback: Callback,
    ) {
      private var lastId: String? = null
    
      interface Callback {
        fun onEvent(
          id: String?,
          type: String?,
          data: String,
        )
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 4.3K bytes
    - Viewed (0)
  10. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourcesHttpTest.kt

    @Tag("Slowish")
    class EventSourcesHttpTest {
      @RegisterExtension
      val platform = PlatformRule()
    
      @StartStop
      private val server = MockWebServer()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      private val listener = EventSourceRecorder()
      private val client = clientTestRule.newClient()
    
      @AfterEach
      fun after() {
        listener.assertExhausted()
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 13:49:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top