Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for major (0.02 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. src/main/webapp/js/admin/plugins/form-validator/lang/ca.js

    element(s)",badCreditCard:"El número de targeta de crèdit proporcionat no és vàlid",badCVV:"CVV proporcionat no és vàlid",wrongFileDim:"Les dimensions de la imatge no són vàlides,",imageTooTall:"l'alçada de la imatge no pot ser major a",imageTooWide:"l'amplada de la imatge no pot ser major a",imageTooSmall:"la imatge és massa petita",min:"min.",max:"màx.",imageRatioNotAccepted:"La proporció de la imatge (alçada x amplada) no és vàlida"}})}(a,window)});...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 2.6K bytes
    - Viewed (0)
  6. .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.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Mar 17 04:16:26 UTC 2019
    - 1.4K bytes
    - Viewed (0)
  7. 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 {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Protocol.kt

       * on HTTP/2.
       *
       * QUIC is not natively supported by OkHttp, but provided to allow a theoretical interceptor that
       * provides support.
       */
      QUIC("quic"),
    
      /**
       * HTTP/3 is the third and upcoming major version of the Hypertext Transfer Protocol used to
       * exchange information. HTTP/3 runs over QUIC, which is published as RFC 9000.
       *
       * HTTP/3 is not natively supported by OkHttp, but provided to allow a theoretical interceptor
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jun 23 18:58:57 UTC 2025
    - 4.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/helper/UserAgentHelper.java

                }
                return uaType;
            }).orElse(UserAgentType.OTHER);
        }
    
        /**
         * Enumeration of supported browser types for user agent detection.
         * Each type represents a major browser family that can be detected
         * from the User-Agent header string.
         */
        public enum UserAgentType {
            /** Internet Explorer and Trident-based browsers */
            IE,
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Jul 17 08:28:31 UTC 2025
    - 3.5K bytes
    - Viewed (0)
  10. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

        val names =
          acceptedIssuers
            .map { it.subjectDN.name }
            .toSet()
    
        // It's safe to assume all platforms will have a major Internet certificate issuer.
        assertThat(names).matchesPredicate { strings ->
          strings.any { it.matches(Regex("[A-Z]+=Entrust.*")) }
        }
      }
    
      private fun startTlsServer(): InetSocketAddress {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 7.2K bytes
    - Viewed (0)
Back to top