Search Options

Results per page
Sort
Preferred Languages
Advance

Results 741 - 750 of 6,449 for _return (0.07 sec)

  1. cmd/erasure-decode.go

    	}
    	wg.Wait()
    	if p.canDecode(newBuf) {
    		p.offset += p.shardSize
    		if missingPartsHeal == 1 {
    			return newBuf, errFileNotFound
    		} else if bitrotHeal == 1 {
    			return newBuf, errFileCorrupt
    		}
    		return newBuf, nil
    	}
    
    	// If we cannot decode, just return read quorum error.
    	return nil, fmt.Errorf("%w (offline-disks=%d/%d)", errErasureReadQuorum, disksNotFound, len(p.readers))
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 29 01:40:52 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/AbstractIndexedListIterator.java

      public final boolean hasNext() {
        return position < size;
      }
    
      @Override
      @ParametricNullness
      public final E next() {
        if (!hasNext()) {
          throw new NoSuchElementException();
        }
        return get(position++);
      }
    
      @Override
      public final int nextIndex() {
        return position;
      }
    
      @Override
      public final boolean hasPrevious() {
        return position > 0;
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 09 17:31:04 UTC 2021
    - 3.2K bytes
    - Viewed (0)
  3. docs/sts/web-identity.go

    	d := DiscoveryDoc{}
    	req, err := http.NewRequest(http.MethodGet, ustr, nil)
    	if err != nil {
    		return d, err
    	}
    	clnt := http.Client{
    		Transport: http.DefaultTransport,
    	}
    	resp, err := clnt.Do(req)
    	if err != nil {
    		return d, err
    	}
    	defer resp.Body.Close()
    	if resp.StatusCode != http.StatusOK {
    		return d, fmt.Errorf("unexpected error returned by %s : status(%s)", ustr, resp.Status)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 19 09:13:33 UTC 2023
    - 7.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/ClassPathUtil.java

            error.initCause(e);
            throw error;
          }
        }
        return urls.build().toArray(new URL[0]);
      }
    
      /** Returns the URLs in the class path. */
      static URL[] getClassPathUrls() {
        return ClassPathUtil.class.getClassLoader() instanceof URLClassLoader
            ? ((URLClassLoader) ClassPathUtil.class.getClassLoader()).getURLs()
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 13 20:26:15 UTC 2017
    - 2.3K bytes
    - Viewed (0)
  5. cmd/erasure-healing.go

    			if err != nil {
    				return err
    			}
    			if len(entries) > 0 {
    				return errVolumeNotEmpty
    			}
    			return nil
    		}, index)
    	}
    
    	return g.Wait()
    }
    
    func isAllVolumeNotFound(errs []error) bool {
    	return countErrs(errs, errVolumeNotFound) == len(errs)
    }
    
    // isAllNotFound will return if any element of the error slice is not
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Wed Oct 02 17:50:41 UTC 2024
    - 34.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractMultimap.java

          return entryIterator();
        }
    
        @Override
        public Spliterator<Entry<K, V>> spliterator() {
          return entrySpliterator();
        }
      }
    
      @WeakOuter
      class EntrySet extends Entries implements Set<Entry<K, V>> {
        @Override
        public int hashCode() {
          return Sets.hashCodeImpl(this);
        }
    
        @Override
        public boolean equals(@CheckForNull Object obj) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jun 15 21:08:00 UTC 2021
    - 7.1K bytes
    - Viewed (0)
  7. api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java

         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> force();
    
        /**
         * Should imply "yes" to all questions.
         *
         * @return an {@link Optional} containing the boolean value {@code true} if specified, or empty
         */
        Optional<Boolean> yes();
    
        /**
         * Returns the list of encryption goals to be executed.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Oct 14 19:57:22 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. cmd/object-api-input-checks.go

    	if len(object) == 0 {
    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	if !IsValidObjectPrefix(object) {
    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	if runtime.GOOS == globalWindowsOSName && strings.Contains(object, "\\") {
    		// Objects cannot be contain \ in Windows and is listed as `Characters to Avoid`.
    		return ObjectNameInvalid{Bucket: bucket, Object: object}
    	}
    	return nil
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 12:04:40 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/auth/chain/CommandChain.java

                return executeCommand(updateCommand, username, password) == 0;
            }
            return true;
        }
    
        @Override
        public User load(final User user) {
            return user;
        }
    
        protected boolean isTargetUser(final String username) {
            if (targetUsers == null) {
                return true;
            }
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Feb 22 01:37:57 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  10. api/maven-api-core/src/main/java/org/apache/maven/api/services/MessageBuilderFactory.java

         * @return whether color styling is supported or not
         */
        boolean isColorEnabled();
    
        /**
         * Returns the terminal width or <code>-1</code> if not supported.
         * @return the terminal width
         */
        int getTerminalWidth();
    
        /**
         * Creates a new message builder.
         * @return a new message builder
         */
        @Nonnull
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Mon Jan 08 10:37:09 UTC 2024
    - 1.8K bytes
    - Viewed (0)
Back to top