Search Options

Results per page
Sort
Preferred Languages
Advance

Results 911 - 920 of 6,241 for if (0.03 sec)

  1. tests/group_by_test.go

    		Birthday: Now(),
    		Active:   true,
    	}}
    
    	if err := DB.Create(&users).Error; err != nil {
    		t.Errorf("errors happened when create: %v", err)
    	}
    
    	var name string
    	var total int
    	if err := DB.Model(&User{}).Select("name, sum(age)").Where("name = ?", "groupby").Group("name").Row().Scan(&name, &total); err != nil {
    		t.Errorf("no error should happen, but got %v", err)
    	}
    
    	if name != "groupby" || total != 60 {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Jan 06 07:02:53 UTC 2022
    - 3.3K bytes
    - Viewed (0)
  2. apache-maven/src/main/appended-resources/licenses/EPL-2.0.txt

      property rights needed, if any. For example, if a third party
      patent license is required to allow Recipient to Distribute the
      Program, it is Recipient's responsibility to acquire that license
      before distributing the Program.
    
      d) Each Contributor represents that to its knowledge it has
      sufficient copyright rights in its Contribution, if any, to grant
      the copyright license set forth in this Agreement.
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Tue Jun 04 06:45:16 UTC 2024
    - 13.9K bytes
    - Viewed (0)
  3. common-protos/k8s.io/api/networking/v1beta1/generated.proto

      // Requests will be matched against the Host field in the following way:
      // 1. If Host is precise, the request matches this rule if the http host header is equal to Host.
      // 2. If Host is a wildcard, then the request matches this rule if the http host header
      // is to equal to the suffix (removing the first label) of the wildcard rule.
      // +optional
      optional string host = 1;
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  4. guava/src/com/google/common/math/LongMath.java

                + Long.numberOfLeadingZeros(b)
                + Long.numberOfLeadingZeros(~b);
        /*
         * If leadingZeros > Long.SIZE + 1 it's definitely fine, if it's < Long.SIZE it's definitely
         * bad. We do the leadingZeros check to avoid the division below if at all possible.
         *
         * Otherwise, if b == Long.MIN_VALUE, then the only allowed values of a are 0 and 1. We take
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/sso/spnego/SpnegoAuthenticator.java

                        return "5";
                    }
                    if (logger.isWarnEnabled()) {
                        return "6";
                    }
                    if (logger.isErrorEnabled()) {
                        return "7";
                    }
                    return "0";
                }
                if (SpnegoHttpFilter.Constants.LOGIN_CONF.equals(name)) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Sat Oct 12 01:54:46 UTC 2024
    - 11.2K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/es/config/cbean/cq/bs/BsRelatedContentCQ.java

            if (mustQuery.hasQueries() || shouldQuery.hasQueries() || mustNotQuery.hasQueries() || filterQuery.hasQueries()) {
                BoolQueryBuilder builder = regBoolCQ(mustQuery.getQueryBuilderList(), shouldQuery.getQueryBuilderList(),
                        mustNotQuery.getQueryBuilderList(), filterQuery.getQueryBuilderList());
                if (opLambda != null) {
                    opLambda.callback(builder);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 63.8K bytes
    - Viewed (0)
  7. cmd/server-main.go

    				}()
    			})
    		}
    
    		// if we see FTP args, start FTP if possible
    		if len(globalServerCtxt.FTP) > 0 {
    			bootstrapTrace("go startFTPServer", func() {
    				go startFTPServer(globalServerCtxt.FTP)
    			})
    		}
    
    		// If we see SFTP args, start SFTP if possible
    		if len(globalServerCtxt.SFTP) > 0 {
    			bootstrapTrace("go startSFTPServer", func() {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 24 21:50:11 UTC 2024
    - 35.2K bytes
    - Viewed (2)
  8. internal/kms/config.go

    // environment and returns a:
    //
    //   - connection to MinIO KMS if the "MINIO_KMS_SERVER" variable is present.
    //   - connection to MinIO KES if the "MINIO_KMS_KES_ENDPOINT" is present.
    //   - connection to a "local" KMS implementation using a static key if the
    //     "MINIO_KMS_SECRET_KEY" or "MINIO_KMS_SECRET_KEY_FILE" is present.
    //
    // It returns an error if connecting to the KMS implementation fails,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 15 11:46:39 UTC 2024
    - 14.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableTable.java

         * will throw an exception if there are duplicate key pairs. The {@code build()} method will
         * soon be deprecated.
         *
         * @throws IllegalArgumentException if duplicate key pairs were added
         */
        public ImmutableTable<R, C, V> build() {
          return buildOrThrow();
        }
    
        /**
         * Returns a newly-created immutable table, or throws an exception if duplicate key pairs were
         * added.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 17.5K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/artifact/resolver/DefaultResolutionErrorHandler.java

            // Version Range Violation
    
            if (result.hasVersionRangeViolations()) {
                throw result.getVersionRangeViolation(0);
            }
    
            // Transfer Error
    
            if (result.hasErrorArtifactExceptions()) {
                throw result.getErrorArtifactExceptions().get(0);
            }
    
            if (result.hasMissingArtifacts()) {
                throw new MultipleArtifactsNotFoundException(
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
Back to top