Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 42 for chars (0.09 sec)

  1. android/guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(asList(elements));
          return charactersOf(String.copyValueOf(chars));
        }
      }
    
      public static class CharactersOfCharSequenceGenerator extends TestCharacterListGenerator {
        @Override
        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(asList(elements));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/collect/testing/google/ListGenerators.java

        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(asList(elements));
          return charactersOf(String.copyValueOf(chars));
        }
      }
    
      public static class CharactersOfCharSequenceGenerator extends TestCharacterListGenerator {
        @Override
        public List<Character> create(Character[] elements) {
          char[] chars = Chars.toArray(asList(elements));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. compat/maven-embedder/src/main/java/org/apache/maven/cli/event/ExecutionEventLogger.java

            this.messageBuilderFactory = messageBuilderFactory;
            this.terminalWidth = terminalWidth;
        }
    
        private static String chars(char c, int count) {
            return String.valueOf(c).repeat(Math.max(0, count));
        }
    
        private void infoLine(char c) {
            infoMain(chars(c, lineLength));
        }
    
        private void infoMain(String msg) {
            logger.info(builder().strong(msg).toString());
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 17.2K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/CharSource.java

       * Reader#skip(long) skip} to the end of the stream, and return the total number of chars that
       * were skipped.
       *
       * <p>Note that for sources that implement {@link #lengthIfKnown} to provide a more efficient
       * implementation, it is <i>possible</i> that this method will return a different number of chars
       * than would be returned by reading all of the chars.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  5. compat/maven-embedder/src/main/java/org/apache/maven/cli/CLIReportingUtils.java

            String format;
            if (d > 0) {
                // Length 11+ chars
                format = "%d d %02d:%02d h";
            } else if (h > 0) {
                // Length 7 chars
                format = "%2$02d:%3$02d h";
            } else if (m > 0) {
                // Length 9 chars
                format = "%3$02d:%4$02d min";
            } else {
                // Length 7-8 chars
                format = "%4$d.%5$03d s";
            }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/test/java/org/apache/maven/settings/validation/DefaultSettingsValidatorTest.java

            Settings settings = new Settings();
            Mirror mirror = new Mirror();
            mirror.setId("local");
            settings.addMirror(mirror);
            mirror = new Mirror();
            mirror.setId("illegal\\:/chars");
            mirror.setUrl("http://void");
            mirror.setMirrorOf("void");
            settings.addMirror(mirror);
    
            SimpleProblemCollector problems = new SimpleProblemCollector();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        public static final String MIN_ELEMENT = "a";
        public static final String AFTER_LAST = "z";
        public static final String AFTER_LAST_2 = "zz";
      }
    
      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. impl/maven-core/src/main/java/org/apache/maven/internal/MultilineMessageHelper.java

            return sb.toString();
        }
    
        public static List<String> format(String... lines) {
            int size = DEFAULT_MAX_SIZE;
            int remainder = size - 4; // 4 chars = 2 box_char + 2 spaces
            List<String> result = new ArrayList<>();
            StringBuilder sb = new StringBuilder(size);
            // first line
            sb.setLength(0);
            repeat(sb, BOX_CHAR, size);
            result.add(sb.toString());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/SampleElements.java

        public static final String MIN_ELEMENT = "a";
        public static final String AFTER_LAST = "z";
        public static final String AFTER_LAST_2 = "zz";
      }
    
      public static class Chars extends SampleElements<Character> {
        public Chars() {
          // elements aren't sorted, to better test SortedSet iteration ordering
          super('b', 'a', 'c', 'd', 'e');
        }
      }
    
      public static class Enums extends SampleElements<AnEnum> {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

        private static final String COMMENT_CHARS = "#!";
    
        /** The list of possible key/value separators */
        private static final char[] SEPARATORS = new char[] {'=', ':'};
    
        /** The white space characters used as key/value separators. */
        private static final char[] WHITE_SPACE = new char[] {' ', '\t', '\f'};
    
        /**
         * Unless standard java props, use UTF-8
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
Back to top