Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 923 for function (0.17 sec)

  1. android/guava-tests/test/com/google/common/base/FunctionsTest.java

        Function<? super Integer, Boolean> h = Functions.constant(Boolean.TRUE);
        Function<? super String, Integer> g = new HashCodeFunction();
        Function<Float, String> f = Functions.forMap(m, "F");
    
        Function<Float, Boolean> c1 = Functions.compose(Functions.compose(h, g), f);
        Function<Float, Boolean> c2 = Functions.compose(h, Functions.compose(g, f));
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 16K bytes
    - Viewed (0)
  2. guava-testlib/test/com/google/common/testing/anotherpackage/ForwardingWrapperTesterTest.java

        tester.testForwarding(
            Arithmetic.class,
            new Function<Arithmetic, Arithmetic>() {
              @Override
              public Arithmetic apply(Arithmetic arithmetic) {
                return new ForwardingArithmetic(arithmetic);
              }
            });
        tester.testForwarding(
            ParameterTypesDifferent.class,
            new Function<ParameterTypesDifferent, ParameterTypesDifferent>() {
              @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 15.7K bytes
    - Viewed (0)
  3. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/FirSyntheticFunctionInterfaceSourceProvider.kt

                else -> null
            }
        }
    
        private fun provideSourceForInvokeFunction(function: FirSimpleFunction): PsiElement? {
            val classId = function.containingClassLookupTag()?.classId ?: return null
            val classOrObject = classByClassId(classId, function.llFirSession.ktModule) ?: return null
            return classOrObject.declarations.singleOrNull()
        }
    
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Fri Jun 02 14:27:26 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/hash/Hashing.java

        checkArgument(!list.isEmpty(), "number of hash functions (%s) must be > 0", list.size());
        return new ConcatenatedHashFunction(list.toArray(new HashFunction[0]));
      }
    
      private static final class ConcatenatedHashFunction extends AbstractCompositeHashFunction {
    
        private ConcatenatedHashFunction(HashFunction... functions) {
          super(functions);
          for (HashFunction function : functions) {
            checkArgument(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 09 00:37:15 GMT 2024
    - 29.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Tables.java

              V,
              I extends Table<R, C, V>>
          Collector<T, ?, I> toTable(
              java.util.function.Function<? super T, ? extends R> rowFunction,
              java.util.function.Function<? super T, ? extends C> columnFunction,
              java.util.function.Function<? super T, ? extends V> valueFunction,
              java.util.function.Supplier<I> tableSupplier) {
        return TableCollectors.<T, R, C, V, I>toTable(
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Mar 04 22:45:41 GMT 2024
    - 26.1K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/fess/entity/ParamMap.java

     */
    package org.codelibs.fess.entity;
    
    import java.util.Collection;
    import java.util.Map;
    import java.util.Set;
    import java.util.function.BiConsumer;
    import java.util.function.BiFunction;
    import java.util.function.Function;
    
    import org.apache.commons.lang3.StringUtils;
    
    import com.google.common.base.CaseFormat;
    
    public class ParamMap<K, V> implements Map<K, V> {
    
    Java
    - Registered: Mon Apr 29 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  7. src/builtin/builtin.go

    func panic(v any)
    
    // The recover built-in function allows a program to manage behavior of a
    // panicking goroutine. Executing a call to recover inside a deferred
    // function (but not any function called by it) stops the panicking sequence
    // by restoring normal execution and retrieves the error value passed to the
    // call of panic. If recover is called outside the deferred function it will
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 11 20:22:45 GMT 2024
    - 12.7K bytes
    - Viewed (0)
  8. docs/en/docs/advanced/events.md

        Maybe you need to start a new version, or you just got tired of running it. 🤷
    
    ### Lifespan function
    
    The first thing to notice, is that we are defining an async function with `yield`. This is very similar to Dependencies with `yield`.
    
    ```Python hl_lines="14-19"
    {!../../../docs_src/events/tutorial003.py!}
    ```
    
    The first part of the function, before the `yield`, will be executed **before** the application starts.
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 7.8K bytes
    - Viewed (0)
  9. internal/http/dial_dnscache.go

    	"net"
    	"time"
    )
    
    // LookupHost is a function to make custom lookupHost for optional cached DNS requests
    type LookupHost func(ctx context.Context, host string) (addrs []string, err error)
    
    // DialContextWithLookupHost is a helper function which returns `net.DialContext` function.
    // It randomly fetches an IP via custom LookupHost function and dials it by the given dial
    Go
    - Registered: Sun Apr 21 19:28:08 GMT 2024
    - Last Modified: Mon Jul 03 19:30:51 GMT 2023
    - 2.6K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

      }
    
      /**
       * A function from an input to a result.
       *
       * @param <T> the type of the input to the function
       * @param <U> the type of the result of the function
       */
      public interface ClosingFunction<T extends @Nullable Object, U extends @Nullable Object> {
    
        /**
         * Applies this function to an input, or throws an exception if unable to do so.
         *
    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)
Back to top