- Sort Score
- Result 10 results
- Languages All
Results 1651 - 1660 of 2,976 for throwIt (0.04 sec)
- 
				
				src/test/java/org/codelibs/core/collection/MapsTest.javaimport static org.junit.Assert.assertThat; import java.util.Map; import org.junit.Test; /** * @author koichik */ public class MapsTest { /** * @throws Exception */ @Test public void test() throws Exception { final Map<String, Integer> map = map("a", 1).$("b", 2).$("c", 3).$(); assertThat(map.size(), is(3)); assertThat(map.get("a"), is(1));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/main/java/org/codelibs/fess/suggest/converter/AnalyzerConverter.javathis.settings = settings; analyzerSettings = settings.analyzer(); } @Override public void init() throws IOException { // nothing } @Override public List<String> convert(final String text, final String field, final String... langs) throws IOException { final ReadingConverter converter; if (langs == null || langs.length == 0) {Registered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Thu Aug 07 02:41:28 UTC 2025 - 6.7K bytes - Viewed (0)
- 
				
				samples/slack/src/main/java/okhttp3/slack/SlackApi.javabuilder.addQueryParameter("team", team); } return builder.build(); } /** See https://api.slack.com/methods/oauth.access. */ public OAuthSession exchangeCode(String code, HttpUrl redirectUrl) throws IOException { HttpUrl url = baseUrl.newBuilder("oauth.access") .addQueryParameter("client_id", clientId) .addQueryParameter("client_secret", clientSecret) .addQueryParameter("code", code) Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jul 06 19:30:55 UTC 2018 - 4.4K bytes - Viewed (0)
- 
				
				guava/src/com/google/common/collect/HashMultiset.java*/ @GwtIncompatible @J2ktIncompatible private void writeObject(ObjectOutputStream stream) throws IOException { stream.defaultWriteObject(); Serialization.writeMultiset(this, stream); } @GwtIncompatible @J2ktIncompatible private void readObject(ObjectInputStream stream) throws IOException, ClassNotFoundException { stream.defaultReadObject();Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 3.2K bytes - Viewed (0)
- 
				
				regression-test/src/androidTest/java/okhttp/regression/IssueReproductionTest.java*/ @RunWith(AndroidJUnit4.class) public class IssueReproductionTest { @Test public void getFailsWithoutAdditionalCert() throws IOException { OkHttpClient client = new OkHttpClient(); sendRequest(client, "https://google.com/robots.txt"); } private void sendRequest(OkHttpClient client, String url) throws IOException { Request request = new Request.Builder() .url(url) .build();Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 26 06:37:08 UTC 2021 - 1.9K bytes - Viewed (0)
- 
				
				compat/maven-compat/src/main/java/org/apache/maven/toolchain/ToolchainsBuilder.java* @return The toolchains model or <code>null</code> if no toolchain file was configured or the configured file does * not exist. * @throws MisconfiguredToolchainException If the toolchain file exists but cannot be parsed. */ PersistedToolchains build(File userToolchainsFile) throws MisconfiguredToolchainException; Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.8K bytes - Viewed (0)
- 
				
				okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt* return the value but instead throw an exception. */ private var trailers: Headers? = null override val isResponseComplete: Boolean get() = state == STATE_CLOSED override fun createRequestBody( request: Request, contentLength: Long, ): Sink = when { request.body?.isDuplex() == true -> throw ProtocolException(Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 17.5K bytes - Viewed (7)
- 
				
				src/test/java/jcifs/internal/smb2/create/CreateContextRequestTest.javaencodeCallCount++; if (throwOnEncode) { throw new RuntimeException("Test encode error"); } if (dst == null) { throw new IllegalArgumentException("Destination buffer cannot be null"); } if (dstIndex < 0) { throw new IllegalArgumentException("Destination index cannot be negative"); }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 24.9K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/internal/smb1/AndXServerMessageBlockTest.javaassertTrue(length > 0); verify(mockDigest).sign(eq(buffer), eq(0), eq(length), eq(testBlock), any()); } @Test @DisplayName("Test decode basic message") void testDecodeBasicMessage() throws SMBProtocolDecodingException { testBlock = new TestAndXServerMessageBlock(mockConfig, (byte) 0x25) { @Override protected int readHeaderWireFormat(byte[] buffer, int bufferIndex) { Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 19.4K bytes - Viewed (0)
- 
				
				okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealConnection.ktinternal fun incrementSuccessCount() { withLock { successCount++ } } @Throws(IOException::class) fun start() { idleAtNs = System.nanoTime() if (protocol == Protocol.HTTP_2 || protocol == Protocol.H2_PRIOR_KNOWLEDGE) { startHttp2() } } @Throws(IOException::class) private fun startHttp2() { Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Jul 31 04:18:40 UTC 2025 - 14.9K bytes - Viewed (0)