Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 27 for methodName (0.05 seconds)

  1. okhttp/src/jvmMain/kotlin/okhttp3/internal/platform/Jdk8WithJettyBootPlatform.kt

          args: Array<Any>?,
        ): Any? {
          val callArgs = args ?: arrayOf<Any?>()
          val methodName = method.name
          val returnType = method.returnType
          if (methodName == "supports" && Boolean::class.javaPrimitiveType == returnType) {
            return true // ALPN is supported.
          } else if (methodName == "unsupported" && Void.TYPE == returnType) {
            this.unsupported = true // Peer doesn't support ALPN.
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 6.1K bytes
    - Click Count (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/TestThread.java

        }
      }
    
      private static class Request {
        final String methodName;
        final Object[] arguments;
    
        Request(String methodName, Object[] arguments) {
          this.methodName = checkNotNull(methodName);
          this.arguments = checkNotNull(arguments);
        }
      }
    
      private static class Response {
        final String methodName;
        final Object result;
        final Throwable throwable;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  3. guava-tests/test/com/google/common/util/concurrent/TestThread.java

        }
      }
    
      private static class Request {
        final String methodName;
        final Object[] arguments;
    
        Request(String methodName, Object[] arguments) {
          this.methodName = checkNotNull(methodName);
          this.arguments = checkNotNull(arguments);
        }
      }
    
      private static class Response {
        final String methodName;
        final Object result;
        final Throwable throwable;
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 11 21:00:51 GMT 2025
    - 11.4K bytes
    - Click Count (0)
  4. build-logic/binary-compatibility/src/main/groovy/gradlebuild/binarycompatibility/upgrades/UpgradedProperty.java

            private final String containingType;
            private final String methodName;
            private final String descriptor;
    
            private AccessorKey(String containingType, String methodName, String descriptor) {
                this.containingType = containingType;
                this.methodName = methodName;
                this.descriptor = descriptor;
            }
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Tue Aug 13 19:17:41 GMT 2024
    - 8K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/math/MathPreconditions.java

      }
    
      static void checkNoOverflow(boolean condition, String methodName, int a, int b) {
        if (!condition) {
          throw new ArithmeticException("overflow: " + methodName + "(" + a + ", " + b + ")");
        }
      }
    
      static void checkNoOverflow(boolean condition, String methodName, long a, long b) {
        if (!condition) {
          throw new ArithmeticException("overflow: " + methodName + "(" + a + ", " + b + ")");
        }
      }
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Sat Dec 21 03:10:51 GMT 2024
    - 3.2K bytes
    - Click Count (0)
  6. guava-tests/test/com/google/common/eventbus/DispatcherTest.java

                i2, s1, s2, i3, s1, s2)
            .inOrder();
      }
    
      private static Subscriber subscriber(
          EventBus bus, Object target, String methodName, Class<?> eventType) {
        try {
          return Subscriber.create(bus, target, target.getClass().getMethod(methodName, eventType));
        } catch (NoSuchMethodException e) {
          throw new AssertionError(e);
        }
      }
    
      public final class IntegerSubscriber {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 18:46:00 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  7. build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/UpgradedPropertiesChangesTest.kt

                        "resources/upgraded-properties.json",
                        """
                            [{
                                "containingType": "com.example.Task",
                                "methodName": "getSourceCompatibility",
                                "methodDescriptor": "()Lorg/gradle/api/provider/Property;",
                                "propertyName": "sourceCompatibility",
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 24 14:15:15 GMT 2025
    - 26.2K bytes
    - Click Count (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         *
         * @param method The method
         */
        void add(Method method) {
            String methodName = method.getName();
    
            List<Method> l = get(methodName);
    
            if (l == null) {
                l = new ArrayList<>();
                methodByNameMap.put(methodName, l);
            }
    
            l.add(method);
        }
    
        /**
         * Return a list of methods with the same name.
         *
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 14.2K bytes
    - Click Count (0)
  9. build-logic/documentation/src/main/groovy/gradlebuild/docs/UserGuideTransformTask.groovy

                    throw new RuntimeException('No "class" attribute specified for <apilink> element.')
                }
                String methodName = element.'@method'
    
                def classMetaData = linkRepository.get(className)
                LinkMetaData linkMetaData = methodName ? classMetaData.getMethod(methodName) : classMetaData.classLink
                String style = element.'@style' ?: linkMetaData.style.toString().toLowerCase(Locale.ROOT)
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri May 16 07:58:02 GMT 2025
    - 5.6K bytes
    - Click Count (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/google/BiMapInverseTester.java

        return Collections.singletonList(getMethod("testInverseSerialization"));
      }
    
      @J2ktIncompatible
      @GwtIncompatible // reflection
      private static Method getMethod(String methodName) {
        return Helpers.getMethod(BiMapInverseTester.class, methodName);
      }
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 3.1K bytes
    - Click Count (0)
Back to Top