- Sort Score
- Result 10 results
- Languages All
Results 401 - 410 of 3,030 for thrown (0.07 sec)
-
src/test/java/jcifs/pac/ASN1UtilTest.java
} @Test void testReadTagNumber_HighTag() throws IOException { // High tag number (31) InputStream s = new ByteArrayInputStream(new byte[] { 0x1F }); int tagNo = ASN1Util.readTagNumber(s, 0x1F); assertEquals(31, tagNo); } @Test void testReadTagNumber_MultiByte() throws IOException { // Multi-byte tag (e.g., 80)Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 9.4K bytes - Viewed (0) -
src/test/java/jcifs/pac/PacCredentialTypeTest.java
} /** * Tests the isCredentialTypeCorrect method with a valid byte array. * * @throws PACDecodingException if the PAC decoding fails. */ @Test void testIsCredentialTypeCorrectWithValidData() throws PACDecodingException { // A byte array with a length less than 32 should be correct. byte[] validData = new byte[31];Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 3.9K bytes - Viewed (0) -
src/main/java/org/codelibs/curl/CurlRequest.java
} } /** * Opens a connection to the specified URL. * * @param u the URL * @return the HttpURLConnection * @throws IOException if an I/O exception occurs */ protected HttpURLConnection open(final URL u) throws IOException { final HttpURLConnection connection = (HttpURLConnection) (proxy != null ? u.openConnection(proxy) : u.openConnection());Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Sat Jul 05 01:38:18 UTC 2025 - 17.8K bytes - Viewed (0) -
docs/smb3-features/05-rdma-smb-direct-design.md
* Establish RDMA connection */ public abstract void connect() throws IOException; /** * Send data using RDMA */ public abstract void send(ByteBuffer data, RdmaMemoryRegion region) throws IOException; /** * Receive data using RDMA */ public abstract ByteBuffer receive(int timeout) throws IOException; /** * Perform RDMA read operationRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sat Aug 16 02:53:50 UTC 2025 - 35.9K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Reader.kt
handler.priority(streamId, streamDependency, weight, exclusive) } @Throws(IOException::class) private fun readRstStream( handler: Handler, length: Int, flags: Int, streamId: Int, ) { if (length != 4) throw IOException("TYPE_RST_STREAM length: $length != 4") if (streamId == 0) throw IOException("TYPE_RST_STREAM streamId == 0") val errorCodeInt = source.readInt()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 19.8K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SimpleTimeLimiter.java
return false; } private void wrapAndThrowExecutionExceptionOrError(Throwable cause) throws ExecutionException { if (cause instanceof Error) { throw new ExecutionError((Error) cause); } else if (cause instanceof RuntimeException) { throw new UncheckedExecutionException(cause); } else { throw new ExecutionException(cause); } }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue May 13 17:27:14 UTC 2025 - 9.5K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/io/Smb2ReadResponseTest.java
byte[] copiedData = Arrays.copyOfRange(outputBuffer, 0, dataLength); assertArrayEquals(testData, copiedData); } @Test @DisplayName("Should throw exception when output buffer too small") void testReadBytesWireFormatBufferTooSmall() throws Exception { // Given byte[] smallOutputBuffer = new byte[10]; Smb2ReadResponse smallBufferResponse = new Smb2ReadResponse(mockConfig, smallOutputBuffer, 0);
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 22.1K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TestThread.java
* * @throws TimeoutException if this thread does not offer a response within a reasonable amount of * time * @throws AssertionFailedError if the given method name does not match the name of the method * this thread has called most recently */ private Response getResponse(String methodName) throws Exception { Response response = responseQueue.poll(TIMEOUT_MILLIS, MILLISECONDS);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Sun Dec 22 03:38:46 UTC 2024 - 10.8K bytes - Viewed (0) -
src/test/java/jcifs/internal/smb2/nego/Smb2NegotiateResponseTest.java
void testGetDialectRevision() throws Exception { // Given setPrivateField(response, "dialectRevision", 0x0311); // When int dialect = response.getDialectRevision(); // Then assertEquals(0x0311, dialect); } @Test @DisplayName("Should return server GUID") void testGetServerGuid() throws Exception { // Given
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 32.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/util/concurrent/TrustedListenableFutureTaskTest.java
verifyThreadWasNotInterrupted(); } public void testFailed() throws Exception { Exception e = new Exception(); TrustedListenableFutureTask<Integer> task = TrustedListenableFutureTask.create( new Callable<Integer>() { @Override public Integer call() throws Exception { throw e; } }); task.run();
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7.2K bytes - Viewed (0)