Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for eravate (0.08 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

    import okio.Okio;
    import okio.Sink;
    import java.io.File;
    import java.io.IOException;
    
    public final class UploadProgress {
      private static final String IMGUR_CLIENT_ID = "9199fdef135c122";
      private static final MediaType MEDIA_TYPE_PNG = MediaType.get("image/png");
    
      private final OkHttpClient client = new OkHttpClient();
    
      public void run() throws Exception {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 4.2K bytes
    - Viewed (1)
  2. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

    import okhttp3.ResponseBody
    import okhttp3.internal.stripBody
    import okhttp3.sse.EventSource
    import okhttp3.sse.EventSourceListener
    
    internal class RealEventSource private constructor(
      private val call: Call?,
      private val request: Request,
      private val listener: EventSourceListener,
    ) : EventSource,
      ServerSentEventReader.Callback,
      Callback {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:47:47 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  3. 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()
      }
    
      @Test
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 13:49:38 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  4. guava/src/com/google/common/reflect/Types.java

          }
          return false;
        }
    
        private static final long serialVersionUID = 0;
      }
    
      private static final class ParameterizedTypeImpl implements ParameterizedType, Serializable {
    
        private final @Nullable Type ownerType;
        private final ImmutableList<Type> argumentsList;
        private final Class<?> rawType;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.5K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/kt/UploadProgress.kt

    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
    
            override fun update(
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 3.8K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/reflect/TypeResolver.java

      // Instead, it should create a capture of the wildcard so that set() rejects any List<T>.
      private static class WildcardCapturer {
    
        static final WildcardCapturer INSTANCE = new WildcardCapturer();
    
        private final AtomicInteger id;
    
        private WildcardCapturer() {
          this(new AtomicInteger());
        }
    
        private WildcardCapturer(AtomicInteger id) {
          this.id = id;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

       */
      private var executeCallCount = 0
      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 {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 11:30:11 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  8. docs/recipes.md

           * these examples, please request your own client ID! https://api.imgur.com/oauth2
           */
          private static final String IMGUR_CLIENT_ID = "...";
          private static final MediaType MEDIA_TYPE_PNG = MediaType.parse("image/png");
    
          private final OkHttpClient client = new OkHttpClient();
    
          public void run() throws Exception {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/reflect/Types.java

          }
          return false;
        }
    
        private static final long serialVersionUID = 0;
      }
    
      private static final class ParameterizedTypeImpl implements ParameterizedType, Serializable {
    
        private final @Nullable Type ownerType;
        private final ImmutableList<Type> argumentsList;
        private final Class<?> rawType;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 23.6K bytes
    - Viewed (0)
  10. guava/src/com/google/common/reflect/TypeResolver.java

      // Instead, it should create a capture of the wildcard so that set() rejects any List<T>.
      private static class WildcardCapturer {
    
        static final WildcardCapturer INSTANCE = new WildcardCapturer();
    
        private final AtomicInteger id;
    
        private WildcardCapturer() {
          this(new AtomicInteger());
        }
    
        private WildcardCapturer(AtomicInteger id) {
          this.id = id;
        }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Sep 03 14:03:14 UTC 2025
    - 24.2K bytes
    - Viewed (0)
Back to top