Search Options

Results per page
Sort
Preferred Languages
Advance

Results 2441 - 2450 of 3,421 for list (0.06 sec)

  1. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java

        return !set.isEmpty() ? set.last() : null;
      }
    
      public ImmutableSortedSet<E> headSet(E toElement, boolean inclusive) {
        checkNotNull(toElement);
        if (inclusive) {
          E tmp = higher(toElement);
          if (tmp == null) {
            return this;
          }
          toElement = tmp;
        }
        return headSet(toElement);
      }
    
      public E last() {
        return sortedDelegate.last();
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Aug 19 16:21:24 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  2. guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

        Enum<?>[] allConstants = enumType.getEnumConstants();
        List<String> hits = new ArrayList<>();
        for (int i = 0; i < hitRate * 256 / 3; ++i) {
          hits.add(allConstants[0].name());
          hits.add(allConstants[allConstants.length / 2].name());
          hits.add(allConstants[allConstants.length - 1].name());
        }
    
        List<String> misses = new ArrayList<>();
        for (int i = 0; i < 256 - hits.size(); ++i) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 29.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

      @CheckForNull
      private MoveDesc<E> fillHole(int index, E toTrickle) {
        Heap heap = heapForIndex(index);
        // We consider elementData(index) a "hole", and we want to fill it
        // with the last element of the heap, toTrickle.
        // Since the last element of the heap is from the bottom level, we
        // optimistically fill index position with elements from lower levels,
        // moving the hole down. In most cases this reduces the number of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 34.1K bytes
    - Viewed (0)
  4. guava/src/com/google/common/util/concurrent/ListenableFutureTask.java

      // such as BoundedQueueExecutorService to allow extends but it would be nice to make it final to
      // avoid unintended usage.
    
      // The execution list to hold our listeners.
      private final ExecutionList executionList = new ExecutionList();
    
      /**
       * Creates a {@code ListenableFutureTask} that will upon running, execute the given {@code
       * Callable}.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. apache-maven/src/assembly/maven/conf/toolchains.xml

       |
       | Every toolchain consist of 3 elements:
       | * type: the type of tool. An often used value is 'jdk'. Toolchains-aware
       |   plugins should document which type you must use.
       |
       | * provides: A list of key/value-pairs.
       |   Based on the toolchain-configuration in the pom.xml Maven will search for
       |   matching <provides/> configuration. You can decide for yourself which key-value
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Thu Aug 22 14:47:43 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  6. docs/ru/docs/tutorial/dependencies/dependencies-in-path-operation-decorators.md

    ## Добавление `dependencies` в *декоратор операции пути*
    
    *Декоратор операции пути* получает необязательный аргумент `dependencies`.
    
    Это должен быть `list` состоящий из `Depends()`:
    
    //// tab | Python 3.9+
    
    ```Python hl_lines="19"
    {!> ../../docs_src/dependencies/tutorial006_an_py39.py!}
    ```
    
    ////
    
    //// tab | Python 3.8+
    
    ```Python hl_lines="18"
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  7. docs/en/docs/how-to/extending-openapi.md

    * `summary`: A short summary of the API.
    * `description`: The description of your API, this can include markdown and will be shown in the docs.
    * `routes`: A list of routes, these are each of the registered *path operations*. They are taken from `app.routes`.
    
    /// info
    
    The parameter `summary` is available in OpenAPI 3.1.0 and above, supported by FastAPI 0.99.0 and above.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  8. docs_src/security/tutorial005_py310.py

            "disabled": True,
        },
    }
    
    
    class Token(BaseModel):
        access_token: str
        token_type: str
    
    
    class TokenData(BaseModel):
        username: str | None = None
        scopes: list[str] = []
    
    
    class User(BaseModel):
        username: str
        email: str | None = None
        full_name: str | None = None
        disabled: bool | None = None
    
    
    class UserInDB(User):
        hashed_password: str
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon May 20 17:37:28 UTC 2024
    - 5.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/RealInterceptorChain.kt

     * a network interceptor and [exchange] must be non-null.
     */
    class RealInterceptorChain(
      internal val call: RealCall,
      private val interceptors: List<Interceptor>,
      private val index: Int,
      internal val exchange: Exchange?,
      internal val request: Request,
      internal val connectTimeoutMillis: Int,
      internal val readTimeoutMillis: Int,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  10. guava/src/com/google/common/util/concurrent/MoreExecutors.java

          throws InterruptedException, ExecutionException, TimeoutException {
        checkNotNull(executorService);
        checkNotNull(unit);
        int ntasks = tasks.size();
        checkArgument(ntasks > 0);
        List<Future<T>> futures = Lists.newArrayListWithCapacity(ntasks);
        BlockingQueue<Future<T>> futureQueue = Queues.newLinkedBlockingQueue();
        long timeoutNanos = unit.toNanos(timeout);
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 44.1K bytes
    - Viewed (0)
Back to top