Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for upperCase (0.06 sec)

  1. 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)
  2. android/guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base64(), "?", "Invalid input length 1");
      }
    
      public void testBase64CannotUpperCase() {
        assertThrows(IllegalStateException.class, () -> base64().upperCase());
      }
    
      public void testBase64CannotLowerCase() {
        assertThrows(IllegalStateException.class, () -> base64().lowerCase());
      }
    
      public void testBase64CannotIgnoreCase() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/base/Ascii.java

      /** A bit mask which selects the bit encoding ASCII character case. */
      private static final char CASE_MASK = 0x20;
    
      /**
       * 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();
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 21.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/io/BaseEncodingTest.java

        assertFailsToDecode(base64(), "?", "Invalid input length 1");
      }
    
      public void testBase64CannotUpperCase() {
        assertThrows(IllegalStateException.class, () -> base64().upperCase());
      }
    
      public void testBase64CannotLowerCase() {
        assertThrows(IllegalStateException.class, () -> base64().lowerCase());
      }
    
      public void testBase64CannotIgnoreCase() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 24.7K bytes
    - Viewed (0)
  5. src/test/java/org/codelibs/fess/script/ScriptEngineFactoryTest.java

            ScriptEngine retrievedByClass = scriptEngineFactory.getScriptEngine("testscriptengine");
            assertNotNull(retrievedByClass);
            assertEquals(engine, retrievedByClass);
        }
    
        // Test add method with uppercase name
        public void test_add_uppercaseName() {
            TestScriptEngine engine = new TestScriptEngine();
            scriptEngineFactory.add("TESTENGINE", engine);
    
            // Should be accessible with lowercase
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 12.1K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/fess/query/WildcardQueryCommandTest.java

            QueryBuilder queryBuilder2 = queryCommand.convertWildcardQuery(queryContext2, wildcardQuery2, 1.0f);
            assertNotNull(queryBuilder2);
    
            // The term should remain uppercase
            String queryString2 = queryBuilder2.toString();
            assertTrue(queryString2.contains("TEST*") || queryString2.contains("TEST"));
        }
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 11.1K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/resources/web-platform-test-urltestdata.txt

    \#\u03B2  s:http h:example.org p:/foo/bar f:#\u03B2
    data:text/html,test#test  s:data p:text/html,test f:#test
    
    # Based on http://trac.webkit.org/browser/trunk/LayoutTests/fast/url/file.html
    
    # Basic canonicalization, uppercase should be converted to lowercase
    file:c:\\foo\\bar.html file:///tmp/mock/path s:file p:/c:/foo/bar.html
    
    # Spaces should fail
    \s\sFile:c|////foo\\bar.html  s:file p:/c:////foo/bar.html
    
    # This should fail
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 14.3K bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

              } else {
                evictToRecoverBytes(dynamicTableByteCount - maxDynamicTableByteCount)
              }
            }
          }
        }
    
      /**
       * An HTTP/2 response cannot contain uppercase header characters and must be treated as
       * malformed.
       */
      @Throws(IOException::class)
      fun checkLowercase(name: ByteString): ByteString {
        for (i in 0 until name.size) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 22.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/core/lang/StringUtil.java

                return text.substring(prefix.length());
            }
            return text;
        }
    
        /**
         * Decapitalizes a string according to JavaBeans conventions.
         * Note: If the first two characters are uppercase, the string will not be decapitalized.
         * <p>
         * Usage example:
         * </p>
         *
         * <pre>
         * StringUtil.decapitalize("UserId")  = "userId"
         * StringUtil.decapitalize("ABC")     = "ABC"
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 21.9K bytes
    - Viewed (0)
  10. src/test/java/org/codelibs/fess/query/PrefixQueryCommandTest.java

            assertTrue(builder instanceof MatchPhrasePrefixQueryBuilder);
    
            MatchPhrasePrefixQueryBuilder mpqb = (MatchPhrasePrefixQueryBuilder) builder;
            assertEquals("TEST", mpqb.value()); // Should remain uppercase
        }
    
        public void test_convertPrefixQuery_withEmptyPrefix() throws Exception {
            QueryContext context = new QueryContext("test", false);
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Tue Aug 19 14:09:36 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top