Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 1,663 for ELSE (0.02 seconds)

  1. tests/update_test.go

    	} else if user.ID == 0 {
    		t.Fatalf("user's primary value should not zero, %v", user.ID)
    	} else if user.UpdatedAt.IsZero() {
    		t.Fatalf("user's updated at should not zero, %v", user.UpdatedAt)
    	}
    	lastUpdatedAt = user.UpdatedAt
    
    	if err := DB.Model(user).Update("Age", 10).Error; err != nil {
    		t.Errorf("errors happened when update: %v", err)
    	} else if user.Age != 10 {
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Mon Jul 21 02:46:58 GMT 2025
    - 30.4K bytes
    - Click Count (0)
  2. 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)
  3. helm-releases/minio-4.0.15.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: Wed Sep 21 11:07:01 GMT 2022
    - 20K bytes
    - Click Count (0)
  4. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HostnamesCommon.kt

          if (compress != -1) return null // Multiple "::" delimiters.
          i += 2
          b += 2
          compress = b
          if (i == limit) break
        } else if (b != 0) {
          // Group separator ":" delimiter.
          if (input.startsWith(":", startIndex = i)) {
            i++
          } else if (input.startsWith(".", startIndex = i)) {
            // If we see a '.', rewind to the beginning of the previous group and parse as IPv4.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 11.2K bytes
    - Click Count (0)
  5. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/ModelUpgradeStrategy.java

            UpgradeOptions options = getOptions(context);
    
            if (options.modelVersion().isPresent()) {
                return options.modelVersion().get();
            } else if (options.all().orElse(false)) {
                return MODEL_VERSION_4_1_0;
            } else {
                return MODEL_VERSION_4_0_0;
            }
        }
    
        /**
         * Gets the namespace URI for a model version.
         */
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 16.6K bytes
    - Click Count (0)
  6. .teamcity/src/main/kotlin/configurations/FunctionalTest.kt

            if (testCoverage.testType == TestType.ISOLATED_PROJECTS) {
                "isolatedProjectsIntegTest"
            } else {
                "${testCoverage.testType.asCamelCase()}Test"
            }
        return when {
            subprojects.isEmpty() -> {
                testTaskName
            }
    
            else -> {
                subprojects.joinToString(" ") { "$it:$testTaskName" }
            }
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 5.3K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/promotion/PublishNightlySnapshot.kt

        val oldReleasePattern = "release(\\d+)x".toRegex()
        return when (branchName) {
            "master" -> 0
            "release" -> 1
            else -> {
                val matchResult = oldReleasePattern.find(branchName)
                if (matchResult == null) {
                    null
                } else {
                    (matchResult.groupValues[1].toInt() - 4).apply {
                        require(this in 2..23)
                    }
                }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 08:57:18 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  8. helm-releases/minio-2.0.1.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: Tue Aug 31 09:09:09 GMT 2021
    - 13.6K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Hpack.kt

          private fun adjustDynamicTableByteCount() {
            if (maxDynamicTableByteCount < dynamicTableByteCount) {
              if (maxDynamicTableByteCount == 0) {
                clearDynamicTable()
              } else {
                evictToRecoverBytes(dynamicTableByteCount - maxDynamicTableByteCount)
              }
            }
          }
    
          private fun clearDynamicTable() {
            dynamicTable.fill(null)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Mon May 05 16:01:00 GMT 2025
    - 22.4K bytes
    - Click Count (0)
  10. cmd/iam-store.go

    		}
    		if !isGroup {
    			if userType == stsUser {
    				cache.iamSTSPolicyMap.Delete(name)
    			} else {
    				cache.iamUserPolicyMap.Delete(name)
    			}
    		} else {
    			cache.iamGroupPolicyMap.Delete(name)
    		}
    	} else {
    		if err = store.saveMappedPolicy(ctx, name, userType, isGroup, newPolicyMapping); err != nil {
    			return updatedAt, addedOrRemoved, effectivePolicies, err
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 87.1K bytes
    - Click Count (0)
Back to Top