- Sort Score
- Result 10 results
- Languages All
Results 4651 - 4660 of 8,413 for Class1 (0.04 sec)
-
guava-testlib/src/com/google/common/util/concurrent/testing/SameThreadScheduledExecutorService.java
* * @author John Sirois * @author Zach van Schouwen */ @GwtIncompatible // TODO(cpovirk): Make this final (but that may break Mockito spy calls). class SameThreadScheduledExecutorService extends AbstractExecutorService implements ListeningScheduledExecutorService { private final ListeningExecutorService delegate = newDirectExecutorService(); @Override
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:37:28 UTC 2025 - 6.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/collect/SynchronizedMapTest.java
* * @author Mike Bostock */ @NullUnmarked public class SynchronizedMapTest extends TestCase { public final Object mutex = new Object[0]; // something Serializable protected <K, V> Map<K, V> create() { TestMap<K, V> inner = new TestMap<>(new HashMap<K, V>(), mutex); Map<K, V> outer = Synchronized.map(inner, mutex); return outer; } static class TestMap<K, V> extends ForwardingMap<K, V> implements Serializable {Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Jul 28 19:11:14 UTC 2025 - 5.9K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/PathType.java
/** * The option of a command-line tool where to place the paths to some dependencies. * A {@code PathType} can identify the Java class-path, the Java module path, * or another kind of path for another programming language for example. * Path types are often exclusive. For example, a dependency should not be * both on the Java class path and on the Java module path. * * @see org.apache.maven.api.services.DependencyResolverResult#getDispatchedPaths() *Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Jan 07 12:02:00 UTC 2025 - 5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/ProtoSession.java
} } /** * Returns new builder from scratch. */ static Builder newBuilder() { return new Builder().withStartTime(MonotonicClock.now()); } class Builder { private Map<String, String> userProperties; private Map<String, String> systemProperties; private Instant startTime; private Path topDirectory; private Path rootDirectory;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Thu Jul 03 14:18:26 UTC 2025 - 7.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderRequest.java
.build(); } @Nonnull static SettingsBuilderRequestBuilder builder() { return new SettingsBuilderRequestBuilder(); } @NotThreadSafe class SettingsBuilderRequestBuilder { ProtoSession session; RequestTrace trace; Source installationSettingsSource; Source projectSettingsSource; Source userSettingsSource;
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 9.4K bytes - Viewed (0) -
api/maven-api-core/src/test/java/org/apache/maven/api/feature/FeaturesTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Unit tests for the Features class. */ class FeaturesTest { @Test void testDeployBuildPomDefaultValue() { // Test that deployBuildPom returns true by default (when property is not set) Map<String, Object> emptyProperties = Map.of();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jul 04 19:42:23 UTC 2025 - 7.2K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/MonotonicClock.java
import java.time.Duration; import java.time.Instant; import java.time.ZoneId; import java.time.ZoneOffset; /** * A Clock implementation that combines monotonic timing with wall-clock time. * <p> * This class provides precise time measurements using {@link System#nanoTime()} * while maintaining wall-clock time information in UTC. The wall-clock time * is computed from the monotonic duration since system start to ensure consistencyRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Jan 15 06:28:29 UTC 2025 - 5.6K bytes - Viewed (0) -
docs_src/separate_openapi_schemas/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel class Item(BaseModel): name: str description: str | None = None app = FastAPI(separate_input_output_schemas=False) @app.post("/items/") def create_item(item: Item): return item @app.get("/items/") def read_items() -> list[Item]: return [ Item( name="Portal Gun",
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Aug 25 19:10:22 UTC 2023 - 486 bytes - Viewed (0) -
docs_src/authentication_error_status_code/tutorial001_an_py39.py
from typing import Annotated from fastapi import Depends, FastAPI, HTTPException, status from fastapi.security import HTTPAuthorizationCredentials, HTTPBearer app = FastAPI() class HTTPBearer403(HTTPBearer): def make_not_authenticated_error(self) -> HTTPException: return HTTPException( status_code=status.HTTP_403_FORBIDDEN, detail="Not authenticated" )
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 618 bytes - Viewed (0) -
docs_src/body_multiple_params/tutorial005_an_py39.py
from typing import Annotated, Union from fastapi import Body, FastAPI from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: Union[str, None] = None price: float tax: Union[float, None] = None @app.put("/items/{item_id}") async def update_item(item_id: int, item: Annotated[Item, Body(embed=True)]): results = {"item_id": item_id, "item": item}
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Mar 18 12:29:59 UTC 2023 - 428 bytes - Viewed (0)