Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 131 for uppercase (0.09 sec)

  1. android/guava/src/com/google/common/base/Ascii.java

      /**
       * Returns a copy of the input string in which all {@linkplain #isUpperCase(char) uppercase ASCII
       * characters} have been converted to lowercase. All other characters are copied without
       * modification.
       */
      public static String toLowerCase(String string) {
        int length = string.length();
        for (int i = 0; i < length; i++) {
          if (isUpperCase(string.charAt(i))) {
            char[] chars = string.toCharArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

      private static void testEncodingWithCasing(
          BaseEncoding encoding, String decoded, String encoded) {
        testEncodingWithSeparators(encoding, decoded, encoded);
        testEncodingWithSeparators(encoding.upperCase(), decoded, Ascii.toUpperCase(encoded));
        testEncodingWithSeparators(encoding.lowerCase(), decoded, Ascii.toLowerCase(encoded));
      }
    
      private static void testEncodingWithSeparators(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  3. 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 =
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Sat Sep 30 16:17:28 UTC 2023
    - 961 bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/BaseEncoding.java

            upperCased[i] = Ascii.toUpperCase(chars[i]);
          }
          Alphabet upperCase = new Alphabet(name + ".upperCase()", upperCased);
          return ignoreCase ? upperCase.ignoreCase() : upperCase;
        }
    
        Alphabet lowerCase() {
          if (!hasUpperCase()) {
            return this;
          }
          checkState(!hasLowerCase(), "Cannot call lowerCase() on a mixed-case alphabet");
          char[] lowerCased = new char[chars.length];
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 41.8K bytes
    - Viewed (0)
  5. guava/src/com/google/common/net/UrlEscapers.java

       *       byte is then represented by the 3-character string "%XY", where "XY" is the two-digit,
       *       uppercase, hexadecimal representation of the byte value.
       * </ul>
       *
       * <p><b>Note:</b> Unlike other escapers, URL escapers produce <a
       * href="https://url.spec.whatwg.org/#percent-encode">uppercase</a> hexadecimal sequences.
       */
      public static Escaper urlPathSegmentEscaper() {
        return URL_PATH_SEGMENT_ESCAPER;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            original!!.writeTo(bufferedSink)
            bufferedSink.emit()
          }
        }
      }
    
      private fun uppercase(original: BufferedSink): Sink {
        return object : ForwardingSink(original) {
          override fun write(
            source: Buffer,
            byteCount: Long,
          ) {
            original.writeUtf8(source.readUtf8(byteCount).uppercase())
          }
        }
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/UrlEscapers.java

       *       byte is then represented by the 3-character string "%XY", where "XY" is the two-digit,
       *       uppercase, hexadecimal representation of the byte value.
       * </ul>
       *
       * <p><b>Note:</b> Unlike other escapers, URL escapers produce <a
       * href="https://url.spec.whatwg.org/#percent-encode">uppercase</a> hexadecimal sequences.
       */
      public static Escaper urlPathSegmentEscaper() {
        return URL_PATH_SEGMENT_ESCAPER;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt

    import okio.buffer
    
    /** Rewrites the request body sent to the server to be all uppercase.  */
    class UppercaseRequestInterceptor : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Chain): Response {
        return chain.proceed(uppercaseRequest(chain.request()))
      }
    
      /** Returns a request that transforms `request` to be all uppercase.  */
      private fun uppercaseRequest(request: Request): Request {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  9. guava/src/com/google/common/base/Ascii.java

      /**
       * Returns a copy of the input string in which all {@linkplain #isUpperCase(char) uppercase ASCII
       * characters} have been converted to lowercase. All other characters are copied without
       * modification.
       */
      public static String toLowerCase(String string) {
        int length = string.length();
        for (int i = 0; i < length; i++) {
          if (isUpperCase(string.charAt(i))) {
            char[] chars = string.toCharArray();
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  10. .teamcity/src/main/kotlin/configurations/FlakyTestQuarantine.kt

                ).joinToString(separator = " ")
            steps {
                gradleWrapper {
                    name = "FLAKY_TEST_QUARANTINE_${testCoverage.testType.name.uppercase()}_${testCoverage.testJvmVersion.name.uppercase()}"
                    val testTaskName =
                        if (testCoverage.testType == TestType.isolatedProjects) "isolatedProjectsIntegTest" else "${testCoverage.testType.name}Test"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Sep 24 06:22:49 UTC 2024
    - 3.7K bytes
    - Viewed (0)
Back to top