Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 14 for ternary (0.07 sec)

  1. helm/minio/templates/deployment.yaml

    {{- if eq .Values.mode "standalone" }}
    {{ $scheme := .Values.tls.enabled | ternary "https" "http" }}
    {{ $bucketRoot := or ($.Values.bucketRoot) ($.Values.mountPath) }}
    apiVersion: {{ template "minio.deployment.apiVersion" . }}
    kind: Deployment
    metadata:
      name: {{ template "minio.fullname" . }}
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 10 15:48:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  2. helm/minio/templates/statefulset.yaml

    {{ $poolCount := .Values.pools | int }}
    {{ $nodeCount := .Values.replicas | int }}
    {{ $replicas := mul $poolCount $nodeCount }}
    {{ $drivesPerNode := .Values.drivesPerNode | int }}
    {{ $scheme := .Values.tls.enabled | ternary "https" "http" }}
    {{ $mountPath := .Values.mountPath }}
    {{ $bucketRoot := or ($.Values.bucketRoot) ($.Values.mountPath) }}
    {{ $subPath := .Values.persistence.subPath }}
    {{ $penabled := .Values.persistence.enabled }}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 11 12:21:05 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  3. helm-releases/minio-5.3.0.tgz

    public.crt - key: {{ .Values.tls.privateKey }} path: private.key {{- end }} {{- if or .Values.tls.enabled (ne .Values.trustedCertsSecret "") }} {{- $certSecret := eq .Values.trustedCertsSecret "" | ternary .Values.tls.certSecret .Values.trustedCertsSecret }} {{- $publicCrt := eq .Values.trustedCertsSecret "" | ternary .Values.tls.publicCrt "" }} - name: trusted-cert-secret-volume secret: secretName: {{ $certSecret }} {{- if ne $publicCrt "" }} items: - key: {{ $publicCrt }} path: public.crt {{- end }} {{-...
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Oct 11 12:21:05 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/base/PreconditionsTest.java

        // being selected in phase 1
        checkState(boxedBoolean, "", (Object) boxedLong);
    
        // ternaries introduce their own problems. because of the ternary (which requires a boxing
        // operation) no overload can be selected in phase 1.  and in phase 2 it is ambiguous since it
        // matches with the second parameter being boxed and without it being boxed.  The cast to Object
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Sep 17 18:14:12 UTC 2024
    - 19K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/ImmutableMap.java

         * use `get(key) ?: defaultValue` instead of this method, anyway.
         */
        V result = get(key);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (result != null) {
          return result;
        } else {
          return defaultValue;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 44.6K bytes
    - Viewed (0)
  6. guava/src/com/google/common/math/LongMath.java

       * Returns 1 if {@code x < y} as unsigned longs, and 0 otherwise. Assumes that x - y fits into a
       * signed long. The implementation is branch-free, and benchmarks suggest it is measurably faster
       * than the straightforward ternary expression.
       */
      @VisibleForTesting
      static int lessThanBranchFree(long x, long y) {
        // Returns the sign bit of x - y.
        return (int) (~~(x - y) >>> (Long.SIZE - 1));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/ImmutableMap.java

         * use `get(key) ?: defaultValue` instead of this method, anyway.
         */
        V result = get(key);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (result != null) {
          return result;
        } else {
          return defaultValue;
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 41.5K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/LongMath.java

       * Returns 1 if {@code x < y} as unsigned longs, and 0 otherwise. Assumes that x - y fits into a
       * signed long. The implementation is branch-free, and benchmarks suggest it is measurably faster
       * than the straightforward ternary expression.
       */
      @VisibleForTesting
      static int lessThanBranchFree(long x, long y) {
        // Returns the sign bit of x - y.
        return (int) (~~(x - y) >>> (Long.SIZE - 1));
      }
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/Iterators.java

            }
            for (int i = count; i < size; i++) {
              array[i] = null; // for GWT
            }
    
            List<@Nullable T> list = unmodifiableList(asList(array));
            // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
            if (pad || count == size) {
              return list;
            } else {
              return list.subList(0, count);
            }
          }
        };
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.3K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/request-files.md

    Isso não é uma limitação do **FastAPI**, é parte do protocolo HTTP.
    
    ///
    
    ## Upload de Arquivo Opcional
    
    Você pode tornar um arquivo opcional usando anotações de tipo padrão e definindo um valor padrão de `None`:
    
    {* ../../docs_src/request_files/tutorial001_02_an_py310.py hl[9,17] *}
    
    ## `UploadFile` com Metadados Adicionais
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Oct 30 19:52:32 UTC 2024
    - 7.8K bytes
    - Viewed (0)
Back to top