Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for Predict (0.04 sec)

  1. tests/test_tutorial/test_events/test_tutorial003.py

            assert response.json() == {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "paths": {
                    "/predict": {
                        "get": {
                            "summary": "Predict",
                            "operationId": "predict_predict_get",
                            "parameters": [
                                {
                                    "required": True,
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  2. docs_src/events/tutorial003_py39.py

        yield
        # Clean up the ML models and release the resources
        ml_models.clear()
    
    
    app = FastAPI(lifespan=lifespan)
    
    
    @app.get("/predict")
    async def predict(x: float):
        result = ml_models["answer_to_everything"](x)
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 569 bytes
    - Viewed (0)
  3. docs/bucket/lifecycle/DESIGN.md

    ### Transition Status
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Aug 12 18:20:36 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb2/ServerMessageBlock2ResponseTest.java

            }
    
            public byte[] getRawPayload() {
                return rawPayload;
            }
    
            // Helper method to set credit since parent's setter is final
            public void setCreditForTest(int credit) {
                setCredit(credit);
            }
    
            @Override
            public Smb2SigningDigest getDigest() {
                return digest;
            }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 19.3K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/ServerMessageBlock2.java

        }
    
        /**
         * Gets the credit count for this message.
         *
         * @return the credit
         */
        public final int getCredit() {
            return this.credit;
        }
    
        /**
         * Sets the credit count for this message.
         *
         * @param credit
         *            the credit to set
         */
        public final void setCredit(final int credit) {
            this.credit = credit;
        }
    
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 31 08:00:57 UTC 2025
    - 24K bytes
    - Viewed (0)
  6. src/main/java/jcifs/internal/smb2/rdma/RdmaConnection.java

        }
    
        /**
         * Consume a send credit
         */
        public void consumeSendCredit() {
            sendCredits.decrementAndGet();
        }
    
        /**
         * Grant a send credit
         */
        public void grantSendCredit() {
            sendCredits.incrementAndGet();
        }
    
        /**
         * Grant a receive credit
         */
        public void grantReceiveCredit() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  7. CONTRIBUTORS

    https://github.com/google/guava/graphs/contributors. However, Git history
    over-counts some people's contributions because they were responsible for
    mirroring out changes from our internal repo.
    
    This files serves mainly to credit people who have not received proper credit
    in the Git history.
    
    Doug Lea, author of some concurrency libraries
    
    Joshua O'Madadhain (@jrtom), author of some common.graph commits beyond those
    that are already attributed to him in the Git history:
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Oct 09 21:14:06 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/README.md

    the potential to leak sensitive information such as "Authorization" or "Cookie" headers and the
    contents of request and response bodies. This data should only be logged in a controlled way or in
    a non-production environment.
    
    You can redact headers that may contain sensitive information by calling `redactHeader()`.
    ```java
    logging.redactHeader("Authorization");
    logging.redactHeader("Cookie");
    ```
    
    Download
    --------
    
    ```kotlin
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 21:39:59 UTC 2025
    - 1.3K bytes
    - Viewed (0)
  9. src/main/java/jcifs/internal/smb2/rdma/RdmaCredits.java

     * License along with this library; if not, write to the Free Software
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
     */
    package jcifs.internal.smb2.rdma;
    
    /**
     * RDMA credit management for flow control.
     *
     * Credits are used to control the flow of messages between
     * RDMA peers to prevent buffer overflow.
     */
    public class RdmaCredits {
    
        private int initialCredits;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 2K bytes
    - Viewed (0)
  10. src/test/java/jcifs/util/transport/RequestTest.java

            when(mockRequest.getCreditCost()).thenReturn(expectedCreditCost);
    
            int actualCreditCost = mockRequest.getCreditCost();
    
            assertEquals(expectedCreditCost, actualCreditCost, "Credit cost should match the mocked value.");
            verify(mockRequest, times(1)).getCreditCost(); // Verify method was called once
        }
    
        @Test
        void testSetRequestCredits() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 3.6K bytes
    - Viewed (0)
Back to top