Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 611 - 620 of 1,123 for ELSE (0.02 seconds)

  1. cmd/mrf.go

    			}
    
    			if u.Object == "" {
    				healBucket(u.Bucket, scan)
    			} else {
    				if len(u.Versions) > 0 {
    					vers := len(u.Versions) / 16
    					if vers > 0 {
    						for i := range vers {
    							healObject(u.Bucket, u.Object, uuid.UUID(u.Versions[16*i:]).String(), scan)
    						}
    					}
    				} else {
    					healObject(u.Bucket, u.Object, u.VersionID, scan)
    				}
    			}
    
    			wait()
    		}
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue May 27 15:19:03 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. cmd/healthcheck-handler.go

    		// down, this is for orchestrators to know if we can safely
    		// take this server down, return appropriate error.
    		if opts.Maintenance {
    			writeResponse(w, http.StatusPreconditionFailed, nil, mimeNone)
    		} else {
    			writeResponse(w, http.StatusServiceUnavailable, nil, mimeNone)
    		}
    		return
    	}
    	writeResponse(w, http.StatusOK, nil, mimeNone)
    }
    
    // ClusterReadCheckHandler returns if the server is ready for requests.
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Wed Jun 26 07:44:34 GMT 2024
    - 6.9K bytes
    - Click Count (0)
  3. internal/crypto/key_test.go

    func recoverTest(i int, shouldPass bool, t *testing.T) {
    	if err := recover(); err == nil && !shouldPass {
    		t.Errorf("Test %d should fail but passed successfully", i)
    	} else if err != nil && shouldPass {
    		t.Errorf("Test %d should pass but failed: %v", i, err)
    	}
    }
    
    var generateKeyTests = []struct {
    	ExtKey     [32]byte
    	Random     io.Reader
    	ShouldPass bool
    }{
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Jul 12 20:51:54 GMT 2024
    - 6.7K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperties.java

            } else if (changeTypes.contains(METHOD_ADDED_TO_PUBLIC_CLASS) || changeTypes.contains(METHOD_ADDED_TO_INTERFACE)) {
                return isCurrentGetterOfUpgradedProperty(jApiMethod, currentAccessors) || isKotlinBooleanSourceCompatibilityMethod(jApiMethod, currentAccessors);
            } else if (changeTypes.contains(METHOD_RETURN_TYPE_CHANGED)) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 9.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/toolchain/RequirementMatcherFactory.java

                try {
                    VersionRange range = VersionRange.createFromVersionSpec(requirement);
                    if (range.hasRestrictions()) {
                        return range.containsVersion(version);
                    } else {
                        return range.getRecommendedVersion().compareTo(version) == 0;
                    }
                } catch (InvalidVersionSpecificationException ex) {
                    return false;
                }
            }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Feb 12 13:13:28 GMT 2025
    - 2.7K bytes
    - Click Count (0)
  6. tests/test_regex_deprecated_params.py

            @app.get("/items/")
            async def read_items(
                q: Annotated[str | None, Query(regex="^fixedquery$")] = None,
            ):
                if q:
                    return f"Hello {q}"
                else:
                    return "Hello World"
    
        client = TestClient(app)
        return client
    
    
    @needs_py310
    def test_query_params_str_validations_no_query():
        client = get_client()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 4.6K bytes
    - Click Count (0)
  7. build-logic/buildquality/src/main/kotlin/gradlebuild/codenarc/rules/IntegrationTestFixturesRule.kt

        override fun visitMethodCallExpression(mce: MethodCallExpression) {
            if (AstUtil.isMethodNamed(mce, "contains")) {
                checkOutputContains(mce)
            } else if (AstUtil.isMethodNamed(mce, "assertOutputContains")) {
                val objectExpr = mce.objectExpression
                checkIndirectOutputContains(objectExpr, mce)
            }
        }
    
        private
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.6K bytes
    - Click Count (0)
  8. .github/workflows/arm-ci.yml

            shell: bash
            run: |
              running_containers=$(docker ps -q) && \
              if [[ $running_containers == "" ]]; then
                echo "No running containers";
              else
                echo "Running container(s) found" && \
                docker stop $running_containers;
              fi
              docker container prune -f
          - name: Clean repository
            shell: bash
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Mon Dec 01 09:57:00 GMT 2025
    - 2.2K bytes
    - Click Count (0)
  9. .github/workflows/CheckBadMerge.groovy

                    }
                    System.err.println("And then amend the merge commit to remove all offending changes.")
                    System.exit(1)
                } else {
                    println(" -> No bad files found")
                }
            } else {
                println(" -> is not a merge commit we're looking for.")
            }
        }
    
        static List<String> filesFromMerge(String commit) {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Jan 24 10:03:31 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  10. tests/query_test.go

    			t.Errorf("errors happened when query first: %v", err)
    		} else {
    			CheckUser(t, first, users[0])
    		}
    	})
    
    	t.Run("Last", func(t *testing.T) {
    		var last User
    		if err := DB.Where("name = ?", "find").Last(&last).Error; err != nil {
    			t.Errorf("errors happened when query last: %v", err)
    		} else {
    			CheckUser(t, last, users[2])
    		}
    	})
    
    	var all []User
    Created: Sun Dec 28 09:35:17 GMT 2025
    - Last Modified: Tue Jul 22 06:21:04 GMT 2025
    - 51K bytes
    - Click Count (0)
Back to Top