Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 181 - 190 of 296 for Mark (0.02 seconds)

  1. tests/test_router_events.py

        router_shutdown: bool = False
        sub_router_startup: bool = False
        sub_router_shutdown: bool = False
    
    
    @pytest.fixture
    def state() -> State:
        return State()
    
    
    @pytest.mark.filterwarnings(
        r"ignore:\s*on_event is deprecated, use lifespan event handlers instead.*:DeprecationWarning"
    )
    def test_router_events(state: State) -> None:
        app = FastAPI()
    
        @app.get("/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 11.7K bytes
    - Click Count (0)
  2. tests/test_custom_route_class.py

    
    router_b.include_router(router=router_c, prefix="/c")
    router_a.include_router(router=router_b, prefix="/b")
    app.include_router(router=router_a, prefix="/a")
    
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "path,expected_status,expected_response",
        [
            ("/a", 200, {"msg": "A"}),
            ("/a/b", 200, {"msg": "B"}),
            ("/a/b/c", 200, {"msg": "C"}),
        ],
    )
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.3K bytes
    - Click Count (0)
  3. src/archive/zip/reader.go

    		r.fileList = make([]fileListEntry, 0, len(r.File))
    		// files and knownDirs map from a file/directory name
    		// to an index into the r.fileList entry that we are
    		// building. They are used to mark duplicate entries.
    		files := make(map[string]int)
    		knownDirs := make(map[string]int)
    
    		// dirs[name] is true if name is known to be a directory,
    		// because it appears as a prefix in a path.
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 28.5K bytes
    - Click Count (0)
  4. TESTING.asciidoc

    Run more verbose output (slave JVM parameters, etc.).
    
    ----------------------
    ./gradlew test -verbose
    ----------------------
    
    Change the default suite timeout to 5 seconds for all
    tests (note the exclamation mark).
    
    ---------------------------------------
    ./gradlew test -Dtests.timeoutSuite=5000! ...
    ---------------------------------------
    
    Change the logging level of ES (not Gradle)
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Mon Jun 07 13:55:20 GMT 2021
    - 32.5K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/CompactHashMap.java

        return (1 << (metadata & CompactHashing.HASH_TABLE_BITS_MASK)) - 1;
      }
    
      void incrementModCount() {
        metadata += CompactHashing.MODIFICATION_COUNT_INCREMENT;
      }
    
      /**
       * Mark an access of the specified entry. Used only in {@code CompactLinkedHashMap} for LRU
       * ordering.
       */
      void accessEntry(int index) {
        // no-op by default
      }
    
      @CanIgnoreReturnValue
      @Override
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Aug 09 01:14:59 GMT 2025
    - 35.7K bytes
    - Click Count (0)
  6. tests/test_dependency_class.py

    async def get_asynchronous_method_gen_dependency(
        value: str = Depends(methods_dependency.asynchronous_gen),
    ):
        return value
    
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "route,value",
        [
            ("/callable-dependency", "callable-dependency"),
            ("/callable-gen-dependency", "callable-gen-dependency"),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  7. CONTRIBUTING.md

    that cannot be merged.
    
    We add the `help wanted` label to existing GitHub issues for which community
    contributions are particularly welcome, and we use the `good first issue` label
    to mark issues that we think will be suitable for new contributors.
    
    The process for contributing to any of the [Elastic repositories](https://github.com/elastic/) is similar. Details for individual projects can be found below.
    
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 07:32:01 GMT 2021
    - 36.5K bytes
    - Click Count (0)
  8. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilder.java

        }
    
        public PluginDescriptor build(ReaderSupplier readerSupplier, String source) throws PlexusConfigurationException {
            try (BufferedReader br = new BufferedReader(readerSupplier.open(), BUFFER_SIZE)) {
                br.mark(BUFFER_SIZE);
                XMLStreamReader xsr = XMLInputFactory.newFactory().createXMLStreamReader(br);
                xsr.nextTag();
                String nsUri = xsr.getNamespaceURI();
    Created: Sun Apr 05 03:35:12 GMT 2026
    - Last Modified: Tue Mar 25 09:45:07 GMT 2025
    - 17.5K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/collect/ImmutableMap.java

        return get(key) != null;
      }
    
      @Override
      public boolean containsValue(@Nullable Object value) {
        return values().contains(value);
      }
    
      // Overriding to mark it Nullable
      @Override
      public abstract @Nullable V get(@Nullable Object key);
    
      /**
       * {@inheritDoc}
       *
       * <p>See <a
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Mon Feb 02 19:58:40 GMT 2026
    - 41.2K bytes
    - Click Count (0)
  10. tests/test_dependency_partial.py

                    "partial-asynchronous-method-gen-dependency",
                )
            ),
        ],
    ) -> str:
        return value
    
    
    client = TestClient(app)
    
    
    @pytest.mark.parametrize(
        "route,value",
        [
            ("/partial-function-dependency", "partial-function-dependency"),
            (
                "/partial-async-function-dependency",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 6.3K bytes
    - Click Count (0)
Back to Top