Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for derive (0.15 sec)

  1. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

        logger.get().log(FINER, "closing {0}", this);
        closeables.close();
      }
    
      private <U extends @Nullable Object> ClosingFuture<U> derive(FluentFuture<U> future) {
        ClosingFuture<U> derived = new ClosingFuture<>(future);
        becomeSubsumedInto(derived.closeables);
        return derived;
      }
    
      private void becomeSubsumedInto(CloseableList otherCloseables) {
        checkAndUpdateState(OPEN, SUBSUMED);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 98.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/CompactLinkedHashMap.java

      }
    
      private long link(int i) {
        return requireLinks()[i];
      }
    
      private void setLink(int i, long value) {
        requireLinks()[i] = value;
      }
    
      /*
       * We don't define getPredecessor+getSuccessor and setPredecessor+setSuccessor here because
       * they're defined above -- including logic to add and subtract 1 to map between the values stored
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/TreeMultiset.java

      }
    
      private static <T extends @Nullable Object> void successor(
          AvlNode<T> a, AvlNode<T> b, AvlNode<T> c) {
        successor(a, b);
        successor(b, c);
      }
    
      /*
       * TODO(jlevy): Decide whether entrySet() should return entries with an equals() method that
       * calls the comparator to compare the two keys. If that change is made,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractFuture.java

          // catch absolutely everything and fall through to our 'SafeAtomicHelper'
          // The access control checks that ARFU does means the caller class has to be AbstractFuture
          // instead of SafeAtomicHelper, so we annoyingly define these here
          try {
            helper =
                new SafeAtomicHelper(
                    newUpdater(Waiter.class, Thread.class, "thread"),
                    newUpdater(Waiter.class, Waiter.class, "next"),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 22 21:17:24 GMT 2024
    - 63K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Maps.java

        }
      }
    
      /**
       * Creates an {@code ImmutableMap<String, String>} from a {@code Properties} instance. Properties
       * normally derive from {@code Map<Object, Object>}, but they typically contain strings, which is
       * awkward. This method lets you get a plain-old-{@code Map} out of a {@code Properties}.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/Sets.java

       * set of the empty set is not the empty set, but a one-element set containing the empty set.
       *
       * <p>The returned set and its constituent sets use {@code equals} to decide whether two elements
       * are identical, even if the input set uses a different concept of equivalence.
       *
       * <p><i>Performance notes:</i> while the power set of a set with size {@code n} is of size {@code
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 77.4K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

    import java.util.concurrent.locks.ReentrantLock;
    import javax.annotation.CheckForNull;
    
    /**
     * The concurrent hash map implementation built by {@link MapMaker}.
     *
     * <p>This implementation is heavily derived from revision 1.96 of <a
     * href="http://tinyurl.com/ConcurrentHashMap">ConcurrentHashMap.java</a>.
     *
     * @param <K> the type of the keys in the map
     * @param <V> the type of the values in the map
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 91.9K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/reflect/ClassPathTest.java

          notJar.delete();
        }
      }
    
      public void testGetClassPathEntry() throws MalformedURLException, URISyntaxException {
        if (isWindows()) {
          return; // TODO: b/136041958 - We need to account for drive letters in the path.
        }
        assertEquals(
            new File("/usr/test/dep.jar").toURI(),
            ClassPath.getClassPathEntry(new File("/home/build/outer.jar"), "file:/usr/test/dep.jar")
                .toURI());
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 26 14:02:27 GMT 2024
    - 24.9K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

        if (delegate.isDone()) {
          return delegate;
        }
        return TimeoutFuture.create(delegate, time, unit, scheduledExecutor);
      }
    
      /**
       * Returns a new {@code Future} whose result is asynchronously derived from the result of the
       * given {@code Future}. If the given {@code Future} fails, the returned {@code Future} fails with
       * the same exception (and the function is not invoked).
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 59.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/collect/Multimaps.java

        EntryTransformer<K, V1, V2> transformer = Maps.asEntryTransformer(function);
        return transformEntries(fromMultimap, transformer);
      }
    
      /**
       * Returns a view of a multimap whose values are derived from the original multimap's entries. In
       * contrast to {@link #transformValues}, this method's entry-transformation logic may depend on
       * the key as well as the value.
       *
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 86.4K bytes
    - Viewed (0)
Back to top