Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for checkOffsetAndCount (0.07 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.File
    import java.io.FileDescriptor
    import java.io.FileInputStream
    import java.io.IOException
    import okhttp3.internal.checkOffsetAndCount
    import okhttp3.internal.chooseCharset
    import okio.BufferedSink
    import okio.ByteString
    import okio.FileSystem
    import okio.Path
    import okio.source
    
    abstract class RequestBody {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 04 17:43:43 UTC 2025
    - 9K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

    import okhttp3.Headers
    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.checkOffsetAndCount
    import okhttp3.internal.connection.BufferedSocket
    import okhttp3.internal.discard
    import okhttp3.internal.headersContentLength
    import okhttp3.internal.http.ExchangeCodec
    import okhttp3.internal.http.HTTP_CONTINUE
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (7)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

          (result as MutableList<T>).add(i)
        }
      }
      return result
    }
    
    internal const val USER_AGENT: String = "okhttp/${CONST_VERSION}"
    
    internal fun checkOffsetAndCount(
      arrayLength: Long,
      offset: Long,
      count: Long,
    ) {
      if (offset or count < 0L || offset > arrayLength || arrayLength - offset < count) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  4. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/internal/_ResponseCommonKt;->checkSupportResponse(Ljava/lang/String;Lokhttp3/Response;)V
    HSPLokhttp3/internal/_UtilCommonKt;-><clinit>()V
    HSPLokhttp3/internal/_UtilCommonKt;->checkOffsetAndCount(JJJ)V
    HSPLokhttp3/internal/_UtilCommonKt;->closeQuietly(Ljava/io/Closeable;)V
    HSPLokhttp3/internal/_UtilCommonKt;->delimiterOffset(Ljava/lang/String;CII)I
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
Back to top