Search Options

Results per page
Sort
Preferred Languages
Advance

Results 231 - 240 of 6,241 for If (0.03 sec)

  1. cmd/batch-job-common-types.go

    func (sf BatchJobSizeFilter) InRange(sz int64) bool {
    	if sf.UpperBound > 0 && sz > int64(sf.UpperBound) {
    		return false
    	}
    
    	if sf.LowerBound > 0 && sz < int64(sf.LowerBound) {
    		return false
    	}
    	return true
    }
    
    // Validate checks if sf is a valid batch-job size filter
    func (sf BatchJobSizeFilter) Validate() error {
    	if sf.LowerBound > 0 && sf.UpperBound > 0 && sf.LowerBound >= sf.UpperBound {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jun 11 03:13:30 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/HashBiMap.java

            bucketEntry = bucketEntry.nextInVToKBucket) {
          if (bucketEntry == entry) {
            if (prevBucketEntry == null) {
              hashTableVToK[valueBucket] = entry.nextInVToKBucket;
            } else {
              prevBucketEntry.nextInVToKBucket = entry.nextInVToKBucket;
            }
            break;
          }
          prevBucketEntry = bucketEntry;
        }
    
        if (entry.prevInKeyInsertionOrder == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 13 14:11:58 UTC 2023
    - 24.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/CrawlerClientFactory.java

                if (creator != null) {
                    creator.register(this);
                }
            } catch (final Exception e) {
                if (logger.isDebugEnabled()) {
                    logger.debug("CrawlerClientCreator is unavailable.", e);
                }
            }
        }
    
        public void addClient(final String regex, final CrawlerClient client) {
            if (StringUtil.isBlank(regex)) {
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Feb 22 01:47:32 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  4. cmd/event-notification.go

    func (evnot *EventNotifier) set(bucket string, meta BucketMetadata) {
    	config := meta.notificationConfig
    	if config == nil {
    		return
    	}
    	region := globalSite.Region()
    	config.SetRegion(region)
    	if err := config.Validate(region, globalEventNotifier.targetList); err != nil {
    		if _, ok := err.(*event.ErrARNNotFound); !ok {
    			internalLogIf(GlobalContext, err)
    		}
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 21 22:22:24 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  5. tests/joins_test.go

    	var total int64
    	query.Count(&total)
    
    	var result User
    
    	if err := query.First(&result, user.ID).Error; err != nil {
    		t.Fatalf("Failed, got error: %v", err)
    	}
    
    	if result.ID != user.ID {
    		t.Fatalf("result's id, %d, doesn't match user's id, %d", result.ID, user.ID)
    	}
    	// should find company
    	if result.Company.ID != *user.CompanyID {
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Jun 17 03:58:13 UTC 2024
    - 15K bytes
    - Viewed (0)
  6. cmd/xl-storage-format-v2_gen.go

    	err = en.Append(0x80 | uint8(zb0001Len))
    	if err != nil {
    		return
    	}
    	if zb0001Len == 0 {
    		return
    	}
    	if (zb0001Mask & 0x1) == 0 { // if not omitted
    		// write "V2Obj"
    		err = en.Append(0xa5, 0x56, 0x32, 0x4f, 0x62, 0x6a)
    		if err != nil {
    			return
    		}
    		if z.ObjectV2 == nil {
    			err = en.WriteNil()
    			if err != nil {
    				return
    			}
    		} else {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Oct 22 15:30:50 UTC 2024
    - 55.5K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/misc/Tuple5.java

                }
            } else if (!value1.equals(other.value1)) {
                return false;
            }
            if (value2 == null) {
                if (other.value2 != null) {
                    return false;
                }
            } else if (!value2.equals(other.value2)) {
                return false;
            }
            if (value3 == null) {
                if (other.value3 != null) {
                    return false;
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 6.5K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/com/SmbComNegotiateResponse.java

        }
    
    
        @Override
        public boolean isValid ( CIFSContext ctx, SmbNegotiationRequest req ) {
            if ( getDialectIndex() > 10 ) {
                return false;
            }
    
            if ( ( this.server.scapabilities & SmbConstants.CAP_EXTENDED_SECURITY ) != SmbConstants.CAP_EXTENDED_SECURITY
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:52:42 UTC 2020
    - 15.4K bytes
    - Viewed (0)
  9. cmd/xl-storage.go

    	fi, err := Lstat(s.formatFile)
    	if err != nil {
    		// If the disk is still not initialized.
    		if osIsNotExist(err) {
    			if err = Access(s.drivePath); err == nil {
    				// Disk is present but missing `format.json`
    				return nil, errUnformattedDisk
    			}
    			if osIsNotExist(err) {
    				return nil, errDiskNotFound
    			} else if osIsPermission(err) {
    				return nil, errDiskAccessDenied
    			}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/cache/Striped64.java

              collide = false;
            } else if (!wasUncontended) // CAS already known to fail
            wasUncontended = true; // Continue after rehash
            else if (a.cas(v = a.value, fn(v, x))) break;
            else if (n >= NCPU || cells != as) collide = false; // At max size or stale
            else if (!collide) collide = true;
            else if (busy == 0 && casBusy()) {
              try {
                if (cells == as) { // Expand table unless stale
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jun 14 17:55:55 UTC 2024
    - 11.5K bytes
    - Viewed (0)
Back to top