- Sort Score
- Result 10 results
- Languages All
Results 1521 - 1530 of 2,976 for throwIt (0.16 sec)
- 
				
				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); // ExecuteRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 11.4K bytes - Viewed (1)
- 
				
				src/test/java/jcifs/CIFSContextTest.javamockContext.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)
- 
				
				api/maven-api-core/src/main/java/org/apache/maven/api/services/Sources.javapublic final class Sources { private Sources() {} /** * Creates a new source for the specified path. * * @param path the path to the file * @return a new Source instance * @throws NullPointerException if path is null */ @Nonnull public static Source fromPath(@Nonnull Path path) { return new PathSource(requireNonNull(path, "path")); } /**Registered: Sun Sep 07 03:35:12 UTC 2025 - Last Modified: Fri Feb 07 00:45:02 UTC 2025 - 8K bytes - Viewed (0)
- 
				
				samples/guide/src/main/java/okhttp3/recipes/CurrentDateHeader.javaimport okhttp3.Response; public final class CurrentDateHeader { private final OkHttpClient client = new OkHttpClient.Builder() .addInterceptor(new CurrentDateInterceptor()) .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()) {Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Oct 31 15:32:50 UTC 2018 - 1.8K bytes - Viewed (0)
- 
				
				src/main/java/jcifs/internal/smb1/trans/SmbComTransactionResponse.java* @param bufferIndex starting index in source buffer * @param len length of data to read * @return number of bytes read * @throws SMBProtocolDecodingException if decoding fails */ protected abstract int readParametersWireFormat(byte[] buffer, int bufferIndex, int len) throws SMBProtocolDecodingException; /** * Reads data from wire format * @param buffer source bufferRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 12.3K bytes - Viewed (0)
- 
				
				android/guava/src/com/google/common/util/concurrent/Uninterruptibles.java* Futures#getUnchecked}. * </ul> * * @throws ExecutionException if the computation threw an exception * @throws CancellationException if the computation was cancelled */ @CanIgnoreReturnValue @ParametricNullness public static <V extends @Nullable Object> V getUninterruptibly(Future<V> future) throws ExecutionException { boolean interrupted = false; try { Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 19.8K bytes - Viewed (0)
- 
				
				guava-tests/test/com/google/common/hash/MacHashFunctionTest.javapublic void testEmptyInputs_mixedAlgorithms() throws Exception { String knownOutput = "8cbf764cbe2e4623d99a41354adfd390"; Mac mac = Mac.getInstance("HmacMD5"); mac.init(SHA1_KEY); assertEquals(knownOutput, HashCode.fromBytes(mac.doFinal()).toString()); assertEquals(knownOutput, Hashing.hmacMd5(SHA1_KEY).newHasher().hash().toString()); } public void testKnownInputs() throws Exception { Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Fri Dec 27 16:19:35 UTC 2024 - 13.8K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/internal/smb2/ioctl/SrvPipePeekResponseTest.java@BeforeEach void setUp() { response = new SrvPipePeekResponse(); } @Test @DisplayName("Test successful decode with data") void testDecodeWithData() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[24]; // 16 bytes header + 8 bytes data int bufferIndex = 0; // Set up test valuesRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 11.9K bytes - Viewed (0)
- 
				
				src/test/java/jcifs/internal/smb2/ioctl/ValidateNegotiateInfoResponseTest.java@BeforeEach void setUp() { response = new ValidateNegotiateInfoResponse(); } @Test @DisplayName("Test decode with valid buffer") void testDecodeValidBuffer() throws SMBProtocolDecodingException { // Prepare test data byte[] buffer = new byte[64]; int bufferIndex = 10; // Set capabilities (4 bytes) int testCapabilities = 0x12345678;Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 10.8K bytes - Viewed (0)
- 
				
				src/main/java/org/codelibs/fess/suggest/index/writer/SuggestBulkFileWriter.javafinal boolean update) { throw new UnsupportedOperationException("not yet."); } @Override public SuggestWriterResult delete(final Client client, final SuggestSettings settings, final String index, final String id) { throw new UnsupportedOperationException("not yet."); } @OverrideRegistered: Fri Sep 19 09:08:11 UTC 2025 - Last Modified: Fri Jul 04 14:00:23 UTC 2025 - 2.1K bytes - Viewed (0)