- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 156 for inserts (0.04 sec)
-
guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java
// Internal helper methods /** Circularly increment i. */ final int inc(int i) { return (++i == items.length) ? 0 : i; } /** * Inserts element at current put position, advances, and signals. Call only when occupying * monitor. */ private void insert(E x) { items[putIndex] = x; putIndex = inc(putIndex); ++count; } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 22.4K bytes - Viewed (0) -
android/guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedPriorityBlockingQueue.java
*/ public MonitorBasedPriorityBlockingQueue(Collection<? extends E> c) { q = new PriorityQueue<E>(c); } /** * Inserts the specified element into this priority queue. * * @param e the element to add * @return {@code true} (as specified by {@link Collection#add})
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 18.9K bytes - Viewed (0) -
internal/lru/lru.go
if l.root.next == nil { l.Init() } } // insert inserts e after at, increments l.len, and returns e. func (l *LruList[K, V]) insert(e, at *Entry[K, V]) *Entry[K, V] { e.prev = at e.next = at.next e.prev.next = e e.next.prev = e e.list = l l.len++ return e } // insertValue is a convenience wrapper for insert(&Entry{Value: v, ExpiresAt: ExpiresAt}, at).Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/base/login/FessLoginAssist.java
asyncManager.async(() -> { insertLogin(user); }); } /** * Inserts a login record for the given member. * Currently this method does nothing. * * @param member the member to insert a login record for */ protected void insertLogin(final Object member) { // nothing } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 12.1K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/mapping/CharMappingFile.java
} /** * Inserts a new character mapping item into the dictionary file. * * @param item the character mapping item to insert */ @Override public synchronized void insert(final CharMappingItem item) { try (MappingUpdater updater = new MappingUpdater(item)) { reload(updater);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.9K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/AbstractCrawlerService.java
throw new CrawlingAccessException("[" + e.status() + "] Failed to insert " + id, e); } throw new OpenSearchAccessException("[" + e.status() + "] Failed to insert " + id, e); } catch (final Exception e) { throw new OpenSearchAccessException("Failed to insert " + id, e); } } /** * Inserts multiple documents into the OpenSearch index using bulk operations. *
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 34.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
* @return an optional containing the item if found */ public abstract OptionalEntity<T> get(long id); /** * Inserts a new dictionary item. * * @param item the item to insert */ public abstract void insert(T item); /** * Updates an existing dictionary item. * * @param item the item to update */Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.2K bytes - Viewed (0) -
fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchUrlQueueService.java
urlQueue.setMethod(Constants.GET_METHOD); insert(urlQueue); } /** * Inserts a URL queue entry into the OpenSearch index. * * @param urlQueue The URL queue entry to insert. */ @Override public void insert(final OpenSearchUrlQueue urlQueue) { try { super.insert(urlQueue, urlQueue.getId() == null ? OpType.CREATE : OpType.INDEX);
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Thu Aug 07 02:55:08 UTC 2025 - 17K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ResponseBody.kt
* There is no benefit to invoking multiple `close()` methods for the same response body. * * For synchronous calls, the easiest way to make sure a response body is closed is with a `try` * block. With this structure the compiler inserts an implicit `finally` clause that calls * [close()][Response.close] for you. * * ```java * Call call = client.newCall(request); * try (Response response = call.execute()) { * ... // Use the response. * }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue May 27 14:51:25 UTC 2025 - 11.6K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/service/ElevateWordService.java
} entity.setLabelTypeIds(labelTypeIds.toArray(new String[labelTypeIds.size()])); } return entity; }); } /** * Stores (inserts or updates) an elevate word and manages its associated label type mappings. * * @param elevateWord the elevate word entity to store */ public void store(final ElevateWord elevateWord) {Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 18.3K bytes - Viewed (0)