Search Options

Results per page
Sort
Preferred Languages
Advance

Results 221 - 230 of 1,526 for SMethod (0.07 sec)

  1. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy

        }
    
        def rendersLinkToApiMethod() {
            def method = method('someMethod', 'org.gradle.SomeClass')
    
            when:
            def link = renderer.link(method, listener)
    
            then:
            format(link) == '<apilink class="org.gradle.SomeClass" method="someMethod()"/>'
            _ * model.isKnownType('org.gradle.SomeClass') >> true
        }
    
        def method(String name, String className) {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/eventbus/SubscriberExceptionContext.java

    import java.lang.reflect.Method;
    
    /**
     * Context for an exception thrown by a subscriber.
     *
     * @since 16.0
     */
    @ElementTypesAreNonnullByDefault
    public class SubscriberExceptionContext {
      private final EventBus eventBus;
      private final Object event;
      private final Object subscriber;
      private final Method subscriberMethod;
    
      /**
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 2.2K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/Multiset.java

       * {@link Collections#frequency} (which would presumably perform more poorly).
       *
       * <p><b>Note:</b> the utility method {@link Iterables#frequency} generalizes this operation; it
       * correctly delegates to this method when dealing with a multiset, but it can also accept any
       * other iterable type.
       *
       * @param element the element to count occurrences of
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Jun 17 14:40:53 UTC 2023
    - 21K bytes
    - Viewed (0)
  4. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/KotlinModifiersChangeTest.kt

            ) {
                assertHasErrors(
                    "Method com.example.Source.plus(java.lang.String,java.util.List): Breaking Kotlin modifier change.",
                    "Method com.example.Source.plus(int,java.util.List): Breaking Kotlin modifier change.",
                    "Method com.example.SourceKt.invoke(java.lang.String,int): Breaking Kotlin modifier change.",
                    "Method com.example.SourceKt.invoke(long,int): Breaking Kotlin modifier change.",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.6K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Throwables.java

          }
        };
      }
    
      @J2ktIncompatible
      @GwtIncompatible // java.lang.reflect
      private static Object invokeAccessibleNonThrowingMethod(
          Method method, Object receiver, Object... params) {
        try {
          return method.invoke(receiver, params);
        } catch (IllegalAccessException e) {
          throw new RuntimeException(e);
        } catch (InvocationTargetException e) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Jul 19 16:02:36 UTC 2024
    - 20.7K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

        }
    
        private static final long serialVersionUID = 0;
      }
    
      /**
       * Returns {@link Method} instances for the tests that assume that the inverse will be the same
       * after serialization.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static List<Method> getInverseSameAfterSerializingMethods() {
        return Collections.singletonList(getMethod("testInverseSerialization"));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3K bytes
    - Viewed (0)
  7. guava/src/com/google/common/util/concurrent/Service.java

     * before the {@link Service} reaches the {@linkplain State#RUNNING RUNNING} state. The set of legal
     * transitions form a <a href="http://en.wikipedia.org/wiki/Directed_acyclic_graph">DAG</a>,
     * therefore every method of the listener will be called at most once. N.B. The {@link State#FAILED}
     * and {@link State#TERMINATED} states are terminal states, once a service enters either of these
     * states it cannot ever leave them.
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 04 09:45:04 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  8. guava/src/com/google/common/eventbus/AllowConcurrentEvents.java

    /**
     * Marks an event subscriber method as being thread-safe. This annotation indicates that EventBus
     * may invoke the event subscriber simultaneously from multiple threads.
     *
     * <p>This does not mark the method, and so should be used in combination with {@link Subscribe}.
     *
     * @author Cliff Biffle
     * @since 10.0
     */
    @Retention(RetentionPolicy.RUNTIME)
    @Target(ElementType.METHOD)
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Apr 22 13:05:46 UTC 2021
    - 1.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/ClosingFuture.java

       *
       * <p>After calling this method, you may not call {@link #finishToFuture()}, this method again, or
       * any other derivation method on the original {@code ClosingFuture} instance.
       *
       * @param consumer a callback whose method will be called (using {@code executor}) when this
       *     operation is done
       */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Oct 08 19:36:35 UTC 2024
    - 98.5K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/TestContainerGenerator.java

       */
      T create(Object... elements);
    
      /**
       * Helper method to create an array of the appropriate type used by this generator. The returned
       * array will contain only nulls.
       */
      E[] createArray(int length);
    
      /**
       * Returns the iteration ordering of elements, given the order in which they were added to the
       * container. This method may return the original list unchanged, the original list modified in
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Feb 21 16:49:06 UTC 2024
    - 2.4K bytes
    - Viewed (0)
Back to top