- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 28 for Major (0.13 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt
fun atLeastVersion( major: Int, minor: Int = 0, patch: Int = 0, ): Boolean { val conscryptVersion = Conscrypt.version() ?: return false if (conscryptVersion.major() != major) { return conscryptVersion.major() > major } if (conscryptVersion.minor() != minor) {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 4.6K bytes - Viewed (0) -
build-logic-commons/module-identity/src/main/kotlin/gradlebuild/identity/extension/ReleasedVersionsDetails.kt
.groupBy { "${it.major}.${it.minor}" } .map { (_, v) -> v.maxOrNull()!!.format() } // Limit to first and last release of each major version mainTestedVersions = testedVersions.map { VersionNumber.parse(it.gradleVersion().version) } .groupBy { it.major }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Sat Sep 30 16:17:28 GMT 2023 - 3.1K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/ConscryptTest.kt
assertTrue(ConscryptPlatform.atLeastVersion(version.major())) assertTrue(ConscryptPlatform.atLeastVersion(version.major(), version.minor())) assertTrue(ConscryptPlatform.atLeastVersion(version.major(), version.minor(), version.patch())) assertFalse(ConscryptPlatform.atLeastVersion(version.major(), version.minor(), version.patch() + 1)) assertFalse(ConscryptPlatform.atLeastVersion(version.major(), version.minor() + 1))
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 3.1K bytes - Viewed (0) -
settings.gradle.kts
* ... * ``` */ fun isKnownBrokenIntelliJ(): Boolean { val ideaVersionString = System.getProperty("idea.version") ?: return false return try { val (major, minor, _) = ideaVersionString.split(".", limit = 3) KotlinVersion(major.toInt(), minor.toInt()) < KotlinVersion(2023, 2) } catch (e: Exception) { false // Unknown version, presumably compatible. }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Apr 14 14:24:05 GMT 2024 - 2.6K bytes - Viewed (0) -
.teamcity/src/main/kotlin/common/JvmVersion.kt
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Sat Apr 06 02:21:32 GMT 2024 - 753 bytes - Viewed (0) -
.github/CONTRIBUTING.md
- Get working code on a personal branch with tests before you submit a PR. - OkHttp is a small and light dependency. Don't introduce new dependencies or major new functionality. - OkHttp targets the intersection of RFC correct *and* widely implemented. Incorrect implementations that are very widely implemented e.g. a bug in Apache, Nginx, Google, Firefox should also be handled.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 17 04:16:26 GMT 2019 - 1.4K bytes - Viewed (0) -
build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateInitPluginTemplateVersionFile.kt
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Dec 19 11:19:07 GMT 2023 - 5K bytes - Viewed (0) -
.teamcity/src/main/kotlin/configurations/BuildDistributions.kt
applyDefaults( model, this, "packageBuild", extraParameters = buildScanTag("BuildDistributions") + " -PtestJavaVersion=${LINUX.buildJavaVersion.major}" + " -Porg.gradle.java.installations.auto-download=false" ) features { publishBuildStatusToGithub(model) } artifactRules = """$artifactRules
Plain Text - Registered: Wed May 08 11:36:15 GMT 2024 - Last Modified: Fri Sep 22 09:52:00 GMT 2023 - 970 bytes - Viewed (0) -
build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild.code-quality.gradle.kts
attribute(LibraryElements.LIBRARY_ELEMENTS_ATTRIBUTE, objects.named(LibraryElements.RESOURCES)) } } val groovyVersion = GroovySystem.getVersion() val isAtLeastGroovy4 = VersionNumber.parse(groovyVersion).major >= 4 val codenarcVersion = if (isAtLeastGroovy4) "3.1.0-groovy-4.0" else "3.1.0" dependencies { rules("gradlebuild:code-quality-rules") { because("Provides rules defined in XML files") }
Plain Text - Registered: Wed May 01 11:36:15 GMT 2024 - Last Modified: Tue Jan 30 10:26:21 GMT 2024 - 6K bytes - Viewed (0) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt
ianaSuites = ianaSuites, ) } fun conscrypt(ianaSuites: IanaSuites): Client { val version = Conscrypt.version() return systemDefault( name = "Conscrypt", version = "${version.major()}.${version.minor()}", ianaSuites = ianaSuites, ) } fun systemDefault( name: String, version: String, ianaSuites: IanaSuites, ): Client {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Apr 02 01:44:15 GMT 2024 - 2.5K bytes - Viewed (0)