Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 151 - 160 of 354 for literals (0.04 seconds)

  1. src/main/java/org/codelibs/core/beans/impl/ConstructorDescImpl.java

        /**
         * Constructs an instance.
         *
         * @param beanDesc
         *            The {@link BeanDesc} of the class that owns this method. Must not be {@literal null}.
         * @param constructor
         *            The constructor. Must not be {@literal null}.
         */
        public ConstructorDescImpl(final BeanDesc beanDesc, final Constructor<?> constructor) {
            assertArgumentNotNull("beanDesc", beanDesc);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 5K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/lang/StringUtil.java

            for (final byte b : bytes) {
                appendHex(sb, b);
            }
            return new String(sb);
        }
    
        /**
         * Converts an {@literal int} value to a hexadecimal string.
         *
         * @param i
         *            the {@literal int} value
         * @return the hexadecimal string
         */
        public static String toHex(final int i) {
            final StringBuilder buf = new StringBuilder();
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 21.5K bytes
    - Click Count (0)
  3. api/maven-api-di/src/main/java/org/apache/maven/api/di/Typed.java

     * for injection. It can be used to prevent unintended automatic binding of implemented
     * interfaces or extended classes.
     * <p>
     * Example usage:
     * <pre>
     * {@literal @}Typed(ServiceImpl.class)
     * public class ServiceImpl implements Service {
     *     // Implementation
     * }
     * </pre>
     *
     * @since 4.0.0
     */
    @Target({FIELD, METHOD, TYPE})
    @Retention(RUNTIME)
    @Documented
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  4. api/maven-api-di/src/main/java/org/apache/maven/api/di/Provides.java

     * useful when the bean creation requires complex logic or when the bean needs to be
     * configured based on runtime conditions.
     * <p>
     * Example usage:
     * <pre>
     * public class Providers {
     *     {@literal @}Provides
     *     {@literal @}Singleton
     *     public static Configuration provideConfiguration() {
     *         return Configuration.load();
     *     }
     * }
     * </pre>
     *
     * @since 4.0.0
     */
    @Target(METHOD)
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/jar/JarInputStreamUtil.java

        /**
         * Do not instantiate.
         */
        protected JarInputStreamUtil() {
        }
    
        /**
         * Creates a {@link JarInputStream}.
         *
         * @param is the input stream (must not be {@literal null})
         * @return {@link JarInputStream}
         * @throws IORuntimeException if an {@link IOException} occurs
         * @see JarInputStream#JarInputStream(InputStream)
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 2.3K bytes
    - Click Count (0)
  6. api/maven-api-di/src/main/java/org/apache/maven/api/di/Named.java

     * which implementation should be injected when multiple candidates exist.
     * The value represents a unique identifier for the dependency.
     * <p>
     * Example usage:
     * <pre>
     * {@literal @}Inject
     * {@literal @}Named("mysql")
     * private Repository mysqlRepository;
     * </pre>
     *
     * @see Inject
     * @see Qualifier
     * @since 4.0.0
     */
    @Qualifier
    @Retention(RUNTIME)
    @Documented
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/io/SerializeUtil.java

            // Reject everything else
            return ObjectInputFilter.Status.REJECTED;
        };
    
        /**
         * Tests if the object can be serialized.
         *
         * @param obj the object to be serialized (must not be {@literal null})
         * @return the deserialized object
         */
        public static Object serialize(final Object obj) {
            assertArgumentNotNull("obj", obj);
    
            final byte[] binary = fromObjectToBinary(obj);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  8. fastapi/_compat/v2.py

        *,
        field: ModelField,
        model_name_map: ModelNameMap,
        field_mapping: dict[
            tuple[ModelField, Literal["validation", "serialization"]], JsonSchemaValue
        ],
        separate_input_output_schemas: bool = True,
    ) -> dict[str, Any]:
        override_mode: Literal["validation"] | None = (
            None
            if (separate_input_output_schemas or _has_computed_fields(field))
            else "validation"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  9. fastapi/utils.py

    import re
    import warnings
    from typing import (
        TYPE_CHECKING,
        Any,
        Literal,
    )
    
    import fastapi
    from fastapi._compat import (
        ModelField,
        PydanticSchemaGenerationError,
        Undefined,
        annotation_is_pydantic_v1,
    )
    from fastapi.datastructures import DefaultPlaceholder, DefaultType
    from fastapi.exceptions import FastAPIDeprecationWarning, PydanticV1NotSupportedError
    from pydantic.fields import FieldInfo
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 11 18:41:21 GMT 2026
    - 4.2K bytes
    - Click Count (0)
  10. scripts/deploy_docs_status.py

    import logging
    import re
    from typing import Literal
    
    from github import Auth, Github
    from pydantic import BaseModel, SecretStr
    from pydantic_settings import BaseSettings
    
    
    class Settings(BaseSettings):
        github_repository: str
        github_token: SecretStr
        deploy_url: str | None = None
        commit_sha: str
        run_id: int
        state: Literal["pending", "success", "error"] = "pending"
    
    
    class LinkData(BaseModel):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 30 05:56:53 GMT 2025
    - 4.4K bytes
    - Click Count (0)
Back to Top