- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for toMutableList (0.23 sec)
-
mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt
this.settings = Settings() } internal constructor(mockResponse: MockResponse) { this.inTunnel = mockResponse.inTunnel this.informationalResponses = mockResponse.informationalResponses.toMutableList() this.status = mockResponse.status this.headers = mockResponse.headers.newBuilder() this.trailers = mockResponse.trailers.newBuilder() this.bodyVar = mockResponse.body
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 13.3K bytes - Viewed (1) -
.teamcity/src/main/kotlin/model/FunctionalTestBucketProvider.kt
.filter { onlyNativeSubprojectsForIntelMacs(testCoverage, it.name) } .map { it.name } val subprojectsInModelButNotInBucketJson = allSubprojectsInModel.toMutableList().apply { removeAll(allSubprojectsInBucketJson) } if (subprojectsInModelButNotInBucketJson.isEmpty()) { testCoverage to buckets } else {
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Thu Jan 18 05:14:09 GMT 2024 - 9K bytes - Viewed (0) -
build-logic/binary-compatibility/src/main/kotlin/gradlebuild/binarycompatibility/AbstractAcceptedApiChangesMaintenanceTask.kt
*/ @Suppress("KDocUnresolvedReference") protected fun sortChanges(originalChanges: List<AcceptedApiChange>) = originalChanges.toMutableList().sortedBy { it.type + '#' + it.member } @VisibleForTesting data class AcceptedApiChange( val type: String?, val member: String?, val acceptation: String?,
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Feb 07 20:38:43 GMT 2023 - 2.3K bytes - Viewed (0) -
mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/MockResponse.kt
} public override fun clone(): MockResponse { val result = super.clone() as MockResponse result.headersBuilder = headersBuilder.build().newBuilder() result.promises = promises.toMutableList() return result } @JvmName("-deprecated_getStatus") @Deprecated( message = "moved to var", replaceWith = ReplaceWith(expression = "status"), level = DeprecationLevel.ERROR, )
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 7.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/-UtilJvm.kt
return headers["Content-Length"]?.toLongOrDefault(-1L) ?: -1L } /** Returns an immutable copy of this. */ internal fun <T> List<T>.toImmutableList(): List<T> { return Collections.unmodifiableList(toMutableList()) } /** Returns an immutable list containing [elements]. */ @SafeVarargs internal fun <T> immutableListOf(vararg elements: T): List<T> { return Collections.unmodifiableList(listOf(*elements.clone())) }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 09 12:33:05 GMT 2024 - 10.5K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
* not contain null or [Protocol.HTTP_1_0]. */ fun protocols(protocols: List<Protocol>) = apply { // Create a private copy of the list. val protocolsCopy = protocols.toMutableList() // Validate that the list has everything we require and nothing we forbid. require(Protocol.H2_PRIOR_KNOWLEDGE in protocolsCopy || HTTP_1_1 in protocolsCopy) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp-android/src/main/baseline-prof.txt
HSPLkotlin/collections/CollectionsKt___CollectionsKt;->toList(Ljava/lang/Iterable;)Ljava/util/List; HSPLkotlin/collections/CollectionsKt___CollectionsKt;->toMutableList(Ljava/util/Collection;)Ljava/util/List; HSPLkotlin/collections/CollectionsKt___CollectionsKt;->toSet(Ljava/lang/Iterable;)Ljava/util/Set; HSPLkotlin/collections/EmptyIterator;-><clinit>()V
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Mar 21 11:22:00 GMT 2022 - 127.9K bytes - Viewed (0)