Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for isWhitespace (0.07 sec)

  1. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/internal/IsProbablyUtf8.kt

        for (i in 0 until 16) {
          if (prefix.exhausted()) {
            break
          }
          val codePoint = prefix.readUtf8CodePoint()
          if (Character.isISOControl(codePoint) && !Character.isWhitespace(codePoint)) {
            return false
          }
        }
        return true
      } catch (_: EOFException) {
        return false // Truncated UTF-8 sequence.
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 07 16:05:34 UTC 2024
    - 1.4K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/suggest/index/SuggestIndexer.java

            final StringBuilder buf = new StringBuilder(searchWord.length());
            char prev = 0;
            for (final char c : searchWord.toCharArray()) {
                if (!Character.isWhitespace(c)) {
                    buf.append(c);
                } else if (!Character.isWhitespace(prev)) {
                    buf.append(' ');
                }
                prev = c;
            }
            final String[] words = buf.toString().trim().split(" ");
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Sat Oct 12 00:10:39 UTC 2024
    - 26.1K bytes
    - Viewed (0)
  3. compat/maven-artifact/src/main/java/org/apache/maven/artifact/ArtifactUtils.java

        private static void notBlank(String str, String message) {
            final int strLen = str != null ? str.length() : 0;
            if (strLen > 0) {
                for (int i = 0; i < strLen; i++) {
                    if (!Character.isWhitespace(str.charAt(i))) {
                        return;
                    }
                }
            }
            throw new IllegalArgumentException(message);
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/inheritance/DefaultInheritanceAssembler.java

                boolean isBlankParentUrl = true;
    
                if (parentUrl != null) {
                    for (int i = 0; i < parentUrl.length(); i++) {
                        if (!Character.isWhitespace(parentUrl.charAt(i))) {
                            isBlankParentUrl = false;
                        }
                    }
                }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/convert/DateConversionUtil.java

            for (int i = 0; i < pattern.length(); ++i) {
                final char ch = pattern.charAt(i);
                if (Character.isLetterOrDigit(ch) || Character.isWhitespace(ch)) {
                    buf.append(ch);
                }
            }
            if (buf.indexOf("yy") == -1) {
                final int pos = buf.indexOf("y");
                if (pos != -1) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/lang/StringUtil.java

        public static boolean isBlank(final String str) {
            if (str == null || str.length() == 0) {
                return true;
            }
            for (int i = 0; i < str.length(); i++) {
                if (!Character.isWhitespace(str.charAt(i))) {
                    return false;
                }
            }
            return true;
        }
    
        /**
         * ブランクではないかどうか返します。
         *
         * @param str
         *            文字列
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  7. compat/maven-embedder/src/main/java/org/apache/maven/cli/props/MavenProperties.java

                String val = valueLines.get(i);
                valueLines.set(i, typed ? val : escapeJava(val) /*+ (i < lastLine? "\\": "")*/);
                while (!val.isEmpty() && Character.isWhitespace(val.charAt(0))) {
                    val = val.substring(1);
                }
                sb.append(val);
            }
            String[] property = PropertiesReader.parseProperty(sb.toString());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 38.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java

                    boolean isBlankModule = true;
                    if (module != null) {
                        for (int j = 0; j < module.length(); j++) {
                            if (!Character.isWhitespace(module.charAt(j))) {
                                isBlankModule = false;
                            }
                        }
                    }
    
                    if (isBlankModule) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 77.1K bytes
    - Viewed (0)
  9. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlin/sequences/SequencesKt___SequencesJvmKt;->asSequence(Ljava/util/Iterator;)Lkotlin/sequences/Sequence;
    HSPLkotlin/text/CharsKt__CharKt;->checkRadix(I)I
    HSPLkotlin/text/CharsKt__CharKt;->equals(CCZ)Z
    HSPLkotlin/text/CharsKt__CharKt;->isWhitespace(C)Z
    HSPLkotlin/text/Charsets;-><clinit>()V
    HSPLkotlin/text/MatcherMatchResult$groupValues$1;-><init>(Lkotlin/text/MatcherMatchResult;)V
    HSPLkotlin/text/MatcherMatchResult$groupValues$1;->get(I)Ljava/lang/Object;
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Mar 21 11:22:00 UTC 2022
    - 127.9K bytes
    - Viewed (0)
Back to top