Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 134 for ternary (0.11 sec)

  1. helm/minio/templates/service.yaml

    {{ $scheme := .Values.tls.enabled | ternary "https" "http" }}
    apiVersion: v1
    kind: Service
    metadata:
      name: {{ template "minio.fullname" . }}
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
        monitoring: "true"
      {{- if .Values.service.annotations }}
      annotations: {{- toYaml .Values.service.annotations | nindent 4 }}
      {{- end }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 28 10:05:53 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ConsumingQueueIterator.java

      private final Queue<T> queue;
    
      ConsumingQueueIterator(Queue<T> queue) {
        this.queue = checkNotNull(queue);
      }
    
      @Override
      @CheckForNull
      protected T computeNext() {
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (queue.isEmpty()) {
          return endOfData();
        }
        return queue.remove();
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jan 21 14:48:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  3. helm/minio/templates/console-service.yaml

    {{ $scheme := .Values.tls.enabled | ternary "https" "http" }}
    apiVersion: v1
    kind: Service
    metadata:
      name: {{ template "minio.fullname" . }}-console
      labels:
        app: {{ template "minio.name" . }}
        chart: {{ template "minio.chart" . }}
        release: {{ .Release.Name }}
        heritage: {{ .Release.Service }}
      {{- if .Values.consoleService.annotations }}
      annotations: {{- toYaml .Values.consoleService.annotations | nindent 4 }}
      {{- end }}
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Apr 28 10:05:53 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. guava/src/com/google/common/collect/ConsumingQueueIterator.java

      private final Queue<T> queue;
    
      ConsumingQueueIterator(Queue<T> queue) {
        this.queue = checkNotNull(queue);
      }
    
      @Override
      @CheckForNull
      protected T computeNext() {
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (queue.isEmpty()) {
          return endOfData();
        }
        return queue.remove();
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Sat Jan 21 14:48:03 UTC 2023
    - 1.5K bytes
    - Viewed (0)
  5. helm/minio/templates/_helpers.tpl

          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:
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Mon Apr 17 06:04:15 UTC 2023
    - 6.5K bytes
    - Viewed (0)
  6. platforms/core-configuration/kotlin-dsl/src/test/kotlin/org/gradle/kotlin/dsl/GroovyInteroperabilityTest.kt

            )
        }
    
        @Test
        fun `can adapt ternary function using KotlinClosure3`() {
    
            fun closure(function: (String, String, String) -> String) = KotlinClosure3(function)
    
            assertEquals(
                "foobarbaz",
                closure { x, y, z -> x + y + z }.call("foo", "bar", "baz")
            )
        }
    
        @Test
        fun `can adapt ternary null receiving function using KotlinClosure3`() {
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 10.1K bytes
    - Viewed (0)
  7. tensorflow/compiler/mlir/tensorflow/utils/topological_sort.h

        Operation *, bool incoming)>
        ExtraDependenciesFunction;
    
    // Convenience function if there are no extra dependencies to declare.
    // (Unlike nullptr, this also works inside the ternary operator)
    extern ExtraDependenciesFunction no_extra_dependencies;
    
    // Sort a block topologically, so that for all ops, all operands are
    // available at the time of execution.  This is similar to MLIR's topological
    Registered: Sun Jun 16 05:45:23 UTC 2024
    - Last Modified: Tue Nov 08 17:01:11 UTC 2022
    - 3.2K bytes
    - Viewed (0)
  8. platforms/core-configuration/kotlin-dsl/src/main/kotlin/org/gradle/kotlin/dsl/GroovyInteroperability.kt

    ) : Closure<V?>(owner, thisObject) {
    
        @Suppress("unused") // to be called dynamically by Groovy
        fun doCall(t: T, u: U): V? = function(t, u)
    }
    
    
    /**
     * Adapts a ternary Kotlin function to a ternary Groovy [Closure].
     *
     * @param T the type of the first argument.
     * @param U the type of the second argument.
     * @param V the type of the third argument.
     * @param R the return type.
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Aug 02 08:06:49 UTC 2023
    - 9.7K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/graph/MapIteratorCache.java

      }
    
      final void clear() {
        clearCache();
        backingMap.clear();
      }
    
      @CheckForNull
      V get(Object key) {
        checkNotNull(key);
        V value = getIfCached(key);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (value == null) {
          return getWithoutCaching(key);
        } else {
          return value;
        }
      }
    
      @CheckForNull
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Oct 06 00:47:57 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/StandardValueGraph.java

        GraphConnections<N, V> connectionsU = nodeConnections.get(nodeU);
        V value = (connectionsU == null) ? null : connectionsU.value(nodeV);
        // TODO(b/192579700): Use a ternary once it no longer confuses our nullness checker.
        if (value == null) {
          return defaultValue;
        } else {
          return value;
        }
      }
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Jan 22 17:29:38 UTC 2024
    - 6.1K bytes
    - Viewed (0)
Back to top