- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for hasRule (0.29 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImplTest.java
assertFalse(ruleManager.hasRule(rule2)); assertFalse(ruleManager.hasRule(rule3)); ruleManager.addRule(rule2); assertTrue(ruleManager.hasRule(rule2)); assertFalse(ruleManager.hasRule(rule3)); ruleManager.addRule(rule3); assertTrue(ruleManager.hasRule(rule2)); assertTrue(ruleManager.hasRule(rule3)); ruleManager.removeRule(rule2);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 6.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RuleManagerImpl.java
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 2.2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/RuleManager.java
*/ public interface RuleManager { Rule getRule(ResponseData responseData); void addRule(Rule rule); void addRule(int index, Rule rule); boolean removeRule(Rule rule); boolean hasRule(Rule rule);
Registered: Sun Nov 10 03:50:12 UTC 2024 - Last Modified: Thu Feb 22 01:36:27 UTC 2024 - 967 bytes - Viewed (0) -
cmd/site-replication.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Aug 15 12:04:40 UTC 2024 - 185.1K bytes - Viewed (0) -
src/archive/tar/strconv.go
// license that can be found in the LICENSE file. package tar import ( "bytes" "fmt" "strconv" "strings" "time" ) // hasNUL reports whether the NUL character exists within s. func hasNUL(s string) bool { return strings.Contains(s, "\x00") } // isASCII reports whether the input is an ASCII C-style string. func isASCII(s string) bool { for _, c := range s {
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Tue Aug 01 14:28:42 UTC 2023 - 9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/artifact/MavenMetadataSource.java
if (cached != null // if the POM has no file, we cached a missing artifact, only return the cached data if no update forced && (!request.isForceUpdate() || hasFile(cached.getPomArtifact()))) { return cached; } List<Dependency> dependencies; List<Dependency> managedDependencies = null;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 30.3K bytes - Viewed (0) -
internal/bucket/lifecycle/lifecycle_test.go
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu May 23 01:12:48 UTC 2024 - 55.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/mylasta/action/FessUserBean.java
} public String[] getGroups() { return user.getGroupNames(); } public boolean isEditable() { return user.isEditable(); } public boolean hasRole(final String role) { return stream(user.getRoleNames()).get(stream -> stream.anyMatch(s -> s.equals(role))); } public boolean hasRoles(final String[] acceptedRoles) {
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:37:57 UTC 2024 - 4.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/FessAdminAction.java
systemHelper.setupAdminHtmlData(this, runtime); final Boolean editable = getUserBean() .map(user -> user.hasRoles(fessConfig.getAuthenticationAdminRolesAsArray()) || user.hasRole(getActionRole())).orElse(false); runtime.registerData("editable", editable); runtime.registerData("editableClass", editable ? StringUtil.EMPTY : "disabled");
Registered: Thu Oct 31 13:40:30 UTC 2024 - Last Modified: Thu Feb 22 01:53:18 UTC 2024 - 5.2K bytes - Viewed (0) -
cmd/xl-storage-format-v2.go
// If data is not xlv2, it is returned in full. func readXLMetaNoData(r io.Reader, size int64) ([]byte, error) { initial := size hasFull := true if initial > metaDataReadDefault { initial = metaDataReadDefault hasFull = false } buf := metaDataPoolGet()[:initial] _, err := io.ReadFull(r, buf) if err != nil { return nil, fmt.Errorf("readXLMetaNoData(io.ReadFull): %w", err)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Oct 22 15:30:50 UTC 2024 - 64K bytes - Viewed (1)