Search Options

Results per page
Sort
Preferred Languages
Advance

Results 91 - 100 of 110 for inequality (0.1 sec)

  1. guava/src/com/google/common/collect/AbstractMapBasedMultimap.java

          refreshIfEmpty();
          return delegate.size();
        }
    
        @Override
        /*
         * Most Multimap implementations use a List or Set (or even Multiset) for their values, in which
         * case Multimap equality works as expected. Users who use a Collection type that does not
         * implement equals(), such as most Queue implementations, will get the same behavior from our
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Aug 12 15:51:57 UTC 2025
    - 48.2K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/ImmutableSet.java

        E[] array = (E[]) elements.toArray();
        /*
         * For a Set, we guess that it contains no duplicates. That's just a guess for purpose of
         * sizing; if the Set uses different equality semantics, it might contain duplicates according
         * to equals(), and we will deduplicate those properly, albeit at some cost in allocations.
         */
        int expectedSize =
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 35.2K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/HttpUrl.kt

     * that makes `java.net.URL` unusable for many things. It shouldn't be used as a [Map] key or in a
     * [Set]. Doing so is both inefficient because equality may require a DNS lookup, and incorrect
     * because unequal URLs may be equal because of how they are hosted.
     *
     * ### Equal URLs should be equal
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 63.5K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_3x.md

    _2016-02-06_
    
     *  New: WebSockets now defer some writes. This should improve performance for
        some applications.
     *  New: Override `equals()` and `hashCode()` in our new cookie class. This
        class now defines equality by value rather than by reference.
     *  New: Handle 408 responses by retrying the request. This allows servers to
        direct clients to retry rather than failing permanently.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/Sets.java

          Comparator<? super E> comparator) {
        return new TreeSet<>(checkNotNull(comparator));
      }
    
      /**
       * Creates an empty {@code Set} that uses identity to determine equality. It compares object
       * references, instead of calling {@code equals}, to determine whether a provided object matches
       * an element in the set. For example, {@code contains} returns {@code false} when passed an
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 81.6K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<StringForFirstTypeArg<Integer>> subtype =
            new TypeToken<StringForFirstTypeArg<Integer>>() {};
        assertTrue(subtype.isSubtypeOf(supertype));
    
        // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873
        TypeToken<?> unused = supertype.getSubtype(subtype.getRawType());
      }
    
      public void testGetSubtype_baseClassWithNoTypeArgs() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/reflect/TypeTokenTest.java

        TypeToken<StringForFirstTypeArg<Integer>> subtype =
            new TypeToken<StringForFirstTypeArg<Integer>>() {};
        assertTrue(subtype.isSubtypeOf(supertype));
    
        // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873
        TypeToken<?> unused = supertype.getSubtype(subtype.getRawType());
      }
    
      public void testGetSubtype_baseClassWithNoTypeArgs() {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Tue Sep 02 17:23:59 UTC 2025
    - 89K bytes
    - Viewed (0)
  8. src/main/java/jcifs/smb/SmbFile.java

         * smb://angus/share/data/../dir/foo.txt
         * </pre>
         *
         * </blockquote>
         *
         * @param obj
         *            Another <code>SmbFile</code> object to compare for equality
         * @return <code>true</code> if the two objects refer to the same SMB resource
         *         and <code>false</code> otherwise
         */
    
        @Override
        public boolean equals(final Object obj) {
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 103.2K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.14.md

    - Added alpha field storageVersionHash to the discovery document for each resource. Its value must be treated as opaque by clients. Only equality comparison on the value is valid. ([#73191](https://github.com/kubernetes/kubernetes/pull/73191), [@caesarxuchao](https://github.com/caesarxuchao))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Mon Jun 14 22:06:39 UTC 2021
    - 271.5K bytes
    - Viewed (0)
  10. lib/fips140/v1.0.0.zip

    != x2sq { t.Fatalf("all ones failed\nmul: %x\nsqr: %x\n", x2, x2sq) } } func TestEqual(t *testing.T) { x := Element{1, 1, 1, 1, 1} y := Element{5, 4, 3, 2, 1} eq := x.Equal(&x) if eq != 1 { t.Errorf("wrong about equality") } eq = x.Equal(&y) if eq != 0 { t.Errorf("wrong about inequality") } } func TestInvert(t *testing.T) { x := Element{1, 1, 1, 1, 1} one := Element{1, 0, 0, 0, 0} var xinv, r Element xinv.Invert(&x) r.Multiply(&x, &xinv) r.reduce() if one != r { t.Errorf("inversion identity failed,...
    Registered: Tue Sep 09 11:13:09 UTC 2025
    - Last Modified: Wed Jan 29 15:10:35 UTC 2025
    - 635K bytes
    - Viewed (0)
Back to top