- Sort Score
- Result 10 results
- Languages All
Results 161 - 170 of 2,268 for Method (0.07 sec)
-
src/test/java/jcifs/smb/MultiChannelManagerBasicTest.java
// Use reflection to access private method for testing Exception exception = assertThrows(Exception.class, () -> { java.lang.reflect.Method method = MultiChannelManager.class.getDeclaredMethod("createChannelTransport", InetAddress.class, InetAddress.class); method.setAccessible(true); method.invoke(multiChannelManager, null, null); });Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Sun Aug 31 08:00:57 UTC 2025 - 4K bytes - Viewed (0) -
src/test/java/jcifs/smb1/smb1/SmbComOpenAndXTest.java
* Test readParameterWordsWireFormat method. */ @Test void testReadParameterWordsWireFormat() { smbComOpenAndX = new SmbComOpenAndX(fileName, access, 0, andx); byte[] buffer = new byte[0]; int result = smbComOpenAndX.readParameterWordsWireFormat(buffer, 0); assertEquals(0, result); } /** * Test readBytesWireFormat method. */ @TestRegistered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 07:14:38 UTC 2025 - 5.6K bytes - Viewed (0) -
src/test/java/jcifs/util/transport/ResponseTest.java
assertTrue(mockResponse.isReceived()); // Verify the method was called verify(mockResponse, times(2)).isReceived(); } @Test void testReceived() { // Call the method mockResponse.received(); // Verify that the method was called verify(mockResponse, times(1)).received(); } @Test
Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 6.5K bytes - Viewed (0) -
docs/en/docs/advanced/generate-clients.md
<img src="/img/tutorial/generate-clients/image06.png"> In this case, you have: * `ItemsService` * `UsersService` ### Client Method Names { #client-method-names } Right now, the generated method names like `createItemItemsPost` don't look very clean: ```TypeScript ItemsService.createItemItemsPost({name: "Plumbus", price: 5}) ```
Registered: Sun Sep 07 07:19:17 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 10.1K bytes - Viewed (1) -
guava/src/com/google/common/reflect/Types.java
private static final ImmutableMap<String, Method> typeVariableMethods; static { ImmutableMap.Builder<String, Method> builder = ImmutableMap.builder(); for (Method method : TypeVariableImpl.class.getMethods()) { if (method.getDeclaringClass().equals(TypeVariableImpl.class)) { try { method.setAccessible(true); } catch (AccessControlException e) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Sep 03 14:03:14 UTC 2025 - 23.5K bytes - Viewed (0) -
android/guava/src/com/google/common/base/SneakyThrows.java
* rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in * fact the static type of {@link Throwable} is occasionally justified even for a method with no * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such aRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Feb 03 21:52:39 UTC 2025 - 2.4K bytes - Viewed (0) -
guava/src/com/google/common/util/concurrent/SneakyThrows.java
* rather than just the {@link RuntimeException} or {@link Error} that should be possible. (And in * fact the static type of {@link Throwable} is occasionally justified even for a method with no * {@code throws} clause: Some such methods can in fact throw a checked exception (e.g., by * calling code written in Kotlin).) Typically, we want to let a {@link Throwable} from such aRegistered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Mon Dec 30 18:44:22 UTC 2024 - 2.4K bytes - Viewed (0) -
src/test/java/org/codelibs/curl/CurlRequestTest.java
String url = "https://example.com"; // Test that CurlRequest can be created with all HTTP methods for (Method method : Method.values()) { CurlRequest request = new CurlRequest(method, url); assertEquals(method, request.method()); } }
Registered: Thu Sep 04 15:34:10 UTC 2025 - Last Modified: Thu Jul 31 01:01:12 UTC 2025 - 8.8K bytes - Viewed (0) -
src/test/java/jcifs/SmbTreeHandleTest.java
/** * Test for close() method. * Verifies that the close method can be called without throwing an exception. * @throws CIFSException */ @Test void testClose() throws CIFSException { smbTreeHandle.close(); // Verify that close() was called on the mock verify(smbTreeHandle).close(); } /** * Test for close() method throwing CIFSException.Registered: Sun Sep 07 00:10:21 UTC 2025 - Last Modified: Thu Aug 14 05:31:44 UTC 2025 - 7.1K bytes - Viewed (0) -
cmd/kms-handlers_test.go
Registered: Sun Sep 07 19:28:11 UTC 2025 - Last Modified: Wed Apr 09 14:28:39 UTC 2025 - 22.3K bytes - Viewed (0)