- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 450 for kotlin (0.05 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CommonRequestBodyTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.isEqualTo import kotlin.test.Test import okhttp3.RequestBody.Companion.toRequestBody class CommonRequestBodyTest { @Test fun correctContentType() { val body = "Body"Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 1.1K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/FailingCall.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import kotlin.reflect.KClass import okio.Timeout open class FailingCall : Call { override fun request(): Request = error("unexpected") override fun execute(): Response = error("unexpected")Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Nov 05 18:28:35 GMT 2025 - 1.6K bytes - Click Count (0) -
okhttp-testing-support/src/test/kotlin/okhttp3/OkHttpClientTestRuleTest.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import assertk.assertThat import assertk.assertions.hasMessage import kotlin.test.assertFailsWith import org.junit.jupiter.api.Test import org.junit.jupiter.api.extension.BeforeEachCallback import org.junit.jupiter.api.extension.ExtensionContext import org.junit.jupiter.api.extension.RegisterExtension
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 1.7K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpMethod.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.internal.http import kotlin.jvm.JvmStatic object HttpMethod { @JvmStatic // Despite being 'internal', this method is called by popular 3rd party SDKs. fun invalidatesCache(method: String): Boolean = ( method == "POST" ||Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Oct 03 17:41:45 GMT 2025 - 1.7K bytes - Click Count (0) -
.teamcity/src/main/kotlin/common/VersionedSettingsBranch.kt
package common import jetbrains.buildServer.configs.kotlin.DslContext fun isSecurityFork(): Boolean = DslContext.settingsRoot.id .toString() .lowercase() .contains("security") // GradleMaster -> Master // GradleSecurityAdvisory84mwRelease -> SecurityAdvisory84mwRelease val DslContext.uuidPrefix: String get() = settingsRoot.id.toString().substringAfter("Gradle") data class VersionedSettingsBranch(
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 2.5K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/SimpleProvider.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3 import kotlin.jvm.Throws import org.junit.jupiter.api.extension.ExtensionContext import org.junit.jupiter.params.provider.Arguments import org.junit.jupiter.params.provider.ArgumentsProvider
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Feb 03 22:17:59 GMT 2026 - 1K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpDebugLogging.kt
import java.util.logging.ConsoleHandler import java.util.logging.Handler import java.util.logging.Level import java.util.logging.LogRecord import java.util.logging.Logger import java.util.logging.SimpleFormatter import kotlin.reflect.KClass import okhttp3.internal.concurrent.TaskRunner import okhttp3.internal.http2.Http2 object OkHttpDebugLogging { // Keep references to loggers to prevent their configuration from being GC'd.Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 1.9K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/PromotionProject.kt
import common.OpenJdk21 import common.OpenJdk25 import common.OpenJdk8 import common.Os import common.VersionedSettingsBranch import common.cleanupRule import common.javaHome import jetbrains.buildServer.configs.kotlin.Project class PromotionProject( branch: VersionedSettingsBranch, ) : Project({ id("Promotion") name = "Promotion" cleanupRule(historyDays = 14, artifactsDays = 7)
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Thu Jan 15 19:30:24 GMT 2026 - 3.1K bytes - Click Count (0) -
okhttp/src/commonTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt
*/ package okhttp3.internal.publicsuffix import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.isNull import assertk.assertions.isTrue import kotlin.test.assertEquals import kotlin.test.assertFailsWith import okhttp3.internal.publicsuffix.ResourcePublicSuffixList.Companion.PUBLIC_SUFFIX_RESOURCE import okhttp3.internal.toCanonicalHost import okhttp3.okHttpRoot import okio.Buffer
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue May 27 22:00:49 GMT 2025 - 8.5K bytes - Click Count (0) -
.teamcity/src/main/kotlin/promotion/PublishNightlyDocumentation.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package promotion import common.VersionedSettingsBranch import jetbrains.buildServer.configs.kotlin.triggers.schedule import model.StageName class PublishNightlyDocumentation( branch: VersionedSettingsBranch, ) : PublishGradleDistributionFullBuild( promotedBranch = branch.branchName,
Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Dec 29 08:57:18 GMT 2025 - 1.6K bytes - Click Count (0)