Search Options

Results per page
Sort
Preferred Languages
Advance

Results 761 - 770 of 1,912 for method (0.1 sec)

  1. guava/src/com/google/common/primitives/Booleans.java

       * considered less than {@code true}). The sign of the value returned is the same as that of
       * {@code ((Boolean) a).compareTo(b)}.
       *
       * <p><b>Note:</b> this method is now unnecessary and should be treated as deprecated; use the
       * equivalent {@link Boolean#compare} method instead.
       *
       * @param a the first {@code boolean} to compare
       * @param b the second {@code boolean} to compare
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 18 19:07:49 UTC 2024
    - 20.4K bytes
    - Viewed (0)
  2. guava/src/com/google/common/hash/BloomFilterStrategies.java

         * LockFreeBitArray. The ONLY guarantee provided is that all the bits that were set in the other
         * LockFreeBitArray at the start of this method will be set in this LockFreeBitArray at the end
         * of this method.
         */
        void putAll(LockFreeBitArray other) {
          checkArgument(
              data.length() == other.data.length(),
              "BitArrays must be of equal length (%s != %s)",
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Oct 10 19:45:10 UTC 2022
    - 10.7K bytes
    - Viewed (0)
  3. mockwebserver-junit4/src/main/kotlin/mockwebserver3/junit4/MockWebServerRule.kt

    import java.util.logging.Logger
    import mockwebserver3.MockWebServer
    import okhttp3.ExperimentalOkHttpApi
    import org.junit.rules.ExternalResource
    
    /**
     * Runs MockWebServer for the duration of a single test method.
     *
     * In Java JUnit 4 tests (ie. tests annotated `@org.junit.Test`), use this by defining a field with
     * the `@Rule` annotation:
     *
     * ```java
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Jan 23 14:31:42 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/TreeMultisetTest.java

      public void testElementSetBridgeMethods() {
        for (Method m : TreeMultiset.class.getMethods()) {
          if (m.getName().equals("elementSet") && m.getReturnType().equals(SortedSet.class)) {
            return;
          }
        }
        fail("No bridge method found");
      }
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:05:46 UTC 2024
    - 12.9K bytes
    - Viewed (0)
  5. samples/guide/src/main/java/okhttp3/recipes/RequestBodyCompression.java

            return chain.proceed(originalRequest);
          }
    
          Request compressedRequest = originalRequest.newBuilder()
              .header("Content-Encoding", "gzip")
              .method(originalRequest.method(), gzip(originalRequest.body()))
              .build();
          return chain.proceed(compressedRequest);
        }
    
        private RequestBody gzip(final RequestBody body) {
          return new RequestBody() {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat May 25 18:02:55 UTC 2019
    - 3.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Range.java

     * <i>x</i> such that <i>statement</i>.")
     *
     * <blockquote>
     *
     * <table>
     * <caption>Range Types</caption>
     * <tr><th>Notation        <th>Definition               <th>Factory method
     * <tr><td>{@code (a..b)}  <td>{@code {x | a < x < b}}  <td>{@link Range#open open}
     * <tr><td>{@code [a..b]}  <td>{@code {x | a <= x <= b}}<td>{@link Range#closed closed}
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 17:21:56 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/hash/FarmHashFingerprint64Test.java

        assertEquals(0x388ee898bad75cbfL, hasher.hash().asLong());
      }
    
      /** Convenience method to compute a fingerprint on a full bytes array. */
      private static long fingerprint(byte[] bytes) {
        return fingerprint(bytes, bytes.length);
      }
    
      /** Convenience method to compute a fingerprint on a subset of a byte array. */
      private static long fingerprint(byte[] bytes, int length) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:22:54 UTC 2024
    - 6.2K bytes
    - Viewed (0)
  8. src/main/java/jcifs/internal/smb1/AndXServerMessageBlock.java

            /*
             * the default limit is 0 batched messages before this
             * one, meaning this message cannot be batched.
             */
            return 0;
        }
    
    
        /*
         * We overload this method from ServerMessageBlock because
         * we want writeAndXWireFormat to write the parameterWords
         * and bytes. This is so we can write batched smbs because
         * all but the first smb of the chaain do not have a header
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Nov 28 10:56:27 UTC 2022
    - 14.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SettableFuture.java

    @ElementTypesAreNonnullByDefault
    public final class SettableFuture<V extends @Nullable Object>
        extends AbstractFuture.TrustedFuture<V> {
      /**
       * Creates a new {@code SettableFuture} that can be completed or cancelled by a later method call.
       */
      public static <V extends @Nullable Object> SettableFuture<V> create() {
        return new SettableFuture<>();
      }
    
      @CanIgnoreReturnValue
      @Override
      public boolean set(@ParametricNullness V value) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Oct 01 17:18:04 UTC 2021
    - 2.4K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/first-steps.md

    "Operation" here refers to one of the HTTP "methods".
    
    One of:
    
    * `POST`
    * `GET`
    * `PUT`
    * `DELETE`
    
    ...and the more exotic ones:
    
    * `OPTIONS`
    * `HEAD`
    * `PATCH`
    * `TRACE`
    
    In the HTTP protocol, you can communicate to each path using one (or more) of these "methods".
    
    ---
    
    When building APIs, you normally use these specific HTTP methods to perform a specific action.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 26 11:48:16 UTC 2024
    - 11.8K bytes
    - Viewed (0)
Back to top