- Sort Score
- Result 10 results
- Languages All
Results 1221 - 1230 of 3,054 for throws (0.11 sec)
-
guava/src/com/google/common/util/concurrent/ForwardingLock.java
public void lock() { delegate().lock(); } @Override public void lockInterruptibly() throws InterruptedException { delegate().lockInterruptibly(); } @Override public boolean tryLock() { return delegate().tryLock(); } @Override public boolean tryLock(long time, TimeUnit unit) throws InterruptedException { return delegate().tryLock(time, unit); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jul 23 15:26:56 UTC 2025 - 1.6K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java
* for background. */ @RunWith(AndroidJUnit4.class) public class LetsEncryptTest { @Test public void getFailsWithoutAdditionalCert() throws IOException { OkHttpClient client = new OkHttpClient(); boolean androidMorEarlier = Build.VERSION.SDK_INT <= 23; try { sendRequest(client, "https://valid-isrgrootx1.letsencrypt.org/robots.txt");
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Nov 17 07:40:31 UTC 2020 - 6.1K bytes - Viewed (0) -
src/test/java/jcifs/smb/NtlmPasswordAuthenticatorTimingAttackTest.java
/** * Test that password comparison is constant-time by comparing execution times * for passwords that differ at different positions. */ @Test public void testConstantTimePasswordComparison() throws Exception { char[] basePassword = "supersecretpassword123456789".toCharArray(); char[] diffAtStart = "Xupersecretpassword123456789".toCharArray();
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 11.2K bytes - Viewed (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/ForwardingRequestBody.kt
private val delegate: RequestBody fun delegate(): RequestBody = delegate override fun contentType(): MediaType? = delegate.contentType() @Throws(IOException::class) override fun contentLength(): Long = delegate.contentLength() @Throws(IOException::class) override fun writeTo(sink: BufferedSink) { delegate.writeTo(sink) } override fun isDuplex(): Boolean = delegate.isDuplex()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.3K bytes - Viewed (0) -
src/main/java/jcifs/smb1/http/NtlmHttpFilter.java
* @return True if the negotiation is complete, otherwise false * @throws IOException if an I/O error occurs * @throws ServletException if a servlet error occurs */ protected NtlmPasswordAuthentication negotiate(final HttpServletRequest req, final HttpServletResponse resp, final boolean skipAuthentication) throws IOException, ServletException { UniAddress dc; String msg;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 30 05:58:03 UTC 2025 - 11.3K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/DirectExecutorService.java
} } /** * Checks if the executor has been shut down and increments the running task count. * * @throws RejectedExecutionException if the executor has been previously shutdown */ private void startTask() { synchronized (lock) { if (shutdown) { throw new RejectedExecutionException("Executor already shutdown"); } runningTasks++; } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sat Apr 12 15:07:59 UTC 2025 - 3.5K bytes - Viewed (0) -
src/main/java/jcifs/ntlmssp/NtlmMessage.java
/** * Returns the raw byte representation of this message. * * @return A <code>byte[]</code> containing the raw message material. * @throws IOException if an error occurs during message serialization */ public abstract byte[] toByteArray() throws IOException;
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 5.4K bytes - Viewed (0) -
src/test/java/jcifs/internal/dtyp/SecurityInfoTest.java
assertTrue(Modifier.isFinal(modifiers), "Field " + field.getName() + " should be final"); } } @Test @DisplayName("Test constant values are unique") void testConstantValuesAreUnique() throws IllegalAccessException { Field[] fields = SecurityInfo.class.getDeclaredFields(); Set<Integer> values = new HashSet<>(); for (Field field : fields) { if (field.getType() == int.class) {
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 7.5K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbSessionTest.java
// performs several other operations, but for the purpose of the test // we intercept the factory call. private MockedStatic<SmbTransport> smbtStatic; @BeforeEach void setUp() throws Exception { // Create a real NtlmPasswordAuthentication instance auth = new NtlmPasswordAuthentication("TESTDOMAIN", "testuser", "testpass"); // Initialize ServerData to avoid NullPointerException
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 5.6K bytes - Viewed (0) -
guava/src/com/google/common/math/PairedStatsAccumulator.java
* * <p>If the dataset contains any non-finite values ({@link Double#POSITIVE_INFINITY}, {@link * Double#NEGATIVE_INFINITY}, or {@link Double#NaN}) then the result is {@link Double#NaN}. * * @throws IllegalStateException if the dataset is empty */ public double populationCovariance() { checkState(count() != 0); return sumOfProductsOfDeltas / count(); } /**
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 16:36:11 UTC 2025 - 10.4K bytes - Viewed (0)