Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 231 - 240 of 299 for toList (0.06 seconds)

  1. build-tools-internal/src/integTest/groovy/org/elasticsearch/gradle/internal/PublishPluginFuncTest.groovy

            </project>"""
            )
        }
    
        private boolean assertXmlEquals(String toTest, String expected) {
            def diff = DiffBuilder.compare(Input.fromString(expected))
                    .ignoreWhitespace()
                    .ignoreComments()
                    .normalizeWhitespace()
                    .withTest(Input.fromString(toTest))
                    .build()
            diff.differences.each { difference ->
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 22 07:24:59 GMT 2021
    - 19K bytes
    - Click Count (0)
  2. build-logic/src/main/kotlin/okhttp3/buildsupport/OkHttpBuildUtils.kt

    import org.gradle.api.Project
    
    val Project.platform: String
      get() = findProperty("okhttp.platform")?.toString() ?: "jdk9"
    
    val Project.testJavaVersion: Int
      get() = findProperty("test.java.version")?.toString()?.toInt() ?: 21
    
    val Project.androidBuild: Boolean
      get() = findProperty("androidBuild")?.toString()?.toBoolean() ?: false
    
    val Project.alpnBootVersion: String?
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 11 02:37:00 GMT 2026
    - 1K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilCommon.kt

        in '0'..'9' -> this - '0'
        in 'a'..'f' -> this - 'a' + 10
        in 'A'..'F' -> this - 'A' + 10
        else -> -1
      }
    
    internal infix fun Byte.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Short.and(mask: Int): Int = toInt() and mask
    
    internal infix fun Int.and(mask: Long): Long = toLong() and mask
    
    @Throws(IOException::class)
    internal fun BufferedSink.writeMedium(medium: Int) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 10.1K bytes
    - Click Count (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/testing/PlatformVersion.kt

     */
    package okhttp3.testing
    
    object PlatformVersion {
      val majorVersion: Int by lazy {
        when (val jvmSpecVersion = getJvmSpecVersion()) {
          "1.8" -> 8
          else -> jvmSpecVersion.toInt()
        }
      }
    
      fun getJvmSpecVersion(): String = System.getProperty("java.specification.version", "unknown")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 902 bytes
    - Click Count (0)
  5. src/main/webapp/css/bootstrap.min.css

    }[data-bs-theme=dark] .btn-close{filter:var(--bs-btn-close-white-filter)}.toast{--bs-toast-zindex:1090;--bs-toast-padding-x:0.75rem;--bs-toast-padding-y:0.5rem;--bs-toast-spacing:1.5rem;--bs-toast-max-width:350px;--bs-toast-font-size:0.875rem;--bs-toast-color: ;--bs-toast-bg:rgba(var(--bs-body-bg-rgb), 0.85);--bs-toast-border-width:var(--bs-border-width);--bs-toast-border-color:var(--bs-border-color-translucent);--bs-toast-border-radius:var(--bs-border-radius);--bs-toast-box-shadow:var(--bs-box-...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sun Jan 12 06:14:02 GMT 2025
    - 227.5K bytes
    - Click Count (0)
  6. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/concurrent/Lockable.kt

    internal inline fun Lockable.awaitNanos(nanos: Long) {
      val ms = nanos / 1_000_000L
      val ns = nanos - (ms * 1_000_000L)
      if (ms > 0L || nanos > 0) {
        (this as Object).wait(ms, ns.toInt())
      }
    }
    
    internal inline fun Lockable.assertLockNotHeld() {
      if (assertionsEnabled && Thread.holdsLock(this)) {
        throw AssertionError("Thread ${Thread.currentThread().name} MUST NOT hold lock on $this")
      }
    }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed May 28 23:28:25 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/FakeDns.kt

        val from = nextAddress
        nextAddress += count
        return (from until nextAddress)
          .map {
            return@map InetAddress.getByAddress(
              Buffer().writeInt(it.toInt()).readByteArray(),
            )
          }
      }
    
      /** Allocates and returns `count` fake IPv6 addresses like [::ff00:64, ::ff00:65].  */
      fun allocateIpv6(count: Int): List<InetAddress> {
        val from = nextAddress
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Feb 04 20:20:29 GMT 2026
    - 2.6K bytes
    - Click Count (0)
  8. build-logic/src/main/kotlin/AlpnVersions.kt

      }
    
      val javaVersion = System.getProperty("java.version")
      val match = "1\\.8\\.0_(\\d+)(-.*)?".toRegex().find(javaVersion) ?: return null
    
      return alpnBootVersionForPatchVersion(match.groupValues.first().toInt())
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 01 16:35:35 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  9. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/ReleasedVersionsHelper.kt

        val parts = version.split(".")
        require(parts.size == 3 && parts.all { it.toIntOrNull() != null }) {
            "Version '$version' is not a valid x.y.z version."
        }
        return "${parts[0]}.${parts[1]}.${parts[2].toInt() + 1}"
    }
    
    
    fun updateReleasedVersionFile(releasedVersionsFile: File, currentReleasedVersion: ReleasedVersion) {
        val releasedVersions = releasedVersionsFile.reader().use {
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Mon Mar 23 14:47:12 GMT 2026
    - 2.7K bytes
    - Click Count (0)
  10. okhttp/src/commonTest/kotlin/okhttp3/internal/IsProbablyUtf8Test.kt

        val unlimitedSource =
          object : Source {
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
              sink.writeUtf8("a".repeat(byteCount.toInt()))
              return byteCount
            }
    
            override fun close() {
            }
    
            override fun timeout() = Timeout.NONE
          }
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Mon Oct 06 22:47:06 GMT 2025
    - 2.4K bytes
    - Click Count (0)
Back to Top