Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 556 for eval (0.06 sec)

  1. .teamcity/src/main/kotlin/configurations/VcsTriggers.kt

     * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package configurations
    
    val triggerExcludes =
        """
        -:.idea
        -:.github
        -:.teamcity
        -:platforms/documentation/docs/src/docs/release
        """.trimIndent()
    
    fun branchesFilterExcluding(vararg excludedBranch: String) =
        """
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Wed Feb 12 09:12:03 UTC 2025
    - 913 bytes
    - Viewed (0)
  2. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientTest.kt

     */
    @RunWith(AndroidJUnit4::class)
    class ApacheHttpClientTest {
      private var httpClient = HttpClients.createDefault()
    
      @After fun tearDown() {
        httpClient.close()
      }
    
      @Test fun get() {
        val request = HttpGet("https://google.com/robots.txt")
    
        httpClient.execute(request).use { response ->
          assertEquals(200, response.code)
          // TODO enable ALPN later
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/common/BuildScanUtils.kt

            .values()
            .slice(this.stageName.ordinal until StageName.READY_FOR_RELEASE.ordinal + 1)
            .map { it.uuid }
    
    fun Stage.getBuildScanCustomValueParam(testCoverage: TestCoverage? = null): String {
        val customValues =
            if (testCoverage != null) {
                listOf(testCoverage.asBuildScanCustomValue()) + getBuildScanCustomValues()
            } else {
                getBuildScanCustomValues()
            }
    Registered: Wed Sep 10 11:36:15 UTC 2025
    - Last Modified: Tue Jun 10 05:45:46 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingRequestBody.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.io.IOException
    import okio.BufferedSink
    
    open class ForwardingRequestBody(
      delegate: RequestBody?,
    ) : RequestBody() {
      private val delegate: RequestBody
    
      fun delegate(): RequestBody = delegate
    
      override fun contentType(): MediaType? = delegate.contentType()
    
      @Throws(IOException::class)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  5. native-image-tests/src/test/kotlin/okhttp3/nativeimage/PublicSuffixDatabaseTest.kt

    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import org.junit.jupiter.api.Test
    
    class PublicSuffixDatabaseTest {
      @Test
      fun testResourcesLoaded() {
        val url = "https://api.twitter.com".toHttpUrl()
    
        assertThat(url.topPrivateDomain()).isEqualTo("twitter.com")
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 04 08:15:11 UTC 2025
    - 964 bytes
    - Viewed (0)
  6. cmd/handler-api.go

    	return func(w http.ResponseWriter, r *http.Request) {
    		globalHTTPStats.incS3RequestsIncoming()
    
    		if r.Header.Get(globalObjectPerfUserMetadata) == "" {
    			if val := globalServiceFreeze.Load(); val != nil {
    				if unlock, ok := val.(chan struct{}); ok && unlock != nil {
    					// Wait until unfrozen.
    					select {
    					case <-unlock:
    					case <-r.Context().Done():
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Tue Feb 18 16:25:55 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingResponseBody.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.BufferedSource
    
    open class ForwardingResponseBody(
      delegate: ResponseBody?,
    ) : ResponseBody() {
      private val delegate: ResponseBody
    
      fun delegate(): ResponseBody = delegate
    
      override fun contentType(): MediaType? = delegate.contentType()
    
      override fun contentLength(): Long = delegate.contentLength()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.2K bytes
    - Viewed (0)
  8. okhttp/src/androidMain/kotlin/okhttp3/OkHttp.android.kt

     */
    package okhttp3
    
    import android.content.Context
    import okhttp3.internal.CONST_VERSION
    import okhttp3.internal.platform.PlatformRegistry
    
    actual object OkHttp {
      @JvmField
      actual val VERSION: String = CONST_VERSION
    
      /**
       * Configure the ApplicationContext. Not needed unless the AndroidX Startup [Initializer] is disabled, or running
       * a robolectric test.
       *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. regression-test/build.gradle.kts

      }
    
      // issue merging due to conflict with httpclient and something else
      packagingOptions.resources.excludes += setOf(
        "META-INF/DEPENDENCIES"
      )
    }
    
    
    dependencies {
      val okhttpLegacyVersion = "3.12.12"
    
      implementation(libs.kotlin.reflect)
      implementation(libs.playservices.safetynet)
      implementation("com.squareup.okhttp3:okhttp:${okhttpLegacyVersion}")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Mar 17 15:11:24 UTC 2025
    - 1.6K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/TrailersSource.kt

     */
    interface TrailersSource {
      @Throws(IOException::class)
      fun peek(): Headers? = null
    
      @Throws(IOException::class)
      fun get(): Headers
    
      companion object {
        @JvmField
        val EMPTY: TrailersSource =
          object : TrailersSource {
            override fun peek() = Headers.EMPTY
    
            override fun get() = Headers.EMPTY
          }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 18:57:05 UTC 2025
    - 1.4K bytes
    - Viewed (0)
Back to top