- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 24 for parseRequest (0.19 seconds)
The search processing time has exceeded the limit. The displayed results may be partial.
-
android/guava/src/com/google/common/primitives/ParseRequest.java
/** A string to be parsed as a number and the radix to interpret it in. */ @GwtCompatible final class ParseRequest { final String rawValue; final int radix; private ParseRequest(String rawValue, int radix) { this.rawValue = rawValue; this.radix = radix; } static ParseRequest fromString(String stringValue) { if (stringValue.isEmpty()) { throw new NumberFormatException("empty string");Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 1.7K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
* value * @since 13.0 */ @CanIgnoreReturnValue public static long decode(String stringValue) { ParseRequest request = ParseRequest.fromString(stringValue); try { return parseUnsignedLong(request.rawValue, request.radix); } catch (NumberFormatException e) { NumberFormatException decodeException =
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Jan 05 22:13:21 GMT 2026 - 17.8K bytes - Click Count (0) -
android/guava/src/com/google/common/primitives/UnsignedInts.java
* @throws NumberFormatException if the string does not contain a valid unsigned {@code int} value * @since 13.0 */ @CanIgnoreReturnValue public static int decode(String stringValue) { ParseRequest request = ParseRequest.fromString(stringValue); try { return parseUnsignedInt(request.rawValue, request.radix); } catch (NumberFormatException e) { NumberFormatException decodeException =Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 23 16:38:16 GMT 2026 - 13.9K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/ParserRequest.java
* This interface encapsulates all the necessary information needed to parse * Maven commands and arguments into an {@link InvokerRequest}. * * @since 4.0.0 */ @Immutable @Experimental public interface ParserRequest { /** * Returns the Maven command to be executed. This command is used in some invokers (ie forked) but also to * present help to user. * * @return the command string */ @NonnullCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Jun 07 06:22:47 GMT 2025 - 15.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
@SuppressWarnings("VisibilityModifier") public static class LocalContext { public final ParserRequest parserRequest; public final Map<String, String> systemPropertiesOverrides; public LocalContext(ParserRequest parserRequest) { this.parserRequest = parserRequest; this.systemPropertiesOverrides = new HashMap<>(); } public boolean parsingFailed = false;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 10 07:39:11 GMT 2025 - 25.5K bytes - Click Count (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/Parser.java
* * @since 4.0.0 */ @Experimental public interface Parser { /** * Parses the given ParserRequest to create an {@link InvokerRequest}. * This method does interpret tool arguments. * * @param parserRequest the request containing all necessary information for parsingCreated: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 31 20:56:58 GMT 2025 - 1.6K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/TestUtils.java
when(request.systemProperties()).thenReturn(Map.of()); when(request.options()).thenReturn(Optional.ofNullable(options)); // Mock parserRequest and logger ParserRequest parserRequest = mock(ParserRequest.class); Logger logger = mock(Logger.class); // Capture error messages for debugging doAnswer(invocation -> {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 8.9K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenEncCling.java
} @Override protected Parser createParser() { return new EncryptParser(); } @Override protected ParserRequest.Builder createParserRequestBuilder(String[] args) { return ParserRequest.mvnenc(args, createMessageBuilderFactory()); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/MavenShellCling.java
} @Override protected Parser createParser() { return new ShellParser(); } @Override protected ParserRequest.Builder createParserRequestBuilder(String[] args) { return ParserRequest.mvnsh(args, createMessageBuilderFactory()); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseInvokerRequest.java
import org.apache.maven.api.cli.InvokerRequest; import org.apache.maven.api.cli.Options; import org.apache.maven.api.cli.ParserRequest; import org.apache.maven.api.cli.cisupport.CIInfo; import static java.util.Objects.requireNonNull; public class BaseInvokerRequest implements InvokerRequest { private final ParserRequest parserRequest; private final boolean parsingFailed; private final Path cwd;Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jun 11 13:14:09 GMT 2025 - 4.2K bytes - Click Count (0)