Search Options

Results per page
Sort
Preferred Languages
Advance

Results 791 - 800 of 908 for friend (0.07 sec)

  1. android/guava/src/com/google/common/primitives/ImmutableIntArray.java

        public ImmutableIntArray build() {
          return count == 0 ? EMPTY : new ImmutableIntArray(array, 0, count);
        }
      }
    
      // Instance stuff here
    
      // The array is never mutated after storing in this field and the construction strategies ensure
      // it doesn't escape this class
      @SuppressWarnings("Immutable")
      private final int[] array;
    
      /*
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 18:05:56 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/CompactHashSet.java

     */
    @GwtIncompatible // not worth using in GWT for now
    @ElementTypesAreNonnullByDefault
    class CompactHashSet<E extends @Nullable Object> extends AbstractSet<E> implements Serializable {
      // TODO(user): cache all field accesses in local vars
    
      /** Creates an empty {@code CompactHashSet} instance. */
      public static <E extends @Nullable Object> CompactHashSet<E> create() {
        return new CompactHashSet<>();
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 20:24:49 UTC 2024
    - 24.9K bytes
    - Viewed (0)
  3. docs/zh/docs/advanced/settings.md

    ### 创建 `Settings` 对象
    
    从 Pydantic 导入 `BaseSettings` 并创建一个子类,与 Pydantic 模型非常相似。
    
    与 Pydantic 模型一样,您使用类型注释声明类属性,还可以指定默认值。
    
    您可以使用与 Pydantic 模型相同的验证功能和工具,比如不同的数据类型和使用 `Field()` 进行附加验证。
    
    ```Python hl_lines="2  5-8  11"
    {!../../docs_src/settings/tutorial001.py!}
    ```
    
    /// tip
    
    如果您需要一个快速的复制粘贴示例,请不要使用此示例,而应使用下面的最后一个示例。
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

        ImmutableList<Service> copy = ImmutableList.copyOf(services);
        if (copy.isEmpty()) {
          // Having no services causes the manager to behave strangely. Notably, listeners are never
          // fired. To avoid this we substitute a placeholder service.
          logger
              .get()
              .log(
                  Level.WARNING,
                  "ServiceManager configured with no services.  Is your application configured"
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.5K bytes
    - Viewed (0)
  5. guava/src/com/google/common/util/concurrent/ServiceManager.java

        ImmutableList<Service> copy = ImmutableList.copyOf(services);
        if (copy.isEmpty()) {
          // Having no services causes the manager to behave strangely. Notably, listeners are never
          // fired. To avoid this we substitute a placeholder service.
          logger
              .get()
              .log(
                  Level.WARNING,
                  "ServiceManager configured with no services.  Is your application configured"
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 33.2K bytes
    - Viewed (0)
  6. docs/pt/docs/advanced/settings.md

    Você pode utilizar todas as ferramentas e funcionalidades de validação que são utilizadas nos modelos do Pydantic, como tipos de dados diferentes e validações adicionei com `Field()`.
    
    //// tab | Pydantic v2
    
    ```Python hl_lines="2  5-8  11"
    {!> ../../docs_src/settings/tutorial001.py!}
    ```
    
    ////
    
    //// tab | Pydantic v1
    
    /// info
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    ```python
    from typing import Annotated, Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/LinkedHashMultimap.java

         * constructor -- an example of the kind of lying that our hypothetical bytecode rewriter would
         * already have to deal with, thanks to DI frameworks that perform field and method injection,
         * frameworks like Android that define post-construct hooks like Activity.onCreate, etc.
         */
    
        @CheckForNull private ValueSetLink<K, V> predecessorInValueSet;
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  9. istioctl/pkg/multicluster/remote_secret.go

    	// or URL with a release tgz. This is only used when no reader service account exists and has
    	// to be created.
    	ManifestsPath string
    
    	// ServerOverride overrides the server IP/hostname field from the Kubeconfig
    	ServerOverride string
    
    	// SecretName selects a specific secret from the remote service account, if there are multiple
    	SecretName string
    }
    
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Aug 15 16:31:46 UTC 2024
    - 23.3K bytes
    - Viewed (0)
  10. helm-releases/minio-3.6.4.tgz

    Kubernetes Job customCommandJob customCommandJob: podAnnotations: annotations: securityContext: enabled: false runAsUser: 1000 runAsGroup: 1000 fsGroup: 1000 resources: requests: memory: 128Mi nodeSelector: {} tolerations: [] affinity: {} ## Use this field to add environment variables relevant to MinIO server. These fields will be passed on to MinIO container(s) ## when Chart is deployed environment: ## Please refer for comprehensive list https://docs.min.io/minio/baremetal/reference/minio-server/minio-server.html...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Apr 12 01:30:28 UTC 2022
    - 17.9K bytes
    - Viewed (0)
Back to top