Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 294 for Constant (0.04 seconds)

  1. docs/en/docs/reference/status.md

    # Status Codes
    
    You can import the `status` module from `fastapi`:
    
    ```python
    from fastapi import status
    ```
    
    `status` is provided directly by Starlette.
    
    It contains a group of named constants (variables) with integer status codes.
    
    For example:
    
    * 200: `status.HTTP_200_OK`
    * 403: `status.HTTP_403_FORBIDDEN`
    * etc.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 871 bytes
    - Click Count (0)
  2. guava/src/com/google/common/io/Files.java

       *
       * @param file the file to read from
       * @param charset the charset used to decode the input stream; see {@link StandardCharsets} for
       *     helpful predefined constants
       * @return the buffered reader
       */
      public static BufferedReader newReader(File file, Charset charset) throws FileNotFoundException {
        checkNotNull(file);
        checkNotNull(charset);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 25 20:24:13 GMT 2025
    - 32.8K bytes
    - Click Count (0)
  3. impl/maven-core/src/main/java/org/apache/maven/lifecycle/internal/builder/BuilderCommon.java

                final MavenSession currentSession,
                final MavenProject mavenProject,
                Throwable t,
                final Instant buildStartTime) {
            // record the error and mark the project as failed
            Instant buildEndTime = MonotonicClock.now();
            buildContext.getResult().addException(t);
            buildContext
                    .getResult()
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jan 10 08:42:00 GMT 2025
    - 10.3K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        long instant = 0L;
        final List<String> events = new ArrayList<>();
    
        @Override
        public long readMicros() {
          return NANOSECONDS.toMicros(instant);
        }
    
        void sleepMillis(int millis) {
          sleepMicros("U", MILLISECONDS.toMicros(millis));
        }
    
        void sleepMicros(String caption, long micros) {
          instant += MICROSECONDS.toNanos(micros);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  5. guava-tests/test/com/google/common/util/concurrent/RateLimiterTest.java

        long instant = 0L;
        final List<String> events = new ArrayList<>();
    
        @Override
        public long readMicros() {
          return NANOSECONDS.toMicros(instant);
        }
    
        void sleepMillis(int millis) {
          sleepMicros("U", MILLISECONDS.toMicros(millis));
        }
    
        void sleepMicros(String caption, long micros) {
          instant += MICROSECONDS.toNanos(micros);
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Oct 28 18:19:59 GMT 2025
    - 21.9K bytes
    - Click Count (0)
  6. impl/maven-cli/src/main/java/org/apache/maven/cling/transfer/Slf4jMavenTransferListener.java

     * specific language governing permissions and limitations
     * under the License.
     */
    package org.apache.maven.cling.transfer;
    
    import java.time.Duration;
    import java.time.Instant;
    
    import org.apache.maven.api.MonotonicClock;
    import org.eclipse.aether.transfer.AbstractTransferListener;
    import org.eclipse.aether.transfer.TransferCancelledException;
    import org.eclipse.aether.transfer.TransferEvent;
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 4K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/ProblemCollector.java

            if (protoSession != null
                    && protoSession.getUserProperties().containsKey(Constants.MAVEN_BUILDER_MAX_PROBLEMS)) {
                int limit = Integer.parseInt(protoSession.getUserProperties().get(Constants.MAVEN_BUILDER_MAX_PROBLEMS));
                return create(limit, p -> true);
            } else {
                return create(100);
            }
        }
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jul 18 17:30:19 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  8. impl/maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequest.java

        @Deprecated
        public Date getStartTime() {
            return new Date(startTime.toEpochMilli());
        }
    
        @Override
        public Instant getStartInstant() {
            return startTime;
        }
    
        @Override
        public MavenExecutionRequest setStartInstant(Instant startTime) {
            this.startTime = startTime;
            return this;
        }
    
        @Override
        public boolean isShowErrors() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Dec 12 11:02:17 GMT 2024
    - 32.1K bytes
    - Click Count (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/conflict/ConflictResolverNotFoundException.java

    /**
     * Indicates that a specified conflict resolver implementation could not be found.
     *
     * @since 3.0
     */
    @Deprecated
    public class ConflictResolverNotFoundException extends Exception {
        // constants --------------------------------------------------------------
    
        /** The serial version ID. */
        private static final long serialVersionUID = 3372412184339653914L;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 1.5K bytes
    - Click Count (0)
  10. docs/en/mkdocs.yml

      - content.code.annotate
      - content.code.copy
      - content.footnote.tooltips
      - content.tabs.link
      - content.tooltips
      - navigation.footer
      - navigation.indexes
      - navigation.instant
      - navigation.instant.prefetch
      - navigation.instant.progress
      - navigation.path
      - navigation.tabs
      - navigation.tabs.sticky
      - navigation.top
      - navigation.tracking
      - search.highlight
      - search.share
      - search.suggest
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 10:44:55 GMT 2025
    - 9.2K bytes
    - Click Count (0)
Back to Top