Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 111 - 120 of 215 for ting (0.02 seconds)

  1. fastapi/sse.py

            lines.append(f"retry: {retry}")
    
        lines.append("")
        lines.append("")
        return "\n".join(lines).encode("utf-8")
    
    
    # Keep-alive comment, per the SSE spec recommendation
    KEEPALIVE_COMMENT = b": ping\n\n"
    
    # Seconds between keep-alive pings when a generator is idle.
    # Private but importable so tests can monkeypatch it.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 01 09:21:52 GMT 2026
    - 6.2K bytes
    - Click Count (0)
  2. src/test/java/jcifs/smb1/smb1/InfoTest.java

    import org.junit.jupiter.api.Test;
    import org.mockito.Mock;
    
    /**
     * Unit tests for the {@link Info} implementations used by the SMB1
     * protocol handling code.
     */
    class InfoTest {
    
        // A tiny mock to illustrate Mockito interaction patterns.
        @Mock
        private SmbComTransactionResponse transactionMock;
    
        @BeforeEach
        void setUp() {
            transactionMock = mock(SmbComTransactionResponse.class);
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Thu Aug 14 05:31:44 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  3. src/main/java/jcifs/smb/MultiChannelManager.java

                for (ChannelInfo channel : channelGroup.getChannels()) {
                    try {
                        // Simplified health check - in real implementation would ping the channel
                        boolean isHealthy = checkChannelHealth(channel);
                        channel.setHealthy(isHealthy);
    
                        if (!isHealthy) {
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sun Aug 31 08:00:57 GMT 2025
    - 20.5K bytes
    - Click Count (0)
  4. android/guava-tests/test/com/google/common/base/EquivalenceTest.java

       * `new Integer` (as we do) instead of `Integer.valueOf`. However, under J2KT, `new Integer`
       * gets translated back to `Integer.valueOf` because that is the only thing J2KT can support. And
       * anyway, it's nice to avoid `Integer.valueOf` because the Android toolchain optimizes multiple
       * `Integer.valueOf` calls into one! So we stick with the deprecated `Integer` constructor.
       */
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Fri Mar 13 13:01:07 GMT 2026
    - 6.6K bytes
    - Click Count (0)
  5. docs/en/docs/tutorial/security/index.md

    But Facebook login doesn't support OpenID Connect. It has its own flavor of OAuth2.
    
    ### OpenID (not "OpenID Connect") { #openid-not-openid-connect }
    
    There was also an "OpenID" specification. That tried to solve the same thing as **OpenID Connect**, but was not based on OAuth2.
    
    So, it was a complete additional system.
    
    It is not very popular or used nowadays.
    
    ## OpenAPI { #openapi }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 4.4K bytes
    - Click Count (0)
  6. docs/uk/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    ## Технічні деталі { #technical-details }
    
    FastAPI реалізує деякі найкращі практики SSE «з коробки».
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:25:54 GMT 2026
    - 7.1K bytes
    - Click Count (0)
  7. docs/changelogs/changelog_3x.md

        when pooled connections are evicted).
    
        If you have a configured ping interval, you should confirm that it is long
        enough for a roundtrip from client to server. If your ping interval is too
        short, slow connections may be misinterpreted as failed connections. A ping
        interval of 30 seconds is reasonable for most use cases.
    
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Click Count (0)
  8. gorm.go

    		ConnPool: db.ConnPool,
    		Context:  context.Background(),
    		Clauses:  map[string]clause.Clause{},
    	}
    
    	if err == nil && !config.DisableAutomaticPing {
    		if pinger, ok := db.ConnPool.(interface{ Ping() error }); ok {
    			err = pinger.Ping()
    			if err != nil {
    				if db, _ := db.DB(); db != nil {
    					_ = db.Close()
    				}
    			}
    		}
    	}
    
    	if err != nil {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:35:55 GMT 2026
    - 13.1K bytes
    - Click Count (0)
  9. docs/zh-hant/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    ## 技術細節 { #technical-details }
    
    FastAPI 內建實作了一些 SSE 的最佳實務。
    
    - 當 15 秒內沒有任何訊息時,傳送一次**「保活」`ping` 註解**,以避免某些代理伺服器關閉連線;此作法源自於[HTML 規範:Server-Sent Events](https://html.spec.whatwg.org/multipage/server-sent-events.html#authoring-notes)中的建議。
    - 設定 `Cache-Control: no-cache` 標頭,以**防止快取**串流內容。
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:33:04 GMT 2026
    - 4.6K bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/server-sent-events.md

    ## Détails techniques { #technical-details }
    
    FastAPI met en œuvre certaines bonnes pratiques SSE prêtes à l’emploi.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:33:45 GMT 2026
    - 5.3K bytes
    - Click Count (0)
Back to Top