Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 160 for arbitrary (0.14 sec)

  1. guava/src/com/google/common/util/concurrent/RateLimiter.java

       *     arbitrary past or present time
       */
      abstract long queryEarliestAvailable(long nowMicros);
    
      /**
       * Reserves the requested number of permits and returns the time that those permits can be used
       * (with one caveat).
       *
       * @return the time that the permits may be used, or, if the permits may be used immediately, an
       *     arbitrary past or present time
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:51:36 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. fastapi/applications.py

                    * Documentation: the generated OpenAPI (and the UI at `/docs`) will
                        show it as the response (JSON Schema).
                    * Serialization: you could return an arbitrary object and the
                        `response_model` would be used to serialize that object into the
                        corresponding JSON.
                    * Filtering: the JSON sent to the client will only contain the data
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 17 04:52:31 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/io/ReaderInputStream.java

    import java.nio.charset.CoderResult;
    import java.nio.charset.CodingErrorAction;
    import java.util.Arrays;
    
    /**
     * An {@link InputStream} that converts characters from a {@link Reader} into bytes using an
     * arbitrary Charset.
     *
     * <p>This is an alternative to copying the data to an {@code OutputStream} via a {@code Writer},
     * which is necessarily blocking. By implementing an {@code InputStream} it allows consumers to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  4. guava/src/com/google/common/io/ReaderInputStream.java

    import java.nio.charset.CoderResult;
    import java.nio.charset.CodingErrorAction;
    import java.util.Arrays;
    
    /**
     * An {@link InputStream} that converts characters from a {@link Reader} into bytes using an
     * arbitrary Charset.
     *
     * <p>This is an alternative to copying the data to an {@code OutputStream} via a {@code Writer},
     * which is necessarily blocking. By implementing an {@code InputStream} it allows consumers to
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 9.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/GeneralRange.java

    import org.checkerframework.checker.nullness.qual.Nullable;
    
    /**
     * A generalized interval on any ordering, for internal use. Supports {@code null}. Unlike {@link
     * Range}, this allows the use of an arbitrary comparator. This is designed for use in the
     * implementation of subcollections of sorted collection types.
     *
     * <p>Whenever possible, use {@code Range} instead, which is better supported.
     *
     * @author Louis Wasserman
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/custom-response.md

    default, FastAPI will inspect every item inside and make sure it is serializable as JSON, using the same [JSON Compatible Encoder](../tutorial/encoder.md){.internal-link target=_blank} explained in the tutorial. This is what allows you to return **arbitrary objects**, for example database models.
    
    But if you are certain that the content that you are returning is **serializable with JSON**, you can pass it directly to the response class and avoid the extra overhead that FastAPI would have by...
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 12K bytes
    - Viewed (0)
  7. internal/jwt/parser.go

    	}
    
    	return nil
    }
    
    // NewMapClaims - Initializes a new map claims
    func NewMapClaims() *MapClaims {
    	return &MapClaims{MapClaims: jwtgo.MapClaims{}}
    }
    
    // Set Adds new arbitrary claim keys and values.
    func (c *MapClaims) Set(key string, val interface{}) {
    	if c == nil {
    		return
    	}
    	c.MapClaims[key] = val
    }
    
    // Delete deletes a key named key.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Sep 17 16:45:46 UTC 2024
    - 14.1K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       */
      @CheckForNull
      protected abstract char[] escape(int cp);
    
      /**
       * Returns the escaped form of a given literal string.
       *
       * <p>If you are escaping input in arbitrary successive chunks, then it is not generally safe to
       * use this method. If an input string ends with an unmatched high surrogate character, then this
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/Futures.java

       * new stack trace matches that of the current thread.
       *
       * <p>Instances of {@code exceptionClass} are created by choosing an arbitrary public constructor
       * that accepts zero or more arguments, all of type {@code String} or {@code Throwable}
       * (preferring constructors with at least one {@code String}, then preferring constructors with at
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 25 13:13:32 UTC 2024
    - 64.7K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/math/QuantilesTest.java

      // 1. Tests on a hardcoded dataset for chains starting with median(), quartiles(), and scale(10):
    
      /** The squares of the 16 integers from 0 to 15, in an arbitrary order. */
      private static final ImmutableList<Double> SIXTEEN_SQUARES_DOUBLES =
          ImmutableList.of(
              25.0, 100.0, 0.0, 144.0, 9.0, 121.0, 4.0, 225.0, 169.0, 64.0, 49.0, 16.0, 36.0, 1.0, 81.0,
              196.0);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 17:04:31 UTC 2023
    - 29.7K bytes
    - Viewed (0)
Back to top