Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1891 - 1900 of 2,302 for created (0.16 sec)

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

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.List;
    
    /**
     * Tester for {@link Equivalence} relationships between groups of objects.
     *
     * <p>To use, create a new {@link EquivalenceTester} and add equivalence groups where each group
     * contains objects that are supposed to be equal to each other. Objects of different groups are
     * expected to be unequal. For example:
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  2. guava-testlib/src/com/google/common/testing/EquivalenceTester.java

    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    import java.util.List;
    
    /**
     * Tester for {@link Equivalence} relationships between groups of objects.
     *
     * <p>To use, create a new {@link EquivalenceTester} and add equivalence groups where each group
     * contains objects that are supposed to be equal to each other. Objects of different groups are
     * expected to be unequal. For example:
     *
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Apr 25 11:57:12 UTC 2023
    - 4K bytes
    - Viewed (0)
  3. README.md

    ```java
    public static final MediaType JSON = MediaType.get("application/json");
    
    OkHttpClient client = new OkHttpClient();
    
    String post(String url, String json) throws IOException {
      RequestBody body = RequestBody.create(json, JSON);
      Request request = new Request.Builder()
          .url(url)
          .post(body)
          .build();
      try (Response response = client.newCall(request).execute()) {
        return response.body().string();
      }
    }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 6.2K bytes
    - Viewed (0)
  4. docs/features/connections.md

    ### [Connections](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-connection/)
    
    When you request a URL with OkHttp, here's what it does:
    
     1. It uses the URL and configured OkHttpClient to create an **address**. This address specifies how we'll connect to the webserver.
     2. It attempts to retrieve a connection with that address from the **connection pool**.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  5. android/guava-testlib/src/com/google/common/collect/testing/AbstractMapTester.java

      }
    
      /** @see AbstractContainerTester#resetContainer() */
      protected final void resetMap() {
        resetContainer();
      }
    
      protected void resetMap(Entry<K, V>[] entries) {
        resetContainer(getSubjectGenerator().create((Object[]) entries));
      }
    
      protected void expectMissingKeys(K... elements) {
        for (K element : elements) {
          assertFalse("Should not contain key " + element, getMap().containsKey(element));
        }
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/io/CharSequenceReader.java

    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class CharSequenceReader extends Reader {
    
      @CheckForNull private CharSequence seq;
      private int pos;
      private int mark;
    
      /** Creates a new reader wrapping the given character sequence. */
      public CharSequenceReader(CharSequence seq) {
        this.seq = checkNotNull(seq);
      }
    
      private void checkOpen() throws IOException {
        if (seq == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  7. guava/src/com/google/common/io/CharSequenceReader.java

    @J2ktIncompatible
    @GwtIncompatible
    @ElementTypesAreNonnullByDefault
    final class CharSequenceReader extends Reader {
    
      @CheckForNull private CharSequence seq;
      private int pos;
      private int mark;
    
      /** Creates a new reader wrapping the given character sequence. */
      public CharSequenceReader(CharSequence seq) {
        this.seq = checkNotNull(seq);
      }
    
      private void checkOpen() throws IOException {
        if (seq == null) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  8. internal/s3select/parquet/reader.go

    	"github.com/minio/minio/internal/s3select/sql"
    )
    
    // Reader implements reading records from parquet input.
    type Reader struct {
    	io.Closer
    	r *parquetgo.FileReader
    }
    
    // NewParquetReader creates a Reader2 from a io.ReadSeekCloser.
    func NewParquetReader(rsc io.ReadSeekCloser, _ *ReaderArgs) (r *Reader, err error) {
    	fr, err := parquetgo.NewFileReader(rsc)
    	if err != nil {
    		return nil, errParquetParsingError(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Sep 23 19:35:41 UTC 2024
    - 4.5K bytes
    - Viewed (0)
  9. android/guava-testlib/src/com/google/common/util/concurrent/testing/AbstractListenableFutureTest.java

    public abstract class AbstractListenableFutureTest extends TestCase {
    
      protected CountDownLatch latch;
      protected ListenableFuture<Boolean> future;
    
      @Override
      protected void setUp() throws Exception {
    
        // Create a latch and a future that waits on the latch.
        latch = new CountDownLatch(1);
        future = createListenableFuture(Boolean.TRUE, null, latch);
      }
    
      @Override
      protected void tearDown() throws Exception {
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Sep 06 18:30:30 UTC 2023
    - 6K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/reflect/ImmutableTypeToInstanceMapTest.java

                      // but here we have to do some serious fudging
                      @Override
                      @SuppressWarnings({"unchecked", "rawtypes"})
                      public Map<TypeToken, Object> create(Object... elements) {
                        ImmutableTypeToInstanceMap.Builder<Object> builder =
                            ImmutableTypeToInstanceMap.builder();
                        for (Object object : elements) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 17:15:24 UTC 2024
    - 6.8K bytes
    - Viewed (0)
Back to top