Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 163 for function (0.16 sec)

  1. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformTest.java

    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    
    import com.google.common.base.Function;
    import java.lang.reflect.UndeclaredThrowableException;
    
    /**
     * Unit tests for {@link Futures#transform(ListenableFuture, Function, Executor)}.
     *
     * @author Nishant Thakkar
     */
    public class FuturesTransformTest extends AbstractChainedListenableFutureTest<String> {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Jun 28 16:27:15 GMT 2018
    - 1.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/SmallCharMatcher.java

      }
    
      private static final int C1 = 0xcc9e2d51;
      private static final int C2 = 0x1b873593;
    
      /*
       * This method was rewritten in Java from an intermediate step of the Murmur hash function in
       * http://code.google.com/p/smhasher/source/browse/trunk/MurmurHash3.cpp, which contained the
       * following header:
       *
       * MurmurHash3 was written by Austin Appleby, and is placed in the public domain. The author
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/JdkBackedImmutableMap.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import java.util.HashMap;
    import java.util.Map;
    import java.util.function.BiConsumer;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * Implementation of ImmutableMap backed by a JDK HashMap, which has smartness protecting against
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Nov 30 21:54:06 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapMakerTest.java

    import com.google.common.annotations.GwtCompatible;
    import com.google.common.annotations.GwtIncompatible;
    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Function;
    import com.google.common.testing.NullPointerTester;
    import java.util.Map;
    import java.util.concurrent.ConcurrentHashMap;
    import java.util.concurrent.CountDownLatch;
    import junit.framework.TestCase;
    
    /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 26 16:35:21 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/FuturesTransformAsyncTest.java

      private static final String RESULT_DATA = "SUCCESS";
    
      private SettableFuture<String> outputFuture;
      // Signals that the function is waiting to complete
      private CountDownLatch funcIsWaitingLatch;
      // Signals the function so it will complete
      private CountDownLatch funcCompletionLatch;
    
      @Override
      protected ListenableFuture<String> buildChainingFuture(ListenableFuture<Integer> inputFuture) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.1K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/ImmutableNetwork.java

        }
      }
    
      private static <N, E> Function<E, N> sourceNodeFn(Network<N, E> network) {
        return (E edge) -> network.incidentNodes(edge).source();
      }
    
      private static <N, E> Function<E, N> targetNodeFn(Network<N, E> network) {
        return (E edge) -> network.incidentNodes(edge).target();
      }
    
      private static <N, E> Function<E, N> adjacentNodeFn(Network<N, E> network, N node) {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 01 16:30:37 GMT 2022
    - 9.6K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/collect/ForwardingQueueTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Function;
    import com.google.common.collect.testing.QueueTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringQueueGenerator;
    import com.google.common.collect.testing.features.CollectionFeature;
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/ForwardingSetTest.java

     * limitations under the License.
     */
    
    package com.google.common.collect;
    
    import static java.util.Arrays.asList;
    
    import com.google.common.base.Function;
    import com.google.common.collect.testing.MinimalSet;
    import com.google.common.collect.testing.SetTestSuiteBuilder;
    import com.google.common.collect.testing.TestStringSetGenerator;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Apr 17 15:49:06 GMT 2023
    - 5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/hash/Hasher.java

       * in progress.
       *
       * <p><b>Warning:</b> This method will produce different output than most other languages do when
       * running the same hash function on the equivalent input. For cross-language compatibility, use
       * {@link #putString}, usually with a charset of UTF-8. For other use cases, use {@code
       * putUnencodedChars}.
       *
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Jun 15 20:59:00 GMT 2022
    - 5.5K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/collect/MapsSortedTransformValuesTest.java

     */
    
    package com.google.common.collect;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.base.Function;
    import com.google.common.base.Functions;
    import java.util.SortedMap;
    
    /**
     * Tests for {@link Maps#transformValues(SortedMap, Function)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top