Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1011 - 1020 of 1,129 for unsafe (0.04 seconds)

  1. android/guava/src/com/google/common/primitives/Booleans.java

       * values.
       *
       * <p>Elements are copied from the argument collection as if by {@code collection.toArray()}.
       * Calling this method is as thread-safe as calling that method.
       *
       * <p><b>Note:</b> consider representing the collection as a {@link java.util.BitSet} instead.
       *
       * @param collection a collection of {@code Boolean} objects
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Sep 25 15:01:23 GMT 2025
    - 20.6K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/reflect/TypeResolver.java

     * the context of {@code class MyStringList implements List<String>}). In such case, prefer to use
     * {@link TypeToken#resolveType} since it's simpler and more type safe. This class should only be
     * used when the type mapping isn't implied by the static type hierarchy, but provided through other
     * means such as an annotation or external configuration file.
     *
     * @author Ben Yu
     * @since 15.0
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Sep 23 22:30:05 GMT 2025
    - 25.3K bytes
    - Click Count (0)
  3. guava/src/com/google/common/collect/HashBiMap.java

          return next != null && remaining > 0;
        }
    
        @Override
        public final T next() {
          if (!hasNext()) {
            throw new NoSuchElementException();
          }
    
          // requireNonNull is safe because of the hasNext check.
          Node<K, V> node = requireNonNull(next);
          next = node.nextInKeyInsertionOrder;
          toRemove = node;
          remaining--;
          return output(node);
        }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Dec 26 20:08:09 GMT 2025
    - 25.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/collect/Streams.java

            this.holder = t;
          }
    
          @Override
          public boolean tryAdvance(Consumer<? super R> action) {
            if (fromSpliterator.tryAdvance(this)) {
              try {
                // The cast is safe because tryAdvance puts a T into `holder`.
                action.accept(function.apply(uncheckedCastNullableTToT(holder), index++));
                return true;
              } finally {
                holder = null;
              }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 36.4K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/base/Equivalence.java

            if (this.equivalence.equals(that.equivalence)) {
              /*
               * We'll accept that as sufficient "proof" that either equivalence should be able to
               * handle either reference, so it's safe to circumvent compile-time type checking.
               */
              @SuppressWarnings("unchecked")
              Equivalence<Object> equivalence = (Equivalence<Object>) this.equivalence;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Jul 10 01:47:55 GMT 2025
    - 14.5K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/graph/Graph.java

     * }
     *
     * <p>Instances of {@link ImmutableGraph} do not implement {@link MutableGraph} (obviously!) and are
     * contractually guaranteed to be unmodifiable and thread-safe.
     *
     * <p>The Guava User Guide has <a
     * href="https://github.com/google/guava/wiki/GraphsExplained#building-graph-instances">more
     * information on (and examples of) building graphs</a>.
     *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 13.6K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/math/Stats.java

       * following constraints. This is the callers responsibility and is not enforced here.
       *
       * <ul>
       *   <li>If {@code count} is 0, {@code mean} may have any finite value (its only usage will be to
       *       get multiplied by 0 to calculate the sum), and the other parameters may have any values
       *       (they will not be used).
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 25.1K bytes
    - Click Count (0)
  8. api/maven-api-settings/src/main/mdo/settings.mdo

              <type>String</type>
              <defaultValue>default,legacy</defaultValue>
              <description>
                The layouts of repositories being mirrored. This value can be used to restrict the usage
                of the mirror to repositories with a matching layout (apart from a matching id).
                @since Maven 3.
              </description>
            </field>
            <field>
              <name>blocked</name>
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Sun May 18 09:15:56 GMT 2025
    - 33.8K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/io/MoreFiles.java

              sdsSupported = true;
              exceptions =
                  deleteRecursivelySecure(
                      (SecureDirectoryStream<Path>) parent,
                      /*
                       * requireNonNull is safe because paths have file names when they have parents,
                       * and we checked for a parent at the beginning of the method.
                       */
                      requireNonNull(path.getFileName()));
            }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 34.6K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/graph/Traverser.java

              Iterator<? extends N> top = horizon.getFirst();
              while (top.hasNext()) {
                N element = top.next();
                // requireNonNull is safe because horizon contains only graph nodes.
                /*
                 * TODO(cpovirk): Replace these two statements with one (`N element =
                 * requireNonNull(top.next())`) once our checker supports it.
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Mar 11 01:10:31 GMT 2026
    - 19.3K bytes
    - Click Count (0)
Back to Top