Search Options

Results per page
Sort
Preferred Languages
Advance

Results 591 - 600 of 657 for fun (0.02 sec)

  1. docs/features/https.md

           * file that gets bundled with the application.
           */
          private fun trustedCertificatesInputStream(): InputStream {
            ... // Full source omitted. See sample.
          }
    
          private fun trustManagerForCertificates(inputStream: InputStream): X509TrustManager {
            ... // Full source omitted. See sample.
          }
        ```
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  2. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateContributorsInReleaseNotes.kt

    import org.gradle.work.DisableCachingByDefault
    
    @DisableCachingByDefault(because = "Depends on GitHub API")
    abstract class UpdateContributorsInReleaseNotes : AbstractCheckOrUpdateContributorsInReleaseNotes() {
        @TaskAction
        fun update() {
            val contributorsInReleaseNotes = getContributorsInReleaseNotes().associateBy { it.login }
            val contributorsFromPullRequests = getContributorsFromPullRequests().associateBy { it.login }
    
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Aug 21 11:42:19 UTC 2024
    - 2K bytes
    - Viewed (0)
  3. samples/tlssurvey/src/main/kotlin/okhttp3/survey/CipherSuiteSurvey.kt

     */
    class CipherSuiteSurvey(
      val clients: List<Client>,
      val ianaSuites: IanaSuites,
      val orderBy: List<SuiteId>,
    ) {
      fun printGoogleSheet() {
        print("name")
        for (client in clients) {
          print("\t")
          print(client.nameAndVersion)
        }
        println()
        val sortedSuites =
          ianaSuites.suites.sortedBy { ianaSuite ->
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Apr 02 01:44:15 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  4. okhttp-brotli/api/okhttp-brotli.api

    public final class okhttp3/brotli/BrotliInterceptor : okhttp3/Interceptor {
    	public static final field INSTANCE Lokhttp3/brotli/BrotliInterceptor;
    	public fun intercept (Lokhttp3/Interceptor$Chain;)Lokhttp3/Response;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Feb 26 19:17:33 UTC 2022
    - 220 bytes
    - Viewed (0)
  5. native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt

        // Hanging.
        "okhttp3.WholeOperationTimeoutTest",
      )
    
    /**
     * Run periodically to refresh the known set of working tests.
     *
     * TODO use filtering to allow skipping acceptable problem tests
     */
    fun main() {
      val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt")
      val testSelector = DiscoverySelectors.selectPackage("okhttp3")
      val testClasses =
        findTests(listOf(testSelector))
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  6. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/BuildScanInfoCollectingServices.kt

    import org.gradle.kotlin.dsl.*
    import org.gradle.kotlin.dsl.support.serviceOf
    
    /**
     * In build-logic and main build, register a BuildService instance separately,
     * which collects necessary information for build scan.
     */
    fun <T : AbstractBuildScanInfoCollectingService> Project.registerBuildScanInfoCollectingService(
        /* the implementation class to collect information from task execution result */
        klass: Class<T>,
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Apr 24 03:34:53 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  7. build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt

                .groupBy { it.major }
                .map { (_, v) -> listOf(v.minOrNull()!!.format(), v.maxOrNull()!!.format()) }.flatten()
        }
    
        private
        fun VersionNumber.format() =
            // reformat according to our versioning scheme, since toString() would typically convert 1.0 to 1.0.0
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Jun 10 06:17:20 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  8. build-logic/build-init-samples/src/main/kotlin/gradlebuild/samples/tasks/GenerateSample.kt

        @get:OutputDirectory
        abstract val target: DirectoryProperty
    
        @get:Inject
        protected
        abstract val projectLayoutRegistry: ProjectLayoutSetupRegistry
    
        @TaskAction
        fun setupProjectLayout() {
            val projectLayoutSetupRegistry = projectLayoutRegistry
            SamplesGenerator.generate(type.get(), modularization.get(), readmeTemplates.get(), target.get(), projectLayoutSetupRegistry)
        }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jul 07 13:12:26 UTC 2021
    - 2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLHandshakeException
    import javax.net.ssl.SSLPeerUnverifiedException
    import okio.IOException
    
    /** Returns true if a TLS connection should be retried after [e]. */
    fun retryTlsHandshake(e: IOException): Boolean {
      return when {
        // If there was a protocol problem, don't recover.
        e is ProtocolException -> false
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  10. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/PublicApi.kt

                }
            }
        }
    
        private val excludePackagePatterns = listOf(Pattern.compile(".+\\.internal(\\..+)?"))
    
        fun isPublicApiPackage(packageName: String) =
            includePackagePatterns.any { it.matcher(packageName).matches() } &&
                !excludePackagePatterns.any { it.matcher(packageName).matches() }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Jun 12 23:20:08 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top