Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 222 for Revoke (0.37 sec)

  1. src/test/java/jcifs/dcerpc/DcerpcPipeHandleTest.java

                Method makePipeUrlMethod = DcerpcPipeHandle.class.getDeclaredMethod("makePipeUrl");
                makePipeUrlMethod.setAccessible(true);
                String result = (String) makePipeUrlMethod.invoke(handle);
    
                assertEquals("smb://server/IPC$/test", result);
            }
    
            @Test
            @DisplayName("Should generate correct pipe URL with server option")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 21K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ForwardingBlockingDeque.java

     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingBlockingDeque}.
     *
     * <p>The {@code standard} methods are not guaranteed to be thread-safe, even when all of the
     * methods that they depend on are thread-safe.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. src/test/java/jcifs/https/HandlerTest.java

                // Then
                assertTrue(Modifier.isProtected(method.getModifiers()));
                method.setAccessible(true); // Required to invoke protected method
                assertEquals(443, method.invoke(testHandler));
            }
    
            @Test
            @DisplayName("Should maintain inheritance hierarchy")
            void testInheritanceHierarchy() {
                // When
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  4. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

                      throws Throwable {
                    throw exception;
                  }
                });
        T wrapper = wrapperFunction.apply(proxy);
        try {
          method.invoke(wrapper, getParameterValues(method));
          fail(method + " failed to throw exception as is.");
        } catch (InvocationTargetException e) {
          if (exception != e.getCause()) {
            throw new RuntimeException(e);
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue May 13 17:27:14 UTC 2025
    - 9.1K bytes
    - Viewed (0)
  5. src/test/java/jcifs/ntlmssp/Type2MessageTest.java

                    method.setAccessible(true);
                    byte[] targetInfo = (byte[]) method.invoke(null, mockContext, null);
    
                    assertNotNull(targetInfo);
                    assertEquals(4, targetInfo.length); // Only the 4-byte terminator
                } catch (Exception e) {
                    fail("Failed to invoke makeTargetInfo via reflection: " + e.getMessage());
                }
            }
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 38.9K bytes
    - Viewed (0)
  6. guava/src/com/google/common/util/concurrent/ForwardingBlockingQueue.java

     * pattern</a>.
     *
     * <p><b>{@code default} method warning:</b> This class does <i>not</i> forward calls to {@code
     * default} methods. Instead, it inherits their default implementations. When those implementations
     * invoke methods, they invoke methods on the {@code ForwardingBlockingQueue}.
     *
     * @author Raimundo Mirisola
     * @param <E> the type of elements held in this collection
     * @since 4.0
     */
    @J2ktIncompatible
    @GwtIncompatible
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/LoomTest.kt

            .dispatcher(Dispatcher(newVirtualThreadPerTaskExecutor()))
            .build()
      }
    
      private fun newVirtualThreadPerTaskExecutor(): ExecutorService =
        Executors::class.java.getMethod("newVirtualThreadPerTaskExecutor").invoke(null) as ExecutorService
    
      @Test
      fun testRequest() {
        server.enqueue(MockResponse())
    
        val request = Request(server.url("/"))
    
        client.newCall(request).execute().use {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Jun 18 12:28:21 UTC 2025
    - 2K bytes
    - Viewed (0)
  8. src/test/java/jcifs/internal/smb2/tree/Smb2TreeDisconnectRequestTest.java

            // When & Then - test various sizes for 8-byte alignment
            assertEquals(8, size8Method.invoke(request, 1));
            assertEquals(8, size8Method.invoke(request, 8));
            assertEquals(16, size8Method.invoke(request, 9));
            assertEquals(72, size8Method.invoke(request, 68)); // SMB2_HEADER_LENGTH + 4 = 68
        }
    
        @Test
        @DisplayName("Should maintain consistent command type")
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 14.1K bytes
    - Viewed (0)
  9. src/test/java/jcifs/internal/smb1/net/NetServerEnum2ResponseTest.java

            method.setAccessible(true);
            return (int) method.invoke(response);
        }
    
        private void setNumEntries(NetServerEnum2Response response, int value) throws Exception {
            Method method = getSuperclassMethod(response.getClass(), "setNumEntries", int.class);
            method.setAccessible(true);
            method.invoke(response, value);
        }
    
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 25.4K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

        T instance = invoke(factory, args);
        if (instance == null) {
          throw new FactoryMethodReturnsNullException(factory);
        }
        return instance;
      }
    
      private static <T> @Nullable T invoke(Invokable<?, ? extends T> factory, List<?> args)
          throws InvocationTargetException, IllegalAccessException {
        T returnValue = factory.invoke(null, args.toArray());
        if (returnValue == null) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Aug 09 01:14:59 UTC 2025
    - 32.5K bytes
    - Viewed (0)
Back to top