Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for atLeastVersion (0.09 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ConscryptTest.kt

        val version = Conscrypt.version()
    
        assertTrue(ConscryptPlatform.atLeastVersion(1, 4, 9))
        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))
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  2. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/ConscryptPlatform.kt

              Conscrypt.isAvailable() && atLeastVersion(2, 1, 0) -> true
              else -> false
            }
          } catch (e: NoClassDefFoundError) {
            false
          } catch (e: ClassNotFoundException) {
            false
          }
    
        fun buildIfSupported(): ConscryptPlatform? = if (isSupported) ConscryptPlatform() else null
    
        fun atLeastVersion(
          major: Int,
          minor: Int = 0,
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 4.6K bytes
    - Viewed (0)
  3. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.kt

              // Bump this version if we ever have a binary incompatibility
              Conscrypt.isAvailable() && atLeastVersion(2, 1, 0) -> true
              else -> false
            }
          } catch (e: NoClassDefFoundError) {
            false
          } catch (e: ClassNotFoundException) {
            false
          }
    
        fun atLeastVersion(
          major: Int,
          minor: Int = 0,
          patch: Int = 0,
        ): Boolean {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3K bytes
    - Viewed (0)
Back to top