- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 38 for Major (0.02 sec)
-
okhttp/src/jvmMain/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) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 4.6K bytes - Viewed (0) -
compat/maven-artifact/src/test/java/org/apache/maven/artifact/versioning/DefaultArtifactVersionTest.java
+ artifactVersion.getBuildNumber() + "', '" + artifactVersion.getQualifier() + "'), "; assertEquals(major, artifactVersion.getMajorVersion(), parsed + "check major version"); assertEquals(minor, artifactVersion.getMinorVersion(), parsed + "check minor version");
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/debugging/inspect/export.go
} if bytes.Equal(buf[4:8], []byte("1 ")) { // Set as 1,0. major, minor = 1, 0 } else { major, minor = binary.LittleEndian.Uint16(buf[4:6]), binary.LittleEndian.Uint16(buf[6:8]) } if major > xlVersionMajor { return buf[8:], major, minor, fmt.Errorf("xlMeta: unknown major version %d found", major) } return buf[8:], major, minor, nil } const xlMetaInlineDataVer = 1
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Fri Jan 17 19:38:44 UTC 2025 - 9.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/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))
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/dcerpc/DcerpcBinding.java
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt
} catch (e: ClassNotFoundException) { false } 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) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/witness/WitnessVersion.java
/** * Gets the numeric version value. * * @return the version value */ public int getValue() { return version; } /** * Gets the major version number. * * @return the major version */ public int getMajorVersion() { return (version >> 16) & 0xFFFF; } /** * Gets the minor version number. *
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 23 09:06:40 UTC 2025 - 1.9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/JvmUtil.java
} return null; }).filter(s -> s != null).toArray(n -> new String[n]); } /** * Gets the major version number of the current Java runtime. * For Java 8 and below, returns the minor version (e.g., 8 for Java 1.8). * For Java 9 and above, returns the major version (e.g., 11 for Java 11). * * @return the Java version number, defaults to 8 if version cannot be determined */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 2.9K bytes - Viewed (0) -
src/main/java/jcifs/smb1/dcerpc/DcerpcBinding.java
INTERFACES.put(name, syntax); } String proto; String server; String endpoint = null; HashMap options = null; UUID uuid = null; int major; int minor; DcerpcBinding(final String proto, final String server) { this.proto = proto; this.server = server; }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.8K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/DcerpcBindingTest.java
assertNull(dcerpcBinding.getEndpoint(), "Endpoint should be null initially."); assertNull(dcerpcBinding.getUuid(), "UUID should be null initially."); assertEquals(0, dcerpcBinding.getMajor(), "Major version should be 0 initially."); assertEquals(0, dcerpcBinding.getMinor(), "Minor version should be 0 initially."); } @Test void testSetOptionEndpointValidPipe() throws DcerpcException {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.5K bytes - Viewed (0)