Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 398 for broken (0.04 sec)

  1. tests/test_dependency_after_yield_raise.py

    
    def broken_dep() -> Any:
        yield "s"
        raise ValueError("Broken after yield")
    
    
    app = FastAPI()
    
    
    @app.get("/catching")
    def catching(d: Annotated[str, Depends(catching_dep)]) -> Any:
        raise CustomError("Simulated error during streaming")
    
    
    @app.get("/broken")
    def broken(d: Annotated[str, Depends(broken_dep)]) -> Any:
        return {"message": "all good?"}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  2. tests/test_dependency_after_yield_streaming.py

        def iter_data():
            yield from session
    
        return StreamingResponse(iter_data())
    
    
    @app.get("/broken-session-data")
    def get_broken_session_data(session: BrokenSessionDep) -> Any:
        return list(session)
    
    
    @app.get("/broken-session-stream")
    def get_broken_session_stream(session: BrokenSessionDep) -> Any:
        def iter_data():
            yield from session
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 3.2K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbTransportPool.java

         *
         * @param dc the domain controller address
         * @param tc the CIFS context containing credentials
         * @throws CIFSException if an error occurs during authentication
         * @deprecated functionality is broken and will be removed at some point,
         *             use actual Active Directory authentication instead
         */
        @Deprecated
        void logon(CIFSContext tc, Address dc) throws CIFSException;
    
        /**
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 7.5K bytes
    - Viewed (0)
  4. build-logic/documentation/src/test/groovy/gradlebuild/docs/FindBrokenInternalLinksTest.groovy

                    samplesRoot = project.layout.buildDirectory.dir('working/samples/docs');
                }
            """
        }
    
        def "finds broken section links"() {
            given:
            sampleDoc << """
    === Dead Section Links
    This section doesn't exist: <<missing_section>>
    Also see this one, which is another dead link: <<other_missing_section>>
            """
    
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Thu Aug 21 16:24:54 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  5. tests/test_dependency_after_yield_websockets.py

    @app.websocket("/ws")
    async def websocket_endpoint(websocket: WebSocket, session: SessionDep):
        await websocket.accept()
        for item in session:
            await websocket.send_text(f"{item}")
    
    
    @app.websocket("/ws-broken")
    async def websocket_endpoint_broken(websocket: WebSocket, session: BrokenSessionDep):
        await websocket.accept()
        for item in session:
            await websocket.send_text(f"{item}")  # pragma no cover
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 2K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/AbstractBiMap.java

        inverse.delegate.clear();
        Entry<K, V> broken = null;
        Iterator<Entry<K, V>> itr = this.delegate.entrySet().iterator();
        while (itr.hasNext()) {
          Entry<K, V> entry = itr.next();
          K k = entry.getKey();
          V v = entry.getValue();
          K conflict = inverse.delegate.putIfAbsent(v, k);
          if (conflict != null) {
            broken = entry;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Sep 22 15:50:50 UTC 2025
    - 14.3K bytes
    - Viewed (0)
  7. ci/README.md

    and deploy TensorFlow. This folder is typically used by continuous integration
    (CI) tools to build and test TensorFlow whenever there is a change to the
    code. This folder is broken into subfolders that represent the level of support
    Registered: Tue Dec 30 12:39:10 UTC 2025
    - Last Modified: Tue Jun 06 21:00:01 UTC 2023
    - 825 bytes
    - Viewed (0)
  8. impl/maven-core/src/test/java/org/apache/maven/project/PluginConnectionSimpleTest.java

        }
    
        @Test
        void testPluginConnectionBeforeAndAfterFix() {
            // This test demonstrates the difference between the old broken behavior and the new fixed behavior
    
            Model model = new Model();
            model.setGroupId("test.group");
            model.setArtifactId("test-artifact");
            model.setVersion("1.0.0");
    
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Fri Jul 04 12:50:13 UTC 2025
    - 5K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/AggregateFutureState.java

        // Log after all static init is finished; if an installed logger uses any Futures methods, it
        // shouldn't break in cases where reflection is missing/broken.
        if (thrownReflectionFailure != null) {
          log.get().log(Level.SEVERE, "SafeAtomicHelper is broken!", thrownReflectionFailure);
        }
      }
    
      AggregateFutureState(int remainingFutures) {
        this.remainingField = remainingFutures;
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  10. android/guava-testlib/test/com/google/common/testing/EqualsTesterTest.java

        } catch (AssertionFailedError e) {
          assertErrorMessage(e, "bar [group 1, item 2] must be Object#equals to foo [group 1, item 1]");
          return;
        }
        fail("should failed because symmetry is broken");
      }
    
      public void testTransitivityBrokenInEqualityGroup() {
        EqualsTester tester =
            new EqualsTester()
                .addEqualityGroup(
                    named("foo").addPeers("bar", "baz"),
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed May 14 19:40:47 UTC 2025
    - 13.1K bytes
    - Viewed (0)
Back to top