Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 41 - 50 of 1,270 for SMethod (0.06 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/HttpMethod.kt

        (
          method == "POST" ||
            method == "PUT" ||
            method == "PATCH" ||
            method == "PROPPATCH" ||
            method == "QUERY" ||
            // 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")
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. api/maven-api-di/src/main/java/org/apache/maven/api/di/Inject.java

    import static java.lang.annotation.ElementType.CONSTRUCTOR;
    import static java.lang.annotation.ElementType.FIELD;
    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.RetentionPolicy.RUNTIME;
    
    /**
     * Marks a dependency injection point for constructor, method, or field injection.
     * <p>
     * This annotation is used to identify injection points where the container should
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Thu Jan 30 23:28:59 GMT 2025
    - 1.9K bytes
    - Click Count (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java

         */
        private final Map<String, List<Method>> methodByNameMap = new Hashtable<>();
    
        /**
         * Add a method to a list of methods by name.
         * For a particular class we are keeping track
         * of all the methods with the same name.
         *
         * @param method The method
         */
        void add(Method method) {
            String methodName = method.getName();
    
            List<Method> l = get(methodName);
    
    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)
  4. compat/maven-settings/src/main/java/org/apache/maven/settings/io/xpp3/SettingsXpp3Writer.java

            delegate.setAddLocationInformation(false);
        }
        /**
         * Method setFileComment.
         *
         * @param fileComment a fileComment object.
         */
        public void setFileComment(String fileComment) {
            delegate.setFileComment(fileComment);
        }
    
        /**
         * Method write.
         *
         * @param writer a writer object.
         * @param settings a settings object.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Feb 25 08:27:34 GMT 2025
    - 2.5K bytes
    - Click Count (0)
  5. compat/maven-plugin-api/src/main/java/org/apache/maven/plugin/lifecycle/Execution.java

        } // -- Object getConfiguration()
    
        /**
         * Method getGoals.
         *
         * @return List
         */
        public java.util.List<String> getGoals() {
            if (this.goals == null) {
                this.goals = new java.util.ArrayList<String>();
            }
    
            return this.goals;
        } // -- java.util.List<String> getGoals()
    
        /**
         * Method removeGoal.
         *
         * @param string a string object.
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2.7K bytes
    - Click Count (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                            return false;
                        }
                    })
                    .map(Method::getName)
                    .toList();
    
            List<String> overriddenMethods = Stream.of(FileToRawModelMerger.class.getDeclaredMethods())
                    .map(Method::getName)
                    .filter(m -> m.startsWith("merge"))
                    .collect(Collectors.toList());
    
            assertTrue(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 2.8K bytes
    - Click Count (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/testers/ListAddAtIndexTester.java

        expectUnchanged();
        expectMissing(e3());
      }
    
      /**
       * Returns the {@link Method} instance for {@link #testAddAtIndex_nullSupported()} so that tests
       * can suppress it. See {@link CollectionAddTester#getAddNullSupportedMethod()} for details.
       */
      @J2ktIncompatible
      @GwtIncompatible // reflection
      public static Method getAddNullSupportedMethod() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  8. 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)) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Jul 14 14:44:08 GMT 2025
    - 24.9K bytes
    - Click Count (0)
  9. guava-tests/test/com/google/common/reflect/SubtypeTester.java

        checkState(method == null);
        Method[] methods = getClass().getMethods();
        Arrays.sort(
            methods,
            new Comparator<Method>() {
              @Override
              public int compare(Method a, Method b) {
                return a.getName().compareTo(b.getName());
              }
            });
        for (Method method : methods) {
          if (method.isAnnotationPresent(TestSubtype.class)) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Nov 25 23:29:58 GMT 2025
    - 6.2K bytes
    - Click Count (0)
  10. src/cmd/api/testdata/src/pkg/p4/golden.txt

    pkg p4, func Clone //deprecated
    pkg p4, func Clone[$0 interface{ ~[]$1 }, $1 interface{}]($0) $0
    pkg p4, func NewPair[$0 interface{ M }, $1 interface{ ~int }]($0, $1) Pair[$0, $1]
    pkg p4, method (Pair[$0, $1]) First() $0
    pkg p4, method (Pair[$0, $1]) Second() $1
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Thu Jul 24 16:04:17 GMT 2025
    - 329 bytes
    - Click Count (0)
Back to Top