- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 357 for append (0.18 sec)
-
okhttp-tls/src/main/kotlin/okhttp3/tls/Certificates.kt
return buildString { append("-----BEGIN CERTIFICATE-----\n") encodeBase64Lines(encoded.toByteString()) append("-----END CERTIFICATE-----\n") } } internal fun StringBuilder.encodeBase64Lines(data: ByteString) { val base64 = data.base64() for (i in 0 until base64.length step 64) { append(base64, i, minOf(i + 64, base64.length)).append('\n') }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 2.8K bytes - Viewed (2) -
okhttp/src/test/java/okhttp3/UrlComponentEncodingTesterJvm.kt
fun escapeForUri(vararg codePoints: Int) = apply { uriEscapedCodePoints.append(String(*codePoints)) } /** * Configure code points to be stripped in conversion to `java.net.URI`. That class is more * strict than the others. */ fun stripForUri(vararg codePoints: Int) = apply { uriStrippedCodePoints.append(String(*codePoints)) } override fun test( codePoint: Int,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 5.5K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt
if (list.isNotEmpty()) { append(" $name (").append(list.size).append(")\n") append(list.joinToString(separator = "\n ", prefix = " ", postfix = "\n")) } } }.toString()
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Sep 21 16:02:23 GMT 2023 - 2.6K bytes - Viewed (0) -
okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 09:14:38 GMT 2024 - 11.2K bytes - Viewed (1) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/ArgumentsConverterGenerator.kt
} println("}") println() } private val KClass<*>.typeWithStars: String get() = buildString { append(simpleName) if (typeParameters.isNotEmpty()) { append(typeParameters.joinToString(", ", "<", ">") { "*" }) } }
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Oct 25 13:04:15 GMT 2023 - 3.8K bytes - Viewed (0) -
analysis/analysis-api-fir/analysis-api-fir-generator/src/org/jetbrains/kotlin/analysis/api/fir/generator/HLParameterConversion.kt
return buildString { appendLine("$expression.map { $parameterName ->") appendLine(innerExpression.withIndent(context.increaseIndent())) append("}".withIndent(context)) } } override fun convertType(type: KType): KType = List::class.createType( arguments = listOf( KTypeProjection(
Plain Text - Registered: Fri Apr 26 08:18:10 GMT 2024 - Last Modified: Wed Sep 15 09:32:47 GMT 2021 - 5.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt
// The names are repetitive so re-use the same builder to avoid allocations. val fileBuilder = StringBuilder(key).append('.') val truncateTo = fileBuilder.length for (i in 0 until valueCount) { fileBuilder.append(i) cleanFiles += directory / fileBuilder.toString() fileBuilder.append(".tmp") dirtyFiles += directory / fileBuilder.toString() fileBuilder.setLength(truncateTo) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 34.7K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache2/Relay.kt
upstreamBuffer.copyTo(sink, 0, bytesRead) sourcePos += bytesRead // Append the upstream bytes to the file. fileOperator!!.write( FILE_HEADER_SIZE + upstreamPos, upstreamBuffer.clone(), upstreamBytesRead, ) synchronized(this@Relay) { // Append new upstream bytes into the buffer. Trim it to its max size.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 11.8K bytes - Viewed (0) -
docs/de/docs/advanced/events.md
{!../../../docs_src/events/tutorial002.py!} ``` Hier schreibt die `shutdown`-Eventhandler-Funktion eine Textzeile `"Application shutdown"` in eine Datei `log.txt`. !!! info In der Funktion `open()` bedeutet `mode="a"` „append“ („anhängen“), sodass die Zeile nach dem, was sich in dieser Datei befindet, hinzugefügt wird, ohne den vorherigen Inhalt zu überschreiben. !!! tip "Tipp"
Plain Text - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Sat Mar 30 20:30:59 GMT 2024 - 9.1K bytes - Viewed (0) -
maven-core/src/site/apt/index.apt
* known limitations are notably that: 1. plugin goal execution in a child is usually simply appended (at end): you can't try to insert in the middle of pre-existing inherited executions, 2. append happens at plugin level first, then goal level, independently from phases.
Plain Text - Registered: Sun Apr 28 03:35:10 GMT 2024 - Last Modified: Wed Jun 14 05:48:39 GMT 2023 - 5.3K bytes - Viewed (0)