- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 890 for cast (0.01 seconds)
-
architecture/standards/0008-use-nullaway.md
[`Cast.cast`](https://github.com/gradle/gradle/blob/674b8430b024f03cae24f1e4dd6dbaa78b557dae/platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java#L37) and [`Cast.castNullable`](https://github.com/gradle/gradle/blob/674b8430b024f03cae24f1e4dd6dbaa78b557dae/platforms/core-runtime/stdlib-java-extensions/src/main/java/org/gradle/internal/Cast.java#L62).Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Thu Dec 11 10:24:40 GMT 2025 - 4K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/CoreUtils.java
class CoreUtils { public static <T> T cast(Class<T> clazz, Object o, String name) { if (!clazz.isInstance(o)) { if (o == null) { throw new IllegalArgumentException(name + " is null"); } throw new IllegalArgumentException(name + " is not an instance of " + clazz.getName()); } return clazz.cast(o); }Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 22:23:23 GMT 2025 - 1.5K bytes - Click Count (0) -
internal/s3select/sql/funceval.go
case sqlFnCoalesce: return coalesce(argVals) case sqlFnNullIf: return nullif(argVals[0], argVals[1]) case sqlFnCharLength, sqlFnCharacterLength: return charlen(argVals[0]) case sqlFnLower: return lowerCase(argVals[0]) case sqlFnUpper: return upperCase(argVals[0]) case sqlFnUTCNow: return handleUTCNow() case sqlFnToString, sqlFnToTimestamp: // TODO: implement
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 13.2K bytes - Click Count (0) -
internal/s3select/unused-errors.go
// // CAST() related errors. // // //////////////////////////////////////////////////////////////////////////////////// func errCastFailed(err error) *s3Error { return &s3Error{ code: "CastFailed", message: "Attempt to convert from one data type to another using CAST failed in the SQL expression.", statusCode: 400, cause: err, } }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Feb 20 08:16:35 GMT 2024 - 17.5K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/InternalMavenSession.java
import static org.apache.maven.internal.impl.CoreUtils.cast; public interface InternalMavenSession extends InternalSession { static InternalMavenSession from(Session session) { return cast(InternalMavenSession.class, session, "session should be an " + InternalMavenSession.class); } static InternalMavenSession from(org.eclipse.aether.RepositorySystemSession session) {Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Mon Mar 24 14:09:05 GMT 2025 - 2.2K bytes - Click Count (0) -
internal/s3select/sql/parser.go
type CountFunc struct { StarArg bool `parser:" \"COUNT\" \"(\" ( @\"*\"?"` ExprArg *Expression `parser:" @@? )! \")\""` } // CastFunc represents CAST sql function type CastFunc struct { Expr *Expression `parser:" \"CAST\" \"(\" @@ "` CastType string `parser:" \"AS\" @(\"BOOL\" | \"INT\" | \"INTEGER\" | \"STRING\" | \"FLOAT\" | \"DECIMAL\" | \"NUMERIC\" | \"TIMESTAMP\") \")\" "` }Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 12.9K bytes - Click Count (0) -
fastapi/security/oauth2.py
from typing import Annotated, Any, Optional, Union, cast from annotated_doc import Doc from fastapi.exceptions import HTTPException from fastapi.openapi.models import OAuth2 as OAuth2Model from fastapi.openapi.models import OAuthFlows as OAuthFlowsModel from fastapi.param_functions import Form from fastapi.security.base import SecurityBase from fastapi.security.utils import get_authorization_scheme_param from starlette.requests import Request
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 22K bytes - Click Count (0) -
fastapi/datastructures.py
from collections.abc import Mapping from typing import ( Annotated, Any, BinaryIO, Callable, Optional, TypeVar, cast, ) from annotated_doc import Doc from pydantic import GetJsonSchemaHandler from starlette.datastructures import URL as URL # noqa: F401 from starlette.datastructures import Address as Address # noqa: F401 from starlette.datastructures import FormData as FormData # noqa: F401
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 5.1K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/ProtoLookup.java
@Override public <T> T lookup(Class<T> type, String name) { return lookup(type); } @Override public <T> Optional<T> lookupOptional(Class<T> type) { return Optional.ofNullable(type.cast(components.get(type))); } @Override public <T> Optional<T> lookupOptional(Class<T> type, String name) { return lookupOptional(type); } @OverrideCreated: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 2.8K bytes - Click Count (0) -
fastapi/openapi/utils.py
import http.client import inspect import warnings from collections.abc import Sequence from typing import Any, Optional, Union, cast from fastapi import routing from fastapi._compat import ( ModelField, Undefined, get_compat_model_name_map, get_definitions, get_schema_from_model_field, lenient_issubclass, ) from fastapi.datastructures import DefaultPlaceholder from fastapi.dependencies.models import Dependant
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sat Dec 27 12:54:56 GMT 2025 - 23.2K bytes - Click Count (0)