- Sort Score
- Num 10 results
- Language All
Results 1581 - 1590 of 3,107 for execution (0.06 seconds)
-
samples/guide/src/main/java/okhttp3/recipes/CheckHandshake.java
} }; private final OkHttpClient client = new OkHttpClient.Builder() .addNetworkInterceptor(CHECK_HANDSHAKE_INTERCEPTOR) .build(); public void run() throws Exception { Request request = new Request.Builder() .url("https://publicobject.com/helloworld.txt") .build(); try (Response response = client.newCall(request).execute()) {
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 2.1K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/session/Smb2SessionSetupResponseTest.java
} } @Test @DisplayName("Decode with MORE_PROCESSING_REQUIRED should parse blob and flags") void testDecodeMoreProcessingParsesBlobAndFlags() throws Exception { Smb2SessionSetupResponse resp = newResponse(); byte[] buf = new byte[256]; int headerStart = 0; long expectedSessionId = 0x1122334455667788L;Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 9.7K bytes - Click Count (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());Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.2K bytes - Click Count (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));Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 1.1K bytes - Click Count (0) -
src/test/java/jcifs/smb/SmbSessionInternalTest.java
assertSame(transport, session.getTransport()); verify(session).getTransport(); } // Happy path: connect to logon share completes without exception @Test @DisplayName("treeConnectLogon performs call without exception") void treeConnectLogon_happy() throws SmbException { // doNothing by default session.treeConnectLogon(); verify(session, times(1)).treeConnectLogon();
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.8K bytes - Click Count (0) -
container-tests/src/test/java/okhttp3/containers/BasicLoomTest.kt
// We should test MockWebServer later. @Container val mockServer: MockServerContainer = MockServerContainer(MOCKSERVER_IMAGE) val capturedOut = ByteArrayOutputStream() private lateinit var executor: ExecutorService private lateinit var client: OkHttpClient @BeforeEach fun setUp() { platform.assumeLoom() assertThat(System.getProperty("jdk.tracePinnedThreads")).isNotEmpty() client =
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Wed Mar 19 19:25:20 GMT 2025 - 3.7K bytes - Click Count (1) -
src/main/java/org/codelibs/core/zip/ZipFileUtil.java
return FileUtil.getCanonicalPath(zipFile); } /** * Closes the Zip file. * <p> * If {@link ZipFile#close()} throws an exception, an error message is logged. The exception is not rethrown. * </p> * * @param zipFile * Zip file. Must not be {@literal null}. */ public static void close(final ZipFile zipFile) {
Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Thu Jul 31 08:16:49 GMT 2025 - 4.7K bytes - Click Count (0) -
src/test/java/org/codelibs/fess/query/QueryFieldConfigSetBasedLookupTest.java
@Override protected void setUp(TestInfo testInfo) throws Exception { super.setUp(testInfo); FessConfig fessConfig = createTestFessConfig(); ComponentUtil.setFessConfig(fessConfig); queryFieldConfig = new QueryFieldConfig(); } @Override protected void tearDown(TestInfo testInfo) throws Exception { ComponentUtil.setFessConfig(null); super.tearDown(testInfo);Created: Tue Mar 31 13:07:34 GMT 2026 - Last Modified: Fri Mar 13 23:01:26 GMT 2026 - 19.4K bytes - Click Count (0) -
src/test/java/org/codelibs/core/xml/SAXParserFactoryUtilTest.java
*/ public class SAXParserFactoryUtilTest extends TestCase { boolean included; /** * {@link SAXParserFactoryUtil#setXIncludeAware}のテストです。 * * @throws Exception */ public void testSetXIncludeAware() throws Exception { final SAXParserFactory spf = SAXParserFactoryUtil.newInstance(); SAXParserFactoryUtil.setXIncludeAware(spf, true); spf.setNamespaceAware(true);Created: Fri Apr 03 20:58:12 GMT 2026 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 2.4K bytes - Click Count (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/ConcurrentMapRemoveTester.java
public void testRemove_nullKeyQueriesUnsupported() { try { assertFalse(getMap().remove(null, v3())); } catch (NullPointerException tolerated) { // since the operation would be a no-op, the exception is not required } expectUnchanged(); } @MapFeature.Require(value = SUPPORTS_REMOVE, absent = ALLOWS_NULL_VALUE_QUERIES) public void testRemove_nullValueQueriesUnsupported() { try {
Created: Fri Apr 03 12:43:13 GMT 2026 - Last Modified: Sat Dec 21 14:50:24 GMT 2024 - 4K bytes - Click Count (0)