Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for sina (0.16 sec)

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

        }
    
        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
            }
          } catch (e: IOException) {
            ioe = e
    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/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

                  override fun contentLength(): Long = postBytes.size.toLong()
    
                  override fun writeTo(sink: BufferedSink) {
                    sink.write(postBytes) // push bytes into the stream's buffer
                    sink.flush() // Http2Connection.writeData subject to write window
                    sink.close() // Http2Connection.writeData empty frame
                  }
                },
            ),
          )
    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)
  3. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

    import okhttp3.internal.tls.CertificateChainCleaner
    import okhttp3.internal.tls.OkHostnameVerifier
    import okhttp3.internal.toImmutableList
    import okhttp3.internal.ws.RealWebSocket
    import okio.Sink
    import okio.Source
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    /**
     * Factory for [calls][Call], which can be used to send HTTP requests and read their responses.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt

        set("k1", "a", "a")
    
        // Create an editor, then detach it.
        val editor = cache.edit("k1")!!
        editor.newSink(0).buffer().use { sink ->
          cache.evictAll()
    
          // Complete the original edit. It goes into a black hole.
          sink.writeUtf8("bb")
        }
        assertThat(cache["k1"]).isNull()
      }
    
      @ParameterizedTest
      @ArgumentsSource(FileSystemParamProvider::class)
    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)
  5. cmd/xl-storage_test.go

    		{"ends-with-a-dot.", true},
    		{"ends-with-a-dash-", true},
    		{"-starts-with-a-dash", true},
    		{"THIS-BEINGS-WITH-UPPERCASe", true},
    		{"tHIS-ENDS-WITH-UPPERCASE", true},
    		{"ThisBeginsAndEndsWithUpperCase", true},
    		{"una ñina", true},
    		{"lalalallalallalalalallalallalala-theString-size-is-greater-than-64", true},
    		// cases for which test should fail.
    		// passing invalid bucket names.
    		{"", false},
    		{SlashSeparator, false},
    		{"a", false},
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 11 17:45:28 GMT 2024
    - 66.7K bytes
    - Viewed (0)
Back to top