- Sort Score
- Result 10 results
- Languages All
Results 141 - 150 of 394 for Compare (0.06 sec)
-
istioctl/pkg/waypoint/waypoint.go
fmt.Fprintln(writer, "No waypoints found.") return nil } slices.SortFunc(gws.Items, func(i, j gateway.Gateway) int { if r := cmp.Compare(i.Namespace, j.Namespace); r != 0 { return r } return cmp.Compare(i.Name, j.Name) }) filteredGws := make([]gateway.Gateway, 0) for _, gw := range gws.Items { if gw.Spec.GatewayClassName != constants.WaypointGatewayClassName {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 09 16:05:45 UTC 2024 - 19.6K bytes - Viewed (0) -
samples/compare/src/test/kotlin/okhttp3/compare/JavaHttpClientTest.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.isNotNull import assertk.assertions.isNull import assertk.assertions.matches import java.net.http.HttpClient
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 2.7K bytes - Viewed (0) -
android/guava/src/com/google/common/collect/NaturalOrdering.java
@LazyInit @CheckForNull private transient Ordering<@Nullable Comparable<?>> nullsFirst; @LazyInit @CheckForNull private transient Ordering<@Nullable Comparable<?>> nullsLast; @Override public int compare(Comparable<?> left, Comparable<?> right) { checkNotNull(left); // for GWT checkNotNull(right); return ((Comparable<Object>) left).compareTo(right); } @Override
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Mon Jun 26 21:02:13 UTC 2023 - 2.7K bytes - Viewed (0) -
android/guava-testlib/src/com/google/common/testing/ClassSanityTester.java
} }; private static final Ordering<Invokable<?, ?>> BY_NUMBER_OF_PARAMETERS = new Ordering<Invokable<?, ?>>() { @Override public int compare(Invokable<?, ?> left, Invokable<?, ?> right) { return Integer.compare(left.getParameters().size(), right.getParameters().size()); } };
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Tue Jul 23 14:18:12 UTC 2024 - 32.7K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultClasspathTransformation.java
// new Comparator<MetadataGraphEdge>() // { // public int compare( MetadataGraphEdge e1 // , MetadataGraphEdge e2 // ) // {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0) -
guava/src/com/google/common/collect/ForwardingSortedMap.java
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 * {@link #tailMap}. If you override {@link #tailMap}, you may wish to override {@link
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Fri May 12 15:26:39 UTC 2023 - 5.6K bytes - Viewed (0) -
istioctl/pkg/install/k8sversion/version_test.go
IsK8VersionSupported(k8sClient, logger) errMsgTrim := strings.TrimSpace(c.logMsg) outBufTrim := strings.TrimSpace(outBuf.String()) if !c.isValid && strings.Compare(errMsgTrim, outBufTrim) != 0 { t.Fatalf("\nwanted: %v \nbut found: %v", errMsgTrim, outBufTrim) } if c.isValid && outBuf.Len() > 0 { t.Fatalf("\nwanted: %v \nbut found: %v", errMsgTrim, outBufTrim)
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Wed Oct 30 21:50:50 UTC 2024 - 6.5K bytes - Viewed (0) -
guava/src/com/google/common/collect/ContiguousSet.java
} @Override public ContiguousSet<C> subSet(C fromElement, C toElement) { checkNotNull(fromElement); checkNotNull(toElement); checkArgument(comparator().compare(fromElement, toElement) <= 0); return subSetImpl(fromElement, true, toElement, false); } /** @since 12.0 */ @GwtIncompatible // NavigableSet @Override public ContiguousSet<C> subSet(
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Thu Nov 30 21:54:06 UTC 2023 - 9.9K bytes - Viewed (0) -
tests/helper_test.go
} sort.Slice(user.Languages, func(i, j int) bool { return strings.Compare(user.Languages[i].Code, user.Languages[j].Code) > 0 }) sort.Slice(expect.Languages, func(i, j int) bool { return strings.Compare(expect.Languages[i].Code, expect.Languages[j].Code) > 0 }) for idx, language := range user.Languages {
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Tue Mar 19 03:50:28 UTC 2024 - 8K bytes - Viewed (0) -
guava/src/com/google/common/collect/ReverseNaturalOrdering.java
@ElementTypesAreNonnullByDefault final class ReverseNaturalOrdering extends Ordering<Comparable<?>> implements Serializable { static final ReverseNaturalOrdering INSTANCE = new ReverseNaturalOrdering(); @Override public int compare(Comparable<?> left, Comparable<?> right) { checkNotNull(left); // right null is caught later if (left == right) { return 0; } return ((Comparable<Object>) right).compareTo(left); }
Registered: Fri Nov 01 12:43:10 UTC 2024 - Last Modified: Sun Jun 20 14:22:42 UTC 2021 - 2.9K bytes - Viewed (0)