- Sort Score
- Num 10 results
- Language All
Results 81 - 90 of 179 for arg (0.01 seconds)
-
tests/test_openapi_schema_type.py
def test_invalid_type_value() -> None: """Test that Schema raises ValueError for invalid type values.""" with pytest.raises(ValueError, match="2 validation errors for Schema"):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 685 bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/BaseParser.java
Path topDirectory = requireNonNull(context.cwd); boolean isAltFile = false; for (String arg : context.parserRequest.args()) { if (isAltFile) { // this is the argument following -f/--file Path path = topDirectory.resolve(stripLeadingAndTrailingQuotes(arg)); if (Files.isDirectory(path)) { topDirectory = path;
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) -
apache-maven/src/assembly/maven/bin/JvmConfigParser.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Dec 10 16:40:06 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/beans/impl/BeanDescImplTest.java
*/ public int add2(final int arg1, final int arg2) { return arg1 + arg2; } /** * @param arg * @return Integer */ public Integer echo(final Integer arg) { return arg; } /** * */ public void throwException() { throw new IllegalStateException("hoge");Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Fri Jun 20 13:40:57 GMT 2025 - 13.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/ClassMap.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 13.5K bytes - Click Count (0) -
compat/maven-embedder/src/main/java/org/apache/maven/cli/MavenCli.java
if (configFile.isFile()) { try (Stream<String> lines = Files.lines(configFile.toPath(), StandardCharsets.UTF_8)) { String[] args = lines.filter(arg -> !arg.isEmpty() && !arg.startsWith("#")) .toArray(String[]::new); mavenConfig = cliManager.parse(args); List<?> unrecognized = mavenConfig.getArgList();Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Mon Oct 27 13:24:03 GMT 2025 - 78.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
Class<?>[] classes = new Class[l]; for (int i = 0; i < l; ++i) { Object arg = args[i]; // if we are careful down below, a null argument goes in there // so we can know that the null was passed to the method classes[i] = arg == null ? null : arg.getClass(); } return getMostSpecific(methodList, classes); } /**
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 14.2K bytes - Click Count (0) -
tests/test_router_events.py
def lifespan(app: FastAPI) -> Generator[None, None, None]: state.app_startup = True yield state.app_shutdown = True app = FastAPI(lifespan=lifespan) # type: ignore[arg-type] @app.get("/") def main() -> dict[str, str]: return {"message": "Hello World"} assert state.app_startup is False assert state.app_shutdown is FalseCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 11.7K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
Object arg = args.get(i); // Use new fresh value generator because 'args' were populated with new fresh generator each. // Two newFreshValueGenerator() instances should normally generate equal value sequence. Object shouldBeEqualArg = generateDummyArg(param, newFreshValueGenerator()); if (arg != shouldBeEqualArg && Objects.equals(arg, shouldBeEqualArg)
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Apr 02 14:49:41 GMT 2026 - 32.5K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbEndOfFileExceptionTest.java
/** * Tests for SmbEndOfFileException focusing on message, status, and throwability. */ @ExtendWith(MockitoExtension.class) class SmbEndOfFileExceptionTest { /** * Verifies the no-arg constructor sets the expected message, status, and no cause. */ @Test void defaultConstructorSetsMessageAndStatus() { // Arrange & Act SmbEndOfFileException ex = new SmbEndOfFileException();Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 2.4K bytes - Click Count (0)