Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 500 for invoke (0.04 sec)

  1. guava/src/com/google/common/collect/ForwardingIterator.java

     * methods were introduced</a>. For newer methods, like {@code forEachRemaining}, it inherits their
     * default implementations. When those implementations invoke methods, they invoke methods on the
     * {@code ForwardingIterator}.
     *
     * @author Kevin Bourrillion
     * @since 2.0
     */
    @GwtCompatible
    public abstract class ForwardingIterator<T extends @Nullable Object> extends ForwardingObject
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  2. api/maven-api-core/src/main/java/org/apache/maven/api/plugin/Mojo.java

     * <li>{@link ThreadSafe}: Implies that implementations of this interface must
     * be safe to invoke from multiple threads concurrently.</li>
     * </ul>
     *
     * @since 4.0.0
     */
    @Experimental
    @FunctionalInterface
    @Consumer
    @ThreadSafe
    public interface Mojo {
        /**
         * Executes the behavior defined by this {@code Mojo}. This method is invoked
         * during the Maven build lifecycle to perform the Mojo's designated task.
         *
    Registered: Sun Sep 07 03:35:12 UTC 2025
    - Last Modified: Wed Jan 29 08:21:00 UTC 2025
    - 2.8K bytes
    - Viewed (0)
  3. 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)
  4. src/test/java/jcifs/internal/smb1/net/NetShareEnumResponseTest.java

            method.setAccessible(true);
            return (int) method.invoke(response);
        }
    
        private void setNumEntries(NetShareEnumResponse 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
    - 20.2K bytes
    - Viewed (0)
  5. 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)
  6. 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)
  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/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)
  9. 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)
  10. 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)
Back to top