Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 631 - 640 of 6,702 for If (0.03 seconds)

  1. tests/query_test.go

    	DB.Create(&user)
    
    	var result User
    	if DB.Where("").Where("").First(&result).Error != nil {
    		t.Errorf("Should not raise any error if searching with empty strings")
    	}
    
    	result = User{}
    	if DB.Where(&User{}).Where("name = ?", user.Name).First(&result).Error != nil {
    		t.Errorf("Should not raise any error if searching with empty struct")
    	}
    
    	result = User{}
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/opensearch/config/cbean/ca/bs/BsBadWordCA.java

            BadWordCQ cq = new BadWordCQ();
            if (queryLambda != null) {
                queryLambda.callback(cq);
            }
            FilterAggregationBuilder builder = regFilterA(name, cq.getQuery());
            if (opLambda != null) {
                opLambda.callback(builder);
            }
            if (aggsLambda != null) {
                BadWordCA ca = new BadWordCA();
                aggsLambda.callback(ca);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 46.6K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/fess/opensearch/log/cbean/cq/bs/BsSearchLogCQ.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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 145.5K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/artifact/ArtifactScopeEnum.java

         */
        public String getScope() {
            if (id == 1) {
                return Artifact.SCOPE_COMPILE;
            } else if (id == 2) {
                return Artifact.SCOPE_TEST;
    
            } else if (id == 3) {
                return Artifact.SCOPE_RUNTIME;
    
            } else if (id == 4) {
                return Artifact.SCOPE_PROVIDED;
            } else if (id == 5) {
                return Artifact.SCOPE_SYSTEM;
            } else {
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  5. internal/kms/kes.go

    	aad, err := req.AssociatedData.MarshalText()
    	if err != nil {
    		return nil, err
    	}
    
    	plaintext, err := c.client.Decrypt(context.Background(), req.Name, req.Ciphertext, aad)
    	if err != nil {
    		if errors.Is(err, kes.ErrKeyNotFound) {
    			return nil, ErrKeyNotFound
    		}
    		if errors.Is(err, kes.ErrDecrypt) {
    			return nil, ErrDecrypt
    		}
    		if errors.Is(err, kes.ErrNotAllowed) {
    			return nil, ErrPermission
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Aug 18 06:43:03 GMT 2024
    - 7.3K bytes
    - Click Count (0)
  6. src/main/java/jcifs/spnego/NegTokenInit.java

         */
        public void setContextFlags(final int contextFlags) {
            this.contextFlags = contextFlags;
        }
    
        /**
         * Checks if a specific context flag is set
         * @param flag the context flag to check
         * @return true if the flag is set, false otherwise
         */
        public boolean getContextFlag(final int flag) {
            return (getContextFlags() & flag) == flag;
        }
    
        /**
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/cbean/cq/bs/BsWebConfigCQ.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);
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 172.1K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Dispatcher.kt

          synchronized(this) {
            if (finishedCall != null) {
              check(runningSyncCalls.remove(finishedCall)) { "Call wasn't in-flight!" }
            }
    
            if (finishedAsyncCall != null) {
              finishedAsyncCall.callsPerHost.decrementAndGet()
              check(runningAsyncCalls.remove(finishedAsyncCall)) { "Call wasn't in-flight!" }
            }
    
            if (enqueuedCall != null) {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Oct 07 14:16:22 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  9. cmd/api-headers.go

    	// Set Etag if available.
    	if objInfo.ETag != "" {
    		w.Header()[xhttp.ETag] = []string{"\"" + objInfo.ETag + "\""}
    	}
    
    	if objInfo.ContentType != "" {
    		w.Header().Set(xhttp.ContentType, objInfo.ContentType)
    	}
    
    	if objInfo.ContentEncoding != "" {
    		w.Header().Set(xhttp.ContentEncoding, objInfo.ContentEncoding)
    	}
    
    	if !objInfo.Expires.IsZero() {
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 8.6K bytes
    - Click Count (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/http/form/Hc5FormScheme.java

            if (StringUtil.isBlank(loginUrl)) {
                if (logger.isDebugEnabled()) {
                    logger.debug("No login.url");
                }
                return;
            }
    
            final ClassicHttpRequest httpRequest;
            if (Constants.POST_METHOD.equalsIgnoreCase(loginHttpMethod)) {
    Created: Sun Apr 12 03:50:13 GMT 2026
    - Last Modified: Sun Jan 04 13:09:59 GMT 2026
    - 15.1K bytes
    - Click Count (0)
Back to Top