- Sort Score
- Num 10 results
- Language All
Results 691 - 700 of 1,299 for else (0.01 seconds)
-
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/manager/LegacyArtifactHandlerManager.java
if (handler == null) { handler = artifactHandlers.get(type); if (handler == null) { handler = new DefaultArtifactHandler(type); } else { allHandlers.put(type, handler); } } return handler; }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jan 10 08:42:00 GMT 2025 - 2.4K bytes - Click Count (0) -
tests/test_regex_deprecated_body.py
@app.post("/items/") async def read_items( q: Annotated[str | None, Form(regex="^fixedquery$")] = None, ): if q: return f"Hello {q}" else: return "Hello World" client = TestClient(app) return client @needs_py310 def test_no_query(): client = get_client() response = client.post("/items/")Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 18:19:10 GMT 2025 - 5.2K bytes - Click Count (0) -
tests/update_belongs_to_test.go
Created: Sun Dec 28 09:35:17 GMT 2025 - Last Modified: Thu Jul 14 06:55:54 GMT 2022 - 1.6K bytes - Click Count (0) -
cmd/batch-handlers.go
return } ri.Attempts++ if success { if dmarker { ri.DeleteMarkers++ } else { ri.Objects++ ri.BytesTransferred += size } if attempt > 1 { if dmarker { ri.DeleteMarkersFailed-- } else { ri.ObjectsFailed-- ri.BytesFailed += size } } } else { if attempt > 1 { // Only count first attempt return } if dmarker {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 63.5K bytes - Click Count (1) -
cmd/sftp-server.go
if !ok { return nil, errNoSuchUser } if globalSFTPTrustedCAPubkey != nil && pass == nil { err := validateClientKeyIsTrusted(c, key) if err != nil { return nil, errAuthentication } } else { // Temporary credentials are not allowed. if ui.Credentials.IsTemp() { return nil, errAuthentication } if subtle.ConstantTimeCompare([]byte(ui.Credentials.SecretKey), pass) != 1 {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 16.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
} catch (InterpolationException e) { if (logger.isDebugEnabled()) { logger.debug("Failed to interpolate missing file location for profile activator: " + fileString, e); } else { logger.warn("Failed to interpolate missing file location for profile activator: " + fileString + ", enable verbose output (-X) for more details"); } }
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
internal/event/rulesmap.go
func (rulesMap RulesMap) Remove(rulesMap2 RulesMap) { for eventName, rules := range rulesMap { if nr := rules.Difference(rulesMap2[eventName]); len(nr) != 0 { rulesMap[eventName] = nr } else { delete(rulesMap, eventName) } } } // MatchSimple - returns true if matching object name and event name in rules map. func (rulesMap RulesMap) MatchSimple(eventName Name, objectName string) bool {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Jun 01 21:59:40 GMT 2021 - 2.6K bytes - Click Count (0) -
src/cmd/addr2line/main.go
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Fri Jun 21 19:58:04 GMT 2024 - 2.4K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/AbstractUpgradeGoalTest.java
UpgradeOptions options = context.options(); if (options.modelVersion().isPresent()) { return options.modelVersion().get(); } else if (options.all().orElse(false)) { return "4.1.0"; } else { return "4.0.0"; } } public boolean testIsPluginsEnabled(UpgradeContext context) {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 13.7K bytes - Click Count (0) -
compat/maven-compat/src/test/java/org/apache/maven/project/inheritance/t03/ProjectInheritanceTest.java
* the final model of the project being assembled. There is no * overriding going on amongst the models being used in this test: * each model in the lineage is providing a value that is not present * anywhere else in the lineage. We are just making sure that values * down in the lineage are bubbling up where they should. * */ @Deprecated @SuppressWarnings("checkstyle:UnusedLocalVariable")Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Mar 21 04:56:21 GMT 2025 - 2.5K bytes - Click Count (0)