- Sort Score
- Num 10 results
- Language All
Results 331 - 340 of 3,004 for IF (0.01 seconds)
-
helm-releases/minio-3.5.0.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...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Feb 02 00:16:41 GMT 2022 - 15.2K bytes - Click Count (0) -
tests/connpool_test.go
} func TestConnPoolWrapper(t *testing.T) { dialect := os.Getenv("GORM_DIALECT") if dialect != "mysql" { t.SkipNow() } dbDSN := os.Getenv("GORM_DSN") if dbDSN == "" { dbDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local" } nativeDB, err := sql.Open("mysql", dbDSN) if err != nil { t.Fatalf("Should open db success, but got %v", err) } conn := &wrapperConnPool{
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Sun May 25 07:40:40 GMT 2025 - 5.5K bytes - Click Count (0) -
src/bufio/example_test.go
i := bytes.IndexByte(data, ',') if i == -1 { if !atEOF { return 0, nil, nil } // If we have reached the end, return the last token. return 0, data, bufio.ErrFinalToken } // If the token is "STOP", stop the scanning and ignore the rest. if string(data[:i]) == "STOP" { return i + 1, nil, bufio.ErrFinalToken }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Nov 01 21:52:12 GMT 2024 - 5.5K bytes - Click Count (0) -
helm-releases/minio-5.3.0.tgz
purge." fi fi # Create the bucket if it does not exist and set objectlocking if enabled (NOTE: versioning will be not changed if OBJECTLOCKING is set because it enables versioning to the Buckets created) if ! checkBucketExists $BUCKET; then if [ ! -z $OBJECTLOCKING ]; then if [ $OBJECTLOCKING = true ]; then echo "Creating bucket with OBJECTLOCKING '$BUCKET'" ${MC} mb --with-lock myminio/$BUCKET elif [ $OBJECTLOCKING = false ]; then echo "Creating bucket '$BUCKET'" ${MC} mb myminio/$BUCKET fi elif...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Oct 11 12:21:05 GMT 2024 - 21.7K bytes - Click Count (0) -
tensorflow/c/c_api_experimental.cc
if (!status->status.ok()) return nullptr; if (input_index >= op_def->input_arg_size() || input_index < 0) { status->status = tensorflow::errors::InvalidArgument( input_index, " out of range for ", op_name); return nullptr; } const tensorflow::OpDef_ArgDef& input_arg = op_def->input_arg()[input_index]; if (input_arg.number_attr().empty()) {
Created: Tue Dec 30 12:39:10 GMT 2025 - Last Modified: Sat Oct 04 05:55:32 GMT 2025 - 29.4K bytes - Click Count (0) -
src/archive/tar/writer.go
if err != nil { return err } if name == "." { return nil } info, err := d.Info() if err != nil { return err } linkTarget := "" if typ := d.Type(); typ == fs.ModeSymlink { var err error linkTarget, err = fs.ReadLink(fsys, name) if err != nil { return err } } else if !typ.IsRegular() && typ != fs.ModeDir {Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Mon Feb 03 16:38:43 GMT 2025 - 19.7K bytes - Click Count (0) -
helm-releases/minio-4.0.4.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...Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jul 14 04:44:23 GMT 2022 - 18.2K bytes - Click Count (0) -
cmd/listen-notification-handlers.go
_, err := w.Write(ev) if err != nil { return } if len(mergeCh) == 0 { // Flush if nothing is queued xhttp.Flush(w) } grid.PutByteBuffer(ev) case <-emptyEventTicker: if err := enc.Encode(struct{ Records []event.Event }{}); err != nil { return } xhttp.Flush(w) case <-keepAliveTicker: if _, err := w.Write([]byte(" ")); err != nil { return
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 18 16:25:55 GMT 2025 - 6K bytes - Click Count (0) -
cmd/signature-v4.go
// Verify if expires query is same. if req.Form.Get(xhttp.AmzExpires) != query.Get(xhttp.AmzExpires) { return ErrSignatureDoesNotMatch } // Verify if signed headers query is same. if req.Form.Get(xhttp.AmzSignedHeaders) != query.Get(xhttp.AmzSignedHeaders) { return ErrSignatureDoesNotMatch } // Verify if credential query is same. if req.Form.Get(xhttp.AmzCredential) != query.Get(xhttp.AmzCredential) {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Dec 13 22:19:12 GMT 2024 - 12.4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/graph/DefaultGraphBuilder.java
this.projectSelector = new ProjectSelector(); // if necessary switch to DI } @Override public Result<ProjectDependencyGraph> build(MavenSession session) { try { Result<ProjectDependencyGraph> result = sessionDependencyGraph(session); if (result == null) { final List<MavenProject> projects = getProjectsForMavenReactor(session);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 18.5K bytes - Click Count (0)