- Sort Score
- Num 10 results
- Language All
Results 2901 - 2910 of 3,282 for throwIt (0.04 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CallTest.kt
call: Call, e: IOException, ): Unit = throw AssertionError() override fun onResponse( call: Call, response: Response, ) { try { responseRef.put(response) } catch (e: InterruptedException) { throw AssertionError() } } }, )Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Tue Nov 04 19:13:52 GMT 2025 - 147.4K bytes - Click Count (0) -
okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt
try { while (true) { val event = takeEvent() if (eventClass.isInstance(event)) { return eventClass.cast(event) } } } catch (e: NoSuchElementException) { throw AssertionError("full event sequence: $fullEventSequence", e) } } /** * Remove and return the next event from the recorded sequence. *Created: Fri Dec 26 11:42:13 GMT 2025 - Last Modified: Fri May 30 21:28:20 GMT 2025 - 5.7K bytes - Click Count (0) -
src/main/java/jcifs/smb1/smb1/SmbComTreeConnectAndX.java
password = session.auth.getAnsiHash(session.transport.server.encryptionKey); passwordLength = password.length; } else if (DISABLE_PLAIN_TEXT_PASSWORDS) { throw new RuntimeException("Plain text passwords are disabled"); } else { // plain text password = new byte[(session.auth.password.length() + 1) * 2];
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 07:14:38 GMT 2025 - 6.6K bytes - Click Count (0) -
src/main/java/jcifs/smb1/dcerpc/UUID.java
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 5.1K bytes - Click Count (0) -
src/test/java/jcifs/smb1/smb1/SmbComWriteTest.java
try { Field field = SmbComWrite.class.getDeclaredField(fieldName); field.setAccessible(true); return field.get(obj); } catch (Exception e) { throw new RuntimeException("Failed to access field " + fieldName, e); } } /** * Test that the constructor initializes all fields correctly */ @Test public void testConstructor() {Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.8K bytes - Click Count (0) -
src/main/java/org/codelibs/core/beans/impl/MethodDescImpl.java
return MethodUtil.invoke(method, target, args); } @Override public <T> T invokeStatic(final Object... args) { if (!isStatic()) { throw new MethodNotStaticRuntimeException(getBeanDesc().getBeanClass(), methodName); } return MethodUtil.invokeStatic(method, args); }Created: Sat Dec 20 08:55:33 GMT 2025 - Last Modified: Sat May 10 01:32:17 GMT 2025 - 7.3K bytes - Click Count (1) -
guava/src/com/google/common/graph/IncidentEdgeSet.java
IncidentEdgeSet(ArchetypeGraph<N> graph, N node, EdgeType edgeType) { this.graph = graph; this.node = node; this.edgeType = edgeType; } @Override public boolean remove(@Nullable Object o) { throw new UnsupportedOperationException(); } @Override public int size() { if (graph.isDirected()) { return predecessorsOrEmpty(node).size() + successorsOrEmpty(node).size()
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Tue Oct 07 15:57:03 GMT 2025 - 3.3K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb1/com/SmbComCloseTest.java
/** * Tests for the {@link SmbComClose} class. */ public class SmbComCloseTest { private CIFSContext context; private PropertyConfiguration config; @BeforeEach public void setUp() throws CIFSException { // Create a mock configuration for testing Properties properties = new Properties(); config = new PropertyConfiguration(properties); context = mock(CIFSContext.class);Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 6.4K bytes - Click Count (0) -
src/test/java/jcifs/internal/smb2/multichannel/ChannelInfoTest.java
private NetworkInterfaceInfo localInterface; private NetworkInterfaceInfo remoteInterface; private ChannelInfo channelInfo; @BeforeEach void setUp() throws UnknownHostException { InetAddress localAddr = InetAddress.getByName("192.168.1.100"); InetAddress remoteAddr = InetAddress.getByName("192.168.1.200");Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 21 11:13:46 GMT 2025 - 7.4K bytes - Click Count (0) -
src/test/java/jcifs/smb/DosErrorTest.java
assertEquals("Incorrect function.", msgs[1]); assertEquals("Incorrect function.", msgs[2]); } @Test @DisplayName("Messages: accessing invalid index throws ArrayIndexOutOfBoundsException") void messagesOutOfBoundsThrows() { // Arrange String[] msgs = DosError.DOS_ERROR_MESSAGES; // Act & Assert: negative index
Created: Sat Dec 20 13:44:44 GMT 2025 - Last Modified: Thu Aug 14 05:31:44 GMT 2025 - 5.9K bytes - Click Count (0)