Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 79 for WHITESPACE (0.08 seconds)

  1. guava/src/com/google/common/io/Resources.java

        return asCharSource(url, charset).readLines(callback);
      }
    
      /**
       * Reads all of the lines from a URL. The lines do not include line-termination characters, but do
       * include other leading and trailing whitespace.
       *
       * <p>This method returns a mutable {@code List}. For an {@code ImmutableList}, use {@code
       * Resources.asCharSource(url, charset).readLines()}.
       *
       * @param url the URL to read from
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

            while (st.hasMoreElements()) {
                list.add(st.nextElement().toString());
            }
            return list.toArray(new String[list.size()]);
        }
    
        /**
         * Removes whitespace from the left side of the string.
         *
         * @param text
         *            The text to trim
         * @return The resulting string
         */
        public static final String ltrim(final String text) {
    Created: Sat Dec 20 08:55:33 GMT 2025
    - Last Modified: Sat Nov 22 11:21:59 GMT 2025
    - 21.5K bytes
    - Click Count (0)
  3. src/test/java/org/codelibs/fess/suggest/converter/AnalyzerConverterTest.java

                assertNotNull(e);
            }
        }
    
        @Test
        public void testConvertWithWhitespaceText() throws IOException {
            // Test convert with whitespace text
            String text = "   ";
            String field = "content";
    
            List<String> results = converter.convert(text, field, "en");
    
            assertNotNull(results);
        }
    
        @Test
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 12.5K bytes
    - Click Count (0)
  4. guava-tests/test/com/google/common/base/PredicatesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.CharMatcher.whitespace;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  5. src/test/java/jcifs/internal/util/StringUtilTest.java

        void testJoinSingleNullElement() {
            String result = StringUtil.join(",", (CharSequence) null);
            assertEquals("null", result);
        }
    
        @Test
        @DisplayName("Should handle whitespace delimiter")
        void testJoinWithWhitespaceDelimiter() {
            String result = StringUtil.join("   ", "spaced", "out");
            assertEquals("spaced   out", result);
        }
    
        @Test
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 07:14:38 GMT 2025
    - 9K bytes
    - Click Count (0)
  6. maven-tests/mvnw

    }
    
    verbose() { :; }
    [ "${MVNW_VERBOSE-}" != true ] || verbose() { printf %s\\n "${1-}"; }
    
    die() {
      printf %s\\n "$1" >&2
      exit 1
    }
    
    trim() {
      # MWRAPPER-139:
      #   Trims trailing and leading whitespace, carriage returns, tabs, and linefeeds.
      #   Needed for removing poorly interpreted newline sequences when running in more
      #   exotic environments such as mingw bash on Windows.
      printf "%s" "${1}" | tr -d '[:space:]'
    }
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Sep 25 18:22:49 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  7. android/guava-tests/test/com/google/common/base/PredicatesTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.base;
    
    import static com.google.common.base.CharMatcher.whitespace;
    import static com.google.common.truth.Truth.assertThat;
    import static org.junit.Assert.assertThrows;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 16:03:47 GMT 2025
    - 32.3K bytes
    - Click Count (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/helper/RobotsTxtHelper.java

                boolean isGroupRecordStarted = false;
    
                while ((line = reader.readLine()) != null) {
                    try {
                        // Strip comments and trim whitespace
                        line = stripComment(line).trim();
                        if (StringUtil.isEmpty(line)) {
                            continue;
                        }
    
    Created: Sat Dec 20 11:21:39 GMT 2025
    - Last Modified: Fri Nov 14 12:52:01 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  9. src/test/java/org/codelibs/fess/suggest/converter/ReadingConverterTest.java

            assertEquals(5, readings.size()); // Should be limited to 5
        }
    
        @Test
        public void testConvertWithWhitespace() throws IOException {
            // Test convert with various whitespace
            converter.init();
            String text = "  test  \n\t  text  ";
            String field = "content";
    
            List<String> readings = converter.convert(text, field, "en");
    
    Created: Sat Dec 20 13:04:59 GMT 2025
    - Last Modified: Mon Sep 01 13:33:03 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  10. src/main/java/org/codelibs/fess/job/ExecJob.java

        public ExecJob logLevel(final String logLevel) {
            this.logLevel = logLevel;
            return this;
        }
    
        /**
         * Sets the log suffix for this job execution.
         * The suffix is trimmed and whitespace is replaced with underscores.
         *
         * @param logSuffix the suffix to append to log file names
         * @return this ExecJob instance for method chaining
         */
    Created: Sat Dec 20 09:19:18 GMT 2025
    - Last Modified: Fri Nov 28 16:29:12 GMT 2025
    - 14.2K bytes
    - Click Count (0)
Back to Top