Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 40 for Leicht (0.17 sec)

  1. android/guava/src/com/google/common/collect/TreeMultiset.java

          successor(this, right, succ());
          height = Math.max(2, height);
          distinctElements++;
          totalCount += count;
          return this;
        }
    
        private AvlNode<E> addLeftChild(@ParametricNullness E e, int count) {
          left = new AvlNode<>(e, count);
          successor(pred(), left, this);
          height = Math.max(2, height);
          distinctElements++;
          totalCount += count;
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 34.2K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/cache/Weigher.java

     * @since 11.0
     */
    @GwtCompatible
    @ElementTypesAreNonnullByDefault
    public interface Weigher<K, V> {
    
      /**
       * Returns the weight of a cache entry. There is no unit for entry weights; rather they are simply
       * relative to each other.
       *
       * @return the weight of the entry; must be non-negative
       */
      int weigh(K key, V value);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Jun 15 18:00:07 GMT 2021
    - 1.1K bytes
    - Viewed (0)
  3. guava-tests/test/com/google/common/cache/CacheEvictionTest.java

        assertThat(keySet).containsExactly(0, 1, 2, 3, 4, 5, 6, 7, 8, 9);
    
        // add an at-the-maximum-weight entry
        getAll(cache, asList(45));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).containsExactly(0, 45);
    
        // add an over-the-maximum-weight entry
        getAll(cache, asList(46));
        CacheTesting.drainRecencyQueues(cache);
        assertThat(keySet).contains(0);
      }
    
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Mon Dec 04 17:37:03 GMT 2017
    - 14.9K bytes
    - Viewed (0)
  4. guava-tests/test/com/google/common/collect/ImmutableSortedMapTest.java

                "one", 1,
                "two", 2,
                "three", 3,
                "four", 4,
                "five", 5,
                "six", 6,
                "seven", 7,
                "eight", 8),
            "eight",
            8,
            "five",
            5,
            "four",
            4,
            "one",
            1,
            "seven",
            7,
            "six",
            6,
            "three",
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Thu Mar 07 18:34:03 GMT 2024
    - 28.1K bytes
    - Viewed (0)
  5. guava/src/com/google/common/cache/CacheBuilderSpec.java

              spec.maximumWeight == null, "maximum weight was already set to %s", spec.maximumWeight);
          spec.maximumSize = value;
        }
      }
    
      /** Parse maximumWeight */
      static class MaximumWeightParser extends LongParser {
        @Override
        protected void parseLong(CacheBuilderSpec spec, long value) {
          checkArgument(
              spec.maximumWeight == null, "maximum weight was already set to %s", spec.maximumWeight);
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Mon Aug 22 14:27:44 GMT 2022
    - 18.1K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/JSR166TestCase.java

      public static final Integer four = 4;
      public static final Integer five = 5;
      public static final Integer six = 6;
      public static final Integer seven = 7;
      public static final Integer eight = 8;
      public static final Integer nine = 9;
      public static final Integer m1 = -1;
      public static final Integer m2 = -2;
      public static final Integer m3 = -3;
      public static final Integer m4 = -4;
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:15:24 GMT 2024
    - 37.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

      `Are you content now?' said the Caterpillar.
    
      `Well, I should like to be a LITTLE larger, sir, if you
    wouldn't mind,' said Alice:  `three inches is such a wretched
    height to be.'
    
      `It is a very good height indeed!' said the Caterpillar
    angrily, rearing itself upright as it spoke (it was exactly three
    inches high).
    
      `But I'm not used to it!' pleaded poor Alice in a piteous tone.
    Plain Text
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 29 21:35:03 GMT 2012
    - 145.2K bytes
    - Viewed (0)
  8. guava/src/com/google/common/cache/LocalCache.java

        final int weight;
    
        WeightedWeakValueReference(
            ReferenceQueue<V> queue, V referent, ReferenceEntry<K, V> entry, int weight) {
          super(queue, referent, entry);
          this.weight = weight;
        }
    
        @Override
        public int getWeight() {
          return weight;
        }
    
        @Override
        public ValueReference<K, V> copyFor(
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 150.3K bytes
    - Viewed (0)
  9. android/guava/src/com/google/common/util/concurrent/SmoothRateLimiter.java

       * correctly requests of varying weight (permits), /no matter/ what the actual function is - so we
       * can tweak the latter freely. (The only requirement, obviously, is that we can compute its
       * integrals).
       *
       * Note well that if, for this function, we chose a horizontal line, at height of exactly (1/QPS),
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Apr 04 09:45:04 GMT 2023
    - 19.3K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/collect/ImmutableBiMapTest.java

                "five", 5,
                "six", 6,
                "seven", 7,
                "eight", 8),
            "one",
            1,
            "two",
            2,
            "three",
            3,
            "four",
            4,
            "five",
            5,
            "six",
            6,
            "seven",
            7,
            "eight",
            8);
        assertMapEquals(
            ImmutableBiMap.of(
                "one", 1,
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 10:16:44 GMT 2024
    - 21.3K bytes
    - Viewed (0)
Back to top