Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 72 for spotify (0.3 sec)

  1. guava/src/com/google/common/cache/CacheBuilder.java

       * granularity. For example, access queues and write queues are kept per segment when they are
       * required by the selected eviction algorithm. As such, when writing unit tests it is not
       * uncommon to specify {@code concurrencyLevel(1)} in order to achieve more deterministic eviction
       * behavior.
       *
       * <p>Note that future implementations may abandon segment locking in favor of more advanced
       * concurrency controls.
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 51.3K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/AbstractService.java

          super(AbstractService.this.monitor);
        }
    
        @Override
        public boolean isSatisfied() {
          return state().compareTo(TERMINATED) >= 0;
        }
      }
    
      /** The listeners to notify during a state transition. */
      private final ListenerCallQueue<Listener> listeners = new ListenerCallQueue<>();
    
      /**
       * The current state of the service. This should be written with the lock held but can be read
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri May 12 18:32:03 GMT 2023
    - 20.4K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

        try {
          ImmutableBiMap.copyOf(map);
          fail();
        } catch (IllegalArgumentException expected) {
          assertThat(expected.getMessage()).containsMatch("1|2");
          // We don't specify which of the two dups should be reported.
        }
      }
    
      public void testToImmutableBiMap() {
        Collector<Entry<String, Integer>, ?, ImmutableBiMap<String, Integer>> collector =
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 22.4K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/collect/ArrayTable.java

        return new ArrayTable<>(rowKeys, columnKeys);
      }
    
      /*
       * TODO(jlevy): Add factory methods taking an Enum class, instead of an
       * iterable, to specify the allowed row keys and/or column keys. Note that
       * custom serialization logic is needed to support different enum sizes during
       * serialization and deserialization.
       */
    
      /**
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 26.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/base/Preconditions.java

        } else { // index > size
          return lenientFormat("%s (%s) must not be greater than size (%s)", desc, index, size);
        }
      }
    
      /**
       * Ensures that {@code start} and {@code end} specify valid <i>positions</i> in an array, list or
       * string of size {@code size}, and are in order. A position index may range from zero to {@code
       * size}, inclusive.
       *
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Wed Feb 14 15:46:55 GMT 2024
    - 52.9K bytes
    - Viewed (0)
  6. guava-gwt/src/com/google/common/annotations/Annotations.gwt.xml

        Our workaround is to tell GWT that util.concurrent and all other packages
        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    <inherits name="com.google.gwt.core.Core" />
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.3K bytes
    - Viewed (0)
  7. guava-gwt/src/com/google/common/primitives/Primitives.gwt.xml

        Our workaround is to tell GWT that util.concurrent and all other packages
        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    <inherits name="com.google.common.annotations.Annotations" />
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  8. guava-gwt/src/com/google/common/escape/Escape.gwt.xml

        Our workaround is to tell GWT that util.concurrent and all other packages
        have prod supersource, even if they have none. GWT is happy to ignore us
        when we specify a nonexistent path.
    
        (I hope that this workaround does not cause its own problems in the future.)
    -->
    <super-source path="super"/>
    
    <inherits name="com.google.common.annotations.Annotations" />
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Jan 06 15:30:58 GMT 2022
    - 1.4K bytes
    - Viewed (0)
  9. guava-testlib/src/com/google/common/collect/testing/features/CollectionSize.java

        return implied;
      }
    
      public int getNumElements() {
        if (numElements == null) {
          throw new IllegalStateException(
              "A compound CollectionSize doesn't specify a number of elements.");
        }
        return numElements;
      }
    
      @Retention(RetentionPolicy.RUNTIME)
      @Inherited
      @TesterAnnotation
      public @interface Require {
        CollectionSize[] value() default {};
    
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Feb 26 19:46:10 GMT 2024
    - 3.4K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/math/QuantilesTest.java

            .isWithin(ALLOWED_ERROR)
            .of(45.6);
      }
    
      public void testScale_indexes_varargs_compute_doubleCollection() {
        // Note that we specify index 1 twice, which by the method contract should be ignored.
        assertThat(Quantiles.scale(10).indexes(0, 10, 5, 1, 8, 1).compute(SIXTEEN_SQUARES_DOUBLES))
            .comparingValuesUsing(QUANTILE_CORRESPONDENCE)
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
Back to top