- Sort Score
- Result 10 results
- Languages All
Results 171 - 180 of 566 for compare (0.06 sec)
-
android/guava/src/com/google/common/collect/ForwardingSortedMap.java
@CheckForNull Comparator<?> comparator, @CheckForNull Object o1, @CheckForNull Object o2) { if (comparator == null) { return ((Comparable<@Nullable Object>) o1).compareTo(o2); } else { return ((Comparator<@Nullable Object>) comparator).compare(o1, o2); } } /** * A sensible definition of {@link #containsKey} in terms of the {@code firstKey()} method of
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 5.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/reflection/MethodMap.java
* Determines which method signature (represented by a class array) is more * specific. This defines a partial ordering on the method signatures. * * @param c1 first signature to compare * @param c2 second signature to compare * @return MORE_SPECIFIC if c1 is more specific than c2, LESS_SPECIFIC if * c1 is less specific than c2, INCOMPARABLE if they are incomparable. */
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 14.2K bytes - Viewed (0) -
cmd/bitrot.go
return errFileCorrupt } return nil } h := algo.New() hashBuf := make([]byte, h.Size()) left := wantSize // Calculate the size of the bitrot file and compare // it with the actual file size. if left != bitrotShardFileSize(partSize, shardSize, algo) { return errFileCorrupt } bufp := xioutil.ODirectPoolSmall.Get().(*[]byte)
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.6K bytes - Viewed (0) -
android/guava/src/com/google/common/reflect/TypeResolver.java
* just one problem: Starting with JDK 7u51, the JDK TypeVariable's equals() method doesn't * recognize instances of our TypeVariable implementation. This is a problem because users * compare TypeVariables from the JDK against TypeVariables returned by TypeResolver. To * work with all JDK versions, TypeResolver must return the appropriate TypeVariable * implementation in each of the three possible cases:
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Oct 10 19:45:10 UTC 2022 - 24.2K bytes - Viewed (0) -
cmd/metacache-stream.go
} // We have checked if prefix matches, so we can do direct compare. return b.First > prefix } // endedPrefix returns true if the given prefix ends within the block. func (b metacacheBlock) endedPrefix(prefix string) bool { if prefix == "" || strings.HasPrefix(b.Last, prefix) { return false } // We have checked if prefix matches, so we can do direct compare. return b.Last > prefix
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Thu Apr 04 12:04:40 UTC 2024 - 19.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/Range.java
* inclusive ranges" and "Cuts." */ if (lowerBound.compareTo(otherRange.upperBound) < 0 && otherRange.lowerBound.compareTo(upperBound) < 0) { throw new IllegalArgumentException( "Ranges have a nonempty intersection: " + this + ", " + otherRange); } boolean isThisFirst = this.lowerBound.compareTo(otherRange.lowerBound) < 0; Range<C> firstRange = isThisFirst ? this : otherRange;
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 16 17:21:56 UTC 2024 - 27.8K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/util/concurrent/testing/TestingExecutors.java
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 6.6K bytes - Viewed (0) -
guava-testlib/src/com/google/common/collect/testing/TestsForSetsInJavaUtil.java
return new NullFriendlyComparator<>(); } private static final class NullFriendlyComparator<T> implements Comparator<T>, Serializable { @Override public int compare(T left, T right) { return String.valueOf(left).compareTo(String.valueOf(right)); } }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Wed Oct 30 16:15:19 UTC 2024 - 19.8K bytes - Viewed (0) -
guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableSortedSet.java
} @CheckForNull E higher(E e) { checkNotNull(e); Iterator<E> iterator = tailSet(e).iterator(); while (iterator.hasNext()) { E higher = iterator.next(); if (comparator().compare(e, higher) < 0) { return higher; } } return null; } @CheckForNull public E ceiling(E e) { ImmutableSortedSet<E> set = tailSet(e, true);
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Aug 19 16:21:24 UTC 2024 - 15.5K bytes - Viewed (0) -
istioctl/pkg/proxyconfig/proxyconfig_test.go
"-f", "testdata/config_dump.json", }) out := bytes.Buffer{} cmd.SetOut(&out) assert.NoError(t, cmd.Execute()) expected := util.ReadFile(t, "testdata/config_dump_summary.txt") if err := assert.Compare(out.String(), string(expected)); err != nil { t.Fatalf("Unexpected output for 'istioctl proxy-config all'\n got: %q\nwant: %q", out.String(), expected) } } func init() {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Apr 10 21:51:29 UTC 2024 - 8.9K bytes - Viewed (0)