Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 310 for preload (0.13 sec)

  1. internal/grid/connection_test.go

    	errFatal(local.RegisterSingleHandler(handlerTest, func(payload []byte) ([]byte, *RemoteErr) {
    		t.Log("1: server payload: ", len(payload), "bytes.")
    		return append([]byte{}, payload...), nil
    	}))
    	// 2: Return as error
    	errFatal(local.RegisterSingleHandler(handlerTest2, func(payload []byte) ([]byte, *RemoteErr) {
    		t.Log("2: server payload: ", len(payload), "bytes.")
    		err := RemoteErr(payload)
    		return nil, &err
    	}))
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jul 08 21:44:00 UTC 2024
    - 5.9K bytes
    - Viewed (0)
  2. docs/es/docs/tutorial/first-steps.md

    ```Python
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Copia eso a un archivo `main.py`.
    
    Corre el servidor en vivo:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. docs/fr/docs/tutorial/first-steps.md

    ```Python
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Copiez ce code dans un fichier nommé `main.py`.
    
    Démarrez le serveur :
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/first-steps.md

    ```Python
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    Copie o conteúdo para um arquivo `main.py`.
    
    Execute o servidor:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  5. .github/workflows/create_issue.js

        context has the commit message details in the payload
      @return {string} Returns the issue number and title
    */
    module.exports = async ({github, context}) => {
      const rollback_commit = context.payload.head_commit.id;
      const pr_match_groups = context.payload.head_commit.message.match(/\Rollback of PR #(\d+).*/) || [];
      if (pr_match_groups.length != 2) {
        console.log(`PR Number not found in ${context.payload.head_commit.message}`);
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Mon Oct 18 23:04:59 UTC 2021
    - 2.8K bytes
    - Viewed (0)
  6. internal/grid/muxserver.go

    				fmt.Println("muxServer: Mux", m.ID, "send EOF", hErr)
    			}
    			msg.Flags |= FlagEOF
    			if hErr != nil {
    				msg.Flags |= FlagPayloadIsErr
    				msg.Payload = []byte(*hErr)
    			}
    			msg.setZeroPayloadFlag()
    			m.send(msg)
    			return
    		}
    		msg.Payload = payload
    		msg.setZeroPayloadFlag()
    		m.send(msg)
    	}
    }
    
    // handleRequests will handle the requests from the client and call the handler function.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Jun 07 15:51:52 UTC 2024
    - 9.7K bytes
    - Viewed (0)
  7. docs/de/docs/deployment/manually.md

    Running on 0.0.0.0:8080 over http (CTRL + C to quit)
    ```
    
    </div>
    
    ////
    
    /// warning | "Achtung"
    
    Denken Sie daran, die Option `--reload` zu entfernen, wenn Sie diese verwendet haben.
    
    Die Option `--reload` verbraucht viel mehr Ressourcen, ist instabiler, usw.
    
    Sie hilft sehr während der **Entwicklung**, aber Sie sollten sie **nicht** in der **Produktion** verwenden.
    
    ///
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Aug 06 04:48:30 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/first-steps.md

    # 第一步
    
    最简单的 FastAPI 文件可能像下面这样:
    
    ```Python
    {!../../docs_src/first_steps/tutorial001.py!}
    ```
    
    将其复制到 `main.py` 文件中。
    
    运行实时服务器:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    <span style="color: green;">INFO</span>:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    <span style="color: green;">INFO</span>:     Started reloader process [28720]
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. cni/pkg/nodeagent/ztunnelserver_test.go

    	// in theory we should close the fd, but it's just a test..
    
    	assert.Equal(t, m.Payload.(*zdsapi.WorkloadRequest_Add).Add.Uid, uid)
    	// send ack so the server doesn't wait for us.
    	sendAck(ztunClient)
    
    	// second message should be the snap sent message
    	m, fds = readRequest(t, ztunClient)
    	assert.Equal(t, len(fds), 0)
    
    	sent := m.Payload.(*zdsapi.WorkloadRequest_SnapshotSent).SnapshotSent
    	if sent == nil {
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Apr 12 21:47:31 UTC 2024
    - 8.6K bytes
    - Viewed (0)
  10. internal/grid/handlers.go

    	return m.RegisterSingleHandler(h.id, func(payload []byte) ([]byte, *RemoteErr) {
    		req := h.NewRequest()
    		_, err := req.UnmarshalMsg(payload)
    		if err != nil {
    			PutByteBuffer(payload)
    			r := RemoteErr(err.Error())
    			return nil, &r
    		}
    		resp, rerr := handle(req)
    		h.recycleReq(req)
    
    		if rerr != nil {
    			PutByteBuffer(payload)
    			return nil, rerr
    		}
    		payload, err = resp.MarshalMsg(payload[:0])
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 09 16:58:30 UTC 2024
    - 27.7K bytes
    - Viewed (0)
Back to top