Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 27 for minuto (0.14 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/logging/OneLineLogFormat.kt

    import java.time.ZoneOffset
    import java.time.format.DateTimeFormatterBuilder
    import java.time.temporal.ChronoField.HOUR_OF_DAY
    import java.time.temporal.ChronoField.MINUTE_OF_HOUR
    import java.time.temporal.ChronoField.NANO_OF_SECOND
    import java.time.temporal.ChronoField.SECOND_OF_MINUTE
    import java.util.logging.Formatter
    import java.util.logging.LogRecord
    
    /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Cookie.kt

          require(hour in 0..23)
          require(minute in 0..59)
          require(second in 0..59)
    
          GregorianCalendar(UTC).apply {
            isLenient = false
            set(Calendar.YEAR, year)
            set(Calendar.MONTH, month - 1)
            set(Calendar.DAY_OF_MONTH, dayOfMonth)
            set(Calendar.HOUR_OF_DAY, hour)
            set(Calendar.MINUTE, minute)
            set(Calendar.SECOND, second)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

        if (Log.isLoggable(tag, logLevel)) {
          var logMessage = message
          if (t != null) logMessage = logMessage + '\n'.toString() + Log.getStackTraceString(t)
    
          // Split by line, then ensure each line can fit into Log's maximum length.
          var i = 0
          val length = logMessage.length
          while (i < length) {
            var newline = logMessage.indexOf('\n', i)
            newline = if (newline != -1) newline else length
            do {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  4. docs/works_with_okhttp.md

     * ⬜️ [Moshi](https://github.com/square/moshi): A modern JSON library for Android and Java.
     * [Ok2Curl](https://github.com/mrmike/Ok2Curl): Convert OkHttp requests into curl logs.
     * [OkHttp AWS Signer](https://github.com/babbel/okhttp-aws-signer): AWS V4 signing algorithm for OkHttp requests
     * [okhttp-digest](https://github.com/rburgst/okhttp-digest): A digest authenticator for OkHttp.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Jun 08 18:15:23 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  5. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

      private fun ensureAllTaskQueuesIdle() {
        val entryTime = System.nanoTime()
    
        for (queue in TaskRunner.INSTANCE.activeQueues()) {
          // We wait at most 1 second, so we don't ever turn multiple lost threads into
          // a test timeout failure.
          val waitTime = (entryTime + 1_000_000_000L - System.nanoTime())
          if (!queue.idleLatch().await(waitTime, TimeUnit.NANOSECONDS)) {
            TaskRunner.INSTANCE.lock.withLock {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Dispatcher.kt

        }
      }
    
      /**
       * Promotes eligible calls from [readyAsyncCalls] to [runningAsyncCalls] and runs them on the
       * executor service. Must not be called with synchronization because executing calls can call
       * into user code.
       *
       * @return true if the dispatcher is currently running calls.
       */
      private fun promoteAndExecute(): Boolean {
        lock.assertNotHeld()
    
        val executableCalls = mutableListOf<AsyncCall>()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

          }
    
          /** Add a part to the body. */
          fun addPart(part: Part) =
            apply {
              parts += part
            }
    
          /** Assemble the specified parts into a request body. */
          fun build(): MultipartBody {
            check(parts.isNotEmpty()) { "Multipart body must have at least one part." }
            return MultipartBody(boundary, type, parts.toImmutableList())
          }
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

          this.withLock {
            if (isShutdown) {
              return
            }
            isShutdown = true
            lastGoodStreamId = this.lastGoodStreamId
          }
          // TODO: propagate exception message into debugData.
          // TODO: configure a timeout on the reader so that it doesn’t block forever.
          writer.goAway(lastGoodStreamId, statusCode, EMPTY_BYTE_ARRAY)
        }
      }
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  9. gradlew

    #
    #   (2) This script targets any POSIX shell, so it avoids extensions provided
    #       by Bash, Ksh, etc; in particular arrays are avoided.
    #
    #       The "traditional" practice of packing multiple parameters into a
    #       space-separated string is a well documented source of bugs and security
    #       problems, so this is (mostly) avoided, by progressively accumulating
    #       options in "$@", and eventually passing that to Java.
    #
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/EventListenerTest.kt

      }
    
      /**
       * Test to confirm that events are reported at the time they occur and no earlier and no later.
       * This inserts a bunch of synthetic 250 ms delays into both client and server and confirms that
       * the same delays make it back into the events.
       *
       * We've had bugs where we report an event when we request data rather than when the data actually
       * arrives. https://github.com/square/okhttp/issues/5578
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
Back to top