- Sort Score
- Num 10 results
- Language All
Results 941 - 950 of 3,731 for get2 (0.08 seconds)
-
guava-tests/test/com/google/common/util/concurrent/MoreExecutorsTest.java
}; Runnable incrementTask = () -> threadLocalCount.set(threadLocalCount.get() + 1); FutureTask<@Nullable Void> otherTask = new FutureTask<>( () -> { Future<?> future = executor.submit(incrementTask); assertTrue(future.isDone()); assertEquals(1, threadLocalCount.get().intValue()); return null; });Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 26.1K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/PluginUpgradeStrategyTest.java
Map<Path, Document> pomMap = Map.of(Paths.get("pom.xml"), document); UpgradeContext context = createMockContext(); UpgradeResult result = strategy.doApply(context, pomMap); // Strategy should handle malformed POMs gracefully assertNotNull(result, "Result should not be null"); assertTrue(result.processedPoms().contains(Paths.get("pom.xml")), "POM should be marked as processed");
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 27.8K bytes - Click Count (0) -
src/main/java/org/codelibs/fess/util/SystemUtil.java
*/ private SystemUtil() { } /** * Gets the HTTP address of the search engine. * * @return The search engine HTTP address. */ public static String getSearchEngineHttpAddress() { return System.getProperty(Constants.FESS_SEARCH_ENGINE_HTTP_ADDRESS); } /** * Gets the compiled pattern for matching sensitive property/environment variable keys.Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Jan 02 03:32:50 GMT 2026 - 3.1K bytes - Click Count (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/FileSource.java
return path.toString(); } /** * Gets the file of this source. * * @return The underlying file, never {@code null}. * @deprecated Use {@link #getPath()} instead. */ @Deprecated public File getFile() { return path.toFile(); } /** * Gets the file of this source. * * @return The underlying file, never {@code null}.
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Jan 15 18:51:29 GMT 2025 - 3K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/repository/RepositoryRequest.java
* false} to use the update policy configured on each repository. * @return This request, never {@code null}. */ RepositoryRequest setForceUpdate(boolean forceUpdate); /** * Gets the local repository to use. * * @return The local repository to use or {@code null} if not set. */ ArtifactRepository getLocalRepository(); /** * Sets the local repository to use.Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 3.1K bytes - Click Count (0) -
tests/test_additional_responses_custom_model_in_callback.py
@callback_router.get( "{$callback_url}/callback/", responses={400: {"model": CustomModel}} ) def callback_route(): pass # pragma: no cover @app.post("/", callbacks=callback_router.routes) def main_route(callback_url: HttpUrl): pass # pragma: no cover client = TestClient(app) def test_openapi_schema(): response = client.get("/openapi.json")Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Feb 04 14:34:02 GMT 2026 - 5.9K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
thrown.set(t); } })); assertThat(thrown.get()).isNull(); assertEquals(expectedIsOccupied, actualIsOccupied.get()); assertEquals(expectedIsOccupiedByCurrentThread, actualIsOccupiedByCurrentThread.get()); assertEquals(expectedOccupiedDepth, actualOccupiedDepth.get()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 5K bytes - Click Count (0) -
guava/src/com/google/common/base/Platform.java
} static <T extends Enum<T>> Optional<T> getEnumIfPresent(Class<T> enumClass, String value) { WeakReference<? extends Enum<?>> ref = Enums.getEnumConstants(enumClass).get(value); /* * We use `fromNullable` instead of `of` because `WeakReference.get()` has a nullable return * type. * * In practice, we are very unlikely to see `null`: The `WeakReference` to the enum constant
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Dec 29 17:36:00 GMT 2025 - 3.7K bytes - Click Count (0) -
guava-tests/test/com/google/common/util/concurrent/SupplementalMonitorTest.java
thrown.set(t); } })); assertThat(thrown.get()).isNull(); assertEquals(expectedIsOccupied, actualIsOccupied.get()); assertEquals(expectedIsOccupiedByCurrentThread, actualIsOccupiedByCurrentThread.get()); assertEquals(expectedOccupiedDepth, actualOccupiedDepth.get()); }
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Mon Mar 16 22:45:21 GMT 2026 - 5K bytes - Click Count (0) -
compat/maven-artifact/src/main/java/org/apache/maven/repository/Proxy.java
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4K bytes - Click Count (0)