- Sort Score
- Result 10 results
- Languages All
Results 341 - 350 of 863 for val (0.03 sec)
-
okhttp-hpacktests/src/test/java/okhttp3/internal/http2/HpackRoundTripTest.kt
} private val bytesOut = Buffer() private val hpackWriter = Hpack.Writer(out = bytesOut) @ParameterizedTest @ArgumentsSource(StoriesTestProvider::class) fun testRoundTrip(story: Story) { assumeFalse( story === Story.MISSING, "Test stories missing, checkout git submodule", ) val newCases = mutableListOf<Case>() for (case in story.cases) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt
* Run periodically to refresh the known set of working tests. * * TODO use filtering to allow skipping acceptable problem tests */ fun main() { val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt") val testSelector = DiscoverySelectors.selectPackage("okhttp3") val testClasses = findTests(listOf(testSelector)) .filter { it.isContainer } .mapNotNull { (it as? ClassBasedTestDescriptor)?.testClass?.name }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.9K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt
import okio.Sink /** * A sink that executes [trigger] after [triggerByteCount] bytes are written, and then skips all * subsequent bytes. */ internal class TriggerSink( private val delegate: Sink, private val triggerByteCount: Long, private val trigger: () -> Unit, ) : Sink by delegate { private var bytesWritten = 0L override fun write( source: Buffer, byteCount: Long, ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.4K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild.update-versions.gradle.kts
) } tasks.register<UpdateReleasedVersions>("updateReleasedVersionsToLatestNightly") { currentReleasedVersion = project.provider { val jsonText = URI("https://services.gradle.org/versions/nightly").toURL().readText() println(jsonText) val versionInfo = Gson().fromJson(jsonText, VersionBuildTimeInfo::class.java) ReleasedVersion(versionInfo.version, versionInfo.buildTime) } }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Oct 11 18:33:20 UTC 2024 - 2.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt
} } @Throws(IOException::class) private fun startHttp2() { val socket = this.socket!! val source = this.source!! val sink = this.sink!! socket.soTimeout = 0 // HTTP/2 connection timeouts are set per-stream. val flowControlListener = connectionListener as? FlowControlListener ?: FlowControlListener.None val http2Connection = Http2Connection.Builder(client = true, taskRunner)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Apr 20 17:03:43 UTC 2024 - 15.4K bytes - Viewed (0) -
src/main/webapp/js/search.js
$("#numSearchOption").prop("selectedIndex", 0); return false; }); $result.on("mousedown", "a.link", function(e) { var docId = $(this).attr("data-id"), rt = $("#rt").val(), queryId = $("#queryId").val(), order = $(this).attr("data-order"), url = $(this).attr("href"), buf = [], hashIndex, hashStr; buf.push(contextPath); buf.push("/go/?rt=");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Mar 30 05:45:24 UTC 2023 - 7.5K bytes - Viewed (0) -
okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt
assertThat(event.t).isNull() } } internal data class Open( val eventSource: EventSource, val response: Response, ) internal data class Failure( val t: Throwable?, val response: Response?, ) internal object Closed
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.1K bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
plugins { id("base") id("checkstyle") id("codenarc") id("net.ltgt.errorprone") } open class ErrorProneProjectExtension( val disabledChecks: ListProperty<String> ) open class ErrorProneSourceSetExtension( val enabled: Property<Boolean> ) val errorproneExtension = project.extensions.create<ErrorProneProjectExtension>("errorprone", project.objects.listProperty<String>())
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Aug 20 14:11:17 UTC 2024 - 6.1K bytes - Viewed (0) -
okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt
import okio.Buffer class MainTest { @Test fun simple() { val request = fromArgs("http://example.com").createRequest() assertThat(request.method).isEqualTo("GET") assertThat(request.url.toString()).isEqualTo("http://example.com/") assertThat(request.body).isNull() } @Test @Throws(IOException::class) fun put() { val request = fromArgs("-X", "PUT", "-d", "foo", "http://example.com").createRequest()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 4.3K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/FunctionalTest.kt
import model.TestType const val functionalTestTag = "FunctionalTest" sealed class ParallelizationMethod { open val extraBuildParameters: String @JSONField(serialize = false) get() = "" val name: String = this::class.simpleName!! object None : ParallelizationMethod() object TestDistribution : ParallelizationMethod() {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Sep 25 06:14:43 UTC 2024 - 4.5K bytes - Viewed (0)