- Sort Score
- Result 10 results
- Languages All
Results 1181 - 1190 of 2,319 for execution (0.05 sec)
-
samples/guide/src/main/java/okhttp3/recipes/PreemptiveAuth.java
client = new OkHttpClient.Builder() .addInterceptor( new BasicAuthInterceptor("publicobject.com", "jesse", "password1")) .build(); } public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/secrets/hellosecret.txt") .build(); try (Response response = client.newCall(request).execute()) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Nov 05 07:46:46 UTC 2018 - 2.1K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/crawler/extractor/impl/MsPowerPointExtractor.java
import org.apache.poi.hslf.usermodel.HSLFTextParagraph; import org.apache.poi.sl.extractor.SlideShowExtractor; import org.codelibs.fess.crawler.entity.ExtractData; import org.codelibs.fess.crawler.exception.CrawlerSystemException; import org.codelibs.fess.crawler.exception.ExtractException; /** * Extracts text content from Microsoft PowerPoint documents. */ public class MsPowerPointExtractor extends AbstractExtractor { /**Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sun Jul 06 02:13:03 UTC 2025 - 2.1K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/DecimalFormatSymbolsUtilTest.java
import junit.framework.TestCase; /** * @author higa * */ public class DecimalFormatSymbolsUtilTest extends TestCase { /** * @throws Exception */ public void testGetDecimalFormatSymbols() throws Exception { final DecimalFormatSymbols symbols = DecimalFormatSymbolsUtil.getDecimalFormatSymbols(Locale.GERMAN); System.out.println("DecimalSeparator:" + symbols.getDecimalSeparator());Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/text/DecimalFormatUtilTest.java
import java.util.Locale; import junit.framework.TestCase; /** * @author higa * */ public class DecimalFormatUtilTest extends TestCase { /** * @throws Exception */ public void testNormalize() throws Exception { assertEquals("1", "1000.00", DecimalFormatUtil.normalize("1,000.00", Locale.JAPAN)); assertEquals("2", "1000", DecimalFormatUtil.normalize("1,000", Locale.JAPAN));Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.1K bytes - Viewed (0) -
fess-crawler/src/test/java/org/codelibs/fess/net/protocol/storage/HandlerTest.java
import org.dbflute.utflute.core.PlainTestCase; public class HandlerTest extends PlainTestCase { @Override protected void setUp() throws Exception { super.setUp(); new StandardCrawlerContainer(); } public void test_protocol() throws Exception { URL url = new URL("storage:/home/foo"); assertEquals("storage", url.getProtocol()); }Registered: Sun Sep 21 03:50:09 UTC 2025 - Last Modified: Sat Mar 15 06:52:00 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/score/QueryRescorerTest.java
throw new RuntimeException("Test exception"); } return createMockRescorerBuilder(); } }; // Test normal case Map<String, Object> normalParams = new HashMap<>(); normalParams.put("normal", "value"); assertNotNull(queryRescorer.evaluate(normalParams)); // Test exception case
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Tue Aug 19 14:09:36 UTC 2025 - 9.3K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/suggest/concurrent/Deferred.java
import java.util.concurrent.CountDownLatch; import java.util.concurrent.LinkedBlockingQueue; import java.util.concurrent.TimeUnit; import java.util.function.Consumer; import org.codelibs.core.exception.InterruptedRuntimeException; import org.codelibs.fess.suggest.exception.SuggesterException; import org.codelibs.fess.suggest.request.Response; /** * <p> * Deferred is a class that represents a deferred computation.
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 7.8K bytes - Viewed (0) -
src/test/java/jcifs/smb/DosFileFilterTest.java
@Test void testAccept_ThrowsSmbException() throws SmbException { // Given a filter dosFileFilter = new DosFileFilter("*.*", SmbFile.ATTR_ARCHIVE); // and a mock file that throws an exception when getAttributes is called SmbException expectedException = new SmbException("Failed to get attributes"); when(mockFile.getAttributes()).thenThrow(expectedException); // When calling acceptRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.2K bytes - Viewed (0) -
src/test/java/org/codelibs/core/collection/CaseInsensitiveSetTest.java
import java.util.Set; import org.junit.Test; /** * @author higa */ public class CaseInsensitiveSetTest { /** * @throws Exception */ @Test public void testContains() throws Exception { final Set<String> set = new CaseInsensitiveSet(); set.add("one"); assertThat(set.contains("ONE"), is(true)); }Registered: Fri Sep 05 20:58:11 UTC 2025 - Last Modified: Sat May 10 01:32:17 UTC 2025 - 1.1K bytes - Viewed (0) -
src/test/java/org/codelibs/fess/suggest/settings/BadWordSettingsTest.java
runner.ensureYellow(); } @AfterClass public static void afterClass() throws Exception { runner.close(); runner.clean(); } @Before public void before() throws Exception { try { runner.admin().indices().prepareDelete("_all").execute().actionGet(); } catch (IndexNotFoundException ignore) {
Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 4.4K bytes - Viewed (0)