Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 1,489 for instances (0.07 seconds)

  1. okhttp/src/jvmTest/kotlin/okhttp3/ResponseCommonTest.kt

        assertThat(response.body.byteString()).isEqualTo(EMPTY)
      }
    
      /**
       * Returns a new response body that refuses to be read once it has been closed. This is true of
       * most [BufferedSource] instances, but not of [Buffer].
       */
      private fun responseBody(content: String): ResponseBody {
        val data = Buffer().writeUtf8(content)
        val source: Source =
          object : Source {
            var closed = false
    
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  2. compat/maven-model/src/test/java/org/apache/maven/model/merge/MavenMergerTest.java

    import org.junit.jupiter.api.Test;
    
    import static org.junit.jupiter.api.Assertions.assertEquals;
    import static org.junit.jupiter.api.Assertions.assertTrue;
    
    /**
     * MavenMerger is based on same instances, subclasses should override KeyComputer per type
     */
    class MavenMergerTest {
        private MavenMerger mavenMerger = new MavenMerger();
    
        @Test
        void mergeArtifactId() {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Sep 17 10:01:14 GMT 2025
    - 3.6K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/io/CharSink.java

     * is an immutable <i>supplier</i> of {@code Writer} instances.
     *
     * <p>{@code CharSink} provides two kinds of methods:
     *
     * <ul>
     *   <li><b>Methods that return a writer:</b> These methods should return a <i>new</i>, independent
     *       instance each time they are called. The caller is responsible for ensuring that the
     *       returned writer is closed.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Apr 14 16:07:06 GMT 2025
    - 6.7K bytes
    - Click Count (0)
  4. guava/src/com/google/common/eventbus/Subscriber.java

        return (31 + method.hashCode()) * 31 + System.identityHashCode(target);
      }
    
      @Override
      public final boolean equals(@Nullable Object obj) {
        if (obj instanceof Subscriber) {
          Subscriber that = (Subscriber) obj;
          // Use == so that different equal instances will still receive events.
          // We only guard against the case that the same object is registered
          // multiple times
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed May 14 19:40:47 GMT 2025
    - 4.7K bytes
    - Click Count (0)
  5. android/guava/src/com/google/common/collect/AbstractSetMultimap.java

        return super.put(key, value);
      }
    
      /**
       * Compares the specified object to this multimap for equality.
       *
       * <p>Two {@code SetMultimap} instances are equal if, for each key, they contain the same values.
       * Equality does not depend on the ordering of keys or values.
       */
      @Override
      public boolean equals(@Nullable Object object) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 4.9K bytes
    - Click Count (0)
  6. api/maven-api-core/src/main/java/org/apache/maven/api/services/RepositoryAwareRequest.java

            if (repositories.stream().anyMatch(Objects::isNull)) {
                throw new IllegalArgumentException(
                        "Repository list contains null entries. All repository entries must be non-null RemoteRepository instances.");
            }
            return repositories;
        }
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 10 07:30:49 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/util/concurrent/Futures.java

      public static <V extends @Nullable Object> ListenableFuture<V> immediateCancelledFuture() {
        ListenableFuture<Object> instance = ImmediateCancelledFuture.INSTANCE;
        if (instance != null) {
          return (ListenableFuture<V>) instance;
        }
        return new ImmediateCancelledFuture<>();
      }
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 64.3K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/RegularImmutableSet.java

          } else if (candidate.equals(target)) {
            return true;
          }
        }
      }
    
      @Override
      public int size() {
        return elements.length;
      }
    
      // We're careful to put only E instances into the array in the mainline.
      // (In the backport, we don't need this suppression, but we keep it to minimize diffs.)
      @SuppressWarnings("unchecked")
      @Override
      public UnmodifiableIterator<E> iterator() {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Sep 22 21:07:18 GMT 2025
    - 3.8K bytes
    - Click Count (0)
  9. docs/multi-tenancy/README.md

    ![Example-2](https://github.com/minio/minio/blob/master/docs/screenshots/Example-2.jpg?raw=true)
    
    ## 2. Distributed Deployment
    
    To host multiple tenants in a distributed environment, run several distributed MinIO Server instances concurrently.
    
    ### 2.1 Host Multiple Tenants on Multiple Drives (Erasure Code)
    
    Use the following commands to host 3 tenants on a 4-node distributed configuration:
    
    ```sh
    export MINIO_ROOT_USER=<TENANT1_ACCESS_KEY>
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Tue Aug 12 18:20:36 GMT 2025
    - 3.1K bytes
    - Click Count (0)
  10. impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupContext.java

                    .withRootDirectory(invokerRequest.rootDirectory().orElse(null))
                    .build();
        }
    
        public Logger logger;
    
        // this one "evolves" as process progresses (instance is immutable but instances are replaced)
        public ProtoSession protoSession;
        // here we track which user properties we pushed to Java System Properties (internal only)
        public Set<String> pushedUserProperties;
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jun 11 13:14:09 GMT 2025
    - 5.7K bytes
    - Click Count (0)
Back to Top