Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for Try (0.12 sec)

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

          return "text/plain".toMediaType()
        }
    
        override fun contentLength(): Long {
          return chunk!!.size * 8L
        }
    
        override fun writeTo(sink: BufferedSink) {
          try {
            var i = 0
            while (i < contentLength()) {
              sink.write(chunk!!)
              sink.flush()
              Thread.sleep(100)
              i += chunk.size
            }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

       */
      @JvmName("uri")
      fun toUri(): URI {
        val uri = newBuilder().reencodeForUri().toString()
        return try {
          URI(uri)
        } catch (e: URISyntaxException) {
          // Unlikely edge case: the URI has a forbidden character in the fragment. Strip it & retry.
          try {
            val stripped = uri.replace(Regex("[\\u0000-\\u001F\\u007F-\\u009F\\p{javaWhitespace}]"), "")
            URI.create(stripped)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

                // If we have a PSI expression like `Foo.Bar.Baz()` and try to resolve `Bar` part,
                // and the only FIR that we have for that PSI is an implicit invoke call, that means that
                // `Foo.Bar` is definitely not a property access - otherwise it would have had its own FIR.
                // So, it does not make sense to try to resolve such parts of qualifiers as KtCall
    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)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

        val responses: BlockingQueue<String?> = SynchronousQueue()
        val authenticator =
          okhttp3.Authenticator { route: Route?, response: Response? ->
            responses.offer(response!!.body.string())
            try {
              latch.await()
            } catch (e: InterruptedException) {
              throw AssertionError()
            }
            response.request
          }
        val blockingAuthClient =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  5. .bazelrc

    build:elinux_armhf --copt -mfp16-format=ieee
    
    # Config-specific options should come above this line.
    
    # Load rc file written by ./configure.
    try-import %workspace%/.tf_configure.bazelrc
    try-import %workspace%/xla_configure.bazelrc
    
    # Load rc file with user-specific options.
    try-import %workspace%/.bazelrc.user
    
    # Here are bazelrc configs for release builds
    # Build TensorFlow v2.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu May 02 19:34:20 GMT 2024
    - 52.8K bytes
    - Viewed (2)
  6. kotlin-js-store/yarn.lock

      integrity sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==
      dependencies:
        p-limit "^3.0.2"
    
    p-try@^2.0.0:
      version "2.2.0"
      resolved "https://registry.yarnpkg.com/p-try/-/p-try-2.2.0.tgz#cb2868540e313d61de58fafbe35ce9004d5540e6"
      integrity sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==
    
    parseurl@~1.3.3:
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

      private fun readFile(file: Path): String {
        return filesystem.read(file) {
          readUtf8()
        }
      }
    
      private fun readFileOrNull(file: Path): String? {
        return try {
          filesystem.read(file) {
            readUtf8()
          }
        } catch (_: FileNotFoundException) {
          null
        }
      }
    
      fun writeFile(
        file: Path,
        content: String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 75.8K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

    open class HttpUrlTest {
      protected open fun parse(url: String): HttpUrl {
        return url.toHttpUrl()
      }
    
      protected open fun assertInvalid(
        string: String,
        exceptionMessage: String?,
      ) {
        try {
          val result = string.toHttpUrl()
          if (exceptionMessage != null) {
            fail("Expected failure with $exceptionMessage but got $result")
          } else {
            fail("Expected failure but got $result")
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.3.md

    * federation service controller: fixing the logic to update DNS records ([#27999](https://github.com/kubernetes/kubernetes/pull/27999), [@quinton-hoole](https://github.com/quinton-hoole))
    * federation: Updating KubeDNS to try finding a local service first for federation query ([#27708](https://github.com/kubernetes/kubernetes/pull/27708), [@nikhiljindal](https://github.com/nikhiljindal))
    Plain Text
    - Registered: Fri May 03 09:05:14 GMT 2024
    - Last Modified: Thu Dec 24 02:28:26 GMT 2020
    - 84K bytes
    - Viewed (0)
Back to top