Search Options

Results per page
Sort
Preferred Languages
Advance

Results 291 - 300 of 6,449 for _return (0.11 sec)

  1. guava/src/com/google/common/collect/RangeSet.java

       * is empty.
       *
       * <p>This is equivalent to checking if this range set {@link #encloses} each range in {@code
       * other}.
       *
       * @since 21.0
       */
      default boolean enclosesAll(Iterable<Range<C>> other) {
        for (Range<C> range : other) {
          if (!encloses(range)) {
            return false;
          }
        }
        return true;
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/Interners.java

          return this;
        }
    
        public <E> Interner<E> build() {
          if (!strong) {
            mapMaker.weakKeys();
          }
          return new InternerImpl<>(mapMaker);
        }
      }
    
      /** Returns a fresh {@link InternerBuilder} instance. */
      public static InternerBuilder newBuilder() {
        return new InternerBuilder();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Mar 13 14:30:51 UTC 2023
    - 5.9K bytes
    - Viewed (0)
  3. cmd/endpoint-ellipses.go

    						if err := endpointsList.add(ep); err != nil {
    							return layout, err
    						}
    					}
    				}
    			case ellipses.HasEllipses(arg):
    				patterns, err := ellipses.FindEllipsesPatterns(arg)
    				if err != nil {
    					return layout, err
    				}
    				for _, exp := range patterns.Expand() {
    					if err := endpointsList.add(strings.Join(exp, "")); err != nil {
    						return layout, err
    					}
    				}
    			default:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Aug 14 17:11:51 UTC 2024
    - 14.7K bytes
    - Viewed (0)
  4. cmd/lock-rest-client.go

    	return c.call(ctx, lockRPCUnlock, &args)
    }
    
    // ForceUnlock calls force unlock handler to forcibly unlock an active lock.
    func (c *lockRESTClient) ForceUnlock(ctx context.Context, args dsync.LockArgs) (reply bool, err error) {
    	return c.call(ctx, lockRPCForceUnlock, &args)
    }
    
    func newLockAPI(endpoint Endpoint) dsync.NetLocker {
    	if endpoint.IsLocal {
    		return globalLockServer
    	}
    	return newlockRESTClient(endpoint)
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  5. cmd/object-handlers-common.go

    	// use mtime < t+1s instead of mtime <= t to check for unmodified.
    	return objTime.After(givenTime.Add(1 * time.Second))
    }
    
    // canonicalizeETag returns ETag with leading and trailing double-quotes removed,
    // if any present
    func canonicalizeETag(etag string) string {
    	return etagRegex.ReplaceAllString(etag, "$1")
    }
    
    // isETagEqual return true if the canonical representations of two ETag strings
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 03 06:33:53 UTC 2024
    - 15.3K bytes
    - Viewed (0)
  6. internal/event/targetidset.go

    type TargetIDSet map[TargetID]struct{}
    
    // IsEmpty returns true if the set is empty.
    func (set TargetIDSet) IsEmpty() bool {
    	return len(set) != 0
    }
    
    // Clone - returns copy of this set.
    func (set TargetIDSet) Clone() TargetIDSet {
    	setCopy := NewTargetIDSet()
    	for k, v := range set {
    		setCopy[k] = v
    	}
    	return setCopy
    }
    
    // add - adds TargetID to the set.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  7. cmd/bucket-replication-utils_gen.go

    			return
    		}
    		err = za0002.EncodeMsg(en)
    		if err != nil {
    			err = msgp.WrapError(err, "TargetsMap", za0001)
    			return
    		}
    	}
    	// write "id"
    	err = en.Append(0xa2, 0x69, 0x64)
    	if err != nil {
    		return
    	}
    	err = en.WriteInt(z.ID)
    	if err != nil {
    		err = msgp.WrapError(err, "ID")
    		return
    	}
    	// write "lu"
    	err = en.Append(0xa2, 0x6c, 0x75)
    	if err != nil {
    		return
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Mar 21 17:21:35 UTC 2024
    - 61.1K bytes
    - Viewed (0)
  8. compat/maven-artifact/src/main/java/org/apache/maven/artifact/handler/ArtifactHandler.java

        /**
         * Returns the file name extension of the artifact;
         * e.g. "jar", "pom", "xml", etc.
         *
         * @return the file extension
         */
        String getExtension();
    
        String getDirectory();
    
        /**
         * Returns the default classifier used if a different one is not set in pom.xml.
         *
         * @return the classifier
         */
        String getClassifier();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  9. internal/bucket/lifecycle/and.go

    	}
    
    	if predCount < 2 {
    		return errXMLNotWellFormed
    	}
    
    	if a.ContainsDuplicateTag() {
    		return errDuplicateTagKey
    	}
    	for _, t := range a.Tags {
    		if err := t.Validate(); err != nil {
    			return err
    		}
    	}
    
    	if a.ObjectSizeGreaterThan < 0 || a.ObjectSizeLessThan < 0 {
    		return errXMLNotWellFormed
    	}
    	return nil
    }
    
    // ContainsDuplicateTag - returns true if duplicate keys are present in And
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Jan 18 07:03:17 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. cmd/bucket-replication.go

    	// ignore modtime zero objects
    	if oi.ModTime.IsZero() {
    		return roi
    	}
    
    	if isVeeamSOSAPIObject(oi.Name) {
    		return roi
    	}
    	if rcfg.Config == nil || rcfg.remotes == nil {
    		return roi
    	}
    	roi = getHealReplicateObjectInfo(oi, rcfg)
    	roi.RetryCount = uint32(retryCount)
    	if !roi.Dsc.ReplicateAny() {
    		return
    	}
    	// early return if replication already done, otherwise we need to determine if this
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 06:49:55 UTC 2024
    - 116.1K bytes
    - Viewed (0)
Back to top