Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 66 for case1 (0.03 sec)

  1. cmd/erasure-healing-common.go

    func convPartErrToInt(err error) int {
    	err = unwrapAll(err)
    	switch err {
    	case nil:
    		return checkPartSuccess
    	case errFileNotFound, errFileVersionNotFound:
    		return checkPartFileNotFound
    	case errFileCorrupt:
    		return checkPartFileCorrupt
    	case errVolumeNotFound:
    		return checkPartVolumeNotFound
    	case errDiskNotFound:
    		return checkPartDiskNotFound
    	default:
    		return checkPartUnknown
    	}
    }
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. cmd/warm-backend-gcs.go

    	switch reason {
    	case "required":
    		// Anonymous users does not have storage.xyz access to project 123.
    		fallthrough
    	case "keyInvalid":
    		fallthrough
    	case "forbidden":
    		err = PrefixAccessDenied{
    			Bucket: bucket,
    			Object: object,
    		}
    	case "invalid":
    		err = BucketNameInvalid{
    			Bucket: bucket,
    		}
    	case "notFound":
    		if object != "" {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/ConcurrentHashMultiset.java

          if (oldValue != 0) {
            int newValue = max(0, oldValue - occurrences);
            if (existingCounter.compareAndSet(oldValue, newValue)) {
              if (newValue == 0) {
                // Just CASed to 0; remove the entry to clean up the map. If the removal fails,
                // another thread has already replaced it with a new counter, which is fine.
                countMap.remove(element, existingCounter);
              }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.1K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        // Since the last element of the heap is from the bottom level, we
        // optimistically fill index position with elements from lower levels,
        // moving the hole down. In most cases this reduces the number of
        // comparisons with toTrickle, but in some cases we will need to bubble it
        // all the way up again.
        int vacated = heap.fillHoleAt(index);
        // Try to see if toTrickle can be bubbled up min levels.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionRemoveAllTester.java

      }
    
      /*
       * AbstractCollection fails the removeAll(null) test when the subject
       * collection is empty, but we'd still like to test removeAll(null) when we
       * can. We split the test into empty and non-empty cases. This allows us to
       * suppress only the former.
       */
    
      @CollectionFeature.Require(SUPPORTS_REMOVE)
      @CollectionSize.Require(ZERO)
      public void testRemoveAll_nullCollectionReferenceEmptySubject() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/MinMaxPriorityQueue.java

        // Since the last element of the heap is from the bottom level, we
        // optimistically fill index position with elements from lower levels,
        // moving the hole down. In most cases this reduces the number of
        // comparisons with toTrickle, but in some cases we will need to bubble it
        // all the way up again.
        int vacated = heap.fillHoleAt(index);
        // Try to see if toTrickle can be bubbled up min levels.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/base/Optional.java

       * }
       * }</pre>
       *
       * ... can be replaced with:
       *
       * <pre>{@code
       * possibleFoo.ifPresent(foo -> doSomethingWith(foo));
       * }</pre>
       *
       * <p><b>Java 9 users:</b> some use cases can be written with calls to {@code optional.stream()}.
       *
       * @since 11.0
       */
      public abstract Set<T> asSet();
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  8. cmd/erasure-object.go

    				ok = etag != "" && etag == fi.Metadata["etag"]
    			}
    			if ok {
    				continue
    			}
    		} // in all other cases metadata is corrupt, do not read from it.
    
    		onlineMeta[i] = FileInfo{}
    		onlineDisks[i] = nil
    	}
    
    	select {
    	case mrfCheck <- fi.ShallowCopy():
    	case <-ctx.Done():
    		return fi, onlineMeta, onlineDisks, toObjectErr(ctx.Err(), bucket, object)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/AbstractContainerTester.java

       * #expectContents(Object[]) expectContents(E...)} and other convenience methods. The creation of
       * multiple containers in a single method is discouraged in most cases, but it is vital to the
       * iterator tests.
       *
       * @return the new container instance
       * @param newValue the new container instance
       */
      @CanIgnoreReturnValue
      protected C resetContainer(C newValue) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  10. guava/src/com/google/common/io/CharSource.java

       * opening the data stream.
       *
       * <p>The default implementation returns {@link Optional#absent}. Some sources, such as a {@code
       * CharSequence}, may return a non-absent value. Note that in such cases, it is <i>possible</i>
       * that this method will return a different number of chars than would be returned by reading all
       * of the chars.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 25.5K bytes
    - Viewed (0)
Back to top