Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 123 for Ascii (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/io/testdata/ascii.txt

    zhenghua <******@****.***> 1492724018 -0700
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 95 bytes
    - Click Count (0)
  2. guava-tests/test/com/google/common/base/AsciiTest.java

        assertEquals(LOWER, Ascii.toLowerCase(UPPER));
        assertSame(LOWER, Ascii.toLowerCase(LOWER));
        assertEquals(IGNORED, Ascii.toLowerCase(IGNORED));
        assertEquals("foobar", Ascii.toLowerCase("fOobaR"));
      }
    
      public void testToUpperCase() {
        assertEquals(UPPER, Ascii.toUpperCase(LOWER));
        assertSame(UPPER, Ascii.toUpperCase(UPPER));
        assertEquals(IGNORED, Ascii.toUpperCase(IGNORED));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 5.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/base/CaseFormat.java

        @Override
        String normalizeWord(String word) {
          return Ascii.toUpperCase(word);
        }
    
        @Override
        String convert(CaseFormat format, String s) {
          if (format == LOWER_HYPHEN) {
            return Ascii.toLowerCase(s.replace('_', '-'));
          }
          if (format == LOWER_UNDERSCORE) {
            return Ascii.toLowerCase(s);
          }
          return super.convert(format, s);
        }
      };
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Dec 03 18:46:33 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/io/FilesTest.java

        assertEquals(ASCII, Files.toString(temp, UTF_8));
      }
    
      public void testCopyIdenticalFiles() throws IOException {
        File temp1 = createTempFile();
        Files.write(ASCII, temp1, UTF_8);
        File temp2 = createTempFile();
        Files.write(ASCII, temp2, UTF_8);
        Files.copy(temp1, temp2);
        assertEquals(ASCII, Files.toString(temp2, UTF_8));
      }
    
      public void testEqual() throws IOException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  5. android/guava-tests/benchmark/com/google/common/base/AsciiBenchmark.java

        return NONALPHA.charAt(random.nextInt(NONALPHA.length()));
      }
    
      @Benchmark
      int asciiStringToUpperCase(int reps) {
        String string = noWorkToDo ? Ascii.toUpperCase(testString) : testString;
    
        int dummy = 0;
        for (int i = 0; i < reps; i++) {
          dummy += Ascii.toUpperCase(string).length();
        }
        return dummy;
      }
    
      @Benchmark
      int asciiCharSequenceToUpperCase(int reps) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 4.8K bytes
    - Click Count (0)
  6. android/guava-tests/test/com/google/common/io/CharStreamsTest.java

        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder));
        assertEquals(ASCII, builder.toString());
        assertEquals(ASCII.length(), copied);
    
        StringBuilder builder2 = new StringBuilder();
        copied =
            CharStreams.copy(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  7. guava-tests/test/com/google/common/io/CharStreamsTest.java

        StringBuilder builder = new StringBuilder();
        long copied =
            CharStreams.copy(
                wrapAsGenericReadable(new StringReader(ASCII)), wrapAsGenericAppendable(builder));
        assertEquals(ASCII, builder.toString());
        assertEquals(ASCII.length(), copied);
    
        StringBuilder builder2 = new StringBuilder();
        copied =
            CharStreams.copy(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 11.3K bytes
    - Click Count (0)
  8. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/ConsoleIconTest.java

            assertEquals("•", ConsoleIcon.DETAIL.getIcon(mockTerminal));
            assertEquals("→", ConsoleIcon.ACTION.getIcon(mockTerminal));
        }
    
        @Test
        @DisplayName("should return ASCII fallback when terminal uses US-ASCII")
        void shouldReturnAsciiFallbackWhenTerminalUsesAscii() {
            Terminal mockTerminal = mock(Terminal.class);
            when(mockTerminal.encoding()).thenReturn(StandardCharsets.US_ASCII);
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Jul 15 09:35:08 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/io/FilesTest.java

        assertEquals(ASCII, Files.toString(temp, UTF_8));
      }
    
      public void testCopyIdenticalFiles() throws IOException {
        File temp1 = createTempFile();
        Files.write(ASCII, temp1, UTF_8);
        File temp2 = createTempFile();
        Files.write(ASCII, temp2, UTF_8);
        Files.copy(temp1, temp2);
        assertEquals(ASCII, Files.toString(temp2, UTF_8));
      }
    
      public void testEqual() throws IOException {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:44:53 GMT 2025
    - 22.1K bytes
    - Click Count (0)
  10. src/test/java/jcifs/util/StringsTest.java

            }
    
            @ParameterizedTest
            @DisplayName("getBytes should handle various string inputs")
            @NullAndEmptySource
            @ValueSource(strings = { "Simple ASCII", "Special chars: !@#$%^&*()", "Unicode: ñöt ascii ℃", "Mixed: ASCII + 中文 + Русский",
                    "Emojis: 🎉🌟💻", "Very long string with multiple words and various characters 1234567890" })
            void testGetBytesWithVariousInputs(String input) {
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 18.6K bytes
    - Click Count (0)
Back to Top