- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for majorVersion (0.15 sec)
-
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/DefaultArtifactVersion.java
} else { return compareTo(new DefaultArtifactVersion(otherVersion.toString())); } } public int getMajorVersion() { return majorVersion != null ? majorVersion : 0; } public int getMinorVersion() { return minorVersion != null ? minorVersion : 0; } public int getIncrementalVersion() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/JSSETest.kt
val response = client.newCall(request).execute() response.use { assertEquals(200, response.code) if (PlatformVersion.majorVersion > 11) { assertEquals(TlsVersion.TLS_1_3, response.handshake?.tlsVersion) } if (PlatformVersion.majorVersion > 8) { assertEquals(Protocol.HTTP_2, response.protocol) } assertThat(response.connection.socket().javaClass.name).isEqualTo(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 5.4K bytes - Viewed (0) -
okhttp-testing-support/src/test/kotlin/okhttp3/testing/PlatformRuleTest.kt
} @Test fun testGreenCase() { } @Test fun testGreenCaseFailingOnLater() { platform.expectFailureFromJdkVersion(PlatformVersion.majorVersion + 1) } @Test fun failureCase() { platform.expectFailureFromJdkVersion(PlatformVersion.majorVersion) check(false) }
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Apr 15 14:55:09 UTC 2024 - 1.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt
SSLContext.getInstance("TLS") } } } companion object { val isAvailable: Boolean val majorVersion = System.getProperty("java.specification.version")?.toIntOrNull() init { isAvailable = if (majorVersion != null) { majorVersion >= 9 } else { try { // also present on JDK8 after build 252.
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3.5K bytes - Viewed (1) -
okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformVersion.kt
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.testing object PlatformVersion { val majorVersion: Int by lazy { when (val jvmSpecVersion = getJvmSpecVersion()) { "1.8" -> 8 else -> jvmSpecVersion.toInt() } } fun getJvmSpecVersion(): String {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Wed Dec 20 23:27:07 UTC 2023 - 917 bytes - Viewed (0) -
pom.xml
<osgi-version-qualifier>${maven.build.timestamp}</osgi-version-qualifier> <osgi.version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}.${osgi-version-qualifier}</osgi.version> <osgi.pkg.version>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}</osgi.pkg.version> </properties> <build> <plugins> <plugin>
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Thu Sep 26 04:40:32 UTC 2024 - 9.3K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.kt
assertThat(recorded.headers["Accept-Encoding"]).isNull() // No built-in gzip. assertThat(recorded.headers["Connection"]).isEqualTo("Upgrade, HTTP2-Settings") if (PlatformVersion.majorVersion < 19) { assertThat(recorded.headers["Content-Length"]).isEqualTo("0") } assertThat(recorded.headers["HTTP2-Settings"]).isNotNull()
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/SessionReuseTest.kt
@ValueSource(strings = ["TLSv1.2", "TLSv1.3"]) @Flaky fun testSessionReuse(tlsVersion: String) { if (tlsVersion == TlsVersion.TLS_1_3.javaName) { assumeTrue(PlatformVersion.majorVersion != 8) } val sessionIds = mutableListOf<String>() enableTls() val tlsVersion = TlsVersion.forJavaName(tlsVersion) val spec = ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Sat Jan 20 10:30:28 UTC 2024 - 6K bytes - Viewed (0) -
.github/workflows/sigbuild-docker.yml
run: | # [[:digit:]] searches for numbers and \+ joins them together major_version=$(grep "^#define TF_MAJOR_VERSION" ./tensorflow/core/public/version.h | grep -o "[[:digit:]]\+") minor_version=$(grep "^#define TF_MINOR_VERSION" ./tensorflow/core/public/version.h | grep -o "[[:digit:]]\+") echo "TF_VERSION=${major_version}.${minor_version}" >> "$GITHUB_OUTPUT"
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Fri Nov 01 08:40:10 UTC 2024 - 4.3K bytes - Viewed (0)