Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 28 for upperCase (0.22 sec)

  1. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  2. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  3. 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)
  4. guava/src/com/google/common/io/BaseEncoding.java

        @LazyInit @CheckForNull private volatile BaseEncoding lowerCase;
        @LazyInit @CheckForNull private volatile BaseEncoding ignoreCase;
    
        @Override
        public BaseEncoding upperCase() {
          BaseEncoding result = upperCase;
          if (result == null) {
            Alphabet upper = alphabet.upperCase();
    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-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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 16:27:30 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  6. 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 Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Aug 02 13:50:22 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. .teamcity/src/main/kotlin/model/PerformanceTestBucketProvider.kt

                    duration.entries
                        .filter { (key, _) -> key != "testProject" }
                        .map { (osString, timeInMs) ->
                            val os = Os.valueOf(osString.uppercase(Locale.US))
                            val performanceTestDuration = PerformanceTestDuration(scenario, timeInMs as Int)
                            os to (testProject to performanceTestDuration)
                        }
                }
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Feb 19 11:22:56 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  8. docs/ru/docs/python-types.md

    В какой-то момент вы бы начали определение функции, у вас были бы готовы параметры...
    
    Но затем вы должны вызвать «тот метод, который преобразует первую букву в верхний регистр».
    
    Было это `upper`? Или `uppercase`? `first_uppercase`? `capitalize`?
    
    Тогда вы попробуете с давним другом программиста: автодополнением редактора.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 14.6K bytes
    - Viewed (0)
  9. internal/s3select/sql/funceval.go

    		return nullif(argVals[0], argVals[1])
    
    	case sqlFnCharLength, sqlFnCharacterLength:
    		return charlen(argVals[0])
    
    	case sqlFnLower:
    		return lowerCase(argVals[0])
    
    	case sqlFnUpper:
    		return upperCase(argVals[0])
    
    	case sqlFnUTCNow:
    		return handleUTCNow()
    
    	case sqlFnToString, sqlFnToTimestamp:
    		// TODO: implement
    		fallthrough
    
    	default:
    		return nil, errNotImplemented
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 01 21:59:40 UTC 2021
    - 13.2K bytes
    - Viewed (0)
  10. okhttp/src/test/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 Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 14.3K bytes
    - Viewed (0)
Back to top