- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 199 for returningX (0.06 sec)
-
internal/lru/lru.go
// Expired item check if time.Now().After(ent.ExpiresAt) { return value, false } return ent.Value, true } return } // Remove removes the provided key from the cache, returning if the // key was contained. func (c *LRU[K, V]) Remove(key K) bool { c.mu.Lock() defer c.mu.Unlock() if ent, ok := c.items[key]; ok { c.removeElement(ent) return true } return false }
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Fri Apr 25 08:22:26 UTC 2025 - 12.5K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
} /** * There's no read timeout when reading the first byte of a new frame. But as soon as we start * reading a frame we enable the read timeout. In this test we have the server returning the first * byte of a frame but no more frames. */ @Test fun readTimeoutAppliesWithinFrames() { webServer.dispatcher = object : Dispatcher() {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/rank/fusion/RankFusionProcessor.java
pageSize, offset); } /** * Converts an object value to a float for score calculations. * Handles Float and String types, returning 0.0f for unsupported types. * * @param value the object to convert to float * @return float representation of the value, or 0.0f if conversion fails */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 24.8K bytes - Viewed (0) -
compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/ComparableVersion.java
if (RELEASE_QUALIFIERS.contains(qualifier)) { return String.valueOf(QUALIFIERS.indexOf("")); } int i = QUALIFIERS.indexOf(qualifier); // Just returning an Integer with the index here is faster, but requires a lot of if/then/else to check for // -1 // or QUALIFIERS.size and then resort to lexical ordering. Most comparisons are decided by the first
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Wed Jul 23 17:27:08 UTC 2025 - 26.4K bytes - Viewed (0) -
android/guava/src/com/google/common/io/CharSource.java
} catch (UncheckedIOException e) { throw e.getCause(); } } /** * Returns whether the source has zero chars. The default implementation first checks {@link * #lengthIfKnown}, returning true if it's known to be zero and false if it's known to be * non-zero. If the length is not known, it falls back to opening a stream and checking for EOF. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.7K bytes - Viewed (0) -
guava/src/com/google/common/io/CharSource.java
} catch (UncheckedIOException e) { throw e.getCause(); } } /** * Returns whether the source has zero chars. The default implementation first checks {@link * #lengthIfKnown}, returning true if it's known to be zero and false if it's known to be * non-zero. If the length is not known, it falls back to opening a stream and checking for EOF. *
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 16 17:42:14 UTC 2025 - 25.3K bytes - Viewed (0) -
docs/bucket/replication/DESIGN.md
If synchronous replication is configured above, replication is attempted right away prior to returning the PUT object response. In the event that the replication target is down, the `X-Amz-Replication-Status` is marked as `FAILED` and resynced with target when the scanner runs again.
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Tue Aug 12 18:20:36 UTC 2025 - 14.7K bytes - Viewed (0) -
tests/upsert_test.go
langs[idx] = lang } if err := DB.Clauses(clause.OnConflict{ Columns: []clause.Column{{Name: "code"}}, DoUpdates: clause.AssignmentColumns([]string{"name"}), }, clause.Returning{}).CreateInBatches(&langs, len(langs)).Error; err != nil { t.Fatalf("failed to upsert, got %v", err) } for _, lang := range langs { var results []Language
Registered: Sun Sep 07 09:35:13 UTC 2025 - Last Modified: Tue Jul 29 11:06:13 UTC 2025 - 13.1K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/NullPointerTester.java
* <p>It is not necessary to consider visibility, return type, or type parameter declarations. The * declaration of a method with the same name and formal parameters as {@link Object#equals} that * is not public and boolean-returning, or that declares any type parameters, would be rejected at * compile-time. */ private static boolean isEquals(Member member) { if (!(member instanceof Method)) { return false; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Jul 14 14:44:08 UTC 2025 - 24.9K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/job/ExecJobTest.java
String value = props.getProperty("test.prop"); if (value == null) { // If not found, it means ComponentUtil.getSystemProperties() is not returning system properties // In that case, just check that the file was created assertTrue(propFile.exists()); } else { assertEquals("test.value", value);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 24.5K bytes - Viewed (0)