- Sort Score
- Result 10 results
- Languages All
Results 361 - 370 of 936 for prepend (1.42 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
private var nextUrl: String? = null private var canRemove = false override fun hasNext(): Boolean { if (nextUrl != null) return true canRemove = false // Prevent delegate.remove() on the wrong item! while (delegate.hasNext()) { try { delegate.next().use { snapshot -> val metadata = snapshot.getSource(ENTRY_METADATA).buffer()Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Fri Oct 03 17:41:45 UTC 2025 - 26.8K bytes - Viewed (0) -
guava/src/com/google/common/collect/Streams.java
} /** * If a value is present in {@code optional}, returns a stream containing only that element, * otherwise returns an empty stream. */ public static <T> Stream<T> stream(com.google.common.base.Optional<T> optional) { return optional.isPresent() ? Stream.of(optional.get()) : Stream.empty(); } /** * If a value is present in {@code optional}, returns a stream containing only that element,Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 36.4K bytes - Viewed (0) -
okhttp/src/androidMain/kotlin/okhttp3/internal/platform/android/AndroidLog.kt
} override fun flush() { } override fun close() { } } @SuppressSignatureCheck object AndroidLog { private const val MAX_LOG_LENGTH = 4000 // Keep references to loggers to prevent their configuration from being GC'd. private val configuredLoggers = CopyOnWriteArraySet<Logger>() private val knownLoggers = LinkedHashMap<String, String>() .apply {
Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Oct 25 11:16:17 UTC 2025 - 4.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/CollectionBenchmarkSampleData.java
public int hashCode() { return slowItDown() + hash; } @Override public int compareTo(Element e) { int x = slowItDown(); return x + super.compareTo(e) - x; // silly attempt to prevent opt } static int slowItDown() { int result = 0; for (int i = 1; i <= 1000; i++) { result += i; } return result; } }
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 4.2K bytes - Viewed (0) -
internal/handlers/proxy_test.go
req := &http.Request{ Header: http.Header{ xForwardedFor: []string{"8.8.8.8"}, xRealIP: []string{"1.1.1.1"}, }, } // When X-Forwarded-For and X-Real-IP headers are both present, X-Forwarded-For takes precedence. res := GetSourceIP(req) if res != "8.8.8.8" { t.Errorf("wrong header, xff takes precedence: got %s, want: 8.8.8.8", res) }Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Feb 26 19:25:49 UTC 2025 - 3.9K bytes - Viewed (0) -
architecture/standards/0001-use-architectural-decision-records.md
In a distributed team with many subteams, the best solution to communicate decisions is to use a format accessible by everyone in charge of development. We use *Specification* and *Discovery* documents stored in Google Drive, but they present some downsides: * They are rarely updated after creation and initial review, and then become hard to follow, especially after important decisions are made
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Tue Aug 26 17:29:22 UTC 2025 - 2.8K bytes - Viewed (0) -
cmd/iam.go
} // purgeExpiredCredentialsForExternalSSO - validates if local credentials are still valid // by checking remote IDP if the relevant users are still active and present. func (sys *IAMSys) purgeExpiredCredentialsForExternalSSO(ctx context.Context) { parentUsersMap := sys.store.GetAllParentUsers() var expiredUsers []string for parentUser, puInfo := range parentUsersMap {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Wed Oct 15 17:00:45 UTC 2025 - 76.5K bytes - Viewed (0) -
cmd/auth-handler.go
// Temporary credentials should always have x-amz-security-token return nil, ErrInvalidToken } if token != "" && !cred.IsTemp() { // x-amz-security-token should not present for static credentials. return nil, ErrInvalidToken } if !cred.IsServiceAccount() && cred.IsTemp() && subtle.ConstantTimeCompare([]byte(token), []byte(cred.SessionToken)) != 1 {
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Fri Aug 29 02:39:48 UTC 2025 - 25.4K bytes - Viewed (0) -
guava/src/com/google/common/collect/RegularImmutableSortedSet.java
Registered: Fri Dec 26 12:43:10 UTC 2025 - Last Modified: Mon Sep 22 21:07:18 UTC 2025 - 9K bytes - Viewed (0) -
internal/lsync/lrwmutex.go
"time" ) // A LRWMutex is a mutual exclusion lock with timeouts. type LRWMutex struct { id string source string isWriteLock bool ref int mu sync.Mutex // Mutex to prevent multiple simultaneous locks } // NewLRWMutex - initializes a new lsync RW mutex. func NewLRWMutex() *LRWMutex { return &LRWMutex{} } // Lock holds a write lock on lm. //
Registered: Sun Dec 28 19:28:13 UTC 2025 - Last Modified: Sun Jan 02 17:15:06 UTC 2022 - 4.8K bytes - Viewed (0)