- Sort Score
- Result 10 results
- Languages All
Results 1491 - 1500 of 1,950 for func (0.09 sec)
-
okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt
} @Test fun `encode primitive string`() { val buffer = Buffer() val derWriter = DerWriter(buffer) derWriter.write("test", tagClass = DerHeader.TAG_CLASS_UNIVERSAL, tag = 26L) { derWriter.writeOctetString("Jones".encodeUtf8()) } assertThat(buffer.readByteString()).isEqualTo("1A054A6F6E6573".decodeHex()) } @Test fun `decode implicit prefixed type`() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 31.7K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/sources/JavaSourceQueries.kt
private fun isSinceJavaClassVisitorFor(classSimpleName: String, version: String) = object : PredicateVisitor() { override fun visit(declaration: ClassOrInterfaceDeclaration, arg: Unit?): Boolean? = if (declaration.matchesNameAndIsSince(classSimpleName, version)) true else super.visit(declaration, arg)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:24 UTC 2024 - 6.5K bytes - Viewed (0) -
common/config/license-lint.yml
- github.com/go-errors/errors # runc is Apache 2.0: https://github.com/opencontainers/runc/blob/master/LICENSE # but it contains BSD dep which our linter fails to understand: https://github.com/opencontainers/runc/blob/v0.1.1/Godeps/_workspace/src/github.com/golang/protobuf/LICENSE - github.com/opencontainers/runc # MIT: https://github.com/felixge/fgprof/blob/master/LICENSE.txt
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Jan 25 19:26:20 UTC 2023 - 3.2K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/JavassistExtensions.kt
override fun visitAnnotationMemberValue(node: AnnotationMemberValue) = Unit override fun visitIntegerMemberValue(node: IntegerMemberValue) = Unit override fun visitEnumMemberValue(node: EnumMemberValue) = Unit override fun visitByteMemberValue(node: ByteMemberValue) = Unit override fun visitDoubleMemberValue(node: DoubleMemberValue) = Unit override fun visitFloatMemberValue(node: FloatMemberValue) = Unit
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 4.6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/ws/WebSocketHttpTest.kt
clientListener.assertClosed(1000, "") serverListener.assertClosed(1000, "") } @Test fun wsScheme() { assumeNotWindows() websocketScheme("ws") } @Test fun wsUppercaseScheme() { websocketScheme("WS") } @Test fun wssScheme() { webServer.useHttps(handshakeCertificates.sslSocketFactory()) client = client.newBuilder()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sun Mar 31 17:16:15 UTC 2024 - 35.2K bytes - Viewed (0) -
.teamcity/src/test/kotlin/ApplyDefaultConfigurationTest.kt
branch = VersionedSettingsBranch("master"), buildScanTags = listOf("Check"), subprojects = JsonBasedGradleSubprojectProvider(File("../.teamcity/subprojects.json")) ) @BeforeEach fun setUp() { val stepsCapturer = slot<BuildSteps.() -> Unit>() every { buildType.steps } returns steps every { buildType.stage } returns buildModel.stages[2] every {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Sep 24 06:22:49 UTC 2024 - 6.3K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/platform/PlatformTest.kt
var platform = PlatformRule() @Test fun alwaysBuilds() { Platform() } /** Guard against the default value changing by accident. */ @Test fun defaultPrefix() { assertThat(Platform().getPrefix()).isEqualTo("OkHttp") } @Test fun testToStringIsClassname() { assertThat(Platform().toString()).isEqualTo("Platform") } @Test fun testNotAndroid() { platform.assumeNotAndroid()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Thu Jan 04 05:32:07 UTC 2024 - 1.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/AsynchronousGet.kt
import okhttp3.Response class AsynchronousGet { private val client = OkHttpClient() fun run() { val request = Request.Builder() .url("http://publicobject.com/helloworld.txt") .build() client.newCall(request).enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) { e.printStackTrace()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.6K bytes - Viewed (0) -
native-image-tests/src/main/kotlin/okhttp3/DotListener.kt
private var testCount = 0 override fun executionSkipped( testIdentifier: TestIdentifier, reason: String, ) { printStatus("-") } private fun printStatus(s: String) { if (++testCount % 80 == 0) { printStatus("\n") } originalSystemErr?.print(s) } override fun executionFinished( testIdentifier: TestIdentifier,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
internal inline fun Any.wait() = (this as Object).wait() @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN", "NOTHING_TO_INLINE") internal inline fun Any.notify() = (this as Object).notify() @Suppress("PLATFORM_CLASS_MAPPED_TO_KOTLIN", "NOTHING_TO_INLINE") internal inline fun Any.notifyAll() = (this as Object).notifyAll() internal fun <T> readFieldOrNull( instance: Any, fieldType: Class<T>,
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon May 13 13:42:37 UTC 2024 - 10.7K bytes - Viewed (0)