Search Options

Results per page
Sort
Preferred Languages
Advance

Results 241 - 250 of 738 for eval (0.03 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt

    import okio.BufferedSource
    import okio.Source
    
    @JvmField
    internal val EMPTY_HEADERS: Headers = commonEmptyHeaders
    
    @JvmField
    internal val EMPTY_REQUEST: RequestBody = commonEmptyRequestBody
    
    @JvmField
    internal val EMPTY_RESPONSE: ResponseBody = commonEmptyResponse
    
    /** GMT and UTC are equivalent for our purposes. */
    @JvmField
    internal val UTC: TimeZone = TimeZone.getTimeZone("GMT")!!
    
    internal fun threadFactory(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon May 13 13:42:37 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

    class Main : CliktCommand(name = NAME, help = "A curl for the next-generation web.") {
      val method: String? by option("-X", "--request", help = "Specify request command to use")
    
      val data: String? by option("-d", "--data", help = "HTTP POST data")
    
      val headers: List<String>? by option("-H", "--header", help = "Custom header to pass to server").multiple()
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

     */
    class RealInterceptorChain(
      internal val call: RealCall,
      private val interceptors: List<Interceptor>,
      private val index: Int,
      internal val exchange: Exchange?,
      internal val request: Request,
      internal val connectTimeoutMillis: Int,
      internal val readTimeoutMillis: Int,
      internal val writeTimeoutMillis: Int,
    ) : Interceptor.Chain {
      private var calls: Int = 0
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

      }
    
      @Test
      fun removePathSegment() {
        val base = parse("http://host/a/b/c")
        val url =
          base.newBuilder()
            .removePathSegment(0)
            .build()
        assertThat(url.encodedPath).isEqualTo("/b/c")
      }
    
      @Test
      fun removePathSegmentDoesntRemovePath() {
        val base = parse("http://host/a/b/c")
        val url =
          base.newBuilder()
            .removePathSegment(0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 67.9K bytes
    - Viewed (0)
  5. build-logic-commons/publishing/src/main/kotlin/gradlebuild.publish-public-libraries.gradle.kts

                configureGradleModulePublication()
            }
        }
    
        plugins.withId("gradlebuild.shaded-jar") {
            publishNormalizedToLocalRepository()
        }
    }
    
    val pgpSigningKey: Provider<String> = providers.environmentVariable("PGP_SIGNING_KEY")
    val signArtifacts: Boolean = !pgpSigningKey.orNull.isNullOrEmpty()
    
    tasks.withType<Sign>().configureEach { isEnabled = signArtifacts }
    
    signing {
        useInMemoryPgpKeys(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Sep 19 13:21:47 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  6. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

       *
       * If there's nothing to read and no default value, this will throw an exception.
       */
      fun fromDer(reader: DerReader): T
    
      fun fromDer(byteString: ByteString): T {
        val buffer = Buffer().write(byteString)
        val reader = DerReader(buffer)
        return fromDer(reader)
      }
    
      /**
       * Writes [value] to this adapter, unless it is the default value and can be safely omitted.
       *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  7. licenses/gopkg.in/evanphx/json-patch.v4/LICENSE

    Copyright (c) 2014, Evan Phoenix
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without 
    modification, are permitted provided that the following conditions are met:
    
    * Redistributions of source code must retain the above copyright notice, this
      list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 18:30:46 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  8. licenses/github.com/evanphx/json-patch/v5/LICENSE

    Copyright (c) 2014, Evan Phoenix
    All rights reserved.
    
    Redistribution and use in source and binary forms, with or without 
    modification, are permitted provided that the following conditions are met:
    
    * Redistributions of source code must retain the above copyright notice, this
      list of conditions and the following disclaimer.
    * Redistributions in binary form must reproduce the above copyright notice,
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Mar 04 22:49:18 UTC 2021
    - 1.5K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/RecordingExecutor.kt

      }
    
      fun assertJobs(vararg expectedUrls: String) {
        val actualUrls = calls.map { it.request.url.toString() }
        assertThat(actualUrls).containsExactly(*expectedUrls)
      }
    
      fun finishJob(url: String) {
        val i = calls.iterator()
        while (i.hasNext()) {
          val call = i.next()
          if (call.request.url.toString() == url) {
            i.remove()
            dispatcherTest.dispatcher.finishedAccessor(call)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/ws/RealWebSocketTest.kt

      // from the perspective of a single peer.
      private val random = Random(0)
      private val client2Server = Pipe(8192L)
      private val server2client = Pipe(8192L)
      private val taskFaker = TaskFaker()
      private val client = TestStreams(true, taskFaker, server2client, client2Server)
      private val server = TestStreams(false, taskFaker, client2Server, server2client)
    
      @BeforeEach
      fun setUp() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 01:59:58 UTC 2024
    - 18.5K bytes
    - Viewed (0)
Back to top