Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 620 for esum (0.03 seconds)

  1. android/guava-tests/benchmark/com/google/common/util/concurrent/FuturesGetCheckedBenchmark.java

          this.validator = validator;
        }
      }
    
      private enum Result {
        SUCCESS(immediateFuture(new Object())),
        FAILURE(immediateFailedFuture(new Exception()));
    
        final Future<Object> future;
    
        Result(Future<Object> result) {
          this.future = result;
        }
      }
    
      private enum ExceptionType {
        CHECKED(IOException.class),
        UNCHECKED(RuntimeException.class);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 6.5K bytes
    - Click Count (0)
  2. android/guava/src/com/google/common/hash/LongAdder.java

        add(-1L);
      }
    
      /**
       * Returns the current sum. The returned value is NOT an atomic snapshot; invocation in
       * the absence of concurrent updates returns an accurate result, but concurrent updates that occur
       * while the sum is being calculated might not be incorporated.
       *
       * @return the sum
       */
      @Override
      public long sum() {
        long sum = base;
        Cell[] as = cells;
        if (as != null) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Mar 20 13:05:10 GMT 2025
    - 5.5K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/hash/Funnel.java

     * serialization of funnels. When possible, it is recommended that funnels be implemented as a
     * single-element enum to maintain serialization guarantees. See Effective Java (2nd Edition), Item
     * 3: "Enforce the singleton property with a private constructor or an enum type". For example:
     *
     * {@snippet :
     * public enum PersonFunnel implements Funnel<Person> {
     *   INSTANCE;
     *   public void funnel(Person person, PrimitiveSink into) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  4. guava/src/com/google/common/util/concurrent/CycleDetectingLockFactory.java

      }
    
      // A static mapping from an Enum type to its set of LockGraphNodes.
      private static final ConcurrentMap<
              Class<? extends Enum<?>>, Map<? extends Enum<?>, LockGraphNode>>
          lockGraphNodesPerType = new MapMaker().weakKeys().makeMap();
    
      /** Creates a {@code CycleDetectingLockFactory.WithExplicitOrdering<E>}. */
      public static <E extends Enum<E>> WithExplicitOrdering<E> newInstanceWithExplicitOrdering(
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Sep 11 17:06:34 GMT 2025
    - 35.9K bytes
    - Click Count (0)
  5. build-logic/documentation/src/test/resources/org/gradle/test/JavaEnum.java

    package org.gradle.test;
    
    public enum JavaEnum {
        A, B
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 60 bytes
    - Click Count (0)
  6. docs/pt/docs/tutorial/path-params.md

    ### Crie uma classe `Enum` { #create-an-enum-class }
    
    Importe `Enum` e crie uma subclasse que herde de `str` e de `Enum`.
    
    Ao herdar de `str`, a documentação da API saberá que os valores devem ser do tipo `string` e poderá renderizá-los corretamente.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 9.8K bytes
    - Click Count (0)
  7. .teamcity/src/main/kotlin/common/FlakyTestStrategy.kt

    package common
    
    enum class FlakyTestStrategy {
        INCLUDE,
        EXCLUDE,
        ONLY,
        ;
    
        override fun toString() = name.lowercase()
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Oct 09 05:26:45 GMT 2025
    - 139 bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/ImmutableEnumSet.java

     *
     * @author Jared Levy
     */
    @GwtCompatible
    @SuppressWarnings("serial") // we're overriding default serialization
    final class ImmutableEnumSet<E extends Enum<E>> extends ImmutableSet<E> {
      static <E extends Enum<E>> ImmutableSet<E> asImmutable(EnumSet<E> set) {
        switch (set.size()) {
          case 0:
            return ImmutableSet.of();
          case 1:
            return ImmutableSet.of(getOnlyElement(set));
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 4.5K bytes
    - Click Count (0)
  9. docs/metrics/prometheus/grafana/replication/minio-replication-node.json

          "targets": [
            {
              "datasource": {
                "type": "prometheus",
                "uid": "${DS_PROMETHEUS}"
              },
              "exemplar": true,
              "expr": "sum by (server) (minio_node_replication_average_active_workers{job=\"$scrape_jobs\"})",
              "interval": "1m",
              "intervalFactor": 2,
              "legendFormat": "{{server}}",
              "refId": "A"
            }
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Mon Aug 04 01:46:49 GMT 2025
    - 57.5K bytes
    - Click Count (0)
  10. android/guava-tests/benchmark/com/google/common/base/EnumsBenchmark.java

      private Class<? extends Enum> enumType;
    
      private String[] sampleData;
    
      @BeforeExperiment
      void setUp() throws ClassNotFoundException {
        Preconditions.checkArgument(hitRate >= 0 && hitRate <= 1, "hitRate must be in the range [0,1]");
    
        enumType =
            Class.forName(EnumsBenchmark.class.getCanonicalName() + "$" + enumSize + "Enum")
                .asSubclass(Enum.class);
    
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Dec 19 18:03:30 GMT 2024
    - 29.4K bytes
    - Click Count (0)
Back to Top