Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 101 - 110 of 1,493 for else (0.03 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. callbacks/transaction.go

    			db.InstanceSet("gorm:started_transaction", true)
    		} else if tx.Error == gorm.ErrInvalidTransaction {
    			tx.Error = nil
    		} else {
    			db.Error = tx.Error
    		}
    	}
    }
    
    func CommitOrRollbackTransaction(db *gorm.DB) {
    	if !db.Config.SkipDefaultTransaction {
    		if _, ok := db.InstanceGet("gorm:started_transaction"); ok {
    			if db.Error != nil {
    				db.Rollback()
    			} else {
    				db.Commit()
    			}
    
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Nov 29 01:33:20 GMT 2021
    - 675 bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileActivationContext.java

        public DefaultProfileActivationContext setActiveProfileIds(List<String> activeProfileIds) {
            if (activeProfileIds != null) {
                this.activeProfileIds = Collections.unmodifiableList(activeProfileIds);
            } else {
                this.activeProfileIds = Collections.emptyList();
            }
    
            return this;
        }
    
        @Override
        public List<String> getInactiveProfileIds() {
            return inactiveProfileIds;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/project/DefaultProjectBuildingRequest.java

                this.inactiveProfileIds = new ArrayList<>(inactiveProfileIds);
            } else {
                this.inactiveProfileIds.clear();
            }
        }
    
        @Override
        public void setProfiles(List<Profile> profiles) {
            if (profiles != null) {
                this.profiles = new ArrayList<>(profiles);
            } else {
                this.profiles.clear();
            }
        }
    
        @Override
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 10:13:56 GMT 2025
    - 9.9K bytes
    - Click Count (0)
  4. helm-releases/minio-3.6.2.tgz

    $USER ; then echo "Creating user '$USER'" ${MC} admin user add myminio $USER $PASS else echo "User '$USER' already exists." fi # set policy for user if [ ! -z $POLICY -a $POLICY != " " ] ; then echo "Adding policy '$POLICY' for '$USER'" ${MC} admin policy set myminio $POLICY user=$USER else echo "User '$USER' has no policy attached." fi } # Try connecting to MinIO instance {{- if .Values.tls.enabled }} scheme=https {{- else }} scheme=http {{- end }} connectToMinio $scheme {{ if .Values.users }} # Create...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Thu Mar 17 18:30:55 GMT 2022
    - 17.9K bytes
    - Click Count (0)
  5. src/cmd/asm/internal/lex/input.go

    	in.expectNewline("#if[n]def")
    	if !in.enabled() {
    		truth = false
    	} else if _, defined := in.macros[name]; !defined {
    		truth = !truth
    	}
    	in.ifdefStack = append(in.ifdefStack, truth)
    }
    
    // #else processing
    func (in *Input) else_() {
    	in.expectNewline("#else")
    	if len(in.ifdefStack) == 0 {
    		in.Error("unmatched #else")
    	}
    	if len(in.ifdefStack) == 1 || in.ifdefStack[len(in.ifdefStack)-2] {
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Wed Nov 12 03:59:40 GMT 2025
    - 12.4K bytes
    - Click Count (0)
  6. helm-releases/minio-4.0.11.tgz

    .Capabilities.KubeVersion.GitVersion -}} {{- print "extensions/v1beta1" -}} {{- else if semverCompare "<1.19-0" .Capabilities.KubeVersion.GitVersion -}} {{- print "networking.k8s.io/v1beta1" -}} {{- else -}} {{- print "networking.k8s.io/v1" -}} {{- end -}} {{- end -}} {{/* Determine secret name. */}} {{- define "minio.secretName" -}} {{- if .Values.existingSecret -}} {{- .Values.existingSecret }} {{- else -}} {{- include "minio.fullname" . -}} {{- end -}} {{- end -}} {{/* Determine name for scc role and rolebinding...
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Aug 07 05:41:47 GMT 2022
    - 19.2K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/net/PercentEscaper.java

          return null;
        } else if (cp == ' ' && plusForSpace) {
          return plusSign;
        } else if (cp <= 0x7F) {
          // Single byte UTF-8 characters
          // Start with "%--" and fill in the blanks
          char[] dest = new char[3];
          dest[0] = '%';
          dest[2] = upperHexDigits[cp & 0xF];
          dest[1] = upperHexDigits[cp >>> 4];
          return dest;
        } else if (cp <= 0x7ff) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 28 01:26:26 GMT 2024
    - 8.6K bytes
    - Click Count (0)
  8. build-logic/build-update-utils/src/main/kotlin/gradlebuild/buildutils/tasks/UpdateReleasedVersions.kt

                    } else {
                        releasedVersions.latestReleaseSnapshot
                    },
                    if (!currentReleasedVersion.gradleVersion().isSnapshot && !currentReleasedVersion.gradleVersion().finalRelease()) {
                        newerVersion(currentReleasedVersion, releasedVersions.latestRc)
                    } else {
                        releasedVersions.latestRc
                    },
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 07 13:12:26 GMT 2021
    - 3.5K bytes
    - Click Count (0)
  9. tests/test_request_params/test_file/test_optional_list.py

        return {"file_size": [len(file) for file in p] if p else None}
    
    
    @app.post("/optional-list-uploadfile")
    async def read_optional_list_uploadfile(
        p: Annotated[Optional[list[UploadFile]], File()] = None,
    ):
        return {"file_size": [file.size for file in p] if p else None}
    
    
    @pytest.mark.parametrize(
        "path",
        [
            "/optional-list-bytes",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 10.4K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

            ${if (exitOnFailure) "exit 1" else ""}
        else
            echo "${'$'}REPO does not exist"
        fi
    
        """.trimIndent()
    
    fun checkCleanDirWindows(
        dir: String,
        exitOnFailure: Boolean = true,
    ) = """
    
        IF exist $dir (
            TREE $dir
            RMDIR /S /Q $dir
            ${if (exitOnFailure) "EXIT 1" else ""}
        )
        """.trimIndent()
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 07:29:52 GMT 2025
    - 8.6K bytes
    - Click Count (0)
Back to Top