- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 116 for vararg (0.05 sec)
-
.teamcity/src/main/kotlin/configurations/VcsTriggers.kt
-:.teamcity -:platforms/documentation/docs/src/docs/release """.trimIndent() fun VersionedSettingsBranch.branchFilter() = """ +:$branchName """.trimIndent() fun branchesFilterExcluding(vararg excludedBranch: String) = """ +:* ${excludedBranch.joinToString("\n") { "-:$it" }}
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Wed Nov 29 22:10:58 UTC 2023 - 1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt
this.cipherSuites = null } fun cipherSuites(vararg cipherSuites: CipherSuite): Builder = apply { require(tls) { "no cipher suites for cleartext connections" } val strings = cipherSuites.map { it.javaName }.toTypedArray() return cipherSuites(*strings) } fun cipherSuites(vararg cipherSuites: String) = apply {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 13.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/AsyncDns.kt
const val TYPE_A = 1 const val TYPE_AAAA = 28 /** * Adapt an AsyncDns implementation to Dns, waiting until onComplete is received * and returning results if available. */ fun toDns(vararg asyncDns: AsyncDns): Dns = Dns { hostname -> val allAddresses = mutableListOf<InetAddress>() val allExceptions = mutableListOf<IOException>() val latch = CountDownLatch(asyncDns.size)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Tue Jan 23 14:31:42 UTC 2024 - 3.5K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt
} private fun assertConnectionReused(vararg requests: Request?) { for (i in requests.indices) { val response = client.newCall(requests[i]!!).execute() response.body.string() // Discard the response body. assertThat(server.takeRequest().sequenceNumber).isEqualTo(i) } } private fun assertConnectionNotReused(vararg requests: Request?) { for (request in requests) {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 12.3K bytes - Viewed (0) -
build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/util/KotlinSourceParser.kt
} } private val messageCollector: MessageCollector get() = PrintingMessageCollector(System.out, MessageRenderer.PLAIN_RELATIVE_PATHS, false) fun <T : Any> mapParsedKotlinFiles(vararg sourceRoots: File, block: (KtFile) -> T): List<T> = withParsedKotlinSource(sourceRoots.toList()) { ktFiles -> ktFiles.map(block) }
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Oct 15 13:02:35 UTC 2024 - 3.9K bytes - Viewed (0) -
okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/GenerateIdnaMappingTableCode.kt
import com.squareup.kotlinpoet.FileSpec import com.squareup.kotlinpoet.KModifier import com.squareup.kotlinpoet.PropertySpec import java.io.File import okio.FileSystem import okio.Path.Companion.toPath fun main(vararg args: String) { val data = loadIdnaMappingTableData() val file = generateMappingTableFile(data) file.writeTo(File(args[0])) } fun loadIdnaMappingTableData(): IdnaMappingTableData {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.8K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt
override fun lookup(hostname: String): List<InetAddress> { requestedHosts.add(hostname) return hostAddresses[hostname] ?: throw UnknownHostException() } fun assertRequests(vararg expectedHosts: String?) { assertThat(requestedHosts).containsExactly(*expectedHosts) requestedHosts.clear() } /** Allocates and returns `count` fake IPv4 addresses like [255.0.0.100, 255.0.0.101]. */
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.6K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt
* limitations under the License. */ package okhttp3 import okio.Buffer import okio.Path import okio.Path.Companion.toPath val okHttpRoot: Path get() = getEnv("OKHTTP_ROOT")!!.toPath() fun String(vararg codePoints: Int): String { val buffer = Buffer() for (codePoint in codePoints) { buffer.writeUtf8CodePoint(codePoint) } return buffer.readUtf8()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 931 bytes - Viewed (0) -
okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt
* * TODO: for sets, sort by tag when encoding. * TODO: for set ofs, sort by encoded value when encoding. */ fun <T> sequence( name: String, vararg members: DerAdapter<*>, decompose: (T) -> List<*>, construct: (List<*>) -> T, ): BasicDerAdapter<T> { val codec = object : BasicDerAdapter.Codec<T> {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 15K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/RecordingExecutor.kt
override fun execute(command: Runnable) { if (shutdown) throw RejectedExecutionException() calls.add(command as RealCall.AsyncCall) } fun assertJobs(vararg expectedUrls: String) { val actualUrls = calls.map { it.request.url.toString() } assertThat(actualUrls).containsExactly(*expectedUrls) } fun finishJob(url: String) { val i = calls.iterator()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.1K bytes - Viewed (0)