Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,693 for METHOD (0.1 sec)

  1. subprojects/core/src/integTest/groovy/org/gradle/api/NestedConfigureDslIntegrationTest.groovy

            fails "resolve"
            errorOutput.contains("Could not find method myDist() for arguments")
        }
    
        def "reports missing method from inside configure closure"() {
            buildFile << """
    configurations {
        broken {
            noExist(12)
        }
    }
    """
    
            expect:
            fails()
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 12.1K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *       whether the author intended for the class to be a value type.
       *   <li>If a constructor or factory method takes a parameter whose type is interface, a dynamic
       *       proxy will be passed to the method. It's possible that the method body expects an
       *       instance method of the passed-in proxy to be of a certain value yet the proxy isn't aware
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 17.4K bytes
    - Viewed (0)
  3. src/net/rpc/server.go

    	for m := 0; m < typ.NumMethod(); m++ {
    		method := typ.Method(m)
    		mtype := method.Type
    		mname := method.Name
    		// Method must be exported.
    		if !method.IsExported() {
    			continue
    		}
    		// Method needs three ins: receiver, *args, *reply.
    		if mtype.NumIn() != 3 {
    			if logErr {
    				log.Printf("rpc.Register: method %q has %d input parameters; needs exactly three\n", mname, mtype.NumIn())
    			}
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Jan 10 03:29:50 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        return getMethod(methodName, arguments).invoke(lockLikeObject, arguments);
      }
    
      private Method getMethod(String methodName, Object... arguments) throws Exception {
        METHODS:
        for (Method method : lockLikeObject.getClass().getMethods()) {
          Class<?>[] parameterTypes = method.getParameterTypes();
          if (method.getName().equals(methodName) && (parameterTypes.length == arguments.length)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. platforms/core-runtime/logging/src/test/groovy/org/gradle/internal/deprecation/LoggingDeprecatedFeatureHandlerTest.groovy

                new StackTraceElement('java.lang.reflect.Method', 'invoke', 'Method.java', 498),
                new StackTraceElement('some.Class', 'withoutSource', null, -1),
                new StackTraceElement('some.Class', 'withNativeMethod', null, -2),
                new StackTraceElement('java.lang.reflect.Method', 'invoke', 'Method.java', 498),
                new StackTraceElement('java.lang.reflect.Method', 'invoke', 'Method.java', 498),
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 16:09:54 UTC 2024
    - 22.2K bytes
    - Viewed (0)
  6. android/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: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Mar 06 15:38:58 UTC 2024
    - 20.6K bytes
    - Viewed (0)
  7. guava-testlib/src/com/google/common/collect/testing/TestsForMapsInJavaUtil.java

        return suite;
      }
    
      protected Collection<Method> suppressForCheckedMap() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForCheckedNavigableMap() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForCheckedSortedMap() {
        return Collections.emptySet();
      }
    
      protected Collection<Method> suppressForEmptyMap() {
        return Collections.emptySet();
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Mon Apr 01 16:15:01 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  8. src/internal/types/testdata/check/issues0.go

    	_ = x /* ERROR "impossible type assertion: x.(T1)\n\tT1 does not implement I1 (method foo has pointer receiver)" */ .(T1)
    
    	T1{}.foo /* ERROR "cannot call pointer method foo on T1" */ ()
    	x.Foo /* ERROR "x.Foo undefined (type I1 has no field or method Foo, but does have method foo)" */ ()
    
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 05 18:13:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  9. platforms/core-runtime/messaging/src/test/groovy/org/gradle/internal/event/BroadcastDispatchTest.groovy

                @Override
                Object invoke(Object proxy, Method method, Object[] args) throws Throwable {
                    if (method.name == "equals") {
                        return false
                    }
                    if (method.name == "hashCode") {
                        return this.hashCode()
                    }
                    if (method.name == "toString") {
                        return "<proxy>"
                    }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:59:22 UTC 2023
    - 14.9K bytes
    - Viewed (0)
  10. guava-testlib/src/com/google/common/collect/testing/features/FeatureUtil.java

       *
       * @param testerMethod a test method of a tester class
       * @return all the constraints implicitly or explicitly required by the method, its declaring
       *     class, or any of its superclasses.
       * @throws ConflictingRequirementsException if the requirements are mutually inconsistent.
       */
      public static TesterRequirements getTesterRequirements(Method testerMethod)
          throws ConflictingRequirementsException {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Wed Sep 21 15:08:35 UTC 2022
    - 12.1K bytes
    - Viewed (0)
Back to top