Search Options

Results per page
Sort
Preferred Languages
Advance

Results 111 - 120 of 1,912 for method (0.06 sec)

  1. android/guava-testlib/src/com/google/common/testing/GcFinalization.java

      /**
       * Tries to perform a "full" garbage collection cycle (including processing of weak references and
       * invocation of finalize methods) and waits for it to complete. Ensures that at least one weak
       * reference has been cleared and one {@code finalize} method has been run before this method
       * returns. This method may be useful when testing the garbage collection mechanism itself, or
       * inhibiting a spontaneous GC initiation in subsequent code.
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  2. guava/src/com/google/common/reflect/AbstractInvocationHandler.java

        }
        return handleInvocation(proxy, method, args);
      }
    
      /**
       * {@link #invoke} delegates to this method upon any method invocation on the proxy instance,
       * except {@link Object#equals}, {@link Object#hashCode} and {@link Object#toString}. The result
       * will be returned as the proxied method's return value.
       *
       * <p>Unlike {@link #invoke}, {@code args} will never be null. When the method has no parameter,
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jan 05 17:43:40 UTC 2022
    - 5.2K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/core/lang/MethodUtilTest.java

            final Method equalsMethod = ClassUtil.getMethod(getClass(), "equals", Object.class);
            assertThat(MethodUtil.isHashCodeMethod(equalsMethod), is(not(true)));
        }
    
        /**
         *
         */
        @Test
        public void testIsToStringMethod() {
            final Method toStringMethod = ClassUtil.getMethod(getClass(), "toString");
            assertThat(MethodUtil.isToStringMethod(toStringMethod), is(true));
    Registered: Fri Nov 01 20:58:10 UTC 2024
    - Last Modified: Thu Mar 07 01:59:08 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AbstractService.java

      protected AbstractService() {}
    
      /**
       * This method is called by {@link #startAsync} to initiate service startup. The invocation of
       * this method should cause a call to {@link #notifyStarted()}, either during this method's run,
       * or after it has returned. If startup fails, the invocation should cause a call to {@link
       * #notifyFailed(Throwable)} instead.
       *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri May 12 18:32:03 UTC 2023
    - 20.4K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/escape/UnicodeEscaper.java

       * use this method. If an input string ends with an unmatched high surrogate character, then this
       * method will throw {@link IllegalArgumentException}. You should ensure your input is valid <a
       * href="http://en.wikipedia.org/wiki/UTF-16">UTF-16</a> before calling this method.
       *
       * <p><b>Note:</b> When implementing an escaper it is a good idea to override this method for
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jan 18 20:55:09 UTC 2022
    - 13.2K bytes
    - Viewed (0)
  6. cmd/auth-handler_test.go

    		}
    	}
    }
    
    // Provides a fully populated http request instance, fails otherwise.
    func mustNewRequest(method string, urlStr string, contentLength int64, body io.ReadSeeker, t *testing.T) *http.Request {
    	req, err := newTestRequest(method, urlStr, contentLength, body)
    	if err != nil {
    		t.Fatalf("Unable to initialize new http request %s", err)
    	}
    	return req
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri May 24 23:05:23 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  7. 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
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Dec 14 20:35:03 UTC 2023
    - 19.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/Request.kt

       *
       * Use [Builder] for more fluent construction, including helper methods for various HTTP methods.
       *
       * @param method defaults to "GET" if [body] is null, and "POST" otherwise.
       */
      constructor(
        url: HttpUrl,
        headers: Headers = headersOf(),
        // '\u0000' is a sentinel value that'll choose based on what the body is:
        method: String = "\u0000",
        body: RequestBody? = null,
      ) : this(
        Builder()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 06 04:17:44 UTC 2024
    - 10.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/collect/testing/testers/IgnoreJRERequirement.java

    import static java.lang.annotation.ElementType.METHOD;
    import static java.lang.annotation.ElementType.TYPE;
    
    import java.lang.annotation.Target;
    
    /**
     * Disables Animal Sniffer's checking of compatibility with older versions of Java/Android.
     *
     * <p>Each package's copy of this annotation needs to be listed in our {@code pom.xml}.
     */
    @Target({METHOD, CONSTRUCTOR, TYPE})
    @ElementTypesAreNonnullByDefault
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:51:04 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  10. fess-crawler/src/main/java/org/codelibs/fess/crawler/entity/UrlQueueImpl.java

         */
        @Override
        public String getMethod() {
            return method;
        }
    
        /*
         * (non-Javadoc)
         *
         * @see org.codelibs.fess.crawler.entity.UrlQueue#setMethod(java.lang.String)
         */
        @Override
        public void setMethod(final String method) {
            this.method = method;
        }
    
        /*
         * (non-Javadoc)
         *
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Mon Nov 04 07:44:18 UTC 2024
    - 5.2K bytes
    - Viewed (0)
Back to top