Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1681 - 1690 of 3,625 for Gist (0.09 seconds)

  1. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/MojoDescriptor.java

        }
    
        /**
         * @return the list of parameters copy. Any change to returned list is NOT reflected on this instance. To add
         * parameters, use {@link #addParameter(Parameter)} method.
         */
        public List<Parameter> getParameters() {
            return new ArrayList<>(parameters);
        }
    
        /**
         * @param parameters the new list of parameters
         * @throws DuplicateParameterException if any
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  2. docs/de/docs/async.md

    ### Ist Nebenläufigkeit besser als Parallelität? { #is-concurrency-better-than-parallelism }
    
    Nein! Das ist nicht die Moral der Geschichte.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 27.3K bytes
    - Click Count (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/InetAddressOrder.kt

     *  - Stateful handling of connectivity results
     *  - The prioritisation of addresses
     *
     * https://datatracker.ietf.org/doc/html/rfc8305#section-4
     */
    internal fun reorderForHappyEyeballs(addresses: List<InetAddress>): List<InetAddress> {
      if (addresses.size < 2) {
        return addresses
      }
    
      val (ipv6, ipv4) = addresses.partition { it is Inet6Address }
    
      return if (ipv6.isEmpty() || ipv4.isEmpty()) {
        addresses
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Thu Apr 24 15:15:15 GMT 2025
    - 1.3K bytes
    - Click Count (0)
  4. tests/test_list_bytes_file_order_preserved_issue_14811.py

    """
    Regression test: preserve order when using list[bytes] + File()
    See https://github.com/fastapi/fastapi/discussions/14811
    Fixed in PR: https://github.com/fastapi/fastapi/pull/14884
    """
    
    from typing import Annotated
    
    import anyio
    import pytest
    from fastapi import FastAPI, File
    from fastapi.testclient import TestClient
    from starlette.datastructures import UploadFile as StarletteUploadFile
    
    
    def test_list_bytes_file_preserves_order(
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 10 12:14:38 GMT 2026
    - 1.4K bytes
    - Click Count (0)
  5. misc/chrome/gophertool/gopher.js

        var match = commitRE.exec(t);
        if (match) {
            return "https://golang.org/change/" + match[1];
        }
    
        if (pkgRE.test(t)) {
            // TODO: make this smarter, using a list of packages + substring matches.
            // Get the list from godoc itself in JSON format?
            return "https://golang.org/pkg/" + t;
        }
    
        return null;
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Sat Jul 11 14:36:33 GMT 2015
    - 1.2K bytes
    - Click Count (0)
  6. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/util/ports/AvailablePortAllocator.java

    import org.gradle.internal.Pair;
    
    import java.util.ArrayList;
    import java.util.List;
    
    public class AvailablePortAllocator {
        public static final int MIN_PRIVATE_PORT = 10300;
        public static final int MAX_PRIVATE_PORT = 13300;
        public static final int DEFAULT_RANGE_SIZE = 10;
    
        private final List<ReservedPortRange> reservations = new ArrayList<ReservedPortRange>();
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Tue Jun 01 09:19:30 GMT 2021
    - 1.6K bytes
    - Click Count (0)
  7. docs/zh/docs/python-types.md

    有些类型可以在方括号中接收“类型参数”(type parameters),用于声明其内部值的类型。比如“字符串列表”可以写为 `list[str]`。
    
    这些能接收类型参数的类型称为“泛型类型”(Generic types)或“泛型”(Generics)。
    
    你可以把相同的内建类型作为泛型使用(带方括号和内部类型):
    
    * `list`
    * `tuple`
    * `set`
    * `dict`
    
    #### 列表 { #list }
    
    例如,我们来定义一个由 `str` 组成的 `list` 变量。
    
    用同样的冒号(`:`)语法声明变量。
    
    类型写 `list`。
    
    因为 list 是一种包含内部类型的类型,把内部类型写在方括号里:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 10.6K bytes
    - Click Count (0)
  8. guava/src/com/google/common/base/Splitter.java

       * Splits {@code sequence} into string components and returns them as an immutable list. If you
       * want an {@link Iterable} which may be lazily evaluated, use {@link #split(CharSequence)}.
       *
       * @param sequence the sequence of characters to split
       * @return an immutable list of the segments split from the parameter
       * @since 15.0
       */
      public List<String> splitToList(CharSequence sequence) {
        checkNotNull(sequence);
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  9. docs/de/docs/tutorial/background-tasks.md

    Indem Sie nur `BackgroundTasks` (und nicht `BackgroundTask`) verwenden, ist es dann möglich, es als *Pfadoperation-Funktion*-Parameter zu verwenden und **FastAPI** den Rest für Sie erledigen zu lassen, genau wie bei der direkten Verwendung des `Request`-Objekts.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 5.7K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddAllTester.java

    import com.google.common.collect.testing.features.CollectionSize;
    import java.lang.reflect.Method;
    import java.util.ConcurrentModificationException;
    import java.util.Iterator;
    import java.util.List;
    import org.jspecify.annotations.Nullable;
    import org.junit.Ignore;
    
    /**
     * A generic JUnit test which tests addAll operations on a collection. Can't be invoked directly;
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 7.9K bytes
    - Click Count (0)
Back to Top