Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 591 - 600 of 722 for sent (0.02 seconds)

  1. docs/zh-hant/docs/advanced/websockets.md

    /// note | 技術細節
    
    你也可以使用 `from starlette.websockets import WebSocket`。
    
    **FastAPI** 直接提供相同的 `WebSocket` 只是為了方便你這位開發者,但它其實是直接來自 Starlette。
    
    ///
    
    ## 等待與傳送訊息 { #await-for-messages-and-send-messages }
    
    在你的 WebSocket 路由中,你可以 `await` 接收訊息並傳送訊息。
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    你可以接收與傳送二進位、文字與 JSON 資料。
    
    ## 試試看 { #try-it }
    
    如果你的檔案名為 `main.py`,用以下指令執行應用:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 5.2K bytes
    - Click Count (0)
  2. ci/official/utilities/setup_macos.sh

    # Libtensorflow archives) to GCS buckets. TFCI Mac VMs need to authenticate as
    # a service account that has the right permissions to be able to do so.
    set +x
    if [[ -n "${GOOGLE_APPLICATION_CREDENTIALS:-}" ]]; then
      # Python 3.12 removed the module `imp` which is needed by gcloud CLI so we set
      # `CLOUDSDK_PYTHON` to Python 3.11 which is the system Python on TFCI Mac
      # VMs.
      pyenv install -s "3.11"
      if [[ $? -eq 0 ]]; then
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Mon Oct 06 22:42:26 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  3. internal/grid/grid_test.go

    	register := func(manager *Manager) {
    		errFatal(manager.RegisterStreamingHandler(handlerTest, StreamHandler{
    			Handle: func(ctx context.Context, payload []byte, request <-chan []byte, resp chan<- []byte) *RemoteErr {
    				// Send many responses.
    				// Test that this doesn't block.
    				for i := range byte(100) {
    					select {
    					case resp <- []byte{i}:
    					// ok
    					case <-ctx.Done():
    						return NewRemoteErr(ctx.Err())
    					}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 36.1K bytes
    - Click Count (0)
  4. src/main/webapp/css/admin/respond.min.js

    (c){b=new a.ActiveXObject("Microsoft.XMLHTTP")}return function(){return b}}(),f=function(a,b){var c=e();c&&(c.open("GET",a,!0),c.onreadystatechange=function(){4!==c.readyState||200!==c.status&&304!==c.status||b(c.responseText)},4!==c.readyState&&c.send(null))};if(c.ajax=f,c.queue=d,c.regex={media:/@media[^\{]+\{([^\{\}]*\{[^\}\{]*\})+/gi,keyframes:/@(?:\-(?:o|moz|webkit)\-)?keyframes[^\{]+\{(?:[^\{\}]*\{[^\}\{]*\})+[^\}]*\}/gi,urls:/(url\()['"]?([^\/\)'"][^:\)'"]+)['"]?(\))/g,findStyles:/@media ...
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Thu Oct 08 12:14:13 GMT 2015
    - 4.3K bytes
    - Click Count (0)
  5. docs/fr/docs/advanced/websockets.md

    **FastAPI** fournit le même `WebSocket` directement, simplement pour vous faciliter la vie en tant que développeur. Mais il provient directement de Starlette.
    
    ///
    
    ## Attendre des messages et envoyer des messages { #await-for-messages-and-send-messages }
    
    Dans votre route WebSocket, vous pouvez `await` des messages et envoyer des messages.
    
    {* ../../docs_src/websockets_/tutorial001_py310.py hl[48:52] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 5.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/exec/CrawlerTest.java

            assertEquals("invalid", options.expires);
        }
    
        @Test
        public void test_process_withName() throws Exception {
            // Test that name is properly set
            Crawler.Options options = new Crawler.Options();
            options.sessionId = "test-session";
            options.name = "Test Crawl Job";
    
            // Verify the name is set
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Fri Mar 13 23:01:26 GMT 2026
    - 30.8K bytes
    - Click Count (0)
  7. cmd/metacache-stream.go

    				return err
    			}
    			return w.mw.Flush()
    		}
    		return nil
    	}
    	return &w
    }
    
    // write one or more objects to the stream in order.
    // It is favorable to send as many objects as possible in a single write,
    // but no more than math.MaxUint32
    func (w *metacacheWriter) write(objs ...metaCacheEntry) error {
    	if w == nil {
    		return errors.New("metacacheWriter: nil writer")
    	}
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed May 07 15:37:12 GMT 2025
    - 19.5K bytes
    - Click Count (0)
  8. src/main/java/jcifs/internal/smb2/multichannel/ChannelFailover.java

                    alternativeChannel.addPendingOperation(op);
                    // Operation would be resent on alternative channel
                    // For now, skip actual send implementation
                } catch (Exception e) {
                    log.error("Failed to redistribute operation", e);
                    // Notify waiting threads of failure if the operation supports it
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 21 11:13:46 GMT 2025
    - 11.6K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/hash/AbstractStreamingHasher.java

       * complete chunk are handled with {@link #processRemaining}.
       */
      protected abstract HashCode makeHash();
    
      // Process pent-up data in chunks
      private void munchIfFull() {
        if (buffer.remaining() < 8) {
          // buffer is full; not enough room for a primitive. We have at least one full chunk.
          munch();
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 7.1K bytes
    - Click Count (0)
  10. src/main/java/jcifs/http/NtlmHttpURLConnection.java

                while (attempt < MAX_REDIRECTS) {
                    this.connection.setRequestProperty(this.authProperty, this.authMethod + ' ' + Base64.toBase64String(type1.toByteArray()));
                    this.connection.connect(); // send type 1
                    response = parseResponseCode();
                    if (response != HTTP_UNAUTHORIZED && response != HTTP_PROXY_AUTH) {
                        return;
                    }
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 25.6K bytes
    - Click Count (0)
Back to Top