Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 83 for literal (0.06 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/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)
  6. 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)
  7. src/test/java/org/codelibs/fess/thumbnail/impl/BaseThumbnailGeneratorTest.java

            // So we use a literal backslash here to simulate XML-loaded value
            String xmlLoadedPattern = "image/svg" + "\\" + "+xml"; // Simulates XML value: image/svg\+xml
    
            generator.addCondition("mimetype", xmlLoadedPattern);
    
            // The condition map should store the pattern with a single backslash
            // which is correct for matching literal + in regex
            String svgMimetype = "image/svg+xml";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Wed Feb 04 14:24:39 GMT 2026
    - 17.1K bytes
    - Click Count (0)
  8. 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)
  9. 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)
  10. 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)
Back to Top