Search Options

Results per page
Sort
Preferred Languages
Advance

Results 951 - 960 of 1,850 for metodu (0.05 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. guava/src/com/google/common/collect/ImmutableRangeSet.java

       * such a set can be performed efficiently, but others (such as {@link Set#hashCode} or {@link
       * Collections#frequency}) can cause major performance problems.
       *
       * <p>The returned set's {@link Object#toString} method returns a shorthand form of the set's
       * contents, such as {@code "[1..100]}"}.
       *
       * @throws IllegalArgumentException if neither this range nor the domain has a lower bound, or if
       *     neither has an upper bound
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 27K bytes
    - Viewed (0)
  6. android/guava-testlib/src/com/google/common/collect/testing/google/GoogleHelpers.java

    package com.google.common.collect.testing.google;
    
    import static junit.framework.Assert.fail;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.Multimap;
    
    /**
     * Helper methods/assertions for use with {@code com.google.common.collect} types.
     *
     * @author Colin Decker
     */
    @GwtCompatible
    final class GoogleHelpers {
    
      private GoogleHelpers() {}
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Fri Apr 21 02:27:51 UTC 2017
    - 1.1K bytes
    - Viewed (0)
  7. guava-gwt/test-super/com/google/common/testing/super/com/google/common/testing/Platform.java

     * limitations under the License.
     */
    
    package com.google.common.testing;
    
    import static com.google.common.base.Preconditions.checkNotNull;
    
    /**
     * Methods factored out so that they can be emulated differently in GWT.
     *
     * @author Chris Povirk
     */
    final class Platform {
      /** Serializes and deserializes the specified object (a no-op under GWT). */
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Dec 04 17:37:03 UTC 2017
    - 1K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbTreeConnection.java

            }
        }
    
    
        /**
         * Only call this method while holding a tree handle
         * 
         * @return the connected tree type
         */
        public int getTreeType () {
            try ( SmbTreeImpl t = getTree() ) {
                return t.getTreeType();
            }
        }
    
    
        /**
         * 
         * Only call this method while holding a tree handle
         * 
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 31K bytes
    - Viewed (0)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/RepositorySystem.java

         * mirror, its URL and ID will be updated to match the values from the mirror specification. Repositories without a
         * matching mirror will pass through unchanged. Note: This method must be called before
         * {@link #injectAuthentication(List, List)} or the repositories will end up with the wrong credentials.
         *
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  10. cmd/object-api-interface.go

    type GetObjectInfoFn func(ctx context.Context, bucket, object string, opts ObjectOptions) (ObjectInfo, error)
    
    // WalkVersionsSortOrder represents the sort order in which versions of an
    // object should be returned by ObjectLayer.Walk method
    type WalkVersionsSortOrder uint8
    
    const (
    	// WalkVersionsSortAsc - Sort in ascending order of ModTime
    	WalkVersionsSortAsc WalkVersionsSortOrder = iota
    	// WalkVersionsSortDesc - Sort in descending order of ModTime
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 22 21:57:20 UTC 2024
    - 17.3K bytes
    - Viewed (0)
Back to top