- Sort Score
- Result 10 results
- Languages All
Results 2751 - 2760 of 3,054 for throws (0.17 sec)
-
src/main/java/jcifs/internal/smb1/trans2/Trans2QueryPathInformation.java
return 0x0101; case FileInformation.FILE_STANDARD_INFO: return 0x0102; case FileInformation.FILE_ENDOFFILE_INFO: return 0x0104; } throw new IllegalArgumentException("Unsupported information level " + il); } @Override protected int writeDataWireFormat(final byte[] dst, final int dstIndex) { return 0; } @OverrideRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2WriteRequestTest.java
assertEquals(49, SMBUtil.readInt2(buffer, 0)); // Structure size assertEquals(0, SMBUtil.readInt4(buffer, 4)); // Data length } @Test @DisplayName("Should throw exception when data exceeds buffer") void testWriteBytesWireFormatDataExceedsBuffer() { byte[] largeData = new byte[1000]; request.setData(largeData, 0, largeData.length);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 22.4K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/util/ThreadDumpUtil.java
processThreadDump(s -> { try { writer.write(s); writer.write('\n'); } catch (final IOException e) { throw new IORuntimeException(e); } }); } catch (final Exception e) { logger.warn("Failed to write a thread dump to {}", file, e); } } /**
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 3.3K bytes - Viewed (0) -
android-test/src/test/kotlin/okhttp/android/test/AndroidLoggingTest.kt
import org.robolectric.shadows.ShadowLog @RunWith(RobolectricTestRunner::class) class AndroidLoggingTest { val clientBuilder = OkHttpClient.Builder().connectionSpecs(listOf(ConnectionSpec.CLEARTEXT)).dns { throw UnknownHostException("shortcircuit") } val request = Request("http://google.com/robots.txt".toHttpUrl()) @Test fun testHttpLoggingInterceptor() { val interceptor =Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Aug 21 14:27:04 UTC 2025 - 3.2K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb2/persistent/DurableHandleReconnect.java
* Create a new durable handle reconnect context * @param fileId the 16-byte file ID from the previous open */ public DurableHandleReconnect(byte[] fileId) { if (fileId.length != 16) { throw new IllegalArgumentException("File ID must be 16 bytes"); } this.fileId = Arrays.copyOf(fileId, 16); } @Override public byte[] getName() { return CONTEXT_NAME_BYTES; }Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 21 04:51:33 UTC 2025 - 3K bytes - Viewed (0) -
src/main/java/jcifs/internal/smb1/trans/nt/NtTransQuerySecurityDescResponse.java
try { this.securityDescriptor = new SecurityDescriptor(); bufferIndex += this.securityDescriptor.decode(buffer, bufferIndex, len); } catch (final IOException ioe) { throw new RuntimeCIFSException(ioe.getMessage()); } return bufferIndex - start; } @Override public String toString() {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.2K bytes - Viewed (0) -
src/test/java/jcifs/dcerpc/msrpc/LsarSidArrayXTest.java
jcifs.SID[] sids = null; // Expect NullPointerException when passing a null array to the constructor assertThrows(NullPointerException.class, () -> new LsarSidArrayX(sids), "Should throw NullPointerException when sids array is null"); }
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.1K bytes - Viewed (0) -
src/main/java/jcifs/smb1/smb1/NtlmAuthenticator.java
/** * Used internally by jCIFS when an <code>SmbAuthException</code> is trapped to retrieve new user credentials. * @param url the URL that requires authentication * @param sae the authentication exception that was thrown * @return credentials returned by prompt or null if none available */ public static NtlmPasswordAuthentication requestNtlmPasswordAuthentication(final String url, final SmbAuthException sae) {Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 01:32:48 UTC 2025 - 3.7K bytes - Viewed (0) -
src/main/java/org/codelibs/fess/api/BaseApiManager.java
writeHeaders(response); try (PrintWriter out = new PrintWriter(new OutputStreamWriter(response.getOutputStream(), enc))) { out.print(text); } catch (final IOException e) { throw new IORuntimeException(e); } } /** * Writes custom headers to the HTTP response. * @param response The HTTP servlet response. */
Registered: Thu Sep 04 12:52:25 UTC 2025 - Last Modified: Thu Jul 17 08:28:31 UTC 2025 - 5.9K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionAddTester.java
} @CollectionFeature.Require(absent = SUPPORTS_ADD) @CollectionSize.Require(absent = ZERO) public void testAdd_unsupportedPresent() { try { assertFalse("add(present) should return false or throw", collection.add(e0())); } catch (UnsupportedOperationException tolerated) { } expectUnchanged(); } @CollectionFeature.Require( value = {SUPPORTS_ADD, ALLOWS_NULL_VALUES},
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 6K bytes - Viewed (0)