Search Options

Results per page
Sort
Preferred Languages
Advance

Results 271 - 280 of 2,464 for method (0.06 sec)

  1. tests/test_wrapped_method_forward_reference.py

    from .forward_reference_type import forwardref_method
    
    
    def passthrough(f):
        @functools.wraps(f)
        def method(*args, **kwargs):
            return f(*args, **kwargs)
    
        return method
    
    
    def test_wrapped_method_type_inference():
        """
        Regression test ensuring that when a method imported from another module
        is decorated with something that sets the __wrapped__ attribute (functools.wraps),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 02 17:23:14 UTC 2025
    - 997 bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/graph/AbstractGraphTest.java

      abstract Graph<Integer> createGraph();
    
      /**
       * A proxy method that adds the node {@code n} to the graph being tested. In case of Immutable
       * graph implementations, this method should replace {@link #graph} with a new graph that includes
       * this node.
       */
      abstract void addNode(Integer n);
    
      /**
       * A proxy method that adds the edge {@code e} to the graph being tested. In case of Immutable
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 07 15:57:03 UTC 2025
    - 17.3K bytes
    - Viewed (0)
  3. src/main/java/org/codelibs/core/exception/MethodNotStaticRuntimeException.java

     */
    package org.codelibs.core.exception;
    
    import static org.codelibs.core.collection.ArrayUtil.asArray;
    
    import java.lang.reflect.Method;
    
    /**
     * Exception thrown when accessing a non-{@literal static} {@link Method} without specifying an object.
     *
     * @author koichik
     */
    public class MethodNotStaticRuntimeException extends ClRuntimeException {
    
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  4. src/test/java/jcifs/internal/smb1/net/SmbShareInfoTest.java

            assertFalse(info3.equals(info1));
        }
    
        @Test
        @DisplayName("Test equals method with same object")
        void testEqualsWithSameObject() {
            SmbShareInfo info = new SmbShareInfo(TEST_NET_NAME, TEST_TYPE, TEST_REMARK);
            assertTrue(info.equals(info));
        }
    
        @Test
        @DisplayName("Test equals method with different object type")
        void testEqualsWithDifferentObjectType() {
    Registered: Sat Dec 20 13:44:44 UTC 2025
    - Last Modified: Thu Aug 14 05:31:44 UTC 2025
    - 12.3K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/math/LinearTransformation.java

       * original transformation and its inverse to a value gives you the original value give-or-take
       * numerical errors. Calling this method multiple times on the same instance will always return
       * the same instance. Calling this method on the result of calling this method on an instance will
       * always return that original instance.
       */
      public abstract LinearTransformation inverse();
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 9.7K bytes
    - Viewed (0)
  6. src/main/java/org/codelibs/core/exception/MethodNotFoundRuntimeException.java

            return targetClass;
        }
    
        /**
         * Returns the method name.
         *
         * @return Method name
         */
        public String getMethodName() {
            return methodName;
        }
    
        /**
         * Returns the array of {@link Class} for the method arguments.
         *
         * @return Array of {@link Class} for the method arguments
         */
        public Class<?>[] getMethodArgClasses() {
    Registered: Sat Dec 20 08:55:33 UTC 2025
    - Last Modified: Sat Jul 05 00:11:05 UTC 2025
    - 3.3K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestsForQueuesInJavaUtil.java

        return emptySet();
      }
    
      protected Collection<Method> suppressForConcurrentLinkedQueue() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForLinkedBlockingDeque() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForLinkedBlockingQueue() {
        return emptySet();
      }
    
      protected Collection<Method> suppressForPriorityBlockingQueue() {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Feb 12 16:28:01 UTC 2025
    - 9.5K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/CharSourceTester.java

        for (Method method : testMethods) {
          suite.addTest(new CharSourceTester(factory, string, name, desc, method));
        }
        return suite;
      }
    
      private final ImmutableList<String> expectedLines;
    
      private CharSource source;
    
      public CharSourceTester(
          CharSourceFactory factory, String string, String suiteName, String caseDesc, Method method) {
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Oct 28 16:03:47 UTC 2025
    - 6.9K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Abstract test case parent for anything implementing {@link ListenableFuture}. Tests the two get
     * methods and the addListener method.
     *
     * @author Sven Mawson
     * @since 10.0
     */
    @GwtIncompatible
    public abstract class AbstractListenableFutureTest extends TestCase {
    
      protected CountDownLatch latch;
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/eventbus/Subscribe.java

    import java.lang.annotation.Target;
    
    /**
     * Marks a method as an event subscriber.
     *
     * <p>The type of event will be indicated by the method's first (and only) parameter, which cannot
     * be primitive. If this annotation is applied to methods with zero parameters, or more than one
     * parameter, the object containing the method will not be able to register for event delivery from
     * the {@link EventBus}.
     *
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Wed Jul 16 15:46:17 UTC 2025
    - 1.5K bytes
    - Viewed (0)
Back to top