Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 460 for Convert (0.04 sec)

  1. src/main/java/jcifs/internal/smb2/persistent/DurableHandleV2Response.java

         * @return the timeout in milliseconds
         */
        public long getTimeoutMs() {
            if (timeout100Ns == 0) {
                return 0; // Persistent handles
            }
            // Convert from 100-nanosecond intervals to milliseconds
            // 1 ms = 10,000 * 100ns intervals
            return timeout100Ns / 10000L;
        }
    
        /**
         * Get the flags
         * @return the flags
         */
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 21 04:51:33 UTC 2025
    - 3K bytes
    - Viewed (0)
  2. src/main/java/org/codelibs/fess/app/web/api/admin/joblog/ApiAdminJoblogAction.java

            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        /**
         * Creates an edit body from a job log entity for API responses.
         *
         * @param entity the job log entity to convert
         * @return edit body containing the entity data
         */
        protected EditBody createEditBody(final JobLog entity) {
            final EditBody body = new EditBody();
            copyBeanToBean(entity, body, copyOp -> {
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 5.6K bytes
    - Viewed (0)
  3. android/guava-tests/benchmark/com/google/common/math/BigIntegerMathBenchmark.java

        }
      }
    
      /** Returns the product of {@code n1} exclusive through {@code n2} inclusive. */
      @SuppressWarnings("UseCorrectAssertInTests") // TODO(b/345814817): Remove or convert assertion.
      private static BigInteger oldSlowFactorial(int n1, int n2) {
        assert n1 <= n2;
        if (IntMath.log2(n2, CEILING) * (n2 - n1) < Long.SIZE - 1) {
          // the result will definitely fit into a long
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  4. docs/en/docs/advanced/response-headers.md

    And then you can return any object you need, as you normally would (a `dict`, a database model, etc).
    
    And if you declared a `response_model`, it will still be used to filter and convert the object you returned.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/fess/app/web/api/admin/relatedquery/ApiAdminRelatedqueryAction.java

            return asJson(new ApiResponse().status(Status.OK).result());
        }
    
        /**
         * Creates an EditBody from a RelatedQuery entity for API responses.
         *
         * @param entity the RelatedQuery entity to convert
         * @return EditBody containing the entity data formatted for editing
         */
        protected EditBody createEditBody(final RelatedQuery entity) {
            final EditBody body = new EditBody();
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Thu Aug 07 03:06:29 UTC 2025
    - 8.4K bytes
    - Viewed (0)
  6. guava/src/com/google/common/net/InetAddresses.java

        int hextet = 0;
        for (int i = start; i < end; i++) {
          hextet = hextet << 4;
          hextet |= Character.digit(ipString.charAt(i), 16);
        }
        return (short) hextet;
      }
    
      /**
       * Convert a byte array into an InetAddress.
       *
       * <p>{@link InetAddress#getByAddress} is documented as throwing a checked exception "if IP
       * address is of illegal length." We replace it with an unchecked exception, for use by callers
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Wed Feb 19 21:24:11 UTC 2025
    - 47.4K bytes
    - Viewed (0)
  7. guava/src/com/google/common/escape/Escaper.java

    import com.google.errorprone.annotations.DoNotMock;
    
    /**
     * An object 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
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Feb 13 15:45:16 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  8. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/ResultData.java

         * Get the raw data.
         * @return rawData
         */
        public Object getRawData() {
            return rawData;
        }
    
        /**
         * Set the serializer.
         * @param serializer the serializer function to convert raw data to byte array
         */
        public void setSerializer(final Function<Object, byte[]> serializer) {
            this.serializer = serializer;
        }
    
        /**
         * Get the data.
         * @return data
         */
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Sun Jul 06 02:13:03 UTC 2025
    - 4.7K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/util/Base64.java

     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    
    package jcifs.smb1.util;
    
    /**
     * Utility class for Base64 encoding and decoding operations.
     * Provides methods to convert between binary data and Base64 encoded strings.
     */
    public class Base64 {
    
        /**
         * Private constructor to prevent instantiation of this utility class.
         */
        private Base64() {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/response-model.md

    FastAPI will use this `response_model` to do all the data documentation, validation, etc. and also to **convert and filter the output data** to its type declaration.
    
    /// tip
    
    If you have strict type checks in your editor, mypy, etc, you can declare the function return type as `Any`.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 16K bytes
    - Viewed (0)
Back to top