Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 574 for sends (0.02 seconds)

  1. src/test/java/jcifs/smb/SmbTreeImplTest.java

            when(response.getService()).thenReturn("A:");
            when(response.isValidTid()).thenReturn(true);
            when(response.getTid()).thenReturn(1);
            when(session.send(any(), any())).thenReturn(response);
            when(config.isIpcSigningEnforced()).thenReturn(false);
    
            SmbTreeImpl tree = new SmbTreeImpl(session, "SHARE", "A:");
            tree.treeConnect(null, null);
    
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 7.8K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_background_tasks/test_tutorial002.py

        client = TestClient(mod.app)
        return client
    
    
    def test(client: TestClient):
        log = Path("log.txt")
        if log.is_file():
            os.remove(log)  # pragma: no cover
        response = client.post("/send-notification/******@****.***?q=some-query")
        assert response.status_code == 200, response.text
        assert response.json() == {"message": "Message sent"}
        with open("./log.txt") as f:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 996 bytes
    - Click Count (0)
  3. ISSUES.md

    If you open a GitHub Issue, here is our policy:
    
    1.  It must be a bug/performance issue or a feature request or a build issue or
        a documentation issue (for small doc fixes please send a PR instead).
    1.  Make sure the Issue Template is filled out.
    1.  The issue should be related to the repo it is created in.
    
    **Here's why we have this policy:** We want to focus on the work that benefits
    the whole community, e.g., fixing bugs and adding features. Individual support
    Created: Tue Dec 30 12:39:10 GMT 2025
    - Last Modified: Thu Feb 11 22:37:27 GMT 2021
    - 606 bytes
    - Click Count (0)
  4. internal/grid/README.md

    Returning any error will also cancel the stream remotely.
    
    CAREFUL: When utilizing two-way communication, it is important to ensure that the remote handler is not blocked on a send.
    If the remote handler is blocked on a send, and the client is trying to send without the remote receiving,
    the operation would become deadlocked if the channels are full.
    
    ### Typed handlers
    
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Oct 10 18:57:03 GMT 2025
    - 9.4K bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

              return tunnelResult
            }
          }
    
          if (route.address.sslSocketFactory != null) {
            // Assume the server won't send a TLS ServerHello until we send a TLS ClientHello. If
            // that happens, then we will have buffered bytes that are needed by the SSLSocket!
            // This check is imperfect: it doesn't tell us whether a handshake will succeed, just
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Oct 08 03:50:05 GMT 2025
    - 19.3K bytes
    - Click Count (2)
  6. docs_src/background_tasks/tutorial001_py39.py

    app = FastAPI()
    
    
    def write_notification(email: str, message=""):
        with open("log.txt", mode="w") as email_file:
            content = f"notification for {email}: {message}"
            email_file.write(content)
    
    
    @app.post("/send-notification/{email}")
    async def send_notification(email: str, background_tasks: BackgroundTasks):
        background_tasks.add_task(write_notification, email, message="some notification")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 519 bytes
    - Click Count (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

              invokeStartEvent = false
            }
            if (responseBuilder == null) {
              if (requestBody.isDuplex()) {
                // Prepare a duplex body so that the application can send a request body later.
                exchange.flushRequest()
                val bufferedRequestBody = exchange.createRequestBody(request, true).buffer()
                requestBody.writeTo(bufferedRequestBody)
              } else {
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Thu Oct 30 13:46:58 GMT 2025
    - 7.6K bytes
    - Click Count (0)
  8. CHANGELOG/CHANGELOG-1.15.md

    * For admission webhooks registered for DELETE operations on k8s built APIs or CRDs, the apiserver now sends the existing object as admissionRequest.Request.OldObject to the webhook.  ([#76346](https://github.com/kubernetes/kubernetes/pull/76346), [@caesarxuchao](https://github.com/caesarxuchao))
    Created: Fri Dec 26 09:05:12 GMT 2025
    - Last Modified: Thu May 05 13:44:43 GMT 2022
    - 278.9K bytes
    - Click Count (0)
  9. src/main/java/jcifs/smb/SmbPipeInputStream.java

                    req.setMaxOutputResponse(16);
                    req.setFlags(Smb2IoctlRequest.SMB2_O_IOCTL_IS_FSCTL);
                    final Smb2IoctlResponse resp = th.send(req, RequestParam.NO_RETRY);
                    return ((SrvPipePeekResponse) resp.getOutputData()).getReadDataAvailable();
                }
    Created: Sat Dec 20 13:44:44 GMT 2025
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  10. docs_src/app_testing/tutorial004_py39.py

            assert items == {"foo": {"name": "Fighters"}, "bar": {"name": "Tenders"}}
    
        # The end of the "with TestClient" block simulates terminating the app, so
        # the lifespan ends and items are cleaned up
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.2K bytes
    - Click Count (0)
Back to Top