Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 535 for Rust (0.15 sec)

  1. android/guava/src/com/google/common/graph/MutableNetwork.java

       * {@code edge} will be undirected in this graph.
       *
       * <p>If this graph is directed, {@code endpoints} must be ordered.
       *
       * <p><b>{@code edge} must be unique to this graph</b>, just as a {@code Map} key must be. It must
       * also be non-null.
       *
       * <p>If either or both endpoints are not already present in this graph, this method will silently
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 26 17:43:39 GMT 2021
    - 4.4K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/AbstractFutureInnocuousThreadTest.java

                }
              }
            };
        System.setSecurityManager(disallowPropertySecurityManager);
    
        settableFutureClass = classReloader.loadClass(SettableFuture.class.getName());
    
        /*
         * We must keep the SecurityManager installed during the test body: It affects what kind of
         * threads ForkJoinPool.commonPool() creates.
         */
      }
    
      @Override
      protected void tearDown() throws Exception {
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Dec 16 19:54:45 GMT 2020
    - 5.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/escape/CharEscaper.java

          // If no replacement is needed, just continue.
          if (r == null) {
            continue;
          }
    
          int rlen = r.length;
          int charsSkipped = index - lastEscape;
    
          // This is the size needed to add the replacement, not the full size
          // needed by the string. We only regrow when we absolutely must, and
          // when we do grow, grow enough to avoid excessive growing. Grow.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jan 18 20:55:09 GMT 2022
    - 6.7K bytes
    - Viewed (0)
  4. guava/src/com/google/common/base/Suppliers.java

      }
    
      @VisibleForTesting
      static class NonSerializableMemoizingSupplier<T extends @Nullable Object> implements Supplier<T> {
        @SuppressWarnings("UnnecessaryLambda") // Must be a fixed singleton object
        private static final Supplier<Void> SUCCESSFULLY_COMPUTED =
            () -> {
              throw new IllegalStateException(); // Should never get called.
            };
    
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 15.3K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/hash/HashingTest.java

        HashTestUtils.assertInvariants(Hashing.fingerprint2011());
        assertEquals("Hashing.fingerprint2011()", Hashing.fingerprint2011().toString());
      }
    
      @AndroidIncompatible // slow TODO(cpovirk): Maybe just reduce iterations under Android.
      public void testGoodFastHash() {
        for (int i = 1; i < 200; i += 17) {
          HashFunction hasher = Hashing.goodFastHash(i);
          assertTrue(hasher.bits() >= i);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/Helpers.java

            return 0;
          }
          if (lhs == null) {
            // lhs (null) comes just before justAfterNull.
            // If rhs is b, lhs comes first.
            if (rhs.equals(justAfterNull)) {
              return -1;
            }
            return justAfterNull.compareTo(rhs);
          }
          if (rhs == null) {
            // rhs (null) comes just before justAfterNull.
            // If lhs is b, rhs comes first.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 17.7K bytes
    - Viewed (0)
  7. guava/src/com/google/common/base/Equivalence.java

       * }</pre>
       *
       * <p>{@code function} will never be invoked with a null value.
       *
       * <p>Note that {@code function} must be consistent according to {@code this} equivalence
       * relation. That is, invoking {@link Function#apply} multiple times for a given value must return
       * equivalent results. For example, {@code
       * Equivalence.identity().onResultOf(Functions.toStringFunction())} is broken because it's not
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/base/Equivalence.java

       * }</pre>
       *
       * <p>{@code function} will never be invoked with a null value.
       *
       * <p>Note that {@code function} must be consistent according to {@code this} equivalence
       * relation. That is, invoking {@link Function#apply} multiple times for a given value must return
       * equivalent results. For example, {@code
       * Equivalence.identity().onResultOf(Functions.toStringFunction())} is broken because it's not
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Apr 24 01:41:50 GMT 2024
    - 14.1K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMultiset.java

        /*
         * The number of used positions in the elements array.  We deduplicate periodically, so this
         * may fluctuate up and down.
         */
        private int length;
    
        // True if we just called build() and the elements array is being used by a created ISM, meaning
        // we shouldn't modify that array further.
        private boolean forceCopyElements;
    
        /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 35.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/StandardTable.java

        }
    
        @Override
        public void remove() {
          columnIterator.remove();
          /*
           * requireNonNull is safe because:
           *
           * - columnIterator.remove() succeeded, so it must have returned a value, so it must have been
           * initialized by next() -- which initializes rowEntry, too.
           *
           * - rowEntry isn't cleared except below. If it was cleared below, then either
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Oct 13 14:11:58 GMT 2023
    - 29.8K bytes
    - Viewed (0)
Back to top