- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 464 for pattern2 (0.04 sec)
-
src/test/java/jcifs/spnego/SpnegoConstantsTest.java
import java.util.Map; import java.util.regex.Pattern; import org.junit.jupiter.api.DisplayName; import org.junit.jupiter.api.Test; /** * Tests for SpnegoConstants interface. * Verifies constant values, modifiers, types, and structural properties. */ class SpnegoConstantsTest { // Simple OID format: numbers separated by dots (at least one dot) private static final Pattern OID_PATTERN = Pattern.compile("\\d+(?:\\.\\d+)+");
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.7K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/lock/Smb2OplockBreakNotificationTest.java
fileIdField.setAccessible(true); assertArrayEquals(fileId, (byte[]) fileIdField.get(notification)); } @Test @DisplayName("Should read file ID correctly with various patterns") void testReadFileIdPatterns() throws Exception { // Test with all zeros byte[] zeroFileId = new byte[16]; testFileIdReading(zeroFileId);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 17.6K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ThreadFactoryBuilder.java
* example, {@code "rpc-pool-%d"} will generate thread names like {@code "rpc-pool-0"}, {@code * "rpc-pool-1"}, {@code "rpc-pool-2"}, etc. * @return this for the builder pattern */ @CanIgnoreReturnValue public ThreadFactoryBuilder setNameFormat(String nameFormat) { String unused = format(nameFormat, 0); // fail fast if the format is bad or null this.nameFormat = nameFormat;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:35:26 UTC 2025 - 9K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/opensearch/config/exentity/PathMapping.java
public class PathMapping extends BsPathMapping { private static final Logger logger = LogManager.getLogger(PathMapping.class); private static final long serialVersionUID = 1L; protected Pattern userAgentPattern; protected Pattern regexPattern; protected BiFunction<String, Matcher, String> pathMapperFunc; public String getId() { return asDocMeta().id(); }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Mar 15 06:53:53 UTC 2025 - 3.3K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/ds/callback/FileListIndexUpdateCallbackImplTest.java
assertFalse(result2); assertTrue(paramMap.get("url_exclude_pattern") instanceof Pattern); } public void test_isUrlCrawlable_excludePatternAsPattern() { DataStoreParams paramMap = new DataStoreParams(); Pattern pattern = Pattern.compile(".*\\.jpg$"); paramMap.put("url_exclude_pattern", pattern);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 23:31:00 UTC 2025 - 7.2K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/Artifact.java
@Deprecated(since = "4.0.0") String RELEASE_VERSION = "RELEASE"; @Deprecated(since = "4.0.0") String LATEST_VERSION = "LATEST"; String SNAPSHOT_VERSION = "SNAPSHOT"; Pattern VERSION_FILE_PATTERN = Pattern.compile("^(.*)-(\\d{8}\\.\\d{6})-(\\d+)$"); // TODO into artifactScope handler String SCOPE_COMPILE = "compile"; String SCOPE_COMPILE_PLUS_RUNTIME = "compile+runtime";
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/SitemapsRuleTest.java
sitemapsRule.addRule("url", Pattern.compile(".*sitemap.*")); assertTrue(sitemapsRule.match(responseData)); InputStream is = responseData.getResponseBody(); assertTrue(is instanceof InputStream); CloseableUtil.closeQuietly(responseData); } private void assertMatchFalse(ResponseData responseData) { sitemapsRule.addRule("url", Pattern.compile(".*sitemap.*"));
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 4.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/helper/ViewHelper.java
} return getQuerySet().map(querySet -> { final String pattern = querySet.stream().map(LaFunctions::h).map(Pattern::quote).collect(Collectors.joining("|")); if (StringUtil.isBlank(pattern)) { return null; } final Matcher matcher = Pattern.compile(pattern, Pattern.CASE_INSENSITIVE | Pattern.UNICODE_CASE).matcher(value);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 52.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/transformer/impl/HtmlTransformer.java
* @return the parsed charset name, or null if not found */ protected String parseCharset(final String content) { final Pattern pattern = Pattern.compile("; *charset *= *([a-zA-Z0-9\\-_]+)", Pattern.CASE_INSENSITIVE); final Matcher matcher = pattern.matcher(content); if (matcher.find()) { return matcher.group(1); } return null; } /**
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 28.5K bytes - Viewed (0) -
docs/en/docs/tutorial/query-params-str-validations.md
You can define a <abbr title="A regular expression, regex or regexp is a sequence of characters that define a search pattern for strings.">regular expression</abbr> `pattern` that the parameter should match: {* ../../docs_src/query_params_str_validations/tutorial004_an_py310.py hl[11] *} This specific regular expression pattern checks that the received parameter value: * `^`: starts with the following characters, doesn't have characters before.
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 17.2K bytes - Viewed (0)