Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 71 - 80 of 368 for literal (0.18 seconds)

  1. src/main/java/org/codelibs/core/convert/ShortConversionUtil.java

        }
    
        /**
         * Converts to {@literal short}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@literal short}
         */
        public static short toPrimitiveShort(final Object o) {
            return toPrimitiveShort(o, null);
        }
    
        /**
         * Converts to {@literal short}.
         *
         * @param o
         *            The object to convert
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/net/HostAndPort.java

       * Generate an error if the host might be a non-bracketed IPv6 literal.
       *
       * <p>URI formatting requires that IPv6 literals be surrounded by brackets, like "[2001:db8::1]".
       * Chain this call after {@link #fromString(String)} to increase the strictness of the parser, and
       * disallow IPv6 literals that don't contain these brackets.
       *
       * <p>Note that this parser identifies IPv6 literals solely based on the presence of a colon. To
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 23 19:19:10 GMT 2026
    - 11.1K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/security/MessageDigestUtil.java

         *
         * @param algorithm
         *            The algorithm (refer to the Javadoc of {@link MessageDigest} for available algorithms).
         *            Must not be {@literal null} or an empty string.
         * @return {@link MessageDigest}
         * @throws RuntimeException
         *             If a {@link NoSuchAlgorithmException} occurs
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  4. docs_src/query_param_models/tutorial002_py310.py

    from typing import Literal
    
    from fastapi import FastAPI, Query
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class FilterParams(BaseModel):
        model_config = {"extra": "forbid"}
    
        limit: int = Field(100, gt=0, le=100)
        offset: int = Field(0, ge=0)
        order_by: Literal["created_at", "updated_at"] = "created_at"
        tags: list[str] = []
    
    
    @app.get("/items/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Sep 17 18:54:10 GMT 2024
    - 462 bytes
    - Click Count (0)
  5. src/main/java/org/codelibs/core/lang/ConstructorUtil.java

         *
         * @param <T> the type of the object
         * @param constructor the constructor (must not be {@literal null})
         * @param args the array of objects to be passed as arguments to the constructor invocation
         * @return a new object created by invoking the constructor
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  6. src/main/java/org/codelibs/core/beans/impl/ParameterizedClassDescImpl.java

         *            The raw class. Must not be {@literal null}.
         */
        public ParameterizedClassDescImpl(final Class<?> rawClass) {
            assertArgumentNotNull("rawClass", rawClass);
    
            this.rawClass = rawClass;
        }
    
        /**
         * Constructs an instance.
         *
         * @param rawClass
         *            The raw class. Must not be {@literal null}.
         * @param arguments
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Sat May 10 01:32:17 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/core/xml/DocumentBuilderUtil.java

         */
        protected DocumentBuilderUtil() {
        }
    
        /**
         * Parses the XML.
         *
         * @param builder
         *            {@link DocumentBuilder}; must not be {@literal null}.
         * @param is
         *            Input stream; must not be {@literal null}.
         * @return {@link Document}
         */
        public static Document parse(final DocumentBuilder builder, final InputStream is) {
            assertArgumentNotNull("builder", builder);
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/escape/UnicodeEscaper.java

    import org.jspecify.annotations.Nullable;
    
    /**
     * An {@link Escaper} that converts literal text into a format safe for inclusion in a particular
     * context (such as an XML document). Typically (but not always), the inverse process of
     * "unescaping" the text is performed automatically by the relevant parser.
     *
     * <p>For example, an XML escaper would convert the literal string {@code "Foo<Bar>"} into {@code
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Jan 24 04:06:11 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  9. src/main/java/org/codelibs/core/convert/BooleanConversionUtil.java

            default -> Boolean.TRUE;
            };
            default -> Boolean.TRUE;
            };
        }
    
        /**
         * Converts to {@literal boolean}.
         *
         * @param o
         *            The object to convert
         * @return The converted {@literal boolean}
         */
        public static boolean toPrimitiveBoolean(final Object o) {
            final Boolean b = toBoolean(o);
            if (b != null) {
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Jul 31 08:16:49 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  10. scripts/label_approved.py

    import logging
    from typing import Literal
    
    from github import Github
    from github.PullRequestReview import PullRequestReview
    from pydantic import BaseModel, SecretStr
    from pydantic_settings import BaseSettings
    
    
    class LabelSettings(BaseModel):
        await_label: str | None = None
        number: int
    
    
    default_config = {"approved-2": LabelSettings(await_label="awaiting-review", number=2)}
    
    
    class Settings(BaseSettings):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Jun 17 07:50:19 GMT 2025
    - 2.2K bytes
    - Click Count (0)
Back to Top