Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1151 - 1160 of 1,896 for methods_ (0.1 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

        val request =
          Request.Builder()
            .url(server.url("/"))
            .method("POST", ByteArray(0).toRequestBody(null))
            .build()
        executeSynchronously(request)
          .assertCode(200)
          .assertBody("abc")
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.method).isEqualTo("POST")
        assertThat(recordedRequest.body.size).isEqualTo(0)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 142.5K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/math/LongMath.java

    import java.math.BigInteger;
    import java.math.RoundingMode;
    
    /**
     * A class for arithmetic on values of type {@code long}. Where possible, methods are defined and
     * named analogously to their {@code BigInteger} counterparts.
     *
     * <p>The implementations of many methods in this class are based on material from Henry S. Warren,
     * Jr.'s <i>Hacker's Delight</i>, (Addison Wesley, 2002).
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 09 16:39:37 UTC 2024
    - 45.2K bytes
    - Viewed (0)
  3. docs/fr/docs/python-types.md

    C'est un programme très simple.
    
    Mais maintenant imaginez que vous l'écriviez de zéro.
    
    À un certain point vous auriez commencé la définition de la fonction, vous aviez les paramètres prêts.
    
    Mais vous aviez besoin de "cette méthode qui convertit la première lettre en majuscule".
    
    Était-ce `upper` ? `uppercase` ? `first_uppercase` ? `capitalize` ?
    
    Vous essayez donc d'utiliser le vieil ami du programmeur, l'auto-complétion de l'éditeur.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 15:21:34 UTC 2024
    - 10K bytes
    - Viewed (0)
  4. src/main/java/jcifs/SmbTransportPool.java

         * not accepted, an <tt>SmbAuthException</tt> will be thrown. If an error
         * occurs an <tt>SmbException</tt> will be thrown. If the credentials are
         * valid, the method will return without throwing an exception. See the
         * last <a href="../../../faq.html">FAQ</a> question.
         * <p>
         * See also the <tt>jcifs.smb.client.logonShare</tt> property.
         * 
         * @param dc
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun May 17 09:02:44 UTC 2020
    - 6.3K bytes
    - Viewed (0)
  5. 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)
  6. src/main/java/jcifs/smb/Kerb5Context.java

        private static final Class<?> EXT_GSS_CONTEXT_CLASS;
        private static final Method INQUIRE_SEC_CONTEXT;
        private static final Object INQUIRE_TYPE_SESSION_KEY;
    
        static {
            Class<?> extendedGSSContextClassPrep = null;
            Method inquireSecContextPrep = null;
            Object inquireTypeSessionKeyPrep = null;
    
            try {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Aug 02 08:22:42 UTC 2018
    - 13.9K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top