Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for Bush (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

            val segmentHasTrailingSlash = pathSegmentDelimiterOffset < limit
            push(input, i, pathSegmentDelimiterOffset, segmentHasTrailingSlash, true)
            i = pathSegmentDelimiterOffset
            if (segmentHasTrailingSlash) i++
          }
        }
    
        /** Adds a path segment. If the input is ".." or equivalent, this pops a path segment. */
        private fun push(
          input: String,
          pos: Int,
          limit: Int,
    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)
  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/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

      }
    
      @Test fun peerHttp2ClientDisablesPush() {
        val client = false // Peer is client, so we are server.
        val settings = Settings()
        settings[Settings.ENABLE_PUSH] = 0 // The peer client disables push.
        val connection = connectWithSettings(client, settings)
    
        // verify the peer's settings were read and applied.
        assertThat(connection.peerSettings.getEnablePush(true)).isFalse()
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top