Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 6,738 for method1 (0.14 sec)

  1. platforms/core-configuration/model-core/src/main/java/org/gradle/model/RuleSource.java

     * <p>
     * The following constraints apply to all rule methods:
     * <ul>
     * <li>A method may only be annotated by at most one of the above annotations.</li>
     * <li>A rule method may be {@code static} or not; it makes no difference.</li>
     * <li>A rule method cannot be generic (i.e. cannot have type parameters).</li>
     * <li>With the exception of {@link Model} methods, all methods must have at least one parameter.</li>
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.6K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        for (int i = 0; i < methods.length; i++) {
          try {
            methods[i] = type.getMethod(methods[i].getName(), methods[i].getParameterTypes());
          } catch (Exception e) {
            throwIfUnchecked(e);
            throw new RuntimeException(e);
          }
        }
        return methods;
      }
    
      private static <T> void testSuccessfulForwarding(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/testing/ForwardingWrapperTester.java

        for (int i = 0; i < methods.length; i++) {
          try {
            methods[i] = type.getMethod(methods[i].getName(), methods[i].getParameterTypes());
          } catch (Exception e) {
            throwIfUnchecked(e);
            throw new RuntimeException(e);
          }
        }
        return methods;
      }
    
      private static <T> void testSuccessfulForwarding(
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Thu Feb 08 17:31:55 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  4. platforms/core-runtime/messaging/src/main/java/org/gradle/internal/remote/internal/hub/MethodInvocationSerializer.java

            }
    
            private MethodDetails writeMethod(Method method) throws IOException {
                MethodDetails methodDetails = methods.get(method);
                if (methodDetails == null) {
                    int methodId = methods.size();
                    methodDetails = new MethodDetails(methodId, method, methodArgsSerializer.forTypes(method.getParameterTypes()));
                    methods.put(method, methodDetails);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 6.6K bytes
    - Viewed (0)
  5. 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;
        }
    
        /**
    Registered: Wed Jun 12 09:55:16 UTC 2024
    - Last Modified: Tue Oct 17 17:55:08 UTC 2023
    - 14.1K bytes
    - Viewed (0)
  6. src/internal/types/testdata/check/decls2/decls2a.go

    func (a, b, c /* ERROR "method has multiple receivers" */ T3) _() {}
    
    // Methods associated with non-local or unnamed types.
    func (int /* ERROR "cannot define new methods on non-local type int" */ ) m() {}
    func ([ /* ERROR "invalid receiver" */ ]int) m() {}
    func (time /* ERROR "cannot define new methods on non-local type time.Time" */ .Time) m() {}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 30 19:19:55 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          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));
        }
      }
    
      /** Generates all test cases appropriate for the given method. */
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  8. test/fixedbugs/issue52841.go

    // Issue 52841: gofrontend crashed writing export data
    
    package p
    
    func F() {
    	x := ([17][1]interface {
    		Method9()
    		Method10()
    	}{
    		func() (V47 [1]interface {
    			Method9()
    			Method10()
    		}) {
    			return
    		}(),
    		func(V48 string) (V49 [1]interface {
    			Method9()
    			Method10()
    		}) {
    			return
    		}("440"),
    	})
    	_ = x
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 12 21:45:28 UTC 2022
    - 493 bytes
    - Viewed (0)
  9. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

        } 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));
        }
      }
    
      /** Generates all test cases appropriate for the given method. */
      private static void addTests(TestSuite suite, Method method) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed May 29 16:29:37 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/SubtypeTester.java

        checkState(method == null);
        Method[] methods = getClass().getMethods();
        Arrays.sort(
            methods,
            new Comparator<Method>() {
              @Override
              public int compare(Method a, Method b) {
                return a.getName().compareTo(b.getName());
              }
            });
        for (Method method : methods) {
          if (method.isAnnotationPresent(TestSubtype.class)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
Back to top