Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 1,577 for METHOD (0.21 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. 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)
  6. 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)
  7. 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)
  8. testing/architecture-test/src/test/java/org/gradle/architecture/test/ArchUnitFixture.java

            return new ArchCondition<JavaClass>(" override method " + getMethodDescription(name, parameterTypes)) {
    
                @Override
                public void check(JavaClass javaClass, ConditionEvents events) {
                    Optional<JavaMethod> method = getMethodRecursively(javaClass);
                    if (method.isPresent()) {
                        JavaClass sourceClass = method.get().getSourceCodeLocation().getSourceClass();
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Sat Jun 08 11:29:30 UTC 2024
    - 21.7K bytes
    - Viewed (0)
  9. guava/src/com/google/common/util/concurrent/TimeLimiter.java

       * run finishes before the limit is reached, this method returns or a wrapped exception is
       * propagated. If, on the other hand, the time limit is reached, we attempt to abort the run, and
       * throw a {@link TimeoutException} to the caller.
       *
       * <p>The difference with {@link #runWithTimeout(Runnable, long, TimeUnit)} is that this method
       * will ignore interrupts on the current thread.
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 15.3K bytes
    - Viewed (0)
  10. 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)
Back to top