Search Options

Results per page
Sort
Preferred Languages
Advance

Results 131 - 140 of 7,014 for rreturn (0.06 sec)

  1. android/guava/src/com/google/common/math/ParametricNullness.java

     *
     * <ul>
     *   <li>methods whose return type is a type variable but which can never return {@code null},
     *       typically because the type forbids nullable type arguments: For example, {@code
     *       ImmutableList.get} returns {@code E}, but that value is never {@code null}. (Accordingly,
     *       {@code ImmutableList} is declared to forbid {@code ImmutableList<@Nullable String>}.)
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Aug 10 21:27:51 UTC 2022
    - 4.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/hash/HashCode.java

        }
        return fromBytesNoCopy(bytes);
      }
    
      private static int decode(char ch) {
        if (ch >= '0' && ch <= '9') {
          return ch - '0';
        }
        if (ch >= 'a' && ch <= 'f') {
          return ch - 'a' + 10;
        }
        throw new IllegalArgumentException("Illegal hexadecimal character: " + ch);
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 19:54:59 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  3. guava/src/com/google/common/graph/EndpointPair.java

          }
    
          EndpointPair<?> other = (EndpointPair<?>) obj;
          if (isOrdered() != other.isOrdered()) {
            return false;
          }
    
          return source().equals(other.source()) && target().equals(other.target());
        }
    
        @Override
        public int hashCode() {
          return Objects.hashCode(source(), target());
        }
    
        @Override
        public String toString() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 8.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ImmutableRangeSet.java

      public ImmutableSet<Range<C>> asRanges() {
        if (ranges.isEmpty()) {
          return ImmutableSet.of();
        }
        return new RegularImmutableSortedSet<>(ranges, Range.<C>rangeLexOrdering());
      }
    
      @Override
      public ImmutableSet<Range<C>> asDescendingSetOfRanges() {
        if (ranges.isEmpty()) {
          return ImmutableSet.of();
        }
        return new RegularImmutableSortedSet<>(ranges.reverse(), Range.<C>rangeLexOrdering().reverse());
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/cache/TestingCacheLoaders.java

        return new ConstantLoader<>(constant);
      }
    
      /** Returns a {@link CacheLoader} that returns the given {@code constant} for every request. */
      static IncrementingLoader incrementingLoader() {
        return new IncrementingLoader();
      }
    
      /** Returns a {@link CacheLoader} that throws the given error for every request. */
      static <K, V> CacheLoader<K, V> errorLoader(final Error e) {
        checkNotNull(e);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  6. cmd/object-api-errors.go

    	return "Object name invalid: " + e.Bucket + "/" + e.Object
    }
    
    // Error returns string an error formatted as the given text.
    func (e ObjectNameTooLong) Error() string {
    	return "Object name too long: " + e.Bucket + "/" + e.Object
    }
    
    // Error returns string an error formatted as the given text.
    func (e ObjectNamePrefixAsSlash) Error() string {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Aug 09 02:05:14 UTC 2024
    - 22.1K bytes
    - Viewed (0)
  7. guava/src/com/google/common/collect/MapMakerInternalMap.java

      E getEntry(@CheckForNull Object key) {
        if (key == null) {
          return null;
        }
        int hash = hash(key);
        return segmentFor(hash).getEntry(key, hash);
      }
    
      @Override
      public boolean containsKey(@CheckForNull Object key) {
        if (key == null) {
          return false;
        }
        int hash = hash(key);
        return segmentFor(hash).containsKey(key, hash);
      }
    
      @Override
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 90.8K bytes
    - Viewed (0)
  8. api/maven-api-core/src/main/java/org/apache/maven/api/services/ChecksumAlgorithmService.java

        /**
         * Calculates checksums for specified stream. Upon this method returns, the stream will be depleted (fully read)
         * but not closed.
         *
         * @param stream      The stream for which to calculate checksums, must not be {@code null}.
         * @param algorithms  The checksum algorithms to use, must not be {@code null}.
         * @return The calculated checksums, indexed by algorithms, never {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  9. internal/grid/manager.go

    		return ErrHandlerAlreadyExists
    	}
    	m.handlers.subStreams[subID] = &h
    	// Copy so clients can also pick it up for other subpaths.
    	m.handlers.subStreams[makeZeroSubHandlerID(id)] = &h
    	return nil
    }
    
    // HostName returns the name of the local host.
    func (m *Manager) HostName() string {
    	return m.local
    }
    
    // Targets returns the names of all remote targets.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 29 18:10:04 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  10. internal/arn/arn.go

    	if len(ps) != 6 || ps[0] != string(arnPrefixArn) {
    		err = errors.New("invalid ARN string format")
    		return
    	}
    
    	if ps[1] != string(arnPartitionMinio) {
    		err = errors.New("invalid ARN - bad partition field")
    		return
    	}
    
    	if ps[2] != string(arnServiceIAM) {
    		err = errors.New("invalid ARN - bad service field")
    		return
    	}
    
    	// ps[3] is region and is not validated here. If the region is invalid,
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Apr 04 08:31:34 UTC 2024
    - 3.5K bytes
    - Viewed (0)
Back to top