Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 331 - 340 of 404 for comparator (0.06 seconds)

  1. android/guava/src/com/google/common/util/concurrent/AbstractService.java

          return state().compareTo(RUNNING) >= 0;
        }
      }
    
      private final Guard isStopped = new IsStoppedGuard();
    
      @WeakOuter
      private final class IsStoppedGuard extends Guard {
        IsStoppedGuard() {
          super(AbstractService.this.monitor);
        }
    
        @Override
        public boolean isSatisfied() {
          return state().compareTo(TERMINATED) >= 0;
        }
      }
    
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Wed Feb 19 21:24:11 GMT 2025
    - 20.3K bytes
    - Click Count (0)
  2. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/test/InternalClusterTestPlugin.java

            internalClusterTest.configure(task -> {
                // Set GC options to mirror defaults in jvm.options
                if (BuildParams.getRuntimeJavaVersion().compareTo(JavaVersion.VERSION_14) < 0) {
                    task.jvmArgs("-XX:+UseConcMarkSweepGC", "-XX:CMSInitiatingOccupancyFraction=75", "-XX:+UseCMSInitiatingOccupancyOnly");
                } else {
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Jun 02 23:12:29 GMT 2021
    - 1.8K bytes
    - Click Count (0)
  3. docs/es/docs/tutorial/dependencies/index.md

    Esto es muy útil cuando necesitas:
    
    * Tener lógica compartida (la misma lógica de código una y otra vez).
    * Compartir conexiones a bases de datos.
    * Imponer seguridad, autenticación, requisitos de roles, etc.
    * Y muchas otras cosas...
    
    Todo esto, mientras minimizas la repetición de código.
    
    ## Primeros Pasos { #first-steps }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 10K bytes
    - Click Count (0)
  4. guava-testlib/src/com/google/common/collect/testing/UnhashableObject.java

      }
    
      // needed because otherwise Object.toString() calls hashCode()
      @Override
      public String toString() {
        return "DontHashMe" + value;
      }
    
      @Override
      public int compareTo(UnhashableObject o) {
        return Integer.compare(this.value, o.value);
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Apr 10 20:12:40 GMT 2025
    - 1.6K bytes
    - Click Count (0)
  5. docs/pt/docs/benchmarks.md

    ## Benchmarks e velocidade { #benchmarks-and-speed }
    
    Ao verificar os _benchmarks_, é comum observar algumas ferramentas de diferentes tipos comparadas como equivalentes.
    
    Especificamente, observa-se Uvicorn, Starlette e FastAPI comparados juntos (entre muitas outras ferramentas).
    
    Quanto mais simples o problema resolvido pela ferramenta, melhor a performance que ela terá. E a maioria dos _benchmarks_ não testam as características adicionais fornecidas pela ferramenta.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 3.8K bytes
    - Click Count (0)
  6. android/guava/src/com/google/common/collect/package-info.java

     *   <li>{@link RangeSet}
     *   <li>{@link DiscreteDomain}
     *   <li>{@link ContiguousSet}
     * </ul>
     *
     * <h2>Classes of static utility methods</h2>
     *
     * <ul>
     *   <li>{@link Collections2}
     *   <li>{@link Comparators}
     *   <li>{@link Iterables}
     *   <li>{@link Iterators}
     *   <li>{@link Lists}
     *   <li>{@link Maps}
     *   <li>{@link MoreCollectors}
     *   <li>{@link Multimaps}
     *   <li>{@link Multisets}
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Dec 21 14:50:24 GMT 2024
    - 5K bytes
    - Click Count (0)
  7. guava/src/com/google/common/collect/NaturalOrdering.java

      public int compare(Comparable<?> left, Comparable<?> right) {
        checkNotNull(left); // for GWT
        checkNotNull(right);
        return ((Comparable<Object>) left).compareTo(right);
      }
    
      @Override
      @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??
      public <S extends Comparable<?>> Ordering<@Nullable S> nullsFirst() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 01:34:19 GMT 2026
    - 3K bytes
    - Click Count (0)
  8. android/guava/src/com/google/common/collect/NaturalOrdering.java

      public int compare(Comparable<?> left, Comparable<?> right) {
        checkNotNull(left); // for GWT
        checkNotNull(right);
        return ((Comparable<Object>) left).compareTo(right);
      }
    
      @Override
      @SuppressWarnings("unchecked") // TODO(kevinb): the right way to explain this??
      public <S extends Comparable<?>> Ordering<@Nullable S> nullsFirst() {
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Tue Mar 03 01:34:19 GMT 2026
    - 3K bytes
    - Click Count (0)
  9. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/idn/IdnaMappingTable.kt

            position = 0,
            limit = sections.length / 4,
          ) { index ->
            val entryIndex = index * 4
            val b0b1 = sections.read14BitInt(entryIndex)
            return@binarySearch target.compareTo(b0b1)
          }
    
        return when {
          offset >= 0 -> offset * 4
    
          // This section was found by binary search.
          else -> (-offset - 2) * 4 // Not found? Use the preceding element.
        }
      }
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 9K bytes
    - Click Count (0)
  10. guava-tests/test/com/google/common/util/concurrent/ListeningScheduledExecutorServiceTest.java

          super(delegate);
        }
    
        @Override
        public long getDelay(TimeUnit unit) {
          return 0;
        }
    
        @Override
        public int compareTo(Delayed other) {
          return 0;
        }
      }
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Sat Mar 07 02:20:33 GMT 2026
    - 6.5K bytes
    - Click Count (0)
Back to Top