Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for println (0.16 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt

                newLocationUrl: String,
              ) {
                println("request " + info.httpStatusCode + " " + newLocationUrl)
                request.followRedirect()
              }
    
              override fun onResponseStarted(
                request: UrlRequest,
                info: UrlResponseInfo,
              ) {
                println("onResponseStarted ${info.headers.asMap} ${info.negotiatedProtocol}")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 24 13:19:43 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. okhttp-android/src/main/kotlin/okhttp3/android/AndroidLogging.kt

      priority: Int = Log.INFO,
      tag: String = "OkHttp",
    ) = LoggingEventListener.Factory { Log.println(priority, tag, it) }
    
    /**
     * An OkHttp [HttpLoggingInterceptor], with android Log as the target.
     */
    fun HttpLoggingInterceptor.Companion.androidLogging(
      priority: Int = Log.INFO,
      tag: String = "OkHttp",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 1.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 ->
            val index = orderBy.indexOfFirst { it.matches(ianaSuite) }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt

    /**
     * Validates which environment is used by the IDE.
     */
    class PlatformRuleTest {
      @RegisterExtension @JvmField
      val platform = PlatformRule()
    
      @Test
      fun testMode() {
        println(PlatformRule.getPlatformSystemProperty())
        println(Platform.get().javaClass.simpleName)
      }
    
      @Test
      fun testGreenCase() {
      }
    
      @Test
      fun testGreenCaseFailingOnLater() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 1.3K bytes
    - Viewed (0)
  5. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsClient.kt

          )
        }
      }
    }
    
    suspend fun main() {
      val sslLabsClient =
        SslLabsClient(
          callFactory = OkHttpClient(),
        )
    
      for (client in sslLabsClient.clients()) {
        println(client)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  6. okcurl/src/main/kotlin/okhttp3/curl/logging/LoggingUtil.kt

                  super.publish(record)
    
                  val parameters = record.parameters
                  if (sslDebug && record.loggerName == "javax.net.ssl" && parameters != null) {
                    System.err.println(parameters[0])
                  }
                }
              }
    
            if (debug) {
              handler.level = Level.ALL
              handler.formatter = OneLineLogFormat()
              val activeLogger = getLogger("")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.7K bytes
    - Viewed (1)
  7. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.cache-miss-monitor.gradle.kts

        override fun action(taskPath: String, taskResult: TaskOperationResult) {
            if (taskResult is TaskSuccessResult && !taskResult.isFromCache && !taskResult.isUpToDate) {
                println("CACHE_MISS in task $taskPath")
                cacheMiss.set(true)
            }
        }
    }
    
    
    /**
     *  We monitor some tasks in non-seed builds. If a task executed in a non-seed build, we think it as "CACHE_MISS".
     */
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Thu Mar 07 05:49:29 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  8. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                            // `calleeReference.resolvedSymbol` isn't guaranteed to be callable. For example, function type parameters used in
                            // expression positions (e.g. `T` in `println(T)`) are parsed as `KtSimpleNameExpression` and built into
                            // `FirPropertyAccessExpression` (which is `FirResolvable`).
                            is FirCallableSymbol<*> -> {
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  9. common/Makefile.common.mk

    lint-dockerfiles:
    	@${FINDFILES} -name 'Dockerfile*' -print0 | ${XARGS} hadolint -c ./common/config/.hadolint.yml
    
    lint-scripts:
    	@${FINDFILES} -name '*.sh' -print0 | ${XARGS} -n 256 shellcheck
    
    lint-yaml:
    	@${FINDFILES} \( -name '*.yml' -o -name '*.yaml' \) -not -exec grep -q -e "{{" {} \; -print0 | ${XARGS} yamllint -c ./common/config/.yamllint.yml
    
    lint-helm:
    	@${FINDFILES} -name 'Chart.yaml' -print0 | ${XARGS} -L 1 dirname | xargs -r helm lint --strict
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Sat Mar 02 20:07:36 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  10. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirSymbolContainingDeclarationProvider.kt

    import org.jetbrains.kotlin.analysis.project.structure.KtDanglingFileModule
    import org.jetbrains.kotlin.analysis.project.structure.KtModule
    import org.jetbrains.kotlin.analysis.utils.printer.parentOfType
    import org.jetbrains.kotlin.fileClasses.javaFileFacadeFqName
    import org.jetbrains.kotlin.fir.FirElementWithResolveState
    import org.jetbrains.kotlin.fir.analysis.checkers.getContainingClassSymbol
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Apr 19 11:06:47 GMT 2024
    - 13.5K bytes
    - Viewed (0)
Back to top