Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 17 for minor (0.06 sec)

  1. okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/ConscryptSocketAdapter.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) {
            return conscryptVersion.minor() > minor
          }
    
          return conscryptVersion.patch() >= patch
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. 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) {
            return 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)
  3. okhttp/src/jvmTest/kotlin/okhttp3/ConscryptTest.kt

        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))
        assertFalse(ConscryptPlatform.atLeastVersion(version.major() + 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)
  4. 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 {
      val socketFactory = SSLSocketFactory.getDefault() as SSLSocketFactory
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. 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)
  6. CONTRIBUTING.md

    Pull requests
    -------------
    
    Unless the change is a trivial fix such as for a typo, it's generally best to
    start by opening a new issue describing the bug or feature you're intending to
    fix. Even if you think it's relatively minor, it's helpful to know what people
    are working on. And as mentioned above, API changes should be discussed
    thoroughly before moving to code.
    
    Some examples of types of pull requests that are immediately helpful:
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Nov 17 18:47:47 UTC 2023
    - 3.7K bytes
    - Viewed (0)
  7. src/main/webapp/js/admin/plugins/form-validator/location.js

    aiwan","tajikistan","tanzania","thailand","timor-leste","togo","tokelau","tonga","trinidad and tobago","tunisia","turkey","turkmenistan","turks and caicos islands","tuvalu","uganda","ukraine","united arab emirates","united kingdom","united states minor outlying islands","united states","uruguay","uzbekistan","vanuatu","venezuela","vatican city","vietnam","virgin islands (british)","virgin islands (us)","wallis and futuna","western sahara","yemen","zambia","zimbabwe","åland islands"],errorMessage...
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Mon Jan 01 05:12:47 UTC 2018
    - 5.2K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/internal/TriggerSink.kt

        byteCount: Long,
      ) {
        if (byteCount == 0L) return // Avoid double-triggering.
    
        if (bytesWritten == triggerByteCount) {
          source.skip(byteCount)
          return
        }
    
        val toWrite = minOf(byteCount, triggerByteCount - bytesWritten)
        bytesWritten += toWrite
    
        delegate.write(source, toWrite)
    
        if (bytesWritten == triggerByteCount) {
          trigger()
        }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  9. mockwebserver/src/main/kotlin/mockwebserver3/internal/ThrottledSink.kt

        while (bytesLeft > 0) {
          if (bytesWrittenSinceLastDelay == bytesPerPeriod) {
            flush()
            socket.sleepWhileOpen(periodDelayNanos)
            bytesWrittenSinceLastDelay = 0
          }
    
          val toWrite = minOf(bytesLeft, bytesPerPeriod - bytesWrittenSinceLastDelay)
          bytesWrittenSinceLastDelay += toWrite
          bytesLeft -= toWrite
          delegate.write(source, toWrite)
        }
      }
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Tue Jul 29 12:43:16 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/MultipartReader.kt

          val toIndex = minOf(source.buffer.size, maxByteCount) + 1L
          val boundaryIndex =
            source.indexOf(
              bytes = crlfDashDashBoundary,
              fromIndex = 0L,
              toIndex = toIndex,
            )
          return when {
            boundaryIndex != -1L -> boundaryIndex // We found the boundary.
            source.buffer.size >= toIndex -> minOf(toIndex, maxByteCount) // No boundary before toIndex.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed May 28 02:11:14 UTC 2025
    - 7.3K bytes
    - Viewed (0)
Back to top