Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 1,912 for method (0.21 sec)

  1. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

        assertThat(request.method).isEqualTo("GET")
        assertThat(request.url.toString()).isEqualTo("http://example.com/")
        assertThat(request.body).isNull()
      }
    
      @Test
      @Throws(IOException::class)
      fun put() {
        val request = fromArgs("-X", "PUT", "-d", "foo", "http://example.com").createRequest()
        assertThat(request.method).isEqualTo("PUT")
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/entity/OpenSearchUrlQueue.java

            builder.startObject();
            if (sessionId != null) {
                builder.field(SESSION_ID, sessionId);
            }
            if (method != null) {
                builder.field(METHOD, method);
            }
            if (url != null) {
                builder.field(URL, url);
            }
            if (parentUrl != null) {
                builder.field(PARENT_URL, parentUrl);
            }
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 2.2K bytes
    - Viewed (0)
  3. android/guava-testlib/src/com/google/common/collect/testing/MinimalIterable.java

     * </ul>
     *
     * <p>Because of this situation, any public method accepting an iterable should invoke the {@code
     * iterator} method only once, and should be tested using this class. Exceptions to this rule should
     * be clearly documented.
     *
     * <p>Note that although your APIs should be liberal in what they accept, your methods which
     * <i>return</i> iterables should make every attempt to return ones of the robust variety.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. 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)) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Apr 19 19:24:36 UTC 2023
    - 6.1K bytes
    - Viewed (0)
  5. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

        assertThat(result).contains(address("2a03:2880:f029:11:face:b00c:0:2"))
        val request1 = server.takeRequest()
        assertThat(request1.method).isEqualTo("GET")
        val request2 = server.takeRequest()
        assertThat(request2.method).isEqualTo("GET")
        assertThat(listOf(request1.path, request2.path))
          .containsExactlyInAnyOrder(
            "/lookup?ct&dns=AAABAAABAAAAAAAABmdvb2dsZQNjb20AAAEAAQ",
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 11K bytes
    - Viewed (0)
  6. android/guava-testlib/test/com/google/common/collect/testing/features/FeatureEnumTest.java

        for (String propertyName : new String[] {"value", "absent"}) {
          Method method = null;
          try {
            method = annotationClass.getMethod(propertyName);
          } catch (NoSuchMethodException e) {
            throw new AssertionError("Annotation is missing required method", e);
          }
          final Class<?> returnType = method.getReturnType();
          assertTrue(
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 17 02:09:00 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  7. src/main/java/org/codelibs/core/exception/BeanMethodSetAccessibleFailureException.java

    import java.lang.reflect.Method;
    
    public class BeanMethodSetAccessibleFailureException extends ClRuntimeException {
    
        private static final long serialVersionUID = 1L;
    
        protected final Class<?> targetClass;
    
        protected final transient Method targetMethod;
    
        public BeanMethodSetAccessibleFailureException(final Class<?> componentClass, final Method targetMethod, final Throwable cause) {
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Fri Mar 08 13:23:29 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  8. 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.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/test/java/org/apache/maven/model/building/FileToRawModelMergerTest.java

                            return false;
                        }
                    })
                    .map(Method::getName)
                    .collect(Collectors.toList());
    
            List<String> overriddenMethods = Stream.of(FileToRawModelMerger.class.getDeclaredMethods())
                    .map(Method::getName)
                    .filter(m -> m.startsWith("merge"))
                    .collect(Collectors.toList());
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  10. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/ClassDocExtensionsBuilderTest.groovy

        }
    
        def method(String name, ClassMetaData classMetaData) {
            return method([:], name, classMetaData)
        }
    
        def method(Map<String, ?> args, String name, ClassMetaData classMetaData) {
            MethodMetaData method = Mock()
            List<String> paramTypes = args.paramTypes ?: []
            _ * method.name >> name
            _ * method.overrideSignature >> "$name(${paramTypes.join(', ')})"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 7.5K bytes
    - Viewed (0)
Back to top