- Sort Score
- Result 10 results
- Languages All
Results 1551 - 1560 of 1,808 for Try (0.04 sec)
-
fess-crawler/src/test/java/org/codelibs/fess/crawler/transformer/impl/XmlTransformerTest.java
accessResultDataImpl.setData(value.getBytes(Constants.UTF_8)); accessResultDataImpl.setEncoding(Constants.UTF_8); accessResultDataImpl.setTransformerName("transformer"); try { final Object obj = xmlTransformer.getData(accessResultDataImpl); fail(); } catch (final CrawlerSystemException e) {} } public void test_getData_nullData() throws Exception {
Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 13.5K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/helper/RelatedContentHelperTest.java
testData.add(createRelatedContent("test", "Updated Content", "")); mockBhv.setTestData(testData); relatedContentHelper.update(); // Give a moment for async execution try { Thread.sleep(100); } catch (InterruptedException e) { // ignore } results = relatedContentHelper.getRelatedContents("test");
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Sat Jul 19 23:49:30 UTC 2025 - 14.3K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java
throws ConflictingRequirementsException { Class<? extends Annotation> annotationClass = testerAnnotation.annotationType(); Feature<?>[] presentFeatures; Feature<?>[] absentFeatures; try { presentFeatures = (Feature<?>[]) annotationClass.getMethod("value").invoke(testerAnnotation); absentFeatures = (Feature<?>[]) annotationClass.getMethod("absent").invoke(testerAnnotation); } catch (Exception e) {Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Dec 21 14:50:24 UTC 2024 - 12.4K bytes - Viewed (0) -
src/test/java/jcifs/smb/SmbWatchHandleImplTest.java
verify(tree).send(reqCap.capture(), any(), any(), any()); assertTrue(reqCap.getValue() instanceof Smb2ChangeNotifyRequest, "SMB2 request must be used"); verify(tree, times(1)).close(); // try-with-resources must close verify(handle, never()).markClosed(); verify(tree, never()).hasCapability(anyInt()); // not checked on SMB2 }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/ServerMessageBlock2RequestTest.java
} return calculatedLength; } private void setLength(int length) { try { // Use reflection to set the protected length field java.lang.reflect.Field lengthField = ServerMessageBlock2.class.getDeclaredField("length"); lengthField.setAccessible(true);Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 15.7K bytes - Viewed (0) -
android/guava/src/com/google/common/cache/CacheBuilder.java
private static long toNanosSaturated(Duration duration) { // Using a try/catch seems lazy, but the catch block will rarely get invoked (except for // durations longer than approximately +/- 292 years). try { return duration.toNanos(); } catch (ArithmeticException tooBig) { return duration.isNegative() ? Long.MIN_VALUE : Long.MAX_VALUE;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 51.7K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt
oh! she knows such a very little! Besides, SHE'S she, and I'm I, and--oh dear, how puzzling it all is! I'll try if I know all the things I used to know. Let me see: four times five is twelve, and four times six is thirteen, and four times seven is--oh dear! I shall never get to twenty at that rate! However, the Multiplication Table doesn't signify: let's try Geography. London is the capital of Paris, and Paris is the capital of Rome,
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Apr 21 02:27:51 UTC 2017 - 145.2K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/app/web/api/admin/dict/synonym/ApiAdminDictSynonymAction.java
throwValidationErrorApi(messages -> messages.addErrorsFailedToUploadProtwordsFile(GLOBAL)); return null; }); try (InputStream inputStream = form.synonymFile.getInputStream()) { file.update(inputStream); } catch (final IOException e) { logger.warn("Failed to process a request.", e);
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Aug 07 03:06:29 UTC 2025 - 9.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/http/CancelTest.kt
it is ConnectionAcquired || it is ConnectionReleased || it is Canceled || it is RequestFailed || it is ResponseFailed private fun sleep(delayMillis: Int) { try { Thread.sleep(delayMillis.toLong()) } catch (e: InterruptedException) { Thread.currentThread().interrupt() } } private fun cancelLater( call: Call, delayMillis: Int,Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 9.8K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/dict/DictionaryFile.java
* * @param out the output stream to write to * @throws IOException if an I/O error occurs during writing */ public void writeOut(final WrittenStreamOut out) throws IOException { try (final CurlResponse curlResponse = dictionaryManager.getContentResponse(this); final InputStream inputStream = new BufferedInputStream(curlResponse.getContentAsStream())) { out.write(inputStream);Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 11.2K bytes - Viewed (0)