Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 84 for Fprintln (0.16 sec)

  1. okhttp/src/test/java/okhttp3/CorrettoTest.kt

        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          if (it.handshake!!.tlsVersion != TlsVersion.TLS_1_3) {
            System.err.println("Flaky TLSv1.3 with google")
    //    assertThat(it.handshake()!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
          }
        }
      }
    
      @Test
      fun testIfSupported() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. native-image-tests/src/main/kotlin/okhttp3/TestRegistration.kt

        provider: String,
      ) {
        val providerClass = access.findClassByName(provider)
        if (providerClass != null) {
          registerTest(access, providerClass)
        } else {
          println("Missing $provider")
        }
      }
    
      private fun registerJupiterClasses(access: Feature.BeforeAnalysisAccess) {
        registerStandardClass(access, "org.junit.jupiter.params.ParameterizedTestExtension")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ConscryptTest.kt

        client.newCall(request).execute().use {
          assertThat(it.protocol).isEqualTo(Protocol.HTTP_2)
          if (it.handshake!!.tlsVersion != TlsVersion.TLS_1_3) {
            System.err.println("Flaky TLSv1.3 with google")
    //    assertThat(it.handshake()!!.tlsVersion).isEqualTo(TlsVersion.TLS_1_3)
          }
        }
      }
    
      @Test
      fun testBuildIfSupported() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  4. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

            if (mainMethod.parameters.isEmpty()) {
              mainMethod.invoke(null)
            } else {
              mainMethod.invoke(null, arrayOf<String>())
            }
          } else {
            System.err.println("No main for $className")
          }
        } catch (ite: InvocationTargetException) {
          if (!expectedFailure(className, ite.cause!!)) {
            throw ite.cause!!
          }
        }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidLog.kt

          while (i < length) {
            var newline = logMessage.indexOf('\n', i)
            newline = if (newline != -1) newline else length
            do {
              val end = minOf(newline, i + MAX_LOG_LENGTH)
              Log.println(logLevel, tag, logMessage.substring(i, end))
              i = end
            } while (i < newline)
            i++
          }
        }
      }
    
      private fun loggerTag(loggerName: String): String {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.9K bytes
    - Viewed (0)
  6. 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)
  7. api/go1.txt

    pkg fmt, func Printf(string, ...interface{}) (int, error)
    pkg fmt, func Println(...interface{}) (int, error)
    pkg fmt, func Scan(...interface{}) (int, error)
    pkg fmt, func Scanf(string, ...interface{}) (int, error)
    pkg fmt, func Scanln(...interface{}) (int, error)
    pkg fmt, func Sprint(...interface{}) string
    pkg fmt, func Sprintf(string, ...interface{}) string
    pkg fmt, func Sprintln(...interface{}) string
    Plain Text
    - Registered: Tue May 07 11:14:38 GMT 2024
    - Last Modified: Wed Aug 14 18:58:28 GMT 2013
    - 1.7M bytes
    - Viewed (2)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

            if (!it.isSuccessful) throw IOException("Unexpected code $it")
    
            println("Response 2 response:          $it")
            println("Response 2 cache response:    ${it.cacheResponse}")
            println("Response 2 network response:  ${it.networkResponse}")
            return@use it.body.string()
          }
    
        println("Response 2 equals Response 1? " + (response1Body == response2Body))
      }
    }
    
    fun main() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (2)
  9. okhttp/src/test/java/okhttp3/TestTls13Request.kt

          "https://api.twitter.com/robots.txt",
          "https://connect.squareup.com/robots.txt",
        )
    
      println("TLS1.3+TLS1.2")
      testClient(urls, buildClient(ConnectionSpec.RESTRICTED_TLS))
    
      println("\nTLS1.3 only")
      testClient(urls, buildClient(TLS_13))
    
      println("\nTLS1.3 then fallback")
      testClient(urls, buildClient(TLS_13, TLS_12))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  10. docs/bucket/notifications/README.md

    import (
     "log"
     "runtime"
    
     "github.com/nats-io/nats.go"
    )
    
    func main() {
    
     // Create server connection
     natsConnection, _ := nats.Connect("nats://yourusername:yoursecret@localhost:4222")
     log.Println("Connected")
    
     // Subscribe to subject
     log.Printf("Subscribing to subject 'bucketevents'\n")
     natsConnection.Subscribe("bucketevents", func(msg *nats.Msg) {
    
      // Handle the message
    Plain Text
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Jan 18 07:03:17 GMT 2024
    - 84K bytes
    - Viewed (2)
Back to top