Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,273 for Method (3.59 sec)

  1. 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)) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 22.8K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/AbstractPackageSanityTests.java

       *   <li>If there is no visible constructor or visible static factory method declared by {@code
       *       C}, instance methods are skipped for nulls test.
       *   <li>Nulls test is not performed on method return values unless the method is a visible static
       *       factory method whose return type is {@code C} or {@code C}'s subtype.
       * </ul>
       *
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Fri May 12 19:22:18 GMT 2023
    - 17.5K bytes
    - Viewed (0)
  3. guava-testlib/src/com/google/common/testing/ClassSanityTester.java

       *       {@code cls}, no test is performed.
       *   <li>Equality test is not performed on method return values unless the method is a non-private
       *       static factory method whose return type is {@code cls} or {@code cls}'s subtype.
       *   <li>Inequality check is not performed against state mutation methods such as {@link
       *       List#add}, or functional update methods such as {@link
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Feb 08 17:31:55 GMT 2024
    - 33K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/reflect/Invokable.java

        final Method method;
    
        MethodInvokable(Method method) {
          super(method);
          this.method = method;
        }
    
        @Override
        @CheckForNull
        final Object invokeInternal(@CheckForNull Object receiver, @Nullable Object[] args)
            throws InvocationTargetException, IllegalAccessException {
          return method.invoke(receiver, args);
        }
    
        @Override
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Dec 14 20:35:03 GMT 2023
    - 18.6K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/reflect/InvokableTest.java

          Class<?> c, ImmutableSet<String> ignore) {
        ImmutableSet.Builder<String> methods = ImmutableSet.builder();
        for (Method method : c.getMethods()) {
          if (Modifier.isStatic(method.getModifiers()) || ignore.contains(method.getName())) {
            continue;
          }
          StringBuilder signature =
              new StringBuilder()
                  .append(typeName(method.getReturnType()))
                  .append(" ")
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Feb 20 17:00:05 GMT 2024
    - 30.8K bytes
    - Viewed (0)
  6. analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirMetadataCalculator.kt

                            }
                        }
                        methods.singleOrNull { it.name.endsWith(JvmAbi.ANNOTATED_PROPERTY_METHOD_NAME_SUFFIX) }?.let {
                            bindings.put(
                                FirJvmSerializerExtension.SYNTHETIC_METHOD_FOR_FIR_VARIABLE,
                                fir,
    Plain Text
    - Registered: Fri Apr 26 08:18:10 GMT 2024
    - Last Modified: Tue Mar 26 09:19:07 GMT 2024
    - 10K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/HashingTest.java

        for (Method method : clazz.getDeclaredMethods()) {
          if (method.getReturnType().equals(HashFunction.class) // must return HashFunction
              && Modifier.isPublic(method.getModifiers()) // only the public methods
              && method.getParameterTypes().length != 0 // only the seeded hash functions
              && !method.getName().equals("concatenating") // don't test Hashing.concatenating()
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 26.5K bytes
    - Viewed (0)
  8. guava-testlib/test/com/google/common/testing/NullPointerTesterTest.java

        try {
          new NullPointerTester().testMethod(bar, method);
        } catch (AssertionFailedError 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 {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Nov 16 15:12:31 GMT 2023
    - 47.9K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/collect/ImmutableListCopyOfConcurrentlyModifiedInputTest.java

                    ? getAllStates()
                    : invokeListMethod(method, args);
              }
    
              private Set<List<Integer>> getAllStates() {
                return allStates;
              }
    
              private Object invokeListMethod(Method method, Object[] args) throws Throwable {
                try {
                  Object returnValue = method.invoke(delegate, args);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 20:09:59 GMT 2024
    - 6.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http/HttpMethod.kt

            method == "PATCH" || method == "PROPPATCH" || // WebDAV
            method == "REPORT"
        )
    
      @JvmStatic // Despite being 'internal', this method is called by popular 3rd party SDKs.
      fun permitsRequestBody(method: String): Boolean = !(method == "GET" || method == "HEAD")
    
      fun redirectsWithBody(method: String): Boolean = method == "PROPFIND"
    
      fun redirectsToGet(method: String): Boolean = method != "PROPFIND"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (0)
Back to top