Search Options

Results per page
Sort
Preferred Languages
Advance

Results 191 - 200 of 317 for COMPARE (0.06 sec)

  1. android/guava-testlib/test/com/google/common/testing/ArbitraryInstancesTest.java

    1. AtomicDouble.class);
    2. }
    3.  
    4. @SuppressWarnings("unchecked") // functor classes have no type parameters
    5. public void testGet_functors() {
    6. assertEquals(0, ArbitraryInstances.get(Comparator.class).compare("abc", 123));
    7. assertTrue(ArbitraryInstances.get(Predicate.class).apply("abc"));
    8. assertTrue(ArbitraryInstances.get(Equivalence.class).equivalent(1, 1));
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Sat Oct 19 00:26:48 UTC 2024
    - 21.8K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/collect/ImmutableList.java

    1. }
    2.  
    3. /**
    4. * Returns an immutable list containing the given elements, sorted according to their natural
    5. * order. The sorting algorithm used is stable, so elements that compare as equal will stay in the
    6. * order in which they appear in the input.
    7. *
    8. * <p>If your data has no duplicates, or you wish to deduplicate elements, use {@code
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 16 21:21:17 UTC 2024
    - 27.7K bytes
    - Viewed (0)
  3. guava/src/com/google/common/collect/ImmutableSortedMap.java

    1. * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
    2. * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
    3. * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting map will
    4. * not correctly obey its specification.
    5. *
    6. * <p>See the Guava User Guide article on <a href=
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 50.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskQueue.kt

    1. "run again after ${formatDuration(executeNanoTime - now)}"
    2. } else {
    3. "scheduled after ${formatDuration(executeNanoTime - now)}"
    4. }
    5. }
    6.  
    7. // Insert in chronological order. Always compare deltas because nanoTime() is permitted to wrap.
    8. var insertAt = futureTasks.indexOfFirst { it.nextExecuteNanoTime - now > delayNanos }
    9. if (insertAt == -1) insertAt = futureTasks.size
    10. futureTasks.add(insertAt, task)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/NtlmPasswordAuthentication.java

    1. * hashes (meaning negotiated via NTLM HTTP Authentication) and the other does not they will not be equal. This is
    2. * technically not correct however the server 8 byte challenge would be required to compute and compare the password
    3. * hashes but that it not available with this method.
    4. */
    5. @Override
    6. public boolean equals ( Object obj ) {
    7. if ( super.equals(obj) ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Tue Jul 07 10:50:16 UTC 2020
    - 8.5K bytes
    - Viewed (0)
  6. src/test/java/org/codelibs/opensearch/extension/analysis/NGramSynonymTokenizer.java

    1. *
    2. * static enum Mode { PREV, SYN, AFTER; } }
    3. */
    4.  
    5. static class MyTokensComparator implements Comparator<MyToken> {
    6. @Override
    7. public int compare(final MyToken t1, final MyToken t2) {
    8. if (t1.startOffset < t2.startOffset) {
    9. return -1;
    10. } else if (t1.startOffset > t2.startOffset) {
    11. return 1;
    12. }
    Registered: Fri Nov 08 09:08:12 UTC 2024
    - Last Modified: Thu Feb 22 01:36:54 UTC 2024
    - 17K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

    1. methods,
    2. new Comparator<Method>() {
    3. @Override
    4. public int compare(Method m1, Method m2) {
    5. int nameComparison = m1.getName().compareTo(m2.getName());
    6. if (nameComparison != 0) {
    7. return nameComparison;
    8. } else {
    9. return Integer.compare(m1.getParameterTypes().length, m2.getParameterTypes().length);
    10. }
    11. }
    12. });
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Tue Jul 23 14:18:12 UTC 2024
    - 27.1K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/envoy/configdump/configdump.go

    1. "strings"
    2. "text/tabwriter"
    3.  
    4. adminv3 "github.com/envoyproxy/go-control-plane/envoy/admin/v3"
    5. "sigs.k8s.io/yaml"
    6.  
    7. "istio.io/istio/istioctl/pkg/util/configdump"
    8. sdscompare "istio.io/istio/istioctl/pkg/writer/compare/sds"
    9. "istio.io/istio/pkg/util/protomarshal"
    10. )
    11.  
    12. // ConfigWriter is a writer for processing responses from the Envoy Admin config_dump endpoint
    13. type ConfigWriter struct {
    14. Stdout io.Writer
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Thu Feb 29 20:46:41 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/collect/ImmutableSortedMap.java

    1. * Comparator} or {@link Comparable} type whose comparison behavior is <i>inconsistent with
    2. * equals</i>. That is, {@code a.compareTo(b)} or {@code comparator.compare(a, b)} should equal zero
    3. * <i>if and only if</i> {@code a.equals(b)}. If this advice is not followed, the resulting map will
    4. * not correctly obey its specification.
    5. *
    6. * <p>See the Guava User Guide article on <a href=
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Wed Oct 30 16:15:19 UTC 2024
    - 53K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/path-params.md

    1. <img src="/img/tutorial/path-params/image03.png">
    2.  
    3. ### Trabalhando com os *enumeration* do Python
    4.  
    5. O valor do *parâmetro da rota* será um *membro de enumeration*.
    6.  
    7. #### Compare *membros de enumeration*
    8.  
    9. Você pode comparar eles com o *membro de enumeration* no enum `ModelName` que você criou:
    10.  
    11. ```Python hl_lines="17"
    12. {!../../docs_src/path_params/tutorial005.py!}
    13. ```
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top