- Sort Score
- Result 10 results
- Languages All
Results 951 - 960 of 6,241 for if (0.05 sec)
-
helm/minio/templates/post-job.yaml
release: {{ .Release.Name }} {{- if .Values.podLabels }} {{- toYaml .Values.podLabels | nindent 8 }} {{- end }} {{- if .Values.postJob.podAnnotations }} annotations: {{- toYaml .Values.postJob.podAnnotations | nindent 8 }} {{- end }} spec: restartPolicy: OnFailure {{- include "minio.imagePullSecrets" . | indent 6 }} {{- if .Values.nodeSelector }}
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Oct 10 15:48:31 UTC 2024 - 10.4K bytes - Viewed (0) -
cmd/signature-v4-utils.go
const unsignedPayloadTrailer = "STREAMING-UNSIGNED-PAYLOAD-TRAILER" // skipContentSha256Cksum returns true if caller needs to skip // payload checksum, false if not. func skipContentSha256Cksum(r *http.Request) bool { var ( v []string ok bool ) if isRequestPresignedSignatureV4(r) { v, ok = r.Form[xhttp.AmzContentSha256] if !ok { v, ok = r.Header[xhttp.AmzContentSha256] } } else {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Jun 13 22:26:38 UTC 2024 - 9.1K bytes - Viewed (0) -
internal/config/certs.go
} if key == nil { return tls.Certificate{}, ErrTLSUnexpectedData(nil).Msgf("The private key is not readable") } if x509.IsEncryptedPEMBlock(key) { password := env.Get(EnvCertPassword, "") if len(password) == 0 { return tls.Certificate{}, ErrTLSNoPassword(nil) } decryptedKey, decErr := x509.DecryptPEMBlock(key, []byte(password)) if decErr != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Wed Aug 14 17:11:51 UTC 2024 - 3.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
* <ul> * <li>Test will fail if default value for a parameter cannot be determined. * <li>Test will fail if the factory method returns null so testing instance methods is * impossible. * <li>Test will fail if the constructor or factory method throws exception. * </ul> * <li>If there is no non-private constructor or non-private static factory method declared by
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 32.7K bytes - Viewed (0) -
src/archive/zip/example_test.go
} for _, file := range files { f, err := w.Create(file.Name) if err != nil { log.Fatal(err) } _, err = f.Write([]byte(file.Body)) if err != nil { log.Fatal(err) } } // Make sure to check the error on Close. err := w.Close() if err != nil { log.Fatal(err) } } func ExampleReader() { // Open a zip archive for reading.
Registered: Tue Nov 05 11:13:11 UTC 2024 - Last Modified: Wed Jan 27 00:22:03 UTC 2016 - 2K bytes - Viewed (0) -
helm-releases/minio-3.4.7.tgz
Helm 2.9 and 2.10 does not support it, so we need to implement this if-else logic. Also, we can not use a single if because lazy evaluation is not an option */}} {{- if .Values.global }} {{- if .Values.global.imagePullSecrets }} imagePullSecrets: {{- range .Values.global.imagePullSecrets }} - name: {{ . }} {{- end }} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets }} {{- end -}} {{- else if .Values.imagePullSecrets }} imagePullSecrets: {{ toYaml .Values.imagePullSecrets...
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 25 20:49:24 UTC 2022 - 15.2K bytes - Viewed (0) -
internal/lock/lock_test.go
defer func() { err = os.Remove(f.Name()) if err != nil { t.Fatal(err) } }() rlk, err := RLockedOpenFile(f.Name()) if err != nil { t.Fatal(err) } isClosed := rlk.IsClosed() if isClosed { t.Fatal("File ref count shouldn't be zero") } // Increase reference count to 2. rlk.IncLockRef() isClosed = rlk.IsClosed() if isClosed { t.Fatal("File ref count shouldn't be zero")
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 19 18:05:16 UTC 2022 - 3.6K bytes - Viewed (0) -
src/main/java/jcifs/smb1/util/transport/Transport.java
try { Request key = peekKey(); if (key == null) throw new IOException( "end of stream" ); synchronized (this) { Response response = (Response)response_map.get( key ); if (response == null) { if (log.level >= 4) log.println( "Invalid key, skipping message" );
Registered: Sun Nov 03 00:10:13 UTC 2024 - Last Modified: Fri Mar 22 20:39:42 UTC 2019 - 9K bytes - Viewed (0) -
internal/etag/etag_test.go
for i, test := range fromContentMD5Tests { ETag, err := FromContentMD5(test.Header) if err != nil && !test.ShouldFail { t.Fatalf("Test %d: failed to convert Content-MD5 to ETag: %v", i, err) } if err == nil && test.ShouldFail { t.Fatalf("Test %d: should have failed but succeeded", i) } if err == nil { if !Equal(ETag, test.ETag) { t.Fatalf("Test %d: got %q - want %q", i, ETag, test.ETag) } }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Sep 18 17:00:54 UTC 2023 - 12.6K bytes - Viewed (0) -
cmd/os-reliable.go
// this is to ensure that if there is a racy parent directory // delete in between we can simply retry the operation. func mkdirAll(dirPath string, mode os.FileMode, baseDir string) (err error) { if dirPath == "" { return errInvalidArgument } if err = checkPathLength(dirPath); err != nil { return err } if err = reliableMkdirAll(dirPath, mode, baseDir); err != nil {
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Apr 22 17:49:30 UTC 2024 - 5.8K bytes - Viewed (0)