- Sort Score
- Result 10 results
- Languages All
Results 901 - 910 of 3,054 for throws (0.04 sec)
-
android/guava-tests/benchmark/com/google/common/io/ByteSourceAsCharSourceReadBenchmark.java
enum ReadStrategy { TO_BYTE_ARRAY_NEW_STRING { @Override String read(ByteSource byteSource, Charset cs) throws IOException { return new String(byteSource.read(), cs); } }, USING_CHARSTREAMS_COPY { @Override String read(ByteSource byteSource, Charset cs) throws IOException { StringBuilder sb = new StringBuilder();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 18:46:00 UTC 2025 - 5.2K bytes - Viewed (0) -
src/test/java/jcifs/CIFSContextTest.java
mockContext.renewCredentials("hint", new Exception()); }); } @Test @DisplayName("Should get SmbResource") void testGet() throws CIFSException { // Given String url = "smb://server/share/file"; SmbResource mockResource = mock(SmbResource.class); when(mockContext.get(url)).thenReturn(mockResource); // When
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 8.8K bytes - Viewed (0) -
android/guava/src/com/google/common/util/concurrent/ForwardingExecutorService.java
@CheckReturnValue @Override public boolean awaitTermination(long timeout, TimeUnit unit) throws InterruptedException { return delegate().awaitTermination(timeout, unit); } @Override public <T extends @Nullable Object> List<Future<T>> invokeAll( Collection<? extends Callable<T>> tasks) throws InterruptedException { return delegate().invokeAll(tasks); } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 4.1K bytes - Viewed (0) -
src/main/java/jcifs/http/NtlmSsp.java
* @return credentials passed in the servlet request * @throws IOException * If an IO error occurs. */ public NtlmPasswordAuthentication doAuthentication(final CIFSContext tc, final HttpServletRequest req, final HttpServletResponse resp, final byte[] challenge) throws IOException { return authenticate(tc, req, resp, challenge); } /**
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4.9K bytes - Viewed (0) -
android/guava/src/com/google/common/net/HostSpecifier.java
* specifier that is not already known to be valid. * * @throws ParseException if the specifier is not valid. */ @CanIgnoreReturnValue // TODO(b/219820829): consider removing public static HostSpecifier from(String specifier) throws ParseException { try { return fromValid(specifier); } catch (IllegalArgumentException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 6K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java
* sees an Error? */ @AndroidIncompatible public void testTaskThrowsError() throws Exception { class MyError extends Error {} CyclicBarrier barrier = new CyclicBarrier(2); // we need to make sure the error gets thrown on a different thread. ExecutorService service = newSingleThreadExecutor(); try {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Jul 11 18:52:30 UTC 2025 - 11.4K bytes - Viewed (0) -
docs/smb3-features/03-multi-channel-design.md
return baos.toByteArray(); } private byte[] calculateBindingHash(byte[] bindingInfo) throws IOException { try { MessageDigest digest = MessageDigest.getInstance("SHA-256"); return digest.digest(bindingInfo); } catch (NoSuchAlgorithmException e) { throw new IOException("SHA-256 not available", e); } }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 39.6K bytes - Viewed (0) -
guava/src/com/google/common/base/Joiner.java
throws IOException { return appendTo(appendable, iterable(first, second, rest)); } /** * Appends the string representation of each of {@code parts}, using the previously configured * separator between each, to {@code builder}. Identical to {@link #appendTo(Appendable, * Iterable)}, except that it does not throw {@link IOException}. */ @CanIgnoreReturnValue
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Apr 14 15:16:19 UTC 2025 - 21K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ArtifactDeployer.java
/** * @param request {@link ArtifactDeployerRequest} * @throws ArtifactDeployerException if the deployment failed */ void deploy(@Nonnull ArtifactDeployerRequest request); /** * @param session the repository session * @param repository the repository to deploy to * @param artifacts the collection of artifacts to deploy * @throws ArtifactDeployerException if the deployment failed
Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Oct 25 16:43:07 UTC 2024 - 2.1K bytes - Viewed (0) -
src/test/java/jcifs/http/NtlmSspTest.java
/** * Test case for when the 'Authorization' header is missing. * Expects the server to respond with a 'WWW-Authenticate: NTLM' header and a 401 status. * @throws IOException */ @Test public void testAuthenticate_NoAuthorizationHeader() throws IOException { // Setup: No "Authorization" header when(mockRequest.getHeader("Authorization")).thenReturn(null); // Execute
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1)