Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 45 for function (0.18 sec)

  1. android/guava/src/com/google/common/collect/Multimaps.java

              V extends @Nullable Object,
              M extends Multimap<K, V>>
          Collector<T, ?, M> toMultimap(
              java.util.function.Function<? super T, ? extends K> keyFunction,
              java.util.function.Function<? super T, ? extends V> valueFunction,
              java.util.function.Supplier<M> multimapSupplier) {
        return CollectCollectors.<T, K, V, M>toMultimap(keyFunction, valueFunction, multimapSupplier);
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 86.1K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/Futures.java

          ListenableFuture<O> transform(
              ListenableFuture<I> input, Function<? super I, ? extends O> function, Executor executor) {
        return AbstractTransformFuture.create(input, function, executor);
      }
    
      /**
       * Like {@link #transform(ListenableFuture, Function, Executor)} except that the transformation
       * {@code function} is invoked on each call to {@link Future#get() get()} on the returned future.
       *
    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)
  3. guava-tests/test/com/google/common/collect/MapsTest.java

            .addEqualityGroup(original, same)
            .addEqualityGroup(reverse)
            .addEqualityGroup(diff2)
            .testEquals();
      }
    
      private static final Function<String, Integer> LENGTH_FUNCTION =
          new Function<String, Integer>() {
            @Override
            public Integer apply(String input) {
              return input.length();
            }
          };
    
      public void testAsMap() {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 67.2K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/MapsTest.java

            .addEqualityGroup(original, same)
            .addEqualityGroup(reverse)
            .addEqualityGroup(diff2)
            .testEquals();
      }
    
      private static final Function<String, Integer> LENGTH_FUNCTION =
          new Function<String, Integer>() {
            @Override
            public Integer apply(String input) {
              return input.length();
            }
          };
    
      public void testAsMap() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 16:06:01 GMT 2024
    - 64.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableSortedMap.java

    import java.util.Map;
    import java.util.NavigableMap;
    import java.util.SortedMap;
    import java.util.Spliterator;
    import java.util.TreeMap;
    import java.util.function.BiConsumer;
    import java.util.function.BinaryOperator;
    import java.util.function.Consumer;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import javax.annotation.CheckForNull;
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 50.3K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

    import java.util.Arrays;
    import java.util.Comparator;
    import java.util.Map;
    import java.util.NavigableMap;
    import java.util.SortedMap;
    import java.util.TreeMap;
    import java.util.function.BinaryOperator;
    import java.util.function.Function;
    import java.util.stream.Collector;
    import java.util.stream.Collectors;
    import javax.annotation.CheckForNull;
    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 52.7K bytes
    - Viewed (0)
  7. fastapi/param_functions.py

            **extra,
        )
    
    
    def Depends(  # noqa: N802
        dependency: Annotated[
            Optional[Callable[..., Any]],
            Doc(
                """
                A "dependable" callable (like a function).
    
                Don't call it directly, FastAPI will call it for you, just pass the object
                directly.
                """
            ),
        ] = None,
        *,
        use_cache: Annotated[
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

                          }
                        }),
                    executor);
        waiter.awaitStarted();
        cancelFinalStepAndWait(closingFuture);
        // not closed until the function returns
        assertStillOpen(closeable1, closeable2, closeable3);
        waiter.awaitReturned();
        assertClosed(closeable1, closeable2, closeable3);
      }
    
      public void testTransformAsync_throws() throws Exception {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 74.7K bytes
    - Viewed (0)
  9. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCallResolver.kt

            resolveFragmentOfCall: Boolean
        ): List<KtCallCandidateInfo> {
            // If a function call is resolved to an implicit invoke call, the FirImplicitInvokeCall will have the `invoke()` function as the
            // callee and the variable as the explicit receiver. To correctly get all candidates, we need to get the original function
            // call's explicit receiver (if there is any) and callee (i.e., the variable).
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Thu Apr 25 18:05:58 GMT 2024
    - 70.8K bytes
    - Viewed (1)
  10. cmd/test-utils_test.go

    )
    
    // Temp files created in default Tmp dir
    var globalTestTmpDir = os.TempDir()
    
    // reseed - returns a new seed every time the function is called.
    func reseed() uint32 {
    	return uint32(time.Now().UnixNano() + int64(os.Getpid()))
    }
    
    // nextSuffix - provides a new unique suffix every time the function is called.
    func nextSuffix() string {
    	randmu.Lock()
    	r := randN
    	// Initial seed required, generate one.
    	if r == 0 {
    Go
    - Registered: Sun Apr 28 19:28:10 GMT 2024
    - Last Modified: Thu Apr 04 12:06:57 GMT 2024
    - 75.7K bytes
    - Viewed (0)
Back to top