Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 32 for locale (0.19 sec)

  1. build-logic-commons/basics/src/main/kotlin/gradlebuild/basics/StringExtensions.kt

     */
    
    package gradlebuild.basics
    
    import java.util.Locale
    
    fun String.toLowerCase(): String =
        lowercase(Locale.US)
    
    fun String.toUpperCase(): String =
        uppercase(Locale.US)
    
    fun String.capitalize(): String =
        replaceFirstChar { it.uppercase(Locale.US) }
    
    fun String.decapitalize(): String =
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Sat Sep 30 16:17:28 GMT 2023
    - 961 bytes
    - Viewed (0)
  2. .teamcity/src/main/kotlin/model/PerformanceTestSpec.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package model
    
    import common.Os
    import java.util.Locale
    
    interface PerformanceTestBuildSpec {
        val type: PerformanceTestType
        val os: Os
        val withoutDependencies: Boolean
    
        fun asConfigurationId(model: CIBuildModel, bucket: String): String
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Mon Dec 13 07:00:20 GMT 2021
    - 3.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import java.io.IOException
    import java.net.ProtocolException
    import java.util.Locale
    import java.util.concurrent.TimeUnit
    import okhttp3.Headers
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.headersContentLength
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/MediaTypeJvmTest.kt

        }
      }
    
      private fun <T> withLocale(
        locale: Locale,
        block: () -> T,
      ): T {
        val previous = Locale.getDefault()
        try {
          Locale.setDefault(locale)
          return block()
        } finally {
          Locale.setDefault(previous)
        }
      }
    
      @Test fun testIllegalCharsetName() {
        val mediaType = parse("text/plain; charset=\"!@#$%^&*()\"")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheCorruptionTest.kt

    import assertk.assertions.startsWith
    import java.net.CookieManager
    import java.net.ResponseCache
    import java.text.DateFormat
    import java.text.SimpleDateFormat
    import java.util.Date
    import java.util.Locale
    import java.util.TimeZone
    import java.util.concurrent.TimeUnit
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLSession
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/Challenge.kt

     * limitations under the License.
     */
    package okhttp3
    
    import java.nio.charset.Charset
    import java.util.Collections.singletonMap
    import java.util.Collections.unmodifiableMap
    import java.util.Locale.US
    import kotlin.text.Charsets.ISO_8859_1
    import okhttp3.internal.commonEquals
    import okhttp3.internal.commonHashCode
    import okhttp3.internal.commonToString
    
    /**
     * An [RFC 7235][rfc_7235] challenge.
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/DateFormatting.kt

     * limitations under the License.
     */
    package okhttp3.internal.http
    
    import java.text.DateFormat
    import java.text.ParsePosition
    import java.text.SimpleDateFormat
    import java.util.Date
    import java.util.Locale
    import okhttp3.internal.UTC
    
    /** The last four-digit year: "Fri, 31 Dec 9999 23:59:59 GMT". */
    internal const val MAX_DATE = 253402300799999L
    
    /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

     *  limitations under the License.
     */
    package okhttp3.internal.tls
    
    import java.security.cert.CertificateParsingException
    import java.security.cert.X509Certificate
    import java.util.Locale
    import javax.net.ssl.HostnameVerifier
    import javax.net.ssl.SSLException
    import javax.net.ssl.SSLSession
    import okhttp3.internal.canParseAsIpAddress
    import okhttp3.internal.toCanonicalHost
    import okio.utf8Size
    
    /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. build-logic/jvm/src/main/kotlin/gradlebuild/propagated-env-variables.kt

        // Used by some tests to be ignored in specific build
        "BUILD_TYPE_ID",
        "JPROFILER_HOME",
    
        "LANG",
        "LANGUAGE",
        // It is possible to have many LC_xxx variables for different aspects of the locale. However, LC_ALL overrides all of them, and it is what CI uses.
        "LC_ALL",
        "LC_CTYPE",
    
        "JDK_10",
        "JDK_10_0",
        "JDK_10_0_x64",
        "JDK_10_x64",
        "JDK_11",
        "JDK_11_0",
    Plain Text
    - Registered: Wed Feb 28 11:36:09 GMT 2024
    - Last Modified: Tue Apr 18 01:52:16 GMT 2023
    - 3.7K bytes
    - Viewed (0)
  10. build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/DistributionTest.kt

    import java.io.File
    import java.util.SortedSet
    
    
    /**
     * Tests that check the end-to-end behavior of a Gradle distribution.
     * They can have a locally built Gradle distribution on their runtime classpath
     * and distributions as well as local repositories as additional test inputs
     * to test functionality that requires rea distributions (like the wrapper)
     * or separately published libraries (like the Tooling API Jar).
     */
    Plain Text
    - Registered: Wed Mar 27 11:36:08 GMT 2024
    - Last Modified: Fri Jul 01 22:53:59 GMT 2022
    - 8K bytes
    - Viewed (0)
Back to top