Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 3,663 for overridden (0.09 seconds)

  1. tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py

        response = client.get("/docs")
        assert response.status_code == 200, response.text
        assert '"deepLinking": false,' in response.text, (
            "overridden configs should be preserved"
        )
        assert '"deepLinking": true' not in response.text, (
            "overridden configs should not include the old value"
        )
        assert '"syntaxHighlight": false' not in response.text, (
            "not used parameters should not be included"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.5K bytes
    - Click Count (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/SpecificHostSocketFactory.kt

      /** Sets the [real] address for [requested].  */
      operator fun set(
        requested: InetAddress,
        real: InetSocketAddress,
      ) {
        hostMapping[requested] = real
      }
    
      override fun createSocket(): Socket =
        object : Socket() {
          override fun connect(
            endpoint: SocketAddress?,
            timeout: Int,
          ) {
            val requested = (endpoint as InetSocketAddress)
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  3. tests/test_router_events.py

            yield {
                "app_specific": True,
                "overridden": "app",
            }
    
        @asynccontextmanager
        async def router_lifespan(
            app: FastAPI,
        ) -> AsyncGenerator[dict[str, Union[str, bool]], None]:
            yield {
                "router_specific": True,
                "overridden": "router",  # should override parent
            }
    
        router = APIRouter(lifespan=router_lifespan)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 7.3K bytes
    - Click Count (0)
  4. guava/src/com/google/common/cache/CacheLoader.java

       * only the entries for {@code keys} will be returned from {@code getAll}.
       *
       * <p>This method should be overridden when bulk retrieval is significantly more efficient than
       * many individual lookups. Note that {@link LoadingCache#getAll} will defer to individual calls
       * to {@link LoadingCache#get} if this method is not overridden.
       *
       * @param keys the unique, non-null keys whose values should be loaded
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 9.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/escape/ArrayBasedUnicodeEscaper.java

          this.safeMaxChar = (char) min(safeMax, Character.MIN_HIGH_SURROGATE - 1);
        }
      }
    
      /*
       * This is overridden to improve performance. Rough benchmarking shows that this almost doubles
       * the speed when processing strings that do not require any escaping.
       */
      @Override
      public final String escape(String s) {
        checkNotNull(s); // GWT specific check (do not optimize)
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Feb 13 15:45:16 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    @Deprecated
    class FileToRawModelMergerTest {
    
        /**
         * Ensures that all list-merge methods are overridden
         */
        @Test
        void testOverriddenMergeMethods() {
            List<String> methodNames = Stream.of(MavenMerger.class.getDeclaredMethods())
                    .filter(m -> m.getName().startsWith("merge"))
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. apache-maven/src/assembly/maven/conf/toolchains.xml

     |
     |  1. User Level. This toolchains.xml file provides configuration for a single user,
     |                 and is normally provided in ${user.home}/.m2/toolchains.xml.
     |
     |                 NOTE: This location can be overridden with the CLI option:
     |
     |                 -t /path/to/user/toolchains.xml
     |
     |  2. Installation Level.
     |                 This toolchains.xml file provides configuration for all Maven
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Aug 22 14:47:43 GMT 2024
    - 3.6K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/hash/Java8Compatibility.java

     * the License.
     */
    
    package com.google.common.hash;
    
    import com.google.common.annotations.GwtIncompatible;
    import java.nio.Buffer;
    
    /**
     * Wrappers around {@link Buffer} methods that are covariantly overridden in Java 9+. See
     * https://github.com/google/guava/issues/3990
     */
    @GwtIncompatible
    final class Java8Compatibility {
      static void clear(Buffer b) {
        b.clear();
      }
    
      static void flip(Buffer b) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 1.2K bytes
    - Click Count (0)
  9. fastapi/datastructures.py

    
    class DefaultPlaceholder:
        """
        You shouldn't use this class directly.
    
        It's used internally to recognize when a default value has been overwritten, even
        if the overridden default value was truthy.
        """
    
        def __init__(self, value: Any):
            self.value = value
    
        def __bool__(self) -> bool:
            return bool(self.value)
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 5.1K bytes
    - Click Count (0)
  10. okhttp/src/commonJvmAndroid/kotlin/okhttp3/RequestBody.kt

        @JvmStatic
        @JvmName("create")
        fun ByteString.toRequestBody(contentType: MediaType? = null): RequestBody =
          object : RequestBody() {
            override fun contentType() = contentType
    
            override fun contentLength() = size.toLong()
    
            override fun writeTo(sink: BufferedSink) {
              sink.write(this@toRequestBody)
            }
          }
    
        /** Returns a new request body that transmits this. */
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Tue Oct 07 14:16:29 GMT 2025
    - 9.3K bytes
    - Click Count (0)
Back to Top