Search Options

Results per page
Sort
Preferred Languages
Advance

Results 381 - 390 of 455 for Unsafe (0.09 sec)

  1. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 24.2K bytes
    - Viewed (0)
  2. 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;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu May 16 14:34:47 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  3. tensorflow/c/c_api.h

    // * size_t is used to represent byte sizes of objects that are
    //   materialized in the address space of the calling process.
    // * int is used as an index into arrays.
    // * Deletion functions are safe to call on nullptr.
    //
    // Questions left to address:
    // * Might at some point need a way for callers to provide their own Env.
    // * Maybe add TF_TensorShape that encapsulates dimension info.
    //
    // Design decisions made:
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Thu Oct 26 21:08:15 UTC 2023
    - 82.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/LinkedHashMultimap.java

          @SuppressWarnings("unchecked")
          K key = (K) stream.readObject();
          @SuppressWarnings("unchecked")
          V value = (V) stream.readObject();
          /*
           * requireNonNull is safe for a properly serialized multimap: We've already inserted a
           * collection for each key that we expect.
           */
          requireNonNull(map.get(key)).add(value);
        }
        setMap(map);
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/Striped.java

        // objects indefinitely.
        private void drainQueue() {
          Reference<? extends L> ref;
          while ((ref = queue.poll()) != null) {
            // We only ever register ArrayReferences with the queue so this is always safe.
            ArrayReference<? extends L> arrayRef = (ArrayReference<? extends L>) ref;
            // Try to clear out the array slot, n.b. if we fail that is fine, in either case the
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jun 26 12:58:35 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  6. api/maven-api-plugin/src/main/mdo/plugin.mdo

            </field>
            <field>
              <name>threadSafe</name>
              <version>1.0.0/1.1.0</version>
              <type>boolean</type>
              <description>
                Marks this Mojo as being thread-safe, i.e. the Mojo safely supports concurrent execution during parallel
                builds. Mojos without this annotation will make Maven output a warning when used during a parallel build
                session.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Aug 16 14:16:22 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/PredicatesTest.java

        Predicate<@Nullable Integer> troo = Predicates.or(Collections.singletonList(TRUE));
        /*
         * newLinkedList() takes varargs. TRUE and FALSE are both instances of
         * Predicate<Integer>, so the call is safe.
         */
        Predicate<@Nullable Integer> trueAndFalse = Predicates.or(Arrays.asList(TRUE, FALSE));
    
        assertEvalsToFalse(vacuouslyFalse);
        assertEvalsToTrue(troo);
        assertEvalsToTrue(trueAndFalse);
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 32.4K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/StatsAccumulator.java

    import java.util.stream.LongStream;
    
    /**
     * A mutable object which accumulates double values and tracks some basic statistics over all the
     * values added so far. The values may be added singly or in groups. This class is not thread safe.
     *
     * @author Pete Gillin
     * @author Kevin Bourrillion
     * @since 20.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    public final class StatsAccumulator {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 23 16:45:30 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

             * only possible value for the type parameter is <E>, since otherwise the
             * MultiExceptionListIterator wouldn't be an Iterator<E>. The cast is safe, even though
             * javac can't tell.
             */
            @SuppressWarnings("unchecked")
            MultiExceptionListIterator multiExceptionListIterator =
                (MultiExceptionListIterator) reference;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 21.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/collect/ImmutableCollection.java

     *       appropriate factory method for details. View collections such as {@link
     *       ImmutableMultiset#elementSet} iterate in the same order as the parent, except as noted.
     *   <li><b>Thread safety.</b> It is safe to access this collection concurrently from multiple
     *       threads.
     *   <li><b>Integrity.</b> This type cannot be subclassed outside this package (which would allow
     *       these guarantees to be violated).
     * </ul>
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 12 16:59:15 UTC 2024
    - 18.8K bytes
    - Viewed (0)
Back to top