- Sort Score
- Result 10 results
- Languages All
Results 61 - 70 of 241 for compact (0.06 sec)
-
guava/src/com/google/common/primitives/Shorts.java
* equivalent {@link Short#compare} method instead. * * @param a the first {@code short} to compare * @param b the second {@code short} to compare * @return a negative value if {@code a} is less than {@code b}; a positive value if {@code a} is * greater than {@code b}; or zero if they are equal */ @InlineMe(replacement = "Short.compare(a, b)") public static int compare(short a, short b) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 25.8K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/ApacheHttpClientTest.kt
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.compare import assertk.assertThat import assertk.assertions.isEqualTo import assertk.assertions.startsWith import mockwebserver3.MockResponse import mockwebserver3.MockWebServer import mockwebserver3.junit5.StartStop
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Jun 18 12:28:21 UTC 2025 - 2.1K 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 Sep 05 09:05:11 UTC 2025 - Last Modified: Wed Oct 23 20:13:20 UTC 2024 - 456.9K bytes - Viewed (1) -
android/guava-testlib/src/com/google/common/collect/testing/testers/SortedMapNavigationTester.java
@Override public int compare(K o1, K o2) { return ((Comparable) o1).compareTo(o2); } }; } Iterator<Entry<K, V>> entryItr = navigableMap.entrySet().iterator(); Entry<K, V> prevEntry = entryItr.next(); while (entryItr.hasNext()) { Entry<K, V> nextEntry = entryItr.next(); assertTrue(comparator.compare(prevEntry.getKey(), nextEntry.getKey()) < 0);
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Nov 14 23:40:07 UTC 2024 - 6.2K 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 Sep 05 09:05:11 UTC 2025 - Last Modified: Wed Oct 23 20:13:20 UTC 2024 - 345.2K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/primitives/SignedBytesTest.java
.isTrue(); } } public void testCompare() { for (byte x : VALUES) { for (byte y : VALUES) { // Only compare the sign of the result of compare(). int expected = Byte.compare(x, y); int actual = SignedBytes.compare(x, y); if (expected == 0) { assertWithMessage(x + ", " + y).that(actual).isEqualTo(expected); } else if (expected < 0) {
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/RegularImmutableTable.java
(rowComparator == null) ? 0 : rowComparator.compare(cell1.getRowKey(), cell2.getRowKey()); if (rowCompare != 0) { return rowCompare; } return (columnComparator == null) ? 0 : columnComparator.compare(cell1.getColumnKey(), cell2.getColumnKey()); }; sort(cells, comparator); }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Apr 08 13:05:15 UTC 2025 - 7K bytes - Viewed (0) -
guava/src/com/google/common/collect/ByFunctionOrdering.java
this.function = checkNotNull(function); this.ordering = checkNotNull(ordering); } @Override public int compare(@ParametricNullness F left, @ParametricNullness F right) { return ordering.compare(function.apply(left), function.apply(right)); } @Override public boolean equals(@Nullable Object object) { if (object == this) { return true; }
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Tue Jul 08 18:32:10 UTC 2025 - 2.3K bytes - Viewed (0) -
android/guava-tests/test/com/google/common/collect/TreeMultimapExplicitTest.java
@GwtCompatible @NullMarked public class TreeMultimapExplicitTest extends TestCase { /** * Compare strings lengths, and if the lengths are equal compare the strings. A {@code null} is * less than any non-null value. */ private enum StringLength implements Comparator<@Nullable String> { COMPARATOR; @Override public int compare(@Nullable String first, @Nullable String second) { if (first == second) { return 0;
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Thu Aug 07 16:05:33 UTC 2025 - 8.4K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/CompoundOrdering.java
this.comparators = Iterables.toArray(comparators, (Comparator<? super T>[]) new Comparator<?>[0]); } @Override public int compare(@ParametricNullness T left, @ParametricNullness T right) { for (int i = 0; i < comparators.length; i++) { int result = comparators[i].compare(left, right); if (result != 0) { return result; } } return 0; } @Override
Registered: Fri Sep 05 12:43:10 UTC 2025 - Last Modified: Wed Jun 04 13:03:16 UTC 2025 - 2.5K bytes - Viewed (0)