- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 125 for real (0.01 sec)
-
guava/src/com/google/common/collect/TopKSelector.java
@SuppressWarnings("nullness") // safe because we pass sort() a range that contains real Ts T[] castBuffer = (T[]) buffer; sort(castBuffer, 0, bufferSize, comparator); if (bufferSize > k) { Arrays.fill(buffer, k, buffer.length, null); bufferSize = k; threshold = buffer[k - 1]; } // Up to bufferSize, all elements of buffer are real Ts (not null unless T includes null)
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Aug 31 13:15:26 UTC 2025 - 11.4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/mylasta/direction/FessConfigImplTest.java
case "test.property": return "config-value"; case "filter.null": // This would be filtered to null by PropertyFilter in real scenario throw new ConfigPropertyNotFoundException("filter.null"); default: throw new ConfigPropertyNotFoundException(propertyKey); } }
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 12.6K bytes - Viewed (0) -
okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt
) return } // This is a long-lived response. Cancel full-call timeouts. call?.timeout()?.cancel() // Replace the body with a stripped one so the callbacks can't see real data. val response = response.stripBody() val reader = ServerSentEventReader(body.source(), this) try { if (!canceled) { listener.onOpen(this, response)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 30 11:47:47 UTC 2025 - 3.3K bytes - Viewed (0) -
guava/src/com/google/common/base/NullnessCasts.java
* next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the * code would be responsible for populating a "real" {@code T} (which might still be the value * {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 3.3K bytes - Viewed (0) -
android/guava/src/com/google/common/primitives/UnsignedLongs.java
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 17.8K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/entity/PingResponseTest.java
ComponentUtil.register(originalConfig, "fessConfig"); } super.tearDown(); } public void test_getStatus_returnsCorrectValue() { // Since we cannot easily create a real ClusterHealthResponse without a running cluster, // we'll test the class behavior through unit tests that verify the logic // The actual integration with ClusterHealthResponse is tested in integration tests
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 7.5K bytes - Viewed (0) -
android/guava/src/com/google/common/math/LinearTransformation.java
import com.google.common.annotations.J2ktIncompatible; import com.google.errorprone.annotations.concurrent.LazyInit; import org.jspecify.annotations.Nullable; /** * The representation of a linear transformation between real numbers {@code x} and {@code y}. * Graphically, this is the specification of a straight line on a plane. The transformation can be * expressed as {@code y = m * x + c} for finite {@code m} and {@code c}, unless it is a vertical
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Aug 11 19:31:30 UTC 2025 - 9.7K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/NullnessCasts.java
* next} field is lazily initialized. The type of that field would be {@code @Nullable T}, and the * code would be responsible for populating a "real" {@code T} (which might still be the value * {@code null}!) before returning it to callers. Depending on how the code is structured, a * nullness analysis might not understand that the field has been populated. To avoid that problem
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Aug 13 20:49:47 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/api/WebApiRequestTest.java
assertEquals(customPath, firstCall); assertEquals(firstCall, secondCall); assertEquals(secondCall, thirdCall); } // Test with changing query string (though typically wouldn't change in real scenario) public void test_getServletPath_withChangingQueryString() { final String originalPath = "/original/path"; final String customPath = "/api/v1/dynamic";
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 17.5K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/FuturesGetChecked.java
* This avoids out-of-control memory consumption, and it keeps the cache from growing so * large that doing the lookup is noticeably slower than redoing the work would be. * * Ideally we'd have a real eviction policy, but until we see a problem in practice, I hope * that this will suffice. I have not even benchmarked with different size limits. */ if (validClasses.size() > 1000) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Aug 09 01:14:59 UTC 2025 - 11.8K bytes - Viewed (0)