Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 67 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/InterceptorTest.kt

      }
    
      private fun uppercase(original: RequestBody?): RequestBody =
        object : RequestBody() {
          override fun contentType(): MediaType? = original!!.contentType()
    
          override fun contentLength(): Long = original!!.contentLength()
    
          override fun writeTo(sink: BufferedSink) {
            val uppercase = uppercase(sink)
            val bufferedSink = uppercase.buffer()
            original!!.writeTo(bufferedSink)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 28.2K bytes
    - Viewed (0)
  3. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  4. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  5. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 03:10:51 UTC 2024
    - 7.1K bytes
    - Viewed (0)
  6. okhttp-testing-support/src/main/kotlin/okhttp3/UppercaseRequestInterceptor.kt

    import okio.Sink
    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 = chain.proceed(uppercaseRequest(chain.request()))
    
      /** Returns a request that transforms `request` to be all uppercase.  */
      private fun uppercaseRequest(request: Request): Request {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  7. src/test/java/org/codelibs/fess/script/AbstractScriptEngineTest.java

            ScriptEngine upperCase = scriptEngineFactory.getScriptEngine("TESTENGINE");
            ScriptEngine mixedCase = scriptEngineFactory.getScriptEngine("TestEngine");
    
            assertNotNull(lowerCase);
            assertNotNull(upperCase);
            assertNotNull(mixedCase);
            assertEquals(testScriptEngine, lowerCase);
            assertEquals(testScriptEngine, upperCase);
            assertEquals(testScriptEngine, mixedCase);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 6.5K bytes
    - Viewed (0)
  8. 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 Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/base/AsciiTest.java

        assertEquals("foobar", Ascii.toLowerCase("fOobaR"));
      }
    
      public void testToUpperCase() {
        assertEquals(UPPER, Ascii.toUpperCase(LOWER));
        assertSame(UPPER, Ascii.toUpperCase(UPPER));
        assertEquals(IGNORED, Ascii.toUpperCase(IGNORED));
        assertEquals("FOOBAR", Ascii.toUpperCase("FoOBAr"));
      }
    
      public void testCharsIgnored() {
        for (char c : IGNORED.toCharArray()) {
          String str = String.valueOf(c);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/base/AsciiTest.java

        assertEquals("foobar", Ascii.toLowerCase("fOobaR"));
      }
    
      public void testToUpperCase() {
        assertEquals(UPPER, Ascii.toUpperCase(LOWER));
        assertSame(UPPER, Ascii.toUpperCase(UPPER));
        assertEquals(IGNORED, Ascii.toUpperCase(IGNORED));
        assertEquals("FOOBAR", Ascii.toUpperCase("FoOBAr"));
      }
    
      public void testCharsIgnored() {
        for (char c : IGNORED.toCharArray()) {
          String str = String.valueOf(c);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 5.5K bytes
    - Viewed (0)
Back to top