Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 30 for Geiger (0.16 sec)

  1. guava/src/com/google/common/collect/ConcurrentHashMultiset.java

       * a good policy, especially because, in order for the test to pass, the
       * parameter must be misleadingly annotated as @Nullable. I suspect that
       * we'll want to remove @Nullable, add an eager checkNotNull, and loosen up
       * testRemove_nullAllowed.
       */
      @CanIgnoreReturnValue
      @Override
      public int remove(@CheckForNull Object element, int occurrences) {
        if (occurrences == 0) {
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 22 21:19:52 GMT 2024
    - 20.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/base/Preconditions.java

        if (!expression) {
          throw new IllegalStateException(lenientFormat(errorMessageTemplate, p1, p2, p3, p4));
        }
      }
    
      /*
       * Preconditions.checkNotNull is *intended* for performing eager null checks on parameters that a
       * nullness checker can already "prove" are non-null. That means that the first parameter to
       * checkNotNull *should* be annotated to require it to be non-null.
       *
    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)
  3. android/guava/src/com/google/common/cache/CacheBuilder.java

      @CanIgnoreReturnValue // TODO(b/27479612): consider removing this
      public <K1 extends K, V1 extends V> CacheBuilder<K1, V1> weigher(
          Weigher<? super K1, ? super V1> weigher) {
        checkState(this.weigher == null);
        if (strictParsing) {
          checkState(
              this.maximumSize == UNSET_INT,
              "weigher can not be combined with maximum size (%s provided)",
              this.maximumSize);
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 44.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/cache/CacheBuilderSpecTest.java

        assertEquals("keyStrength", a.keyStrength, b.keyStrength);
        assertEquals("removalListener", a.removalListener, b.removalListener);
        assertEquals("weigher", a.weigher, b.weigher);
        assertEquals("valueEquivalence", a.valueEquivalence, b.valueEquivalence);
        assertEquals("valueStrength", a.valueStrength, b.valueStrength);
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 19.2K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/cache/LocalCache.java

      /** Strategy for referencing values. */
      final Strength valueStrength;
    
      /** The maximum weight of this map. UNSET_INT if there is no maximum. */
      final long maxWeight;
    
      /** Weigher to weigh cache entries. */
      final Weigher<K, V> weigher;
    
      /** How long after the last access to an entry the map will retain that entry. */
      final long expireAfterAccessNanos;
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 144.7K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/eventbus/SubscriberRegistry.java

        for (Class<?> eventType : eventTypes) {
          CopyOnWriteArraySet<Subscriber> eventSubscribers = subscribers.get(eventType);
          if (eventSubscribers != null) {
            // eager no-copy snapshot
            subscriberIterators.add(eventSubscribers.iterator());
          }
        }
    
        return Iterators.concat(subscriberIterators.iterator());
      }
    
      /**
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 22 13:05:46 GMT 2021
    - 10.5K bytes
    - Viewed (0)
  7. guava-gwt/src-super/com/google/common/collect/super/com/google/common/collect/ImmutableList.java

          return list.asList();
        }
        return copyFromCollection(elements);
      }
    
      @JsMethod
      public static <E> ImmutableList<E> copyOf(E[] elements) {
        checkNotNull(elements); // eager for GWT
        return copyOf(Arrays.asList(elements));
      }
    
      private static <E> ImmutableList<E> copyFromCollection(Collection<? extends E> collection) {
        Object[] elements = collection.toArray();
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue Feb 27 19:19:19 GMT 2024
    - 11K bytes
    - Viewed (0)
  8. android/guava-tests/test/com/google/common/io/testdata/alice_in_wonderland.txt

    looking across the garden, called out `The Queen!  The Queen!'
    and the three gardeners instantly threw themselves flat upon
    their faces.  There was a sound of many footsteps, and Alice
    looked round, eager to see the Queen.
    
      First came ten soldiers carrying clubs; these were all shaped
    like the three gardeners, oblong and flat, with their hands and
    feet at the corners:  next the ten courtiers; these were
    Plain Text
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Apr 21 02:27:51 GMT 2017
    - 145.2K bytes
    - Viewed (0)
  9. android/guava/src/com/google/thirdparty/publicsuffix/PublicSuffixPatterns.java

    epedni,n&noc,oissimmoc-&layor,tnednepedni,??o&c!.&bunsorter.tsuc,en&ilnoysrab,ozgniebllew,?krametyb.&hd,mv,?omida,p&i-on,ohsdaerpsym,?t&fihsreyal.j,opsgolb,?vres-hn,ysrab,??rpoc,?psoh,shn?t&en?nmyp,seuqni-tnednepedni,?vog!.&ecivres,ipa,ngiapmac,??weiver-tnednepedni,y&riuqni-&cilbup,tnednepedni,?srab,????l&04sr4w--nx?a!.&gro?lim?moc?t&en?opsgolb,?ude?vog??bolg?c?ed?g!el??i&c&nanif!.oc,lpl??os??romem?tnedurp??n&if?oitanretni??t&i&gid!.sppaduolc:.nodnol,,?p&ac?soh???ned?ot???c!.&bog?lim?oc?topsgolb...
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Mar 21 21:04:43 GMT 2024
    - 72.4K bytes
    - Viewed (1)
  10. android/guava-tests/test/com/google/common/cache/CacheBuilderTest.java

      }
    
      @GwtIncompatible // weigher
      public void testWeigher_withoutMaximumWeight() {
        CacheBuilder<Object, Object> builder = CacheBuilder.newBuilder().weigher(constantWeigher(42));
        assertThrows(IllegalStateException.class, () -> builder.build(identityLoader()));
      }
    
      @GwtIncompatible // weigher
      public void testWeigher_withMaximumSize() {
        assertThrows(
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Oct 03 20:10:02 GMT 2023
    - 23.2K bytes
    - Viewed (0)
Back to top