Search Options

Results per page
Sort
Preferred Languages
Advance

Results 371 - 380 of 1,059 for rval (0.03 sec)

  1. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

          assertThat(event.t).isNull()
        }
      }
    
      internal data class Open(
        val eventSource: EventSource,
        val response: Response,
      )
    
      internal data class Failure(
        val t: Throwable?,
        val response: Response?,
      )
    
      internal object Closed
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts

    plugins {
        id("base")
        id("checkstyle")
        id("codenarc")
        id("net.ltgt.errorprone")
    }
    
    open class ErrorProneProjectExtension(
        val disabledChecks: ListProperty<String>
    )
    
    open class ErrorProneSourceSetExtension(
        val enabled: Property<Boolean>
    )
    
    val errorproneExtension = project.extensions.create<ErrorProneProjectExtension>("errorprone", project.objects.listProperty<String>())
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Aug 20 14:11:17 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

    import okio.Buffer
    
    class MainTest {
      @Test
      fun simple() {
        val request = fromArgs("http://example.com").createRequest()
        assertThat(request.method).isEqualTo("GET")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(request.body).isNull()
      }
    
      @Test
      @Throws(IOException::class)
      fun put() {
        val request = fromArgs("-X", "PUT", "-d", "foo", "http://example.com").createRequest()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  4. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

    import model.TestType
    
    const val functionalTestTag = "FunctionalTest"
    
    sealed class ParallelizationMethod {
        open val extraBuildParameters: String
            @JSONField(serialize = false)
            get() = ""
    
        val name: String = this::class.simpleName!!
    
        object None : ParallelizationMethod()
        object TestDistribution : ParallelizationMethod() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Sep 25 06:14:43 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/ws/WebSocketReaderTest.kt

    import org.junit.jupiter.api.AfterEach
    import org.junit.jupiter.api.Test
    
    class WebSocketReaderTest {
      private val data = Buffer()
      private val callback = WebSocketRecorder("client")
      private val random = Random(0)
    
      // Mutually exclusive. Use the one corresponding to the peer whose behavior you wish to test.
      private val serverReader =
        WebSocketReader(
          isClient = false,
          source = data,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 14.4K bytes
    - Viewed (1)
  6. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt

    import java.io.File
    
    
    class KotlinSourceParser {
    
        data class ParsedKotlinFiles(
    
            val ktFiles: List<KtFile>,
    
            private
            val disposable: Disposable
    
        ) : AutoCloseable {
    
            override fun close() {
                Disposer.dispose(disposable)
            }
        }
    
        private
        val messageCollector: MessageCollector
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 15 13:02:35 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ModuleIdentityExtension.kt

    
    abstract class ModuleIdentityExtension(val tasks: TaskContainer, val objects: ObjectFactory) {
    
        abstract val version: Property<GradleVersion>
    
        abstract val baseName: Property<String>
    
        abstract val buildTimestamp: Property<String>
        abstract val snapshot: Property<Boolean>
        abstract val promotionBuild: Property<Boolean>
    
        abstract val releasedVersions: Property<ReleasedVersionsDetails>
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 2.1K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/test/java/okhttp3/logging/HttpLoggingInterceptorTest.kt

    class HttpLoggingInterceptorTest {
      @RegisterExtension
      val platform = PlatformRule()
      private lateinit var server: MockWebServer
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private val hostnameVerifier = RecordingHostnameVerifier()
      private lateinit var client: OkHttpClient
      private lateinit var host: String
      private lateinit var url: HttpUrl
      private val networkLogs = LogRecorder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 09:14:38 UTC 2024
    - 37.6K bytes
    - Viewed (0)
  9. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

                val objectExpr = mce.objectExpression
                checkIndirectOutputContains(objectExpr, mce)
            }
        }
    
        private
        fun checkOutputContains(call: MethodCallExpression) {
            val receiver = call.receiver!!
            if (receiver is PropertyExpression) {
                if (receiver.propertyAsString == "output") {
                    val objectExpr = receiver.objectExpression!!
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/InsecureAndroidTrustManager.kt

    /** This extends [X509TrustManager] for Android to disable verification for a set of hosts. */
    internal class InsecureAndroidTrustManager(
      private val delegate: X509TrustManager,
      private val insecureHosts: List<String>,
    ) : X509TrustManager {
      private val checkServerTrustedMethod: Method? =
        try {
          delegate::class.java.getMethod(
            "checkServerTrusted",
            Array<X509Certificate>::class.java,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top