- Sort Score
- Result 10 results
- Languages All
Results 1361 - 1370 of 2,319 for execution (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/CrawlerStatusTest.java
assertFalse(result); } /** * Test thread safety of enum */ public void test_threadSafety() throws Exception { final int threadCount = 100; final int iterationsPerThread = 1000; final Set<Exception> exceptions = new HashSet<>(); Thread[] threads = new Thread[threadCount]; for (int i = 0; i < threadCount; i++) {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Wed Sep 03 14:42:53 UTC 2025 - 15.8K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/ObjectsTest.java
"EqualsLong", // b/273939864 "EqualsDouble", // b/273939864 "EqualsFloat", // b/273939864 "YodaCondition", // test of reversed call }) public void testEqual() throws Exception { assertTrue(Objects.equal(1, 1)); assertTrue(Objects.equal(null, null)); // test distinct string objects String s1 = "foobar"; String s2 = new String(s1); assertTrue(Objects.equal(s1, s2));
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 2.6K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/math/DoubleUtilsTest.java
public void testNextDown() throws Exception { Method jdkNextDown = getJdkNextDown(); for (double d : FINITE_DOUBLE_CANDIDATES) { assertEquals(jdkNextDown.invoke(null, d), DoubleUtils.nextDown(d)); } } private static Method getJdkNextDown() throws Exception { try { return Math.class.getMethod("nextDown", double.class);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Dec 19 18:03:30 UTC 2024 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java
* governing permissions and limitations under the License. */ package org.codelibs.core.exception; import static org.codelibs.core.collection.ArrayUtil.asArray; import java.lang.reflect.Method; import org.codelibs.core.lang.MethodUtil; /** * Exception thrown when a {@link Method} cannot be found. * * @author higa * */Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat Jul 05 00:11:05 UTC 2025 - 3.3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/InputStreamUtil.java
import java.io.ByteArrayOutputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import org.codelibs.core.exception.IORuntimeException; /** * Utility class for {@link InputStream}. * * @author higa */ public abstract class InputStreamUtil { /** * Do not instantiate. */Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/org/codelibs/core/io/SerializeUtil.java
import java.io.ByteArrayOutputStream; import java.io.IOException; import java.io.ObjectInputStream; import java.io.ObjectOutputStream; import org.codelibs.core.exception.ClassNotFoundRuntimeException; import org.codelibs.core.exception.IORuntimeException; /** * Utility for serializing objects. * * @author higa */ public abstract class SerializeUtil { /** * Do not instantiate. */Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/base/CharMatcherTest.java
doTestNull(forPredicate(Predicates.equalTo('c'))); } private void doTestEmpty(CharMatcher matcher) throws Exception { reallyTestEmpty(matcher); reallyTestEmpty(matcher.negate()); reallyTestEmpty(matcher.precomputed()); } private void reallyTestEmpty(CharMatcher matcher) throws Exception { assertEquals(-1, matcher.indexIn("")); assertEquals(-1, matcher.indexIn("", 0)); try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 30.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/pathmap/ApiAdminPathmapAction.java
return null; }); try { pathMappingService.store(entity); saveInfo(messages -> messages.addSuccessCrudCreateCrudTable(GLOBAL)); } catch (final Exception e) { logger.warn("Failed to process a request.", e); throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 7.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/relatedcontent/ApiAdminRelatedcontentAction.java
body.crudMode = CrudMode.CREATE; final RelatedContent relatedContent = getRelatedContent(body).map(entity -> { try { relatedContentService.store(entity); } catch (final Exception e) { logger.warn("Failed to process a request.", e); throwValidationErrorApi(messages -> messages.addErrorsCrudFailedToCreateCrudTable(GLOBAL, buildThrowableMessage(e))); }Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 8.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/kerberos/KerberosEncDataTest.java
Key key = new KerberosKey(null, new byte[16], 99, 0); byte[] data = new byte[16]; Exception exception = assertThrows(GeneralSecurityException.class, () -> KerberosEncData.decrypt(data, key, 99)); assertEquals("Unsupported encryption type 99", exception.getMessage()); } /** * Test getters with null values. * * @throws IOException if an I/O error occurs
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.7K bytes - Viewed (0)