Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 61 for literal (0.09 seconds)

  1. src/main/java/org/codelibs/core/io/FileUtil.java

         *     throw new SecurityException("Path traversal attempt detected");
         * }
         * </pre>
         *
         * @param pathToCheck the path to validate (must not be {@literal null})
         * @param baseDirectory the base directory that the path must be within (must not be {@literal null})
         * @return true if the path is safe (within the base directory), false otherwise
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.2K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/core/log/Logger.java

         *            Exception. Must not be {@literal null}.
         */
        public void log(final Throwable throwable) {
            assertArgumentNotNull("throwable", throwable);
    
            error(throwable.getMessage(), throwable);
        }
    
        /**
         * Outputs a log entry.
         *
         * @param messageCode
         *            Message code. Must not be {@literal null} or empty string.
         * @param args
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 13.5K bytes
    - Click Count (0)
  3. src/main/java/org/codelibs/core/misc/DisposableUtil.java

         */
        public static synchronized void addFirst(final Disposable disposable) {
            assertArgumentNotNull("disposable", disposable);
            disposables.addFirst(disposable);
        }
    
        /**
         * Unregisters a disposable resource.
         *
         * @param disposable
         *            A disposable resource. Must not be {@literal null}.
         */
    Created: Fri Apr 03 20:58:12 GMT 2026
    - Last Modified: Thu Feb 12 12:10:45 GMT 2026
    - 3.1K bytes
    - Click Count (0)
  4. 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)
  5. android/guava/src/com/google/common/net/InetAddresses.java

        // The argument was malformed, i.e. not an IP string literal.
        if (addr == null) {
          throw formatIllegalArgumentException("'%s' is not an IP string literal.", ipString);
        }
    
        return bytesToInetAddress(addr, scope.scope);
      }
    
      /**
       * Returns {@code true} if the supplied string is a valid IP string literal, {@code false}
       * otherwise.
       *
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Mar 19 18:53:45 GMT 2026
    - 47.7K bytes
    - Click Count (0)
  6. 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)
  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. fastapi/openapi/utils.py

    import copy
    import http.client
    import inspect
    import warnings
    from collections.abc import Sequence
    from typing import Any, Literal, cast
    
    from fastapi import routing
    from fastapi._compat import (
        ModelField,
        get_definitions,
        get_flat_models_from_fields,
        get_model_name_map,
        get_schema_from_model_field,
        lenient_issubclass,
    )
    from fastapi.datastructures import DefaultPlaceholder, _Unset
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 25.6K bytes
    - Click Count (0)
Back to Top