- Sort Score
- Result 10 results
- Languages All
Results 211 - 220 of 657 for fun (0.01 sec)
-
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/StringExtensions.kt
* limitations under the License. */ package gradlebuild.basics import java.util.Locale fun String.toLowerCase(): String = lowercase(Locale.US) fun String.toUpperCase(): String = uppercase(Locale.US) fun String.capitalize(): String = replaceFirstChar { it.uppercase(Locale.US) } fun String.decapitalize(): String =
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Sat Sep 30 16:17:28 UTC 2023 - 961 bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SocksProxyTest.kt
private lateinit var server: MockWebServer private val socksProxy = SocksProxy() @BeforeEach fun setUp(server: MockWebServer) { this.server = server socksProxy.play() } @AfterEach fun tearDown() { socksProxy.shutdown() } @Test fun proxy() { server.enqueue(MockResponse.Builder().body("abc").build()) server.enqueue(MockResponse.Builder().body("def").build())
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt
@ArgumentsSource(CancelModelParamProvider::class) fun cancelWritingRequestBody(mode: Pair<CancelMode, ConnectionType>) { setUp(mode) server.enqueue(MockResponse()) val call = client.newCall( Request( url = server.url("/"), body = object : RequestBody() { override fun contentType(): MediaType? { return null }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 9.9K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/kotlindsl/kotlin-dsl-upstream-candidates.kt
import java.io.ByteArrayOutputStream import java.io.File /** * `dir / "sub"` is the same as `dir.resolve("sub")`. * * @see [File.resolve] */ operator fun File.div(child: String): File = resolve(child) fun ExecOperations.execAndGetStdout(workingDir: File, ignoreExitValue: Boolean, vararg args: String): String { val out = ByteArrayOutputStream() exec {
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Sep 24 21:39:46 UTC 2024 - 1K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/AnonymousClassesFilteringTest.kt
assertEmptyReport() } } @Test fun `anonymous classes are excluded (kotlin)`() { checkBinaryCompatibleKotlin( v1 = """ fun some() {} """, v2 = """ fun some() { val anon = object : Runnable { override fun run() {} } anon.run()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Dec 09 08:14:05 UTC 2020 - 1.8K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt
.cache(cache) .cookieJar(JavaNetCookieJar(cookieManager)) .build() } @AfterEach fun tearDown() { ResponseCache.setDefault(null) if (this::cache.isInitialized) { cache.delete() } } @Test fun corruptedCipher() { val response = testCorruptingCache { corruptMetadata { // mess with cipher suite
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
cacheBody.emitCompleteSegments() return bytesRead } override fun timeout(): Timeout = source.timeout() @Throws(IOException::class) override fun close() { if (!cacheRequestClosed && !discard(ExchangeCodec.DISCARD_STREAM_TIMEOUT_MILLIS, MILLISECONDS) ) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Fri Mar 22 07:09:21 UTC 2024 - 10.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/HttpMethod.kt
method == "REPORT" ) @JvmStatic // Despite being 'internal', this method is called by popular 3rd party SDKs. fun permitsRequestBody(method: String): Boolean = !(method == "GET" || method == "HEAD") fun redirectsWithBody(method: String): Boolean = method == "PROPFIND" fun redirectsToGet(method: String): Boolean = method != "PROPFIND"
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 1.5K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/BuildEnvironment.kt
fun Project.getBuildEnvironmentExtension(): BuildEnvironmentExtension = extensions.getByType(BuildEnvironmentExtension::class.java) fun Project.getBuildEnvironmentExtensionOrNull(): BuildEnvironmentExtension? = extensions.findByType(BuildEnvironmentExtension::class.java)
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Oct 09 08:19:42 UTC 2024 - 4.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt
*/ @SuppressLint("NewApi") @SuppressSignatureCheck class Android10SocketAdapter : SocketAdapter { override fun matchesSocket(sslSocket: SSLSocket): Boolean = SSLSockets.isSupportedSocket(sslSocket) override fun isSupported(): Boolean = Companion.isSupported() @SuppressLint("NewApi") override fun getSelectedProtocol(sslSocket: SSLSocket): String? { return try {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0)