- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 20 for wchar (0.02 sec)
-
KuromojiCSVUtil.java
java.util.ArrayList; L36:import java.util.regex.Matcher; L37:import java.util.regex.Pattern; L38: L39:/** L40: * Utility class for parsing CSV text L41: */ L42:public final class KuromojiCSVUtil { L43: private static final char QUOTE = '"'; L44: L45: private static final char COMMA = ','; L46: L47: private static final Pattern QUOTE_REPLACE_PATTERN = Pattern.compile("^\"([^\"]+)\"$"); L48: L49: private static final String ESCAPED_QUOTE = "\"\""; L50: L51: private KuromojiCSVUtil() { L52:...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 3.9K bytes -
SynonymFile.java
0) { L215: list.add(sb.toString()); L216: sb = new StringBuilder(); L217: } L218: pos += separator.length(); L219: continue; L220: } L221: L222: char ch = s.charAt(pos); L223: pos++; L224: if (ch == '\\') { L225: sb.append(ch); L226: if (pos >= end) { L227: break; // ERROR, or let it go? L228: } L229: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 12.5K bytes -
NotificationHelper.java
org.dbflute.mail.CardView; L30:import org.dbflute.mail.send.supplement.SMailPostingDiscloser; L31: L32:public class NotificationHelper { L33: private static final Logger logger = LogManager.getLogger(NotificationHelper.class); L34: L35: protected static final char LF = '\n'; L36: L37: public void send(final CardView cardView, final SMailPostingDiscloser discloser) { L38: sendToSlack(cardView, discloser); L39: sendToGoogleChat(cardView, discloser); L40: } L41: L42: protected void sendToSlack(final...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 5.1K bytes -
GoAction.java
final String value = URLUtil.decode(form.hash, Constants.UTF_8); L114: if (targetUrl.indexOf('#') == -1) { L115: final StringBuilder buf = new StringBuilder(value.length() + 100); L116: for (final char c : value.toCharArray()) { L117: if (CharUtil.isUrlChar(c) || c == ' ') { L118: buf.append(c); L119: } else { L120: try { L121: buf.appe...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 6.9K bytes -
PopularWordHelper.java
com.google.common.cache.CacheBuilder; L37: L38:import jakarta.annotation.PostConstruct; L39: L40:public class PopularWordHelper { L41: private static final Logger logger = LogManager.getLogger(PopularWordHelper.class); L42: L43: protected static final char CACHE_KEY_SPLITTER = '\n'; L44: L45: protected Cache<String, List<String>> cache; L46: L47: protected FessConfig fessConfig; L48: L49: @PostConstruct L50: public void init() { L51: if (logger.isDebugEnabled()) { L52: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 5.6K bytes -
DocumentUtil.java
().filter(req -> req.getCharacterEncoding() != null) L141: .map(HttpServletRequest::getCharacterEncoding).orElse(Constants.UTF_8); L142: final StringBuilder buf = new StringBuilder(url.length() + 100); L143: for (final char c : url.toCharArray()) { L144: if (CharUtil.isUrlChar(c)) { L145: buf.append(c); L146: } else { L147: try { L148: buf.append(URLEncoder.encode(String.valueOf(c), enc)); L149: ...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:53:18 UTC 2024 5K bytes -
CrawlingInfoHelper.java
}); L203: } L204: L205: protected String generateId(final String urlId) { L206: final StringBuilder encodedBuf = new StringBuilder(urlId.length() + 100); L207: for (int i = 0; i < urlId.length(); i++) { L208: final char c = urlId.charAt(i); L209: if (c >= 'a' && c <= 'z' // L210: || c >= 'A' && c <= 'Z' // L211: || c >= '0' && c <= '9' // L212: || c == '.' // L213: || c == '-' //...github.com/codelibs/fess/src/main/java/org/code...Thu Feb 22 01:37:57 UTC 2024 10.6K bytes -
FessProp.java
} L2137: L2138: String getQueryHighlightBoundaryChars(); L2139: L2140: default char[] getQueryHighlightBoundaryCharsAsArray() { L2141: final int[] values = getCrawlerDocumentCharsAsArray(QUERY_HIGHLIGHT_BOUNDARY_CHARS, getQueryHighlightBoundaryChars()); L2142: final char[] chars = new char[values.length]; L2143: for (int i = 0; i < values.length; i++) { L2144: chars[i] = (char) values[i]; L2145: } L2146: return chars; L2147: } L2148: L2149: ...github.com/codelibs/fess/src/main/java/org/code...Sat Oct 12 01:54:15 UTC 2024 87.2K bytes -
LabelTypeHelper.java
value; L245: L246: final SystemHelper systemHelper = ComponentUtil.getSystemHelper(); L247: if (StringUtil.isNotBlank(includedPaths)) { L248: final StringBuilder buf = new StringBuilder(100); L249: char split = 0; L250: for (final String path : includedPaths.split("\n")) { L251: if (split == 0) { L252: split = '|'; L253: } else { L254: buf.append(split);...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:20:39 UTC 2024 11.7K bytes -
ProtwordsFile.java
} L166: L167: private String unescape(final String s) { L168: if (s.indexOf('\\') >= 0) { L169: final StringBuilder sb = new StringBuilder(); L170: for (int i = 0; i < s.length(); i++) { L171: final char ch = s.charAt(i); L172: if (ch == '\\' && i < s.length() - 1) { L173: i++; L174: sb.append(s.charAt(i)); L175: } else { L176: sb.append(ch); L177: ...github.com/codelibs/fess/src/main/java/org/code...Fri Oct 11 21:11:58 UTC 2024 9.6K bytes