Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,060 for METHOD (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  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. 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)
  7. 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)
  8. platforms/core-configuration/model-core/src/main/java/org/gradle/model/internal/inspect/ModelRuleExtractor.java

                }
            }
        }
    
        private void validateNonRuleMethod(Method method, RuleSourceValidationProblemCollector problems) {
            if (!Modifier.isPrivate(method.getModifiers()) && !Modifier.isStatic(method.getModifiers()) && !method.isSynthetic() && !GroovyMethods.isObjectMethod(method)) {
                problems.add(method, "A method that is not annotated as a rule must be private");
            }
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 26K bytes
    - Viewed (0)
  9. subprojects/core/src/integTest/groovy/org/gradle/api/tasks/CopyPermissionsIntegrationTest.groovy

                 }
                """
            when:
            executer.expectDocumentedDeprecationWarning("The CopyProcessingSpec.setFileMode(Integer) method has been deprecated. " +
                "This is scheduled to be removed in Gradle 9.0. " +
                "Please use the filePermissions(Action) method instead. " +
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Apr 03 15:21:23 UTC 2024
    - 20K bytes
    - Viewed (0)
  10. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        try {
          new NullPointerTester().testMethod(bar, method);
        } catch (AssertionError expected) {
          return; // good...we wanted a failure
        }
        String errorMessage =
            rootLocaleFormat("Should have flagged method %s for %s", method.getName(), bar);
        fail(errorMessage);
      }
    
      public void testTwoArgNormalNormal() throws Exception {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 47.7K bytes
    - Viewed (0)
Back to top