Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,886 for Method (0.13 sec)

  1. guava-tests/test/com/google/common/hash/HashingTest.java

            && method.getParameterTypes().length == 0 // only the seedless hash functions
            && !legacyHashingMethodNames.contains(method.getName());
      }
    
      static void assertSeededHashFunctionEquals(Class<?> clazz) throws Exception {
        Random random = new Random(RANDOM_SEED);
        for (Method method : clazz.getDeclaredMethods()) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 09 17:40:09 UTC 2024
    - 26.3K bytes
    - Viewed (0)
  2. android/guava-testlib/src/com/google/common/collect/testing/testers/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

        Class<?> clazz = listener.getClass();
        for (Method method : getAnnotatedMethods(clazz)) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          Class<?> eventType = parameterTypes[0];
          methodsInListener.put(eventType, Subscriber.create(bus, listener, method));
        }
        return methodsInListener;
      }
    
      private static ImmutableList<Method> getAnnotatedMethods(Class<?> clazz) {
        try {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 15:16:45 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  4. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

         */
        @Override
        public String getMethod() {
            return method;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#setMethod(java.lang.String)
         */
        @Override
        public void setMethod(final String method) {
            this.method = method;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/io/SourceSinkTester.java

        factory.tearDown();
      }
    
      static ImmutableList<Method> getTestMethods(Class<?> testClass) {
        List<Method> result = Lists.newArrayList();
        for (Method method : testClass.getDeclaredMethods()) {
          if (Modifier.isPublic(method.getModifiers())
              && method.getReturnType() == void.class
              && method.getParameterTypes().length == 0
              && method.getName().startsWith("test")) {
            result.add(method);
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 27 18:57:08 UTC 2022
    - 4.9K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/util/concurrent/AbstractService.java

      protected AbstractService() {}
    
      /**
       * This method is called by {@link #startAsync} to initiate service startup. The invocation of
       * this method should cause a call to {@link #notifyStarted()}, either during this method's run,
       * or after it has returned. If startup fails, the invocation should cause a call to {@link
       * #notifyFailed(Throwable)} instead.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/NullabilityChangesTest.kt

                    }
                """
            ) {
                assertHasErrors(
                    "Method com.example.Source.foo(): From non-null returning to null returning breaking change.",
                    "Method com.example.Source.getSomeVal(): From non-null returning to null returning breaking change.",
                    "Method com.example.Source.getSomeVar(): From non-null returning to null returning breaking change."
                )
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 9.1K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/io/PackageSanityTests.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.testing.AbstractPackageSanityTests;
    import java.lang.reflect.Method;
    import java.nio.channels.FileChannel.MapMode;
    import java.nio.charset.CharsetEncoder;
    
    /**
     * Basic sanity tests for the entire package.
     *
     * @author Ben Yu
     */
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  9. api/maven-api-di/src/main/java/org/apache/maven/api/di/Inject.java

    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    @Target({FIELD, CONSTRUCTOR, METHOD})
    @Retention(RUNTIME)
    @Documented
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Wed Jul 10 20:52:34 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

      /**
       * Tries to perform a "full" garbage collection cycle (including processing of weak references and
       * invocation of finalize methods) and waits for it to complete. Ensures that at least one weak
       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
Back to top