- Sort Score
- Num 10 results
- Language All
Results 161 - 170 of 589 for keep (0.02 seconds)
-
android/guava/src/com/google/common/reflect/Reflection.java
* state hurts system maintainability and testability. In cases when you have no choice while * interoperating with a legacy framework, this method helps to keep the code less ugly. * * @throws ExceptionInInitializerError if an exception is thrown during initialization of a class */ public static void initialize(Class<?>... classes) { for (Class<?> clazz : classes) {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 03:10:51 GMT 2024 - 3.4K bytes - Click Count (0) -
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) -
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) -
android/guava/src/com/google/common/collect/RegularImmutableSet.java
} } @Override public int size() { return size; } // We're careful to put only E instances into the array in the mainline. // (In the backport, we don't need this suppression, but we keep it to minimize diffs.) @SuppressWarnings("unchecked") @Override public UnmodifiableIterator<E> iterator() { return asList().iterator(); } @Override @Nullable Object[] internalArray() {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Fri Dec 26 20:08:09 GMT 2025 - 3.6K bytes - Click Count (0) -
docs/en/docs/tutorial/stream-json-lines.md
App->>App: Produce Item 3 Client->>Client: Process Item 2 App->>Client: Send Item 3 Client->>Client: Process Item 3 Note over App: Keeps producing... Note over Client: Keeps consuming... ``` It could even be an infinite stream, where you keep sending data. ## JSON Lines { #json-lines } In these cases, it's common to send "**JSON Lines**", which is a format where you send one JSON object per line.Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 4.3K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/BridgeInterceptor.kt
if (userRequest.header("Host") == null) { requestBuilder.header("Host", userRequest.url.toHostHeader()) } if (userRequest.header("Connection") == null) { requestBuilder.header("Connection", "Keep-Alive") } // If we add an "Accept-Encoding: gzip" header field we're responsible for also decompressing // the transfer stream. var transparentGzip = falseCreated: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sun Jan 11 12:06:21 GMT 2026 - 4.2K bytes - Click Count (0) -
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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt
* number of streams, dynamically configured with `SETTINGS_MAX_CONCURRENT_STREAMS`. A connection * currently carrying zero streams is an idle stream. We keep it alive because reusing an existing * connection is typically faster than establishing a new one. * * When a single logical call requires multiple streams due to redirects or authorization
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Fri Dec 27 13:39:56 GMT 2024 - 4.3K bytes - Click Count (0) -
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) -
guava/src/com/google/common/base/MoreObjects.java
} return false; } /** * Returns a string in the format specified by {@link MoreObjects#toStringHelper(Object)}. * * <p>After calling this method, you can keep adding more properties to later call toString() * again and get a more complete representation of the same object; but properties cannot be * removed, so this only allows limited reuse of the helper instance. The helper allowsCreated: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Thu Feb 05 17:38:41 GMT 2026 - 16.7K bytes - Click Count (0)