Search Options

Results per page
Sort
Preferred Languages
Advance

Results 281 - 290 of 6,369 for _return (0.06 sec)

  1. android/guava/src/com/google/common/collect/Sets.java

          return delegate;
        }
    
        @Override
        public boolean contains(@CheckForNull Object object) {
          if (!(object instanceof List)) {
            return false;
          }
          List<?> list = (List<?>) object;
          if (list.size() != axes.size()) {
            return false;
          }
          int i = 0;
          for (Object o : list) {
            if (!axes.get(i).contains(o)) {
              return false;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 21 14:28:19 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  2. 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)
  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. 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)
  5. 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)
  6. 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)
  7. 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)
  8. 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)
  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/dummy-data-generator_test.go

    		n -= int(extraBytes)
    		if n < 0 {
    			n = 0
    		}
    		err = io.EOF
    	}
    	return
    }
    
    func (d *DummyDataGen) Seek(offset int64, whence int) (int64, error) {
    	switch whence {
    	case io.SeekStart:
    		if offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx = offset
    	case io.SeekCurrent:
    		if d.idx+offset < 0 {
    			return 0, errors.New("Invalid offset")
    		}
    		d.idx += offset
    	case io.SeekEnd:
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 02 15:13:05 UTC 2024
    - 4.7K bytes
    - Viewed (0)
Back to top