Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 501 - 510 of 1,123 for ELSE (0.04 seconds)

  1. docs_src/query_params_str_validations/tutorial014_py39.py

    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        hidden_query: Union[str, None] = Query(default=None, include_in_schema=False),
    ):
        if hidden_query:
            return {"hidden_query": hidden_query}
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 330 bytes
    - Click Count (0)
  2. compat/maven-compat/src/test/java/org/apache/maven/artifact/testutils/TestFileManager.java

                File file = (File) it.next();
    
                if (file.exists()) {
                    if (file.isDirectory()) {
                        FileUtils.deleteDirectory(file);
                    } else {
                        file.delete();
                    }
                }
    
                it.remove();
            }
    
            warnAboutCleanup = false;
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 4.8K bytes
    - Click Count (0)
  3. build-logic-settings/UpdateDevelocityPluginVersion.java

                    Files.write(f.toPath(), content.getBytes());
                    System.out.println("Updated " + file + " to version " + newVersion);
                } else {
                    System.out.println("File " + file + " not found");
                }
            }
    
            System.out.println("All files updated successfully.");
        }
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Jan 23 17:40:08 GMT 2025
    - 1.4K bytes
    - Click Count (0)
  4. cmd/local-locker.go

    					modified = false
    					break
    				}
    				modified = true
    				// Remove the appropriate lock.
    				lris = append(lris[:i], lris[i+1:]...)
    				// Check same i
    			} else {
    				if lri.Writer {
    					writers++
    				} else {
    					readers++
    				}
    				// Move to next
    				i++
    			}
    		}
    		if modified {
    			l.lockMap[k] = lris
    		}
    	}
    	t := time.Now()
    	l.lastCleanup.Store(&t)
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 12K bytes
    - Click Count (0)
  5. .teamcity/src/main/kotlin/configurations/SmokeIdeTests.kt

        stage: Stage,
        flakyTestStrategy: FlakyTestStrategy,
    ) : OsAwareBaseGradleBuildType(os = Os.LINUX, stage = stage, init = {
            val suffix = if (flakyTestStrategy == FlakyTestStrategy.ONLY)"_FlakyTestQuarantine" else ""
            id(buildTypeId(model) + suffix)
            name = "Smoke Ide Tests$suffix"
            description = "Tests against IDE sync process"
    
            requirements {
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java

                            res.getEntry().getMd().setWhy("This is a graph entry point. No links.");
                        }
                    } else {
                        // fill in domain md with actual version data
                        ArtifactMetadata md = v.getMd();
                        ArtifactMetadata newMd = new ArtifactMetadata(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 7.4K bytes
    - Click Count (0)
  7. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/DefaultMojoExecutionConfigurator.java

                XmlNode pomConfiguration = null;
    
                if (pluginExecution != null) {
                    pomConfiguration = pluginExecution.getDelegate().getConfiguration();
                } else if (allowPluginLevelConfig) {
                    pomConfiguration = plugin.getDelegate().getConfiguration();
                }
    
                XmlNode mojoConfiguration = mojoExecution.getConfiguration() != null
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginDescriptorCache.java

                for (RemoteRepository repository : repositories) {
                    if (repository.isRepositoryManager()) {
                        this.repositories.addAll(repository.getMirroredRepositories());
                    } else {
                        this.repositories.add(repository);
                    }
                }
    
                int hash = 17;
                hash = hash * 31 + groupId.hashCode();
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.9K bytes
    - Click Count (0)
  9. internal/ringbuffer/ring_buffer.go

    	}
    
    	var avail int
    	if r.w >= r.r {
    		avail = r.size - r.w + r.r
    	} else {
    		avail = r.r - r.w
    	}
    
    	if len(p) > avail {
    		err = ErrTooMuchDataToWrite
    		p = p[:avail]
    	}
    	n = len(p)
    
    	if r.w >= r.r {
    		c1 := r.size - r.w
    		if c1 >= n {
    			copy(r.buf[r.w:], p)
    			r.w += n
    		} else {
    			copy(r.buf[r.w:], p[:c1])
    			c2 := n - c1
    			copy(r.buf[0:], p[c1:])
    			r.w = c2
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 13.3K bytes
    - Click Count (0)
  10. cmd/handler-utils.go

    	if err != nil && r.ContentLength != 0 {
    		internalLogOnceIf(GlobalContext, err, "location-constraint-xml-parsing")
    		// Treat all other failures as XML parsing errors.
    		return "", ErrMalformedXML
    	} // else for both err as nil or io.EOF
    	location = locationConstraint.Location
    	if location == "" {
    		location = globalSite.Region()
    	}
    	if !isValidLocation(location) {
    		return location, ErrInvalidRegion
    	}
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Sun Sep 28 20:59:21 GMT 2025
    - 16.4K bytes
    - Click Count (1)
Back to Top