Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 702 for Both (0.05 sec)

  1. docs/en/docs/reference/request.md

    You can import it directly from `fastapi`:
    
    ```python
    from fastapi import Request
    ```
    
    /// tip
    
    When you want to define dependencies that should be compatible with both HTTP and WebSockets, you can define a parameter that takes an `HTTPConnection` instead of a `Request` or a `WebSocket`.
    
    ///
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 518 bytes
    - Viewed (0)
  2. tests/test_empty_router.py

            response = client.get("/prefix/")
            assert response.status_code == 200, response.text
            assert response.json() == ["OK"]
    
    
    def test_include_empty():
        # if both include and router.path are empty - it should raise exception
        with pytest.raises(FastAPIError):
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Jun 11 22:37:34 UTC 2023
    - 805 bytes
    - Viewed (1)
  3. src/main/java/org/codelibs/fess/script/ScriptEngineFactory.java

         */
        public void add(final String name, final ScriptEngine scriptEngine) {
            if (name == null || scriptEngine == null) {
                throw new IllegalArgumentException(
                        "Both name and scriptEngine parameters are required. name: " + name + ", scriptEngine: " + scriptEngine);
            }
            if (logger.isDebugEnabled()) {
                logger.debug("Loaded ScriptEngine: {}", name);
            }
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/collect/testing/QueueTestSuiteBuilder.java

      }
    
      private boolean runCollectionTests = true;
    
      /**
       * Specify whether to skip the general collection tests. Call this method when testing a
       * collection that's both a queue and a list, to avoid running the common collection tests twice.
       * By default, collection tests do run.
       */
      @CanIgnoreReturnValue
      public QueueTestSuiteBuilder<E> skipCollectionTests() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Feb 26 19:46:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. build-logic-commons/gradle-plugin/src/main/kotlin/gradlebuild/AbstractBuildScanInfoCollectingService.kt

    import org.gradle.tooling.events.task.TaskFinishEvent
    import org.gradle.tooling.events.task.TaskOperationResult
    import java.io.Serializable
    
    /**
     * A BuildService which monitors a few tasks (in both build-logic and main build) and collects information for Build Scan.
     * It's currently implemented by two use cases:
     * 1. Collect cache misses for compilation tasks and publish a `CACHE_MISS` tag for a Build Scan.
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Tue Jun 10 05:45:46 UTC 2025
    - 2.3K bytes
    - Viewed (0)
  6. src/test/java/jcifs/smb1/smb1/SmbComTransactionResponseTest.java

            d.readBytesWireFormat(buf, 0);
    
            // After a full read both flags should be set and hasMore should be false
            assertTrue(d.getParametersDone(), "parametersDone should be true after reading");
            assertTrue(d.getDataDone(), "dataDone should be true after reading");
            assertFalse(d.getHasMore(), "hasMore should be false when both packets are fully read");
        }
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        private var keySize: Int = 0
    
        init {
          ecdsa256()
        }
    
        /**
         * Sets the certificate to be valid in ```[notBefore..notAfter]```. Both endpoints are specified
         * in the format of [System.currentTimeMillis]. Specify -1L for both values to use the default
         * interval, 24 hours starting when the certificate is created.
         */
        fun validityInterval(
          notBefore: Long,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/math/StatsAccumulator.java

         *    (whether it is NaN or infinity).
         * 3. If both the previous mean and the new value are non-finite and...
         * 3a. ...either or both is NaN (so mean != value) then the new mean is NaN.
         * 3b. ...they are both the same infinities (so mean == value) then the mean is unchanged.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 15.8K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/AbstractIteratorTester.java

        return asList(copy);
      }
    
      private interface IteratorOperation {
        @Nullable Object execute(Iterator<?> iterator);
      }
    
      /**
       * Apply this method to both iterators and return normally only if both produce the same response.
       *
       * @see Stimulus#executeAndCompare(ListIterator, Iterator)
       */
      @SuppressWarnings("CatchingUnchecked") // sneaky checked exception
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 21.4K bytes
    - Viewed (0)
  10. build-logic/build.gradle.kts

                    "which may cause two daemons to be spawned on CI and in IDEA. " +
                    "Use the same org.gradle.jvmargs for both builds.")
            }
        }
    }
    
    fun readProperties(propertiesFile: File) = java.util.Properties().apply {
        propertiesFile.inputStream().use { fis -> load(fis) }
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Fri Mar 14 02:17:00 UTC 2025
    - 1.2K bytes
    - Viewed (0)
Back to top