- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 896 for toOptional (0.07 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolverRequest.java
} @Nonnull @Override public Optional<Project> getProject() { return Optional.ofNullable(project); } @Nonnull @Override public Optional<Artifact> getRootArtifact() { return Optional.ofNullable(rootArtifact); } @Nonnull @Override
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 16 14:15:37 UTC 2024 - 17.9K bytes - Viewed (0) -
tensorflow/c/eager/parallel_device/parallel_device_lib.h
#ifndef TENSORFLOW_C_EAGER_PARALLEL_DEVICE_PARALLEL_DEVICE_LIB_H_ #define TENSORFLOW_C_EAGER_PARALLEL_DEVICE_PARALLEL_DEVICE_LIB_H_ #include <memory> #include <optional> #include <string> #include <utility> #include <vector> #include "absl/status/status.h" #include "absl/types/optional.h" #include "absl/types/span.h" #include "absl/types/variant.h" #include "tensorflow/c/c_api.h" #include "tensorflow/c/eager/c_api.h"
Registered: Tue Nov 05 12:39:12 UTC 2024 - Last Modified: Mon Oct 21 04:14:14 UTC 2024 - 13.1K bytes - Viewed (0) -
tests/test_query.py
} ] } ) def test_query_optional(): response = client.get("/query/optional") assert response.status_code == 200 assert response.json() == "foo bar" def test_query_optional_query_baz(): response = client.get("/query/optional?query=baz") assert response.status_code == 200 assert response.json() == "foo bar baz"
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Apr 18 21:56:59 UTC 2024 - 11.4K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
@Nonnull @Override public Optional<Path> getPomFile() { return Optional.ofNullable(res.getPomFile()).map(File::toPath); } @Nonnull @Override public Optional<Project> getProject() { return Optional.ofNullable(session.getProject(res.getProject())); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
internal/config/batch/help.go
Optional: true, Type: "duration", }, config.HelpKV{ Key: KeyRotationWorkersWait, Description: `maximum sleep duration between objects to slow down batch keyrotation operation` + defaultHelpPostfix(KeyRotationWorkersWait), Optional: true, Type: "duration", }, config.HelpKV{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 02 10:51:33 UTC 2023 - 1.8K bytes - Viewed (0) -
internal/config/policy/plugin/help.go
Optional: true, Type: "string", Sensitive: true, Secret: true, }, config.HelpKV{ Key: EnableHTTP2, Description: "Enable experimental HTTP2 support to connect to plugin service" + defaultHelpPostfix(EnableHTTP2), Optional: true, Type: "bool", }, config.HelpKV{
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Jun 23 14:45:27 UTC 2023 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/Event.java
* * @return the current project or {@code empty()} if not applicable */ @Nonnull Optional<Project> getProject(); /** * Gets the current mojo execution (if any). * * @return the current mojo execution or {@code empty()} if not applicable */ @Nonnull Optional<MojoExecution> getMojoExecution(); /** * Gets the exception that caused the event (if any). *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 2.1K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/ConsolePasswordPrompt.java
this.prompter = prompter; } @Override public String description() { return "Secure console password prompt"; } @Override public Optional<String> configTemplate() { return Optional.empty(); } @Override public String handle(String config) throws SecDispatcherException { if (NAME.equals(config)) { try {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.6K bytes - Viewed (0) -
docs/pt/docs/python-types.md
```Python hl_lines="1 4" {!../../docs_src/python_types/tutorial009.py!} ``` O uso de `Optional[str]` em vez de apenas `str` permitirá que o editor o ajude a detectar erros, onde você pode estar assumindo que um valor é sempre um `str`, quando na verdade também pode ser `None`.
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Tue Oct 15 12:32:27 UTC 2024 - 18K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/artifact/factory/DefaultArtifactFactory.java
VersionRange versionRange, String type, String classifier, String scope, boolean optional) { return createArtifact(groupId, artifactId, versionRange, type, classifier, scope, null, optional); } public Artifact createDependencyArtifact( String groupId, String artifactId, VersionRange versionRange,
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0)