Search Options

Results per page
Sort
Preferred Languages
Advance

Results 141 - 150 of 413 for SEND (0.01 sec)

  1. docs_src/background_tasks/tutorial002_an_py39.py

    
    def get_query(background_tasks: BackgroundTasks, q: Union[str, None] = None):
        if q:
            message = f"found query: {q}\n"
            background_tasks.add_task(write_log, message)
        return q
    
    
    @app.post("/send-notification/{email}")
    async def send_notification(
        email: str, background_tasks: BackgroundTasks, q: Annotated[str, Depends(get_query)]
    ):
        message = f"message to {email}\n"
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Mar 18 12:29:59 UTC 2023
    - 696 bytes
    - Viewed (0)
  2. src/main/java/jcifs/smb1/netbios/NameServiceClient.java

                if (LogStream.level > 2) {
                    ex.printStackTrace(log);
                }
            } finally {
                tryClose();
            }
        }
    
        void send(final NameServicePacket request, final NameServicePacket response, int timeout) throws IOException {
            Integer nid = null;
            int max = NbtAddress.NBNS.length;
    
            if (max == 0) {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 07:14:38 UTC 2025
    - 17.6K bytes
    - Viewed (0)
  3. src/main/java/jcifs/internal/smb2/rdma/tcp/TcpRdmaProvider.java

    import jcifs.internal.smb2.rdma.RdmaProvider;
    
    /**
     * TCP fallback RDMA provider.
     *
     * This provider uses regular TCP connections but maintains the RDMA
     * interface for compatibility. It only supports send/receive operations
     * and does not provide true RDMA read/write capabilities.
     */
    public class TcpRdmaProvider implements RdmaProvider {
    
        /**
         * Creates a new TCP RDMA provider instance
         */
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sun Aug 24 00:12:28 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb/SmbCopyUtil.java

                        req.setFileInformation(new FileBasicInfo(ctime, atime, mtime, 0L, attrs));
                        dh.send(req);
                    } else if (dh.hasCapability(SmbConstants.CAP_NT_SMBS)) {
                        // use the open file descriptor
                        dh.send(new Trans2SetFileInformation(dh.getConfig(), dfd.getFid(), attrs, ctime, mtime, atime),
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 16 01:32:48 UTC 2025
    - 16.6K bytes
    - Viewed (0)
  5. src/main/java/jcifs/internal/smb2/rdma/disni/DisniRdmaConnection.java

            }
        }
    
        @Override
        public void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException {
            if (state != RdmaConnectionState.ESTABLISHED && state != RdmaConnectionState.CONNECTED) {
                throw new IOException("Connection not established");
            }
    
            try {
                // In real implementation, this would send using DiSNI:
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 05:11:12 UTC 2025
    - 10.2K bytes
    - Viewed (0)
  6. internal/logger/target/loggertypes/types.go

    	QueueLength int
    
    	// TotalMessages is the total number of messages sent in the lifetime of the target
    	TotalMessages int64
    
    	// FailedMessages should log message count that failed to send.
    	FailedMessages int64
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Jul 18 21:56:31 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  7. fastapi/security/oauth2.py

        The only difference between `OAuth2PasswordRequestFormStrict` and
        `OAuth2PasswordRequestForm` is that `OAuth2PasswordRequestFormStrict` requires the
        client to send the form field `grant_type` with the value `"password"`, which
        is required in the OAuth2 specification (it seems that for no particular reason),
        while for `OAuth2PasswordRequestForm` `grant_type` is optional.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 22K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/witness/MockWitnessService.java

    import org.slf4j.Logger;
    import org.slf4j.LoggerFactory;
    
    /**
     * Mock witness service for integration testing.
     * Simulates a basic witness service that can accept registrations
     * and send notifications.
     */
    public class MockWitnessService implements AutoCloseable {
        private static final Logger log = LoggerFactory.getLogger(MockWitnessService.class);
    
        private ServerSocket serverSocket;
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Sat Aug 23 09:06:40 UTC 2025
    - 8.2K bytes
    - Viewed (0)
  9. internal/logger/help.go

    			Optional:    true,
    			Type:        "string",
    			Sensitive:   true,
    		},
    		config.HelpKV{
    			Key:         BatchSize,
    			Description: "Number of events per HTTP send to webhook target",
    			Optional:    true,
    			Type:        "number",
    		},
    		config.HelpKV{
    			Key:         QueueSize,
    			Description: "configure channel queue size for webhook targets",
    			Optional:    true,
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Wed Sep 11 22:20:42 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  10. internal/event/target/redis.go

    		return err
    	}
    	if err := target.init(); err != nil {
    		return err
    	}
    	_, err := target.isActive()
    	if err != nil {
    		return err
    	}
    	return target.send(eventData)
    }
    
    // send - sends an event to the redis.
    func (target *RedisTarget) send(eventData event.Event) error {
    	conn := target.pool.Get()
    	defer conn.Close()
    
    	if target.args.Format == event.NamespaceFormat {
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Sun Mar 30 00:56:02 UTC 2025
    - 9.1K bytes
    - Viewed (0)
Back to top