Search Options

Results per page
Sort
Preferred Languages
Advance

Results 551 - 560 of 6,241 for if (0.03 sec)

  1. cmd/notification.go

    	if nerrs <= 0 {
    		nerrs = 1
    	}
    	if wks > nerrs {
    		wks = nerrs
    	}
    	wk, _ := workers.New(wks)
    	return &NotificationGroup{errs: make([]NotificationPeerErr, nerrs), workers: wk, retryCount: 3}
    }
    
    // WithRetries sets the retry count for all function calls from the Go method.
    func (g *NotificationGroup) WithRetries(retryCount int) *NotificationGroup {
    	if g != nil {
    		g.retryCount = retryCount
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 46.2K bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/Config.java

                if( filename != null && filename.length() > 1 ) {
                    in = new FileInputStream( filename );
                }
                Config.load( in );
                if (in != null)
                    in.close();
            } catch( IOException ioe ) {
                if( log.level > 0 )
                    ioe.printStackTrace( log );
            }
    
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 11.3K bytes
    - Viewed (0)
  3. tests/prepared_stmt_test.go

    	defer func() {
    		if r := recover(); r != nil {
    			tx.Rollback()
    		}
    	}()
    	if err := tx.Error; err != nil {
    		t.Errorf("Failed to start transaction, got error %v\n", err)
    	}
    
    	if err := tx.Where("name=?", "zzjin").Delete(&User{}).Error; err != nil {
    		tx.Rollback()
    		t.Errorf("Failed to run one transaction, got error %v\n", err)
    	}
    
    	if err := tx.Create(&User{Name: "zzjin"}).Error; err != nil {
    		tx.Rollback()
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Thu Aug 22 11:02:05 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  4. src/main/java/org/codelibs/fess/dict/mapping/CharMappingItem.java

        }
    
        public void sort() {
            if (inputs != null) {
                Arrays.sort(inputs);
            }
            if (newInputs != null) {
                Arrays.sort(newInputs);
            }
        }
    
        @Override
        public int hashCode() {
            return Objects.hash(Arrays.hashCode(inputs), output);
        }
    
        @Override
        public boolean equals(final Object obj) {
            if (this == obj) {
                return true;
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  5. 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 {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  6. fess-crawler/src/main/java/org/codelibs/fess/crawler/rule/impl/RegexRule.java

                final Object obj = map.get(entry.getKey());
                if (obj != null) {
                    value = obj.toString();
                }
                final Matcher matcher = entry.getValue().matcher(value);
                if (allRequired) {
                    if (!matcher.matches()) {
                        return false;
                    }
                } else if (matcher.matches()) {
                    return true;
                }
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Sat Oct 12 01:40:57 UTC 2024
    - 3.4K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/fess/helper/CrawlingInfoHelper.java

            if (crawlingInfo == null) {
                logger.warn("No crawling session: {}", sessionId);
                return;
            }
            if (StringUtil.isNotBlank(name)) {
                crawlingInfo.setName(name);
            } else {
                crawlingInfo.setName(Constants.CRAWLING_INFO_SYSTEM_NAME);
            }
            if (dayForCleanup >= 0) {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  8. src/main/java/org/codelibs/fess/helper/WebFsIndexHelper.java

                    if (!urlValue.startsWith("#")) {
                        final String u;
                        if (!protocolHelper.isValidFileProtocol(urlValue)) {
                            if (urlValue.startsWith("/")) {
                                u = "file:" + urlValue;
                            } else {
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:11:58 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  9. internal/s3select/sql/value.go

    	// Check if either is nil
    	if v.IsNull() || a.IsNull() {
    		// If one is, both must be.
    		return boolCompare(op, v.IsNull(), a.IsNull())
    	}
    
    	if a.IsMissing() || v.IsMissing() {
    		// If one is, both must be.
    		return boolCompare(op, v.IsMissing(), a.IsMissing())
    	}
    
    	// Check array values
    	aArr, aOK := a.ToArray()
    	vArr, vOK := v.ToArray()
    	if aOK && vOK {
    		return arrayCompare(op, aArr, vArr)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 25 20:31:19 UTC 2022
    - 20.2K bytes
    - Viewed (0)
  10. cmd/metacache-bucket.go

    	if serverDebugLog {
    		console.Debugf(format+"\n", data...)
    	}
    }
    
    // findCache will attempt to find a matching cache for the provided options.
    // If a cache with the same ID exists already it will be returned.
    // If none can be found a new is created with the provided ID.
    func (b *bucketMetacache) findCache(o listPathOptions) metacache {
    	if b == nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 6.6K bytes
    - Viewed (0)
Back to top