- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 150 for inserts (0.05 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) -
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) -
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) -
src/main/java/org/codelibs/core/collection/SLinkedList.java
* Adds an element at the end. * * @param element the object to be added */ public void addLast(final E element) { header.addBefore(element); } /** * Inserts an object at the specified position. * * @param index the position * @param element the element */ public void add(final int index, final E element) {
Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jun 19 09:12:22 UTC 2025 - 10.5K bytes - Viewed (0) -
finisher_api.go
"gorm.io/gorm/utils" ) // Create inserts value, returning the inserted data's primary key in value's id func (db *DB) Create(value interface{}) (tx *DB) { if db.CreateBatchSize > 0 { return db.CreateInBatches(value, db.CreateBatchSize) } tx = db.getInstance() tx.Statement.Dest = value return tx.callbacks.Create().Execute(tx) } // CreateInBatches inserts value in batches of batchSize
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Aug 26 06:24:29 UTC 2025 - 22.9K bytes - Viewed (0)