Search Options

Results per page
Sort
Preferred Languages
Advance

Results 611 - 620 of 1,225 for equalTo (0.14 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

      fun forbidLock(lock: Any) {
        forbiddenLocks.add(lock)
      }
    
      /**
       * Removes recorded events up to (and including) an event is found whose class equals [eventClass]
       * and returns it.
       */
      fun <T : ConnectionEvent> removeUpToEvent(eventClass: Class<T>): T {
        val fullEventSequence = eventSequence.toList()
        try {
          while (true) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri May 30 21:28:20 UTC 2025
    - 5.7K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Handshake.kt

        message = "moved to val",
        replaceWith = ReplaceWith(expression = "localPrincipal"),
        level = DeprecationLevel.ERROR,
      )
      fun localPrincipal(): Principal? = localPrincipal
    
      override fun equals(other: Any?): Boolean =
        other is Handshake &&
          other.tlsVersion == tlsVersion &&
          other.cipherSuite == cipherSuite &&
          other.peerCertificates == peerCertificates &&
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Apr 05 09:48:10 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/hash/Murmur3_32HashFunction.java

      public Hasher newHasher() {
        return new Murmur3_32Hasher(seed);
      }
    
      @Override
      public String toString() {
        return "Hashing.murmur3_32(" + seed + ")";
      }
    
      @Override
      public boolean equals(@Nullable Object object) {
        if (object instanceof Murmur3_32HashFunction) {
          Murmur3_32HashFunction other = (Murmur3_32HashFunction) object;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Apr 14 16:36:11 UTC 2025
    - 11.8K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSetTest.java

      }
    
      public void testToImmutableSet() {
        Collector<String, ?, ImmutableSet<String>> collector = toImmutableSet();
        Equivalence<ImmutableSet<String>> equivalence =
            Equivalence.equals().onResultOf(ImmutableSet::asList);
        CollectorTester.of(collector, equivalence)
            .expectCollects(ImmutableSet.of("a", "b", "c", "d"), "a", "b", "a", "c", "b", "b", "d");
      }
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 14.2K bytes
    - Viewed (0)
  5. src/main/java/org/codelibs/core/collection/ArrayUtil.java

        /**
         * Returns {@literal true} if the two arrays are equal, ignoring the order of elements.
         *
         * @param <T>
         *            the type of the array elements
         * @param array1
         *            the first array
         * @param array2
         *            the second array
         * @return {@literal true} if the two arrays are equal, ignoring the order of elements
         */
    Registered: Fri Sep 05 20:58:11 UTC 2025
    - Last Modified: Thu Jul 31 08:16:49 UTC 2025
    - 41.5K bytes
    - Viewed (0)
  6. guava-testlib/src/com/google/common/testing/CollectorTester.java

       * Collector} will be compared to the expected value using {@link Object#equals}.
       */
      public static <T extends @Nullable Object, A extends @Nullable Object, R extends @Nullable Object>
          CollectorTester<T, A, R> of(Collector<T, A, R> collector) {
        return of(collector, Objects::equals);
      }
    
      /**
       * Creates a {@code CollectorTester} for the specified {@code Collector}. The result of the {@code
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu May 15 21:47:56 UTC 2025
    - 6.6K bytes
    - Viewed (0)
  7. android/guava-testlib/src/com/google/common/collect/testing/google/ListMultimapEqualsTester.java

    import com.google.common.collect.ListMultimap;
    import com.google.common.collect.testing.features.CollectionSize;
    import com.google.common.testing.EqualsTester;
    import org.junit.Ignore;
    
    /**
     * Testers for {@link ListMultimap#equals(Object)}.
     *
     * @author Louis Wasserman
     */
    @GwtCompatible
    @Ignore("test runners must not instantiate and run this directly, only via suites we build")
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Nov 14 23:40:07 UTC 2024
    - 1.9K bytes
    - Viewed (0)
  8. guava/src/com/google/common/collect/SortedIterables.java

        } else if (elements instanceof SortedIterable) {
          comparator2 = ((SortedIterable<?>) elements).comparator();
        } else {
          return false;
        }
        return comparator.equals(comparator2);
      }
    
      @SuppressWarnings("unchecked")
      // if sortedSet.comparator() is null, the set must be naturally ordered
      public static <E extends @Nullable Object> Comparator<? super E> comparator(
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2K bytes
    - Viewed (0)
  9. cmd/post-policy_test.go

    	expirationStr := fmt.Sprintf(`"expiration": "%s"`, expiration.Format(iso8601TimeFormat))
    	// Add the bucket condition, only accept buckets equal to the one passed.
    	bucketConditionStr := fmt.Sprintf(`["eq", "$bucket", "%s"]`, bucketName)
    	// Add the key condition, only accept keys equal to the one passed.
    	keyConditionStr := fmt.Sprintf(`["eq", "$key", "%s/upload.txt"]`, objectKey)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  10. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ForwardingImmutableSet.java

      public <T extends @Nullable Object> T[] toArray(T[] other) {
        return delegate.toArray(other);
      }
    
      @Override
      public String toString() {
        return delegate.toString();
      }
    
      // TODO(cpovirk): equals(), as well, in case it's any faster than Sets.equalsImpl?
    
      @Override
      public int hashCode() {
        return delegate.hashCode();
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
Back to top