- Sort Score
- Num 10 results
- Language All
Results 281 - 290 of 1,195 for last (0.03 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
@Suppress("UNCHECKED_CAST") internal fun <T> List<T>.toImmutableList(): List<T> = when { this.isEmpty() -> emptyList() this.size == 1 -> Collections.singletonList(this[0]) // Collection.toArray returns Object[] (covariant). // It is faster than creating real T[] via reflection (Arrays.copyOf). else -> (this as java.util.Collection<*>).toArray().asList().unmodifiable() as List<T> }Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Thu Jul 31 04:18:40 GMT 2025 - 10.2K bytes - Click Count (1) -
android/guava/src/com/google/common/collect/TreeMultiset.java
} else { current = current.succ(); } return result; } @Override public void remove() { checkState(prevEntry != null, "no calls to next() since the last call to remove()"); setCount(prevEntry.getElement(), 0); prevEntry = null; } }; } @Override Iterator<Entry<E>> descendingEntryIterator() {Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 09 15:58:48 GMT 2025 - 33.9K bytes - Click Count (0) -
cmd/erasure-server-pool.go
loi.Prefixes = append(loi.Prefixes, obj.Name) } } else { loi.Objects = append(loi.Objects, obj) } } if loi.IsTruncated { last := objects[len(objects)-1] loi.NextMarker = opts.encodeMarker(last.Name) loi.NextVersionIDMarker = last.VersionID } return loi, nil } func maxKeysPlusOne(maxKeys int, addOne bool) int { if maxKeys < 0 || maxKeys > maxObjectList {
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Sep 28 20:59:21 GMT 2025 - 89.2K bytes - Click Count (0) -
android/guava/src/com/google/common/collect/HashBiMap.java
setSucceeds(size, successor); size++; modCount++; return null; } /** * Updates the pointers of the insertion order linked list so that {@code next} follows {@code * prev}. {@code ENDPOINT} represents either the first or last entry in the entire map (as * appropriate). */ private void setSucceeds(int prev, int next) { if (prev == ENDPOINT) { firstInInsertionOrder = next;
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Dec 16 14:46:34 GMT 2025 - 37.1K bytes - Click Count (0) -
internal/s3select/json/preader.go
if r.err == nil { r.err = io.EOF } return r.readCloser.Close() } // nextSplit will attempt to skip a number of bytes and // return the buffer until the next newline occurs. // The last block will be sent along with an io.EOF. func (r *PReader) nextSplit(skip int, dst []byte) ([]byte, error) { if cap(dst) < skip { dst = make([]byte, 0, skip+1024) } dst = dst[:skip] if skip > 0 {Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue May 27 15:19:03 GMT 2025 - 6.5K bytes - Click Count (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
"Did you forget to close a response body?" Platform.get().logCloseableLeak(message, callReference.callStackTrace) references.removeAt(i) // If this was the last allocation, the connection is eligible for immediate eviction. if (references.isEmpty()) { connection.idleAtNs = now - keepAliveDurationNs return 0 } } return references.sizeCreated: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Wed Oct 08 03:50:05 GMT 2025 - 11.1K bytes - Click Count (0) -
docs/zh/docs/advanced/custom-response.md
与其他响应类型相比,接受不同的参数集进行实例化: * `path` - 要流式传输的文件的文件路径。 * `headers` - 任何自定义响应头,传入字典类型。 * `media_type` - 给出媒体类型的字符串。如果未设置,则文件名或路径将用于推断媒体类型。 * `filename` - 如果给出,它将包含在响应的 `Content-Disposition` 中。 文件响应将包含适当的 `Content-Length`,`Last-Modified` 和 `ETag` 的响应头。 {* ../../docs_src/custom_response/tutorial009.py hl[2,10] *} ## 额外文档Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Mon Nov 18 02:25:44 GMT 2024 - 7.5K bytes - Click Count (0) -
guava/src/com/google/common/base/Throwables.java
* @param throwable the non-null {@code Throwable} to extract causes from * @return an unmodifiable list containing the cause chain starting with {@code throwable} * @throws IllegalArgumentException if there is a loop in the causal chain */ public static List<Throwable> getCausalChain(Throwable throwable) { checkNotNull(throwable); List<Throwable> causes = new ArrayList<>(4); causes.add(throwable);Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Aug 07 16:05:33 GMT 2025 - 20.6K bytes - Click Count (0) -
internal/event/target/mysql.go
if IsConnErr(err) { return store.ErrNotConnected } return err } } eventData, eErr := target.store.Get(key) if eErr != nil { // The last event key in a successful batch will be sent in the channel atmost once by the replayEvents() // Such events will not exist and wouldve been already been sent successfully. if os.IsNotExist(eErr) { return nil }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Mar 30 00:56:02 GMT 2025 - 11.6K bytes - Click Count (0) -
internal/dsync/dsync-server_test.go
} if locksHeld > ReadLock { l.lockMap[args.Resources[0]] = locksHeld - ReadLock // Remove one of the read locks held } else { delete(l.lockMap, args.Resources[0]) // Remove the (last) read lock } return reply, nil } func (l *lockServer) Refresh(args *LockArgs) (reply bool, err error) { if d := atomic.LoadInt64(&l.responseDelay); d != 0 { time.Sleep(time.Duration(d)) }
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Fri Aug 29 02:39:48 GMT 2025 - 8.3K bytes - Click Count (0)