- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 211 for real (0.08 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) -
src/test/java/org/codelibs/fess/helper/LanguageHelperTest.java
} public void test_updateDocument_noLanguageDetected() { Map<String, Object> doc = new HashMap<>(); doc.put("title", "xyz"); doc.put("content", "xyz"); // Without a real detector, this will throw NullPointerException try { languageHelper.updateDocument(doc); fail("Should throw NullPointerException without detector"); } catch (NullPointerException e) {
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 12.6K 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) -
android/guava-tests/test/com/google/common/graph/AbstractNetworkTest.java
* real problem: The Entry objects are ImmutableMap entries, whose fields are all final and thus * safe to read even when the Entry object is unsafely published. But with a mutable graph, the * Entry object is likely to have a non-final value field, which is not safe to read when
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 32.7K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/SambaHelperTest.java
return false; } }); sambaHelper.init(); // Verify method signature exists for SMB1 SID - actual test would require real SMB1 SID instance assertNotNull(sambaHelper); } public void test_createSearchRole_lowercase() { ComponentUtil.setFessConfig(new FessConfig.SimpleImpl() { @Override
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.7K 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) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-UtilJvm.kt
* * Unfortunately Java's networking APIs don't offer a good health check, so we go on our own by * attempting to read with a short timeout. If the fails immediately we know the socket is * unhealthy. * * @param source the source used to read bytes from the socket. */ internal fun Socket.isHealthy(source: BufferedSource): Boolean = try { val readTimeout = soTimeout try {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 10.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ResourceUtil.java
return getPath("WEB-INF/", "env/" + envName, names); } /** * Gets the path by trying multiple locations in order of preference. * First tries to get the real path from servlet context, then checks various * fallback locations including source and target directories. * * @param root the root directory (e.g., "WEB-INF/")
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 14.1K bytes - Viewed (0)