Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 583 for METHOD (0.14 sec)

  1. 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)
  2. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

          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
    - 27.1K bytes
    - Viewed (0)
  3. 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)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  4. 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)) {
    Registered: Wed Jun 12 16:38:11 UTC 2024
    - Last Modified: Tue Jun 11 16:13:05 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  5. platforms/core-configuration/core-serialization-codecs/src/main/kotlin/org/gradle/internal/serialize/codecs/core/jos/JavaObjectSerializationCodec.kt

     * - a `writeObject` method combined with a `readObject` method to control exactly which information to store;
     * - a `writeObject` method with no corresponding `readObject`; `writeObject` must eventually call [ObjectOutputStream.defaultWriteObject];
     * - a `readObject` method with no corresponding `writeObject`; `readObject` must eventually call [ObjectInputStream.defaultReadObject];
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Jun 07 23:09:56 UTC 2024
    - 11.4K bytes
    - Viewed (0)
  6. platforms/core-runtime/internal-instrumentation-processor/src/main/java/org/gradle/internal/instrumentation/extensions/property/PropertyUpgradeAnnotatedMethodReader.java

            } else if (!method.getParameters().isEmpty() || !method.getSimpleName().toString().startsWith("get")) {
                return Collections.singletonList(new InvalidRequest(String.format("Method '%s.%s' annotated with @ReplacesEagerProperty should be a simple getter: name should start with 'get' and method should not have any parameters.", method.getEnclosingElement(), method)));
            }
    
            try {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue May 28 13:09:40 UTC 2024
    - 24.6K bytes
    - Viewed (0)
  7. platforms/core-configuration/model-core/src/test/groovy/org/gradle/model/internal/inspect/ModelRuleExtractorTest.groovy

    - Method notARule() is not a valid rule method: A method that is not annotated as a rule must be private
    - Method thing() is not a valid rule method: The declared model element path ':)' is not a valid path: Model element name ':)' has illegal first character ':' (names must start with an ASCII letter or underscore).
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 13:45:02 UTC 2024
    - 30.4K bytes
    - Viewed (0)
  8. android/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)
  9. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                assertHasAccepted(
                    "Method com.example.Task.getSourceCompatibility(): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method return type has changed", "Method is now abstract"),
                    "Method com.example.Task.setSourceCompatibility(java.lang.String): Is not binary compatible. Reason for accepting this: Upgraded property" to listOf("Method has been removed")
                )
            }
        }
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 23 08:40:36 UTC 2024
    - 20.2K bytes
    - Viewed (0)
  10. platforms/core-configuration/model-core/src/main/java/org/gradle/internal/reflect/annotations/impl/DefaultTypeAnnotationMetadataStore.java

         * ref: https://github.com/gradle/gradle/issues/16117
         *
         * @param method a candidate method
         * @return true if we suspect this method to be a safely ignorable generated method
         */
        private boolean isIgnoredGeneratedGroovyMethod(Method method) {
            return generatedMethodDetector.test(method) && method.getName().contains("$");
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 06 21:54:36 UTC 2024
    - 37.6K bytes
    - Viewed (0)
Back to top