Search Options

Results per page
Sort
Preferred Languages
Advance

Results 501 - 510 of 657 for fun (0.03 sec)

  1. okhttp-android/src/main/kotlin/okhttp3/android/AndroidAsyncDns.kt

      override fun query(
        hostname: String,
        callback: AsyncDns.Callback,
      ) {
        try {
          resolver.query(
            network,
            hostname,
            dnsClass.type,
            DnsResolver.FLAG_EMPTY,
            executor,
            null,
            object : DnsResolver.Callback<List<InetAddress>> {
              override fun onAnswer(
                addresses: List<InetAddress>,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 10:07:48 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http2/SettingsTest.kt

    import assertk.assertions.isTrue
    import org.junit.jupiter.api.Test
    
    class SettingsTest {
      @Test
      fun unsetField() {
        val settings = Settings()
        assertThat(settings.isSet(Settings.MAX_CONCURRENT_STREAMS)).isFalse()
        assertThat(settings.getMaxConcurrentStreams()).isEqualTo(Int.MAX_VALUE)
      }
    
      @Test
      fun setFields() {
        val settings = Settings()
        settings[Settings.HEADER_TABLE_SIZE] = 8096
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  3. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt

            val monitoredTaskPaths: SetProperty<String>
        }
    
        override fun onFinish(event: FinishEvent) {
            if (event !is TaskFinishEvent) {
                return
            }
    
            val taskPath = event.descriptor.taskPath
            if (shouldInclude(taskPath)) {
                action(taskPath, event.result)
            }
        }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Aug 11 07:01:27 UTC 2022
    - 2.3K bytes
    - Viewed (0)
  4. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/testcleanup/TestFilesCleanupRootPlugin.kt

            }
        }
    
        private
        fun Task.findTraceJson(): List<File> {
            if (this !is Test) {
                return emptyList()
            }
            // e.g. build/test-results/embeddedIntegTest/trace.json
            return listOf(project.layout.buildDirectory.file("test-results/$name/trace.json").get().asFile)
        }
    
        private
        fun Task.genericHtmlReports() = when (this) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Thu Jul 06 10:57:13 UTC 2023
    - 3K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

    import okio.buffer
    
    /** This is the last interceptor in the chain. It makes a network call to the server. */
    class CallServerInterceptor(private val forWebSocket: Boolean) : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val realChain = chain as RealInterceptorChain
        val exchange = realChain.exchange!!
        val request = realChain.request
        val requestBody = request.body
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  6. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/SortAcceptedApiChangesTaskIntegrationTest.kt

    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Test
    
    
    class SortAcceptedApiChangesTaskIntegrationTest : AbstractAcceptedApiChangesMaintenanceTaskIntegrationTest() {
        @Test
        fun `verify misordered changes can be sorted`() {
            //language=JSON
            firstAcceptedApiChangesFile.writeText(
                """
                    {
                        "acceptedApiChanges": [
                            {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Jun 04 14:00:46 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. .teamcity/src/test/kotlin/BuildTypeTest.kt

            branch = VersionedSettingsBranch("master"),
            buildScanTags = listOf("Check"),
            subprojects = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json"))
        )
    
        @Test
        fun `CompileAll parameters are correct`() {
            val gradleStep = CompileAll(buildModel, buildModel.stages[0]).steps.getGradleStep(GRADLE_RUNNER_STEP_NAME)
            assertEquals(
                listOf(
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  8. build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/CachesCleaner.kt

        }
    
        @get:Inject
        abstract val fileSystemOperations: FileSystemOperations
    
        private
        var hasCleaned = false
    
        val logger = Logging.getLogger(CachesCleaner::class.java)
    
        fun cleanUpCaches() {
            synchronized(this) {
                if (hasCleaned) {
                    return
                }
                logger.lifecycle("Cleaning up caches...")
                val homeDir = parameters.homeDir.get()
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Fri Jun 28 08:29:28 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  9. okhttp-coroutines/api/okhttp-coroutines.api

    public final class okhttp3/coroutines/ExecuteAsyncKt {
    	public static final fun executeAsync (Lokhttp3/Call;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 163 bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/CompileAll.kt

            platforms/core-runtime/base-services/build/generated-resources/build-receipt/org/gradle/build-receipt.properties
        """.trimIndent()
    }) {
        companion object {
            fun buildTypeId(model: CIBuildModel) = buildTypeId(model.projectId)
            fun buildTypeId(projectId: String) = "${projectId}_CompileAllBuild"
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 1.2K bytes
    - Viewed (0)
Back to top