Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 923 for Function (0.04 sec)

  1. 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;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Unit tests for {@link Futures#transform(ListenableFuture, Function, Executor)}.
     *
     * @author Nishant Thakkar
     */
    @NullUnmarked
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 2K bytes
    - Viewed (0)
  2. cmd/admin-handlers_test.go

    // admin-handler unit tests.
    type adminErasureTestBed struct {
    	erasureDirs []string
    	objLayer    ObjectLayer
    	router      *mux.Router
    	done        context.CancelFunc
    }
    
    // prepareAdminErasureTestBed - helper function that setups a single-node
    // Erasure backend for admin-handler tests.
    func prepareAdminErasureTestBed(ctx context.Context) (*adminErasureTestBed, error) {
    	ctx, cancel := context.WithCancel(ctx)
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.9K bytes
    - Viewed (1)
  3. docs/en/docs/how-to/extending-openapi.md

    By default, what the method `.openapi()` does is check the property `.openapi_schema` to see if it has contents and return them.
    
    If it doesn't, it generates them using the utility function at `fastapi.openapi.utils.get_openapi`.
    
    And that function `get_openapi()` receives as parameters:
    
    * `title`: The OpenAPI title, shown in the docs.
    * `version`: The version of your API, e.g. `2.5.0`.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/Lists.java

          extends AbstractSequentialList<T> implements Serializable {
        final List<F> fromList;
        final Function<? super F, ? extends T> function;
    
        TransformingSequentialList(List<F> fromList, Function<? super F, ? extends T> function) {
          this.fromList = checkNotNull(fromList);
          this.function = checkNotNull(function);
        }
    
        /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 42.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/collect/FauxveridesTest.java

        List<String> names = transform(types, SIMPLE_NAME_GETTER);
        return Joiner.on(", ").join(names);
      }
    
      private static final Function<Type, String> SIMPLE_NAME_GETTER =
          new Function<Type, String>() {
            @Override
            public String apply(Type from) {
              if (from instanceof Class) {
                return ((Class<?>) from).getSimpleName();
              }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb/MIENameTest.java

            if (bufferSupplierOrBytes instanceof byte[]) {
                buf = (byte[]) bufferSupplierOrBytes;
            } else {
                @SuppressWarnings("unchecked")
                java.util.function.Supplier<byte[]> sup = (java.util.function.Supplier<byte[]>) bufferSupplierOrBytes;
                buf = sup.get();
            }
    
            // Act + Assert
            Throwable t = assertThrows(expected, () -> new MIEName(buf));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 8.6K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/AtomicDoubleArray.java

    import java.io.IOException;
    import java.io.ObjectInputStream;
    import java.io.ObjectOutputStream;
    import java.io.Serializable;
    import java.util.concurrent.atomic.AtomicLongArray;
    import java.util.function.DoubleBinaryOperator;
    import java.util.function.DoubleUnaryOperator;
    
    /**
     * A {@code double} array in which elements may be updated atomically. See the {@link
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Mar 17 20:26:29 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/collect/TableCollectorsTest.java

    import com.google.common.annotations.J2ktIncompatible;
    import com.google.common.base.Equivalence;
    import com.google.common.base.Function;
    import com.google.common.base.MoreObjects;
    import com.google.common.collect.Table.Cell;
    import com.google.common.testing.CollectorTester;
    import java.util.function.BiPredicate;
    import java.util.function.BinaryOperator;
    import java.util.stream.Collector;
    import java.util.stream.Stream;
    import junit.framework.TestCase;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.5K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/curl/CurlResponse.java

            }
        }
    
        /**
         * Gets the content of the response using the provided parser function.
         *
         * @param <T> the type of the parsed content.
         * @param parser the function to parse the content.
         * @return the parsed content.
         */
        public <T> T getContent(final Function<CurlResponse, T> parser) {
            return parser.apply(this);
        }
    
        /**
    Registered: Thu Sep 04 15:34:10 UTC 2025
    - Last Modified: Sat Jul 05 01:38:18 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  10. misc/chrome/gophertool/background.js

    chrome.omnibox.onInputEntered.addListener(function(t) {
      var url = urlForInput(t);
      if (url) {
        chrome.tabs.query({ "active": true, "currentWindow": true }, function(tab) {
          if (!tab) return;
          chrome.tabs.update(tab.id, { "url": url, "selected": true });
        });
      }
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Mon Nov 18 18:14:37 UTC 2019
    - 286 bytes
    - Viewed (1)
Back to top