Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 43 for ternary (0.43 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. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Sun Mar 03 17:50:39 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  8. 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 Jun 16 00:44:34 UTC 2024
    - Last Modified: Fri Apr 26 07:50:24 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. manifests/charts/istio-cni/templates/daemonset.yaml

    # as the Istio CNI plugin and config on
    # each master and worker node in a Kubernetes cluster.
    {{- $defaultBinDir :=
        (.Capabilities.KubeVersion.GitVersion | contains "-gke") | ternary
          "/home/kubernetes/bin"
          "/opt/cni/bin"
    }}
    kind: DaemonSet
    apiVersion: apps/v1
    metadata:
      name: {{ template "name" . }}-node
      namespace: {{ .Release.Namespace }}
      labels:
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Fri May 17 21:52:29 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. platforms/documentation/docs/src/snippets/native-binaries/google-test/groovy/libs/googleTest/1.7.0/include/gtest/gtest_pred_impl.h

                                                 pred, \
                                                 v1, \
                                                 v2, \
                                                 v3), on_failure)
    
    // Ternary predicate assertion macros.
    #define EXPECT_PRED_FORMAT3(pred_format, v1, v2, v3) \
      GTEST_PRED_FORMAT3_(pred_format, v1, v2, v3, GTEST_NONFATAL_FAILURE_)
    #define EXPECT_PRED3(pred, v1, v2, v3) \
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Nov 27 17:53:42 UTC 2023
    - 14.8K bytes
    - Viewed (0)
Back to top