- Sort Score
- Num 10 results
- Language All
Results 251 - 260 of 1,171 for optionals (0.08 seconds)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainManager.java
* * @param session The Maven session context * @param type The type of toolchain to retrieve * @return Optional containing the toolchain if found * @throws ToolchainManagerException if toolchain retrieval fails */ @Nonnull Optional<Toolchain> getToolchainFromBuildContext(@Nonnull Session session, @Nonnull String type) throws ToolchainManagerException; /**Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 12:33:57 GMT 2025 - 3.5K bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/10_contributor_bug_report.yml
id: build-scan-url attributes: label: Build scan URL (optional) description: | You can run your build command with `--scan` to publish a Build Scan to [scans.gradle.com](https://scans.gradle.com/). validations: required: false - type: textarea id: environment attributes: label: Your Environment (optional) description: |Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Sep 09 14:48:49 GMT 2024 - 3K bytes - Click Count (1) -
internal/config/subnet/help.go
Description: "Enterprise license for the cluster" + defaultHelpPostfix(config.License), Optional: true, Sensitive: true, }, config.HelpKV{ Key: config.APIKey, Type: "string", Description: "Enterprise license API key for the cluster" + defaultHelpPostfix(config.APIKey), Optional: true, Sensitive: true, }, config.HelpKV{ Key: config.Proxy,
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Wed Jul 10 20:16:44 GMT 2024 - 1.7K bytes - Click Count (0) -
android/guava/src/com/google/common/io/CharSource.java
} @Override public Optional<Long> lengthIfKnown() { long result = 0L; for (CharSource source : sources) { Optional<Long> lengthIfKnown = source.lengthIfKnown(); if (!lengthIfKnown.isPresent()) { return Optional.absent(); } result += lengthIfKnown.get(); } return Optional.of(result); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.7K bytes - Click Count (0) -
guava/src/com/google/common/io/CharSource.java
} @Override public Optional<Long> lengthIfKnown() { long result = 0L; for (CharSource source : sources) { Optional<Long> lengthIfKnown = source.lengthIfKnown(); if (!lengthIfKnown.isPresent()) { return Optional.absent(); } result += lengthIfKnown.get(); } return Optional.of(result); } @OverrideCreated: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Mon Sep 08 18:35:13 GMT 2025 - 25.3K bytes - Click Count (0) -
tests/test_dependency_contextvars.py
from collections.abc import Awaitable from contextvars import ContextVar from typing import Any, Callable, Optional from fastapi import Depends, FastAPI, Request, Response from fastapi.testclient import TestClient legacy_request_state_context_var: ContextVar[Optional[dict[str, Any]]] = ContextVar( "legacy_request_state_context_var", default=None ) app = FastAPI() async def set_up_request_state_dependency():
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.5K bytes - Click Count (0) -
compat/maven-compat/src/test/resources/inheritance-repo/t06/p0/pom.xml
</dependency> <dependency> <groupId>maven-test</groupId> <artifactId>t06-d</artifactId> <version>1.2</version> <scope>test</scope> <optional>false</optional> </dependency> </dependencies> </dependencyManagement>Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 992 bytes - Click Count (0) -
cmd/batch-expire_test.go
expireYaml := ` expire: # Expire objects that match a condition apiVersion: v1 bucket: mybucket # Bucket where this batch job will expire matching objects from prefix: myprefix # (Optional) Prefix under which this job will expire objects matching the rules below. rules: - type: object # regular objects with zero or more older versions name: NAME # match object names that satisfy the wildcard expression.Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Aug 01 12:53:30 GMT 2024 - 5.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultTypeRegistry.java
if (executionEvent.getType() == ExecutionEvent.Type.SessionEnded) { usedTypes.clear(); } } } @Override public Optional<Type> lookup(String id) { return Optional.of(require(id)); } @Override @Nonnull public Type require(String id) { requireNonNull(id, "id cannot be null"); return usedTypes.computeIfAbsent(id, i -> {
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed May 14 04:47:58 GMT 2025 - 4K bytes - Click Count (0) -
tests/test_security_oauth2_authorization_code_bearer_scopes_openapi.py
router = APIRouter(dependencies=[Security(oauth2_scheme, scopes=["read"])]) @router.get("/items/") async def read_items(token: Optional[str] = Depends(oauth2_scheme)): return {"token": token} @router.post("/items/") async def create_item( token: Optional[str] = Security(oauth2_scheme, scopes=["read", "write"]), ): return {"token": token} app.include_router(router)
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 6.6K bytes - Click Count (0)