Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 161 - 170 of 397 for keep1 (0.02 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs/en/docs/advanced/custom-response.md

    <img src="/img/tutorial/custom-response/image01.png">
    
    ## Available responses { #available-responses }
    
    Here are some of the available responses.
    
    Keep in mind that you can use `Response` to return anything else, or even create a custom sub-class.
    
    /// note | Technical Details
    
    You could also use `from starlette.responses import HTMLResponse`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 11K bytes
    - Click Count (0)
  2. src/main/java/org/codelibs/fess/entity/ChatSession.java

                if (messages != null) {
                    messages.clear();
                }
            }
            this.lastAccessedAt = LocalDateTime.now();
        }
    
        /**
         * Trims the message history to keep only the most recent messages.
         *
         * @param maxMessages the maximum number of messages to retain
         */
        public void trimHistory(final int maxMessages) {
            synchronized (messagesLock) {
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 07 01:53:06 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  3. docs/de/docs/tutorial/server-sent-events.md

    ## Technische Details { #technical-details }
    
    FastAPI implementiert einige bewährte SSE-Praktiken direkt out of the box.
    
    - Alle 15 Sekunden, wenn keine Nachricht gesendet wurde, einen **„keep alive“-`ping`-Kommentar** senden, um zu verhindern, dass einige Proxys die Verbindung schließen, wie in der [HTML-Spezifikation: Server-Sent Events](https://html.spec.whatwg.org/multipage/server-sent-events.html#authoring-notes) vorgeschlagen.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:48:21 GMT 2026
    - 5.1K bytes
    - Click Count (0)
  4. docs/pt/docs/tutorial/server-sent-events.md

    {* ../../docs_src/server_sent_events/tutorial005_py310.py hl[14] *}
    
    ## Detalhes Técnicos { #technical-details }
    
    O FastAPI implementa algumas boas práticas de SSE prontas para uso.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:13 GMT 2026
    - 4.9K bytes
    - Click Count (0)
  5. internal/cachevalue/cache.go

    	return t.GetWithCtx(context.Background())
    }
    
    func (t *Cache[T]) update(ctx context.Context) error {
    	val, err := t.updateFn(ctx)
    	if err != nil {
    		if t.opts.ReturnLastGood && t.val.Load() != nil {
    			// Keep last good value, so update
    			// does not return an error.
    			return nil
    		}
    		return err
    	}
    
    	t.val.Store(&val)
    	t.lastUpdateMs.Store(time.Now().UnixMilli())
    	return nil
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri May 24 12:50:46 GMT 2024
    - 4.4K bytes
    - Click Count (0)
  6. docs/en/docs/benchmarks.md

    But when checking benchmarks and comparisons you should keep the following in mind.
    
    ## Benchmarks and speed { #benchmarks-and-speed }
    
    When you check the benchmarks, it is common to see several tools of different types compared as equivalent.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 3.4K bytes
    - Click Count (0)
  7. src/main/java/org/codelibs/fess/opensearch/config/exentity/CrawlingConfig.java

                // xapth.<field>=<value>
            }
    
            // config.*
            public static class Config {
                public static final String KEEP_ORIGINAL_BODY = "keep.original.body";
                public static final String CLEANUP_ALL = "cleanup.all";
                public static final String CLEANUP_URL_FILTERS = "cleanup.urlFilters";
                public static final String JCIFS_PREFIX = "jcifs.";
    Created: Tue Mar 31 13:07:34 GMT 2026
    - Last Modified: Sat Mar 15 06:53:53 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  8. architecture/README.md

    There is some assistance in the IDE for this plus a lot of validation that is applied at build time and on CI, but it is useful to keep these constraints in mind as well.
    
    See [Gradle runtimes](runtimes.md) for a list of these runtimes and more details.
    
    ### Build execution model
    
    Created: Wed Apr 01 11:36:16 GMT 2026
    - Last Modified: Thu Jun 12 09:50:57 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  9. docs/en/docs/advanced/dataclasses.md

    * data validation
    * data serialization
    * data documentation, etc.
    
    This works the same way as with Pydantic models. And it is actually achieved in the same way underneath, using Pydantic.
    
    /// info
    
    Keep in mind that dataclasses can't do everything Pydantic models can do.
    
    So, you might still need to use Pydantic models.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 4K bytes
    - Click Count (0)
  10. internal/pubsub/pubsub.go

    type Sub[T Maskable] struct {
    	ch     chan T
    	types  Mask
    	filter func(entry T) bool
    }
    
    // PubSub holds publishers and subscribers
    type PubSub[T Maskable, M Maskable] struct {
    	// atomics, keep at top:
    	types          uint64
    	numSubscribers int32
    	maxSubscribers int32
    
    	// not atomics:
    	subs []*Sub[T]
    	sync.RWMutex
    }
    
    // Publish message to the subscribers.
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Tue Feb 06 16:57:30 GMT 2024
    - 5.2K bytes
    - Click Count (0)
Back to Top