- Sort Score
- Num 10 results
- Language All
Results 1411 - 1420 of 3,004 for if (0.01 seconds)
-
compat/maven-embedder/src/main/java/org/apache/maven/cli/ResolveFile.java
*/ @Deprecated public class ResolveFile { public static File resolveFile(File file, String baseDirectory) { if (file == null) { return null; } else if (file.isAbsolute()) { return file; } else if (file.getPath().startsWith(File.separator)) { // drive-relative Windows path return file.getAbsoluteFile(); } else {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Nov 08 08:49:11 GMT 2024 - 1.4K bytes - Click Count (0) -
internal/dsync/utils.go
// // You should have received a copy of the GNU Affero General Public License // along with this program. If not, see <http://www.gnu.org/licenses/>. package dsync import ( "math/rand" "time" ) func backoffWait(minSleep, unit, maxSleep time.Duration) func(*rand.Rand, uint) time.Duration { if unit > time.Hour { // Protect against integer overflow panic("unit cannot exceed one hour") }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Mon Nov 11 14:51:43 GMT 2024 - 1.2K bytes - Click Count (0) -
src/cmd/asm/internal/arch/arm.go
func ARMConditionCodes(prog *obj.Prog, cond string) bool { if cond == "" { return true } bits, ok := ParseARMCondition(cond) if !ok { return false } /* hack to make B.NE etc. work: turn it into the corresponding conditional */ if prog.As == arm.AB { prog.As = bcode[(bits^arm.C_SCOND_XOR)&0xf] bits = (bits &^ 0xf) | arm.C_SCOND_NONE }
Created: Tue Dec 30 11:13:12 GMT 2025 - Last Modified: Wed Oct 23 15:18:14 GMT 2024 - 6.1K bytes - Click Count (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java
* * @param session The Maven session context * @param type The type of toolchain to retrieve * @return Optional containing the toolchain if found * @throws ToolchainManagerException if toolchain retrieval fails */ @Nonnull Optional<Toolchain> getToolchainFromBuildContext(@Nonnull Session session, @Nonnull String type) throws ToolchainManagerException;Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 3.5K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/toolchain/java/JavaToolchainFactory.java
String value = (String) provide.getValue(); if (value == null) { throw new MisconfiguredToolchainException( "Provides token '" + key + "' doesn't have any value configured."); } RequirementMatcher matcher; if ("version".equals(key)) { matcher = RequirementMatcherFactory.createVersionMatcher(value);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4.1K bytes - Click Count (0) -
build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/rules/MethodsRemovedInInternalSuperClassRule.groovy
Set<CtMethod> newMethods = collectAllPublicApiMethods(newClass.superclass) oldMethods.removeAll(newMethods) if (oldMethods.isEmpty()) { return null } List<String> changes = filterChangesToReport(oldClass, oldMethods) if (changes.isEmpty()) { return null }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Wed Dec 24 14:15:15 GMT 2025 - 4.2K bytes - Click Count (0) -
docs/en/docs/advanced/behind-a-proxy.md
You can start FastAPI CLI with the *CLI Option* `--forwarded-allow-ips` and pass the IP addresses that should be trusted to read those forwarded headers. If you set it to `--forwarded-allow-ips="*"` it would trust all the incoming IPs. If your **server** is behind a trusted **proxy** and only the proxy talks to it, this would make it accept whatever is the IP of that **proxy**. <div class="termy"> ```console
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 20:41:43 GMT 2025 - 16.4K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/transform/ArtifactTransformation.java
@Deprecated public interface ArtifactTransformation { String ROLE = ArtifactTransformation.class.getName(); /** * Take in an artifact and return the transformed artifact for locating in the remote repository. If no * transformation has occurred the original artifact is returned. * * @param artifact Artifact to be transformed. * @param request the repositories to check */Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/plugin/prefix/DefaultPluginPrefixRequest.java
*/ public DefaultPluginPrefixRequest() {} /** * Creates a request for the specified plugin prefix and build session. The provided build session will be used to * configure repository settings. If the session has a current project, its plugin repositories and model will be * used as well. * * @param prefix The plugin prefix to resolve, must not be {@code null}.Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/handler/DefaultArtifactHandler.java
} @Override public String getDirectory() { if (directory == null) { return getPackaging() + "s"; } return directory; } public void setDirectory(final String directory) { this.directory = directory; } @Override public String getPackaging() { if (packaging == null) { return type; }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.1K bytes - Click Count (0)