Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 707 for separators (0.26 sec)

  1. platforms/ide/tooling-api/src/testFixtures/groovy/org/gradle/integtests/tooling/fixture/TextUtil.java

            return path.replaceAll(Pattern.quote(File.separator), "/");
        }
    
        /**
         * Converts all line separators in the specified string to a single new line character.
         */
        public static String normaliseLineSeparators(String str) {
            return str == null ? null : convertLineSeparators(str, "\n");
        }
    
        /**
         * Converts all line separators in the specified string to the specified line separator.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Sep 26 14:49:20 UTC 2023
    - 1.7K bytes
    - Viewed (0)
  2. platforms/core-runtime/logging/src/main/java/org/gradle/util/TextUtil.java

        }
    
        /**
         * Converts all line separators in the specified string to the platform's line separator.
         */
        public static String toPlatformLineSeparators(String str) {
            logDeprecation();
            return str == null ? null : replaceLineSeparatorsInternalOf(str, getPlatformLineSeparatorInternal());
        }
    
        /**
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:37 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  3. platforms/core-runtime/serialization/src/main/java/org/gradle/internal/serialize/HierarchicalNameSerializer.java

        private void writeFirstOccurrenceOfName(String name, Encoder encoder) throws IOException {
            int separator = SEPARATOR_MATCHER.lastIndexIn(name);
            if (separator > 0) {
                String parent = name.substring(0, separator);
                String child = name.substring(separator + 1);
                encoder.writeByte((byte) name.charAt(separator));
                writeName(parent, encoder);
                writeName(child, encoder);
            } else {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Apr 15 16:06:56 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/util/VersionNumber.java

                boolean isSeparatorAndDigit(char... separators) {
                    return pos < str.length() - 1 && oneOf(separators) && Character.isDigit(str.charAt(pos + 1));
                }
    
                private boolean oneOf(char... separators) {
                    char current = str.charAt(pos);
                    for (int i = 0; i < separators.length; i++) {
                        char separator = separators[i];
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 09:46:00 UTC 2024
    - 9.4K bytes
    - Viewed (0)
  5. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/TextUtil.java

        }
    
        /**
         * Converts all line separators in the specified string to the specified line separator.
         */
        @Nullable
        public static String convertLineSeparators(@Nullable String str, String sep) {
            return str == null ? null : replaceLineSeparatorsOf(str, sep);
        }
    
        /**
         * Converts all line separators in the specified non-null string to the Unix line separator {@code \n}.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  6. platforms/core-runtime/base-services/src/main/java/org/gradle/internal/process/ArgWriter.java

            this.quotablePattern = quotablePattern;
        }
    
        /**
         * Double quotes around args containing whitespace, backslash chars are escaped using double backslash, platform line separators.
         */
        public static ArgWriter unixStyle(PrintWriter writer) {
            return new ArgWriter(writer, true, WHITESPACE);
        }
    
        public static InternalTransformer<ArgWriter, PrintWriter> unixStyleFactory() {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 10:14:33 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. platforms/core-runtime/base-services/src/main/java/org/gradle/util/internal/VersionNumber.java

                boolean isSeparatorAndDigit(char... separators) {
                    return pos < str.length() - 1 && oneOf(separators) && Character.isDigit(str.charAt(pos + 1));
                }
    
                private boolean oneOf(char... separators) {
                    char current = str.charAt(pos);
                    for (char separator : separators) {
                        if (current == separator) {
                            return true;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed May 29 06:47:40 UTC 2024
    - 8.9K bytes
    - Viewed (0)
  8. platforms/documentation/docs-asciidoctor-extensions-base/src/test/groovy/org/gradle/docs/asciidoctor/IdGeneratorTest.groovy

            "dash-dash"              | "dash-dash"
            " space prefix"          | "space-prefix"
            "invalid char ąść"       | "invalid-char"
            "many  separators -- "   | "many-separators"
            "--"                     | ""
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 1.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/io/LineBuffer.java

        }
      }
    
      /**
       * Called for each line found in the character data passed to {@link #add}.
       *
       * @param line a line of text (possibly empty), without any line separators
       * @param end the line separator; one of {@code "\r"}, {@code "\n"}, {@code "\r\n"}, or {@code ""}
       * @throws IOException if an I/O error occurs
       */
      protected abstract void handleLine(String line, String end) throws IOException;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/LineBuffer.java

        }
      }
    
      /**
       * Called for each line found in the character data passed to {@link #add}.
       *
       * @param line a line of text (possibly empty), without any line separators
       * @param end the line separator; one of {@code "\r"}, {@code "\n"}, {@code "\r\n"}, or {@code ""}
       * @throws IOException if an I/O error occurs
       */
      protected abstract void handleLine(String line, String end) throws IOException;
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Feb 28 20:13:02 UTC 2023
    - 3.9K bytes
    - Viewed (0)
Back to top