Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 1,595 for Other (0.04 sec)

  1. guava-testlib/src/com/google/common/collect/testing/testers/ListEqualsTester.java

            getList().equals(other));
      }
    
      @CollectionSize.Require(absent = CollectionSize.ZERO)
      public void testEquals_otherListContainingNull() {
        List<E> other = new ArrayList<>(getSampleElements());
        other.set(other.size() / 2, null);
        assertFalse(
            "Two Lists should not be equal if exactly one of them has null at a given index.",
            getList().equals(other));
      }
    
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Jul 24 20:12:35 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. internal/pubsub/mask.go

    	*t = Mask(m)
    }
    
    // Merge will merge other into t.
    func (t *Mask) Merge(other Mask) {
    	*t |= other
    }
    
    // MergeMaskable will merge other into t.
    func (t *Mask) MergeMaskable(other Maskable) {
    	*t |= Mask(other.Mask())
    }
    
    // SetIf will add other if b is true.
    func (t *Mask) SetIf(b bool, other Mask) {
    	if b {
    		*t |= other
    	}
    }
    
    // Mask returns the mask as a uint64.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Jul 05 21:45:49 UTC 2022
    - 1.3K bytes
    - Viewed (0)
  3. code_of_conduct.md

    Project maintainers have the right and responsibility to remove, edit, or
    reject comments, commits, code, wiki edits, issues, and other contributions
    that are not aligned to this Code of Conduct, or to ban temporarily or
    permanently any contributor for other behaviors that they deem inappropriate,
    threatening, offensive, or harmful. However, these actions shall respect the
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Mon Jan 20 18:38:58 UTC 2020
    - 3.5K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/GeneralRange.java

          upEnd = other.getUpperEndpoint();
          upType = other.getUpperBoundType();
        } else if (other.hasUpperBound()) {
          int cmp = comparator.compare(getUpperEndpoint(), other.getUpperEndpoint());
          if (cmp > 0 || (cmp == 0 && other.getUpperBoundType() == OPEN)) {
            upEnd = other.getUpperEndpoint();
            upType = other.getUpperBoundType();
          }
        }
    
        if (hasLowBound && hasUpBound) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Feb 22 21:19:52 UTC 2024
    - 10.8K bytes
    - Viewed (0)
  5. compat/maven-artifact/src/main/java/org/apache/maven/artifact/versioning/Restriction.java

            return result;
        }
    
        @Override
        public boolean equals(Object other) {
            if (this == other) {
                return true;
            }
    
            if (!(other instanceof Restriction)) {
                return false;
            }
    
            Restriction restriction = (Restriction) other;
            if (lowerBound != null) {
                if (!lowerBound.equals(restriction.lowerBound)) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/PropertyProfileActivatorTest.java

        }
    
        @Test
        void testWithValue_UserProperty() throws Exception {
            Profile profile = newProfile("prop", "value");
    
            assertActivation(true, profile, newContext(newProperties("prop", "value"), null));
    
            assertActivation(false, profile, newContext(newProperties("prop", "other"), null));
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. CHANGELOG/CHANGELOG-1.3.md

      - [Changelog since v1.3.9](#changelog-since-v139)
        - [Other notable changes](#other-notable-changes)
    - [v1.3.9](#v139)
      - [Downloads](#downloads)
      - [Changelog since v1.3.8](#changelog-since-v138)
        - [Other notable changes](#other-notable-changes-1)
    - [v1.3.8](#v138)
      - [Downloads](#downloads-1)
      - [Changelog since v1.3.7](#changelog-since-v137)
        - [Other notable changes](#other-notable-changes-2)
    - [v1.3.7](#v137)
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Thu Dec 24 02:28:26 UTC 2020
    - 84K bytes
    - Viewed (0)
  8. android/guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        @Override
        public boolean equals(@Nullable Object other) {
          return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes);
        }
      }
    
      private static class ObjectWhichIsEqualButChangesClass implements Serializable {
        private static final long serialVersionUID = 1L;
    
        @Override
        public boolean equals(@Nullable Object other) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  9. guava-testlib/test/com/google/common/testing/SerializableTesterTest.java

        @Override
        public boolean equals(@Nullable Object other) {
          return (other instanceof ClassWhichIsAlwaysEqualButHasDifferentHashcodes);
        }
      }
    
      private static class ObjectWhichIsEqualButChangesClass implements Serializable {
        private static final long serialVersionUID = 1L;
    
        @Override
        public boolean equals(@Nullable Object other) {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Mon Apr 17 15:49:06 UTC 2023
    - 4K bytes
    - Viewed (0)
  10. cmd/metacache-entries.go

    func (e *metaCacheEntry) matches(other *metaCacheEntry, strict bool) (prefer *metaCacheEntry, matches bool) {
    	if e == nil && other == nil {
    		return nil, true
    	}
    	if e == nil {
    		return other, false
    	}
    	if other == nil {
    		return e, false
    	}
    
    	// Name should match...
    	if e.name != other.name {
    		if e.name < other.name {
    			return e, false
    		}
    		return other, false
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 24.1K bytes
    - Viewed (0)
Back to top