Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 2,952 for method (0.07 seconds)

  1. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        } else if (isTryEnter(method)) {
          assertFalse(desc, isTimed(method));
          assertTrue(desc, isBoolean(method));
          assertFalse(desc, isInterruptible(method));
        } else if (isWaitFor(method)) {
          assertTrue(desc, isGuarded(method));
          assertEquals(desc, isTimed(method), isBoolean(method));
        } else { // any other enterXxx method
          assertEquals(desc, isTimed(method), isBoolean(method));
        }
      }
    
    Created: 2026-04-03 12:43
    - Last Modified: 2026-03-16 22:45
    - 26.7K bytes
    - Click Count (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         */
        private static LinkedList<Method> getApplicables(List<Method> methods, Class<?>... classes) {
            LinkedList<Method> list = new LinkedList<>();
    
            for (Method method : methods) {
                if (isApplicable(method, classes)) {
                    list.add(method);
                }
            }
            return list;
        }
    
        /**
    Created: 2026-04-05 03:35
    - Last Modified: 2025-02-25 08:27
    - 14.2K bytes
    - Click Count (0)
  3. api/go1.24.txt

    pkg go/types, method (*Interface) EmbeddedTypes() iter.Seq[Type] #66626
    pkg go/types, method (*Interface) ExplicitMethods() iter.Seq[*Func] #66626
    pkg go/types, method (*Interface) Methods() iter.Seq[*Func] #66626
    pkg go/types, method (*MethodSet) Methods() iter.Seq[*Selection] #66626
    pkg go/types, method (*Named) Methods() iter.Seq[*Func] #66626
    pkg go/types, method (*Scope) Children() iter.Seq[*Scope] #66626
    Created: 2026-04-07 11:13
    - Last Modified: 2024-12-17 21:28
    - 14.2K bytes
    - Click Count (0)
  4. src/cmd/api/testdata/src/pkg/p1/golden.txt

    pkg p1, func TakesFunc(func(int) int)
    pkg p1, method (*B) JustOnB()
    pkg p1, method (*B) OnBothTandBPtr()
    pkg p1, method (*Embedded) OnEmbedded()
    pkg p1, method (*S2) SMethod //deprecated
    pkg p1, method (*S2) SMethod(int8, int16, int64)
    pkg p1, method (*T) JustOnT()
    pkg p1, method (*T) OnBothTandBPtr()
    pkg p1, method (B) OnBothTandBVal()
    pkg p1, method (S) StructValueMethod()
    pkg p1, method (S) StructValueMethodNamedRecv()
    Created: 2026-04-07 11:13
    - Last Modified: 2025-07-24 16:04
    - 3.6K bytes
    - Click Count (0)
  5. android/guava-testlib/src/com/google/common/testing/NullPointerTester.java

        for (Method method : getInstanceMethodsToTest(instance.getClass(), minimalVisibility)) {
          testMethod(instance, method);
        }
      }
    
      ImmutableList<Method> getInstanceMethodsToTest(Class<?> c, Visibility minimalVisibility) {
        ImmutableList.Builder<Method> builder = ImmutableList.builder();
        for (Method method : minimalVisibility.getInstanceMethods(c)) {
    Created: 2026-04-03 12:43
    - Last Modified: 2025-07-14 14:44
    - 24.9K bytes
    - Click Count (0)
  6. src/test/java/org/codelibs/fess/timer/SystemMonitorTargetTest.java

            // Test that inherited methods are accessible
            Method appendMethod = null;
            Method appendTimestampMethod = null;
            Method appendExceptionMethod = null;
    
            // These are protected methods in MonitorTarget
            Method[] methods = MonitorTarget.class.getDeclaredMethods();
            for (Method method : methods) {
                switch (method.getName()) {
                case "append":
    Created: 2026-03-31 13:07
    - Last Modified: 2026-03-13 23:01
    - 9.2K bytes
    - Click Count (0)
  7. src/test/java/org/codelibs/curl/CurlTest.java

            // ## Test Method.valueOf() for all methods ##
    
            // ## Act & Assert ##
            assertEquals(Method.GET, Method.valueOf("GET"));
            assertEquals(Method.POST, Method.valueOf("POST"));
            assertEquals(Method.PUT, Method.valueOf("PUT"));
            assertEquals(Method.DELETE, Method.valueOf("DELETE"));
            assertEquals(Method.HEAD, Method.valueOf("HEAD"));
            assertEquals(Method.OPTIONS, Method.valueOf("OPTIONS"));
    Created: 2026-04-02 15:34
    - Last Modified: 2025-11-20 13:34
    - 16.3K bytes
    - Click Count (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpMethod.kt

        (
          method == "POST" ||
            method == "PUT" ||
            method == "PATCH" ||
            method == "PROPPATCH" ||
            method == "QUERY" ||
            // WebDAV
            method == "REPORT"
        )
    
      @JvmStatic // Despite being 'internal', this method is called by popular 3rd party SDKs.
      fun permitsRequestBody(method: String): Boolean = !(method == "GET" || method == "HEAD")
    
    Created: 2026-04-03 11:42
    - Last Modified: 2025-10-03 17:41
    - 1.7K bytes
    - Click Count (0)
  9. android/guava/src/com/google/common/eventbus/Subscriber.java

      @VisibleForTesting final Object target;
    
      /** Subscriber method. */
      private final Method method;
    
      /** Executor to use for dispatching events to this subscriber. */
      private final Executor executor;
    
      private Subscriber(EventBus bus, Object target, Method method) {
        this.bus = bus;
        this.target = checkNotNull(target);
        this.method = method;
        method.setAccessible(true);
    
    Created: 2026-04-03 12:43
    - Last Modified: 2025-05-14 19:40
    - 4.7K bytes
    - Click Count (0)
  10. android/guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        }
        return handleInvocation(proxy, method, args);
      }
    
      /**
       * {@link #invoke} delegates to this method upon any method invocation on the proxy instance,
       * except {@link Object#equals}, {@link Object#hashCode} and {@link Object#toString}. The result
       * will be returned as the proxied method's return value.
       *
       * <p>Unlike {@link #invoke}, {@code args} will never be null. When the method has no parameter,
    Created: 2026-04-03 12:43
    - Last Modified: 2024-12-22 03:38
    - 5.1K bytes
    - Click Count (0)
Back to Top