Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 40 for has_one (0.18 sec)

  1. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  2. platforms/jvm/testing-jvm/src/integTest/groovy/org/gradle/testing/AbstractTestFilteringIntegrationTest.groovy

                  filter {
                    includeTestsMatching "\${cls}.passOne" //make sure GStrings work
                    includeTestsMatching "\${cls}.passTwo"
                  }
                }
            """
            file("src/test/java/FooTest.java") << """
                ${testFrameworkImports}
                public class FooTest {
                    @Test public void passOne() {}
                    @Test public void passTwo() {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Sep 18 20:52:40 UTC 2023
    - 17.2K bytes
    - Viewed (0)
  3. testing/internal-integ-testing/src/test/groovy/org/gradle/test/fixtures/ivy/IvyDescriptorDependencyTest.groovy

            given:
            IvyDescriptorDependency ivyDescriptorDependency = new IvyDescriptorDependency(confs: [givenConf])
    
            when:
            boolean matchingConf = ivyDescriptorDependency.hasConf(expectedConf)
    
            then:
            matchingConf == result
    
            where:
            givenConf | expectedConf | result
            null      | 'compile'    | false
            'compile' | null         | false
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Apr 04 07:21:38 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. callbacks/delete.go

    			if !v {
    				continue
    			}
    
    			rel, ok := db.Statement.Schema.Relationships.Relations[column]
    			if !ok {
    				continue
    			}
    
    			switch rel.Type {
    			case schema.HasOne, schema.HasMany:
    				queryConds := rel.ToQueryConditions(db.Statement.Context, db.Statement.ReflectValue)
    				modelValue := reflect.New(rel.FieldSchema.ModelType).Interface()
    Registered: Wed Jun 12 16:27:09 UTC 2024
    - Last Modified: Fri Feb 25 02:48:23 UTC 2022
    - 5.6K bytes
    - Viewed (0)
  5. 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: Wed Jun 12 13:08:18 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/MediaType.java

          this.input = input;
        }
    
        @CanIgnoreReturnValue
        String consumeTokenIfPresent(CharMatcher matcher) {
          checkState(hasMore());
          int startPosition = position;
          position = matcher.negate().indexIn(input, startPosition);
          return hasMore() ? input.substring(startPosition, position) : input.substring(startPosition);
        }
    
        String consumeToken(CharMatcher matcher) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 07 16:17:10 UTC 2023
    - 46.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/net/MediaType.java

          this.input = input;
        }
    
        @CanIgnoreReturnValue
        String consumeTokenIfPresent(CharMatcher matcher) {
          checkState(hasMore());
          int startPosition = position;
          position = matcher.negate().indexIn(input, startPosition);
          return hasMore() ? input.substring(startPosition, position) : input.substring(startPosition);
        }
    
        String consumeToken(CharMatcher matcher) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Aug 07 16:17:10 UTC 2023
    - 46.2K bytes
    - Viewed (0)
  8. platforms/software/ivy/src/integTest/groovy/org/gradle/api/publish/ivy/IvyPublishJavaIntegTest.groovy

            javaLibrary.parsedIvy.dependencies["commons-beanutils:commons-beanutils:1.8.3"].exclusions[0].org == 'commons-logging'
            !javaLibrary.parsedIvy.dependencies["commons-dbcp:commons-dbcp:1.4"].transitiveEnabled()
            javaLibrary.parsedIvy.dependencies["org.apache.camel:camel-jackson:2.15.3"].hasConf("compile->default")
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Nov 15 16:36:23 UTC 2023
    - 49.8K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apiserver/pkg/storage/etcd3/store.go

    	}
    
    	if withRev != 0 {
    		options = append(options, clientv3.WithRev(withRev))
    	}
    
    	// loop until we have filled the requested limit from etcd or there are no more results
    	var lastKey []byte
    	var hasMore bool
    	var getResp *clientv3.GetResponse
    	var numFetched int
    	var numEvald int
    	// Because these metrics are for understanding the costs of handling LIST requests,
    	// get them recorded even in error cases.
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Fri May 10 11:56:42 UTC 2024
    - 35.2K bytes
    - Viewed (0)
  10. pilot/pkg/networking/apigen/apigen.go

    // A first attempt added a 'sync' record at the end. Based on feedback and common use, a
    // different approach can be used - for large responses, we can mark the last one as 'hasMore'
    // by adding a field to the envelope.
    
    // Generate implements the generate method for high level APIs, like Istio config types.
    // This provides similar functionality with MCP and :8080/debug/configz.
    //
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Thu Oct 05 19:01:38 UTC 2023
    - 5K bytes
    - Viewed (0)
Back to top