- Sort Score
- Result 10 results
- Languages All
Results 101 - 110 of 394 for Compare (0.14 sec)
-
android/guava/src/com/google/common/collect/Collections2.java
* Section 7.2.1.2. The iteration order follows the lexicographical order. This means that the * first permutation will be in ascending order, and the last will be in descending order. * * <p>Elements that compare equal are considered equal and no new permutations are created by * swapping them. * * <p>An empty iterable has only one permutation, which is an empty list. *
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri Oct 18 20:24:49 UTC 2024 - 22.8K bytes - Viewed (0) -
tests/count_test.go
t.Fatalf(fmt.Sprintf("Count should work, but got err %v", err)) } expects := []User{{Name: "main"}, {Name: "other"}, {Name: "other"}} sort.SliceStable(users, func(i, j int) bool { return strings.Compare(users[i].Name, users[j].Name) < 0 }) AssertEqual(t, users, expects) var count7 int64 if err := DB.Model(&User{}).Where("name in ?", []string{user1.Name, user2.Name, user3.Name}).Select(
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Mon Oct 30 09:15:49 UTC 2023 - 6.9K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/AllEqualOrdering.java
static final AllEqualOrdering INSTANCE = new AllEqualOrdering(); @Override @SuppressWarnings("UnusedVariable") // intentionally weird Comparator public int compare(@CheckForNull Object left, @CheckForNull Object right) { return 0; } @Override public <E extends @Nullable Object> List<E> sortedCopy(Iterable<E> iterable) { return Lists.newArrayList(iterable); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:24:26 UTC 2024 - 1.9K bytes - Viewed (0) -
guava/src/com/google/common/collect/AllEqualOrdering.java
static final AllEqualOrdering INSTANCE = new AllEqualOrdering(); @Override @SuppressWarnings("UnusedVariable") // intentionally weird Comparator public int compare(@CheckForNull Object left, @CheckForNull Object right) { return 0; } @Override public <E extends @Nullable Object> List<E> sortedCopy(Iterable<E> iterable) { return Lists.newArrayList(iterable); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jul 22 19:24:26 UTC 2024 - 1.9K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.28.md
- github.com/seccomp/libseccomp-golang: [f33da4d → v0.10.0](https://github.com/seccomp/libseccomp-golang/compare/f33da4d...v0.10.0) - github.com/spf13/cobra: [v1.6.0 → v1.7.0](https://github.com/spf13/cobra/compare/v1.6.0...v1.7.0) - github.com/stretchr/testify: [v1.8.1 → v1.8.2](https://github.com/stretchr/testify/compare/v1.8.1...v1.8.2)
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Wed Oct 23 04:34:59 UTC 2024 - 456.9K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/UnsignedIntsTest.java
} } public void testCompare() { for (long a : UNSIGNED_INTS) { for (long b : UNSIGNED_INTS) { int cmpAsLongs = Longs.compare(a, b); int cmpAsUInt = UnsignedInts.compare((int) a, (int) b); assertThat(Integer.signum(cmpAsUInt)).isEqualTo(Integer.signum(cmpAsLongs)); } } } public void testMax_noArgs() {
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 02:56:12 UTC 2024 - 12.5K bytes - Viewed (0) -
internal/s3select/sql/analysis.go
} else { result.combine(e.Operand.analyze(s)) result.combine(e.ConditionRHS.analyze(s)) } return } func (e *ConditionRHS) analyze(s *Select) (result qProp) { switch { case e.Compare != nil: result = e.Compare.Operand.analyze(s) case e.Between != nil: result.combine(e.Between.Start.analyze(s)) result.combine(e.Between.End.analyze(s)) case e.In != nil: result.combine(e.In.analyze(s))
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Sat Dec 23 07:19:11 UTC 2023 - 8.5K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ArbitraryInstances.java
@J2ktIncompatible @ElementTypesAreNonnullByDefault public final class ArbitraryInstances { private static final Ordering<Field> BY_FIELD_NAME = new Ordering<Field>() { @Override public int compare(Field left, Field right) { return left.getName().compareTo(right.getName()); } }; /** * Returns a new {@code MatchResult} that corresponds to a successful match. Apache Harmony (used
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sat Oct 19 00:26:48 UTC 2024 - 20.8K bytes - Viewed (0) -
CHANGELOG/CHANGELOG-1.16.md
- github.com/gogo/protobuf: [342cbe0 → 65acae2](https://github.com/gogo/protobuf/compare/342cbe0...65acae2) - github.com/golang/mock: [bd3c8e8 → v1.2.0](https://github.com/golang/mock/compare/bd3c8e8...v1.2.0) - github.com/golang/protobuf: [v1.2.0 → v1.3.1](https://github.com/golang/protobuf/compare/v1.2.0...v1.3.1) - github.com/google/btree: [7d79101 → 4030bb1](https://github.com/google/btree/compare/7d79101...4030bb1)
Registered: Fri Nov 01 09:05:11 UTC 2024 - Last Modified: Thu Feb 11 10:00:57 UTC 2021 - 345.2K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/collect/testing/SafeTreeSet.java
@SuppressWarnings("unchecked") private static final Comparator<Object> NATURAL_ORDER = new Comparator<Object>() { @Override public int compare(Object o1, Object o2) { return ((Comparable<Object>) o1).compareTo(o2); } }; private final NavigableSet<E> delegate; public SafeTreeSet() { this(new TreeSet<E>()); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Feb 20 17:00:05 UTC 2024 - 5.8K bytes - Viewed (0)