Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 43 for Guyard (0.15 sec)

  1. docs/en/docs/advanced/middleware.md

    ```Python hl_lines="2  6"
    {!../../../docs_src/advanced_middleware/tutorial001.py!}
    ```
    
    ## `TrustedHostMiddleware`
    
    Enforces that all incoming requests have a correctly set `Host` header, in order to guard against HTTP Host Header attacks.
    
    ```Python hl_lines="2  6-8"
    {!../../../docs_src/advanced_middleware/tutorial002.py!}
    ```
    
    The following arguments are supported:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 10 18:27:10 GMT 2023
    - 4K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

         * which it is guaranteed that it can never become healthy.
         */
        final Monitor.Guard awaitHealthGuard = new AwaitHealthGuard();
    
        @WeakOuter
        final class AwaitHealthGuard extends Monitor.Guard {
          AwaitHealthGuard() {
            super(ServiceManagerState.this.monitor);
          }
    
          @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  3. internal/http/server.go

    	TCPOptions      TCPOptions    // all the configurable TCP conn specific configurable options.
    	ShutdownTimeout time.Duration // timeout used for graceful server shutdown.
    	listenerMutex   sync.Mutex    // to guard 'listener' field.
    	listener        *httpListener // HTTP listener for all 'Addrs' field.
    	inShutdown      uint32        // indicates whether the server is in shutdown or not
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Feb 09 21:25:16 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java

      private static final long serialVersionUID = 5595510919245408276L;
    
      final PriorityQueue<E> q;
      final Monitor monitor = new Monitor(true);
      private final Monitor.Guard notEmpty =
          new Monitor.Guard(monitor) {
            @Override
            public boolean isSatisfied() {
              return !q.isEmpty();
            }
          };
    
      /**
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 19.5K bytes
    - Viewed (0)
  5. tensorflow/c/experimental/filesystem/plugins/gcs/ram_file_block_cache.h

        std::list<Key>::iterator lra_iterator;
        /// The timestamp (seconds since epoch) at which the block was cached.
        uint64_t timestamp;
        /// Mutex to guard state variable
        absl::Mutex mu;
        /// The state of the block.
        FetchState state ABSL_GUARDED_BY(mu) = FetchState::CREATED;
        /// Wait on cond_var if state is FETCHING.
        absl::CondVar cond_var;
      };
    
    C
    - Registered: Tue Apr 23 12:39:09 GMT 2024
    - Last Modified: Mon Aug 31 04:46:34 GMT 2020
    - 10.6K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/base/ThrowablesTest.java

      @J2ktIncompatible
      @GwtIncompatible // lazyStackTraceIsLazy()
      public void testLazyStackTraceWorksInProd() {
        // TODO(b/64442212): Remove this guard once lazyStackTrace() works in Java 9+.
        Integer javaVersion = Ints.tryParse(JAVA_SPECIFICATION_VERSION.value());
        if (javaVersion != null && javaVersion >= 9) {
          return;
        }
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/base/ThrowablesTest.java

      @J2ktIncompatible
      @GwtIncompatible // lazyStackTraceIsLazy()
      public void testLazyStackTraceWorksInProd() {
        // TODO(b/64442212): Remove this guard once lazyStackTrace() works in Java 9+.
        Integer javaVersion = Ints.tryParse(JAVA_SPECIFICATION_VERSION.value());
        if (javaVersion != null && javaVersion >= 9) {
          return;
        }
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 23.6K bytes
    - Viewed (0)
  8. CONTRIBUTING.md

    TensorFlow coding style.
    
    #### General guidelines and philosophy for contribution
    
    *   Include unit tests when you contribute new features, as they help to a)
        prove that your code works correctly, and b) guard against future breaking
        changes to lower the maintenance cost.
    *   Bug fixes also generally require unit tests, because the presence of bugs
        usually indicates insufficient test coverage.
    Plain Text
    - Registered: Tue May 07 12:40:20 GMT 2024
    - Last Modified: Thu Mar 21 11:45:51 GMT 2024
    - 15.6K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/MinMaxPriorityQueue.java

            queue[0] = x;
            return 0;
          }
          int parentIndex = getParentIndex(index);
          E parentElement = elementData(parentIndex);
          if (parentIndex != 0) {
            /*
             * This is a guard for the case of the childless aunt node. Since the end of the array is
             * actually the middle of the heap, a smaller childless aunt node can become a child of x
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 34K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/io/Files.java

       *
       * <p>Copying is not an atomic operation - in the case of an I/O error, power loss, process
       * termination, or other problems, {@code to} may not be a complete copy of {@code from}. If you
       * need to guard against those conditions, you should employ other file-level synchronization.
       *
       * <p><b>Warning:</b> If {@code to} represents an existing file, that file will be overwritten
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 33.1K bytes
    - Viewed (0)
Back to top