- Sort Score
- Result 10 results
- Languages All
Results 31 - 40 of 111 for Quality (0.16 sec)
-
android/guava/src/com/google/common/hash/AbstractStreamingHasher.java
* even to an intermediate buffer) should be considerably more efficient than potentially * copying the CharSequence to a String and then calling getBytes(Charset) on that String, in * reality there are optimizations that make the getBytes(Charset) approach considerably faster, * at least for commonly used charsets like UTF-8. */ @Override @CanIgnoreReturnValue
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Wed Jun 15 20:59:00 GMT 2022 - 7.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/reflect/TypeResolverTest.java
.resolveType(subtype)); } public <T> void testWhere_mapFromBoundedWildcard() { Type subtype = new TypeCapture<TypedKeyMap<T>>() {}.capture(); // TODO(benyu): This should check equality to an expected value, see discussion in cl/98674873 Type unused = new TypeResolver() .where( new TypeCapture<Map<Integer, T>>() {}.capture(),
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 9.7K bytes - Viewed (0) -
android/guava/src/com/google/common/graph/EndpointPair.java
// Why? The second half of condition2 requires that nodeV equals other.nodeU. // We already know that nodeU equals other.nodeU. Combined with the earlier statement, // and the transitive property of equality, this implies that nodeU equals nodeV. // If nodeU equals nodeV, condition1 == condition2, so checking condition1 is sufficient. return nodeV().equals(other.nodeV()); }
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri Oct 01 17:18:04 GMT 2021 - 8.1K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/cache/EmptyCachesTest.java
} } public void testEqualsAndHashCode_different() { for (CacheBuilder<Object, Object> builder : cacheFactory().buildAllPermutations()) { // all caches should be different: instance equality new EqualsTester() .addEqualityGroup(builder.build(identityLoader())) .addEqualityGroup(builder.build(identityLoader())) .addEqualityGroup(builder.build(identityLoader()))
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 11.5K bytes - Viewed (0) -
guava-tests/test/com/google/common/hash/HashingTest.java
assertSeedlessHashFunctionEquals(Hashing.class); } public void testSeededHashFunctionEquals() throws Exception { assertSeededHashFunctionEquals(Hashing.class); } /** * Tests equality of {@link Hashing#goodFastHash} instances. This test must be separate from * {@link #testSeededHashFunctionEquals} because the parameter to {@code goodFastHash} is a size,
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Wed Sep 06 17:04:31 GMT 2023 - 26.5K bytes - Viewed (0) -
guava/src/com/google/common/base/Predicates.java
public boolean equals(@CheckForNull Object obj) { if (obj instanceof ContainsPatternPredicate) { ContainsPatternPredicate that = (ContainsPatternPredicate) obj; // Pattern uses Object (identity) equality, so we have to reach // inside to compare individual fields. return Objects.equal(pattern.pattern(), that.pattern.pattern()) && pattern.flags() == that.pattern.flags(); }
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Fri Feb 09 15:49:48 GMT 2024 - 23.1K bytes - Viewed (0) -
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 =
Java - Registered: Fri Apr 05 12:43:09 GMT 2024 - Last Modified: Mon Apr 01 16:15:01 GMT 2024 - 35.4K bytes - Viewed (0) -
guava-testlib/src/com/google/common/testing/EqualsTester.java
* follows: * * <ul> * <li>"{@code [group }<i>i</i>{@code , item }<i>j</i>{@code ]}" refers to the * <i>j</i><sup>th</sup> item in the <i>i</i><sup>th</sup> equality group, where both equality * groups and the items within equality groups are numbered starting from 1. When either a * constructor argument or an equal object is provided, that becomes group 1. * </ul> * * @author Jim McMaster * @author Jige Yu
Java - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Tue Oct 31 19:11:50 GMT 2023 - 6K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
/** * Sets the default value for {@code type}. The default value isn't used in testing {@link * Object#equals} because more than one sample instances are needed for testing inequality. To set * distinct values for equality testing, use {@link #setDistinctValues} instead. */ @CanIgnoreReturnValue public <T> ClassSanityTester setDefault(Class<T> type, T value) { nullPointerTester.setDefault(type, value);
Java - Registered: Fri May 03 12:43:13 GMT 2024 - Last Modified: Thu Feb 08 17:31:55 GMT 2024 - 33K bytes - Viewed (0) -
android/guava/src/com/google/common/math/PairedStats.java
checkState(yStats.sumOfSquaresOfDeltas() > 0.0); return LinearTransformation.vertical(xStats.mean()); } } /** * {@inheritDoc} * * <p><b>Note:</b> This tests exact equality of the calculated statistics, including the floating * point values. Two instances are guaranteed to be considered equal if one is copied from the
Java - Registered: Fri Apr 26 12:43:10 GMT 2024 - Last Modified: Fri May 12 17:02:53 GMT 2023 - 12.6K bytes - Viewed (0)