Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 21 - 30 of 44 for worse (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. android/guava-tests/test/com/google/common/eventbus/AsyncEventBusTest.java

        assertEquals("Correct string should be delivered.", EVENT, events.get(0));
      }
    
      /**
       * An {@link Executor} wanna-be that simply records the tasks it's given. Arguably the Worst
       * Executor Ever.
       *
       * @author cbiffle
       */
      public static class FakeExecutor implements Executor {
        List<Runnable> tasks = new ArrayList<>();
    
        @Override
        public void execute(Runnable task) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue May 13 17:27:14 GMT 2025
    - 2.4K bytes
    - Click Count (0)
  2. guava/src/com/google/common/collect/Comparators.java

       *     .collect(least(2, comparingInt(String::length)))
       * // returns {"foo", "quux"}
       * }
       *
       * <p>This {@code Collector} uses O(k) memory and takes expected time O(n) (worst-case O(n log
       * k)), as opposed to e.g. {@code Stream.sorted(comparator).limit(k)}, which currently takes O(n
       * log n) time and O(n) space.
       *
       * @throws IllegalArgumentException if {@code k < 0}
       * @since 22.0
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 10.9K bytes
    - Click Count (0)
  3. android/guava/src/com/google/common/collect/ForwardingSortedMap.java

      protected class StandardKeySet extends Maps.SortedKeySet<K, V> {
        /** Constructor for use by subclasses. */
        public StandardKeySet() {
          super(ForwardingSortedMap.this);
        }
      }
    
      // unsafe, but worst case is a CCE or NPE is thrown, which callers will be expecting
      @SuppressWarnings({"unchecked", "nullness"})
      static int unsafeCompare(
          @Nullable Comparator<?> comparator, @Nullable Object o1, @Nullable Object o2) {
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Wed Feb 12 16:28:01 GMT 2025
    - 5.7K bytes
    - Click Count (0)
  4. docs/de/docs/python-types.md

    Ich denke, `Union[SomeType, None]` ist expliziter bezüglich seiner Bedeutung.
    
    Es geht nur um Worte und Namen. Aber diese Worte können beeinflussen, wie Sie und Ihre Teamkollegen über den Code denken.
    
    Nehmen wir zum Beispiel diese Funktion:
    
    {* ../../docs_src/python_types/tutorial009c_py39.py hl[1,4] *}
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 17.9K bytes
    - Click Count (1)
  5. android/guava/src/com/google/common/collect/RegularContiguousSet.java

      }
    
      @Override
      public boolean contains(@Nullable Object object) {
        if (object == null) {
          return false;
        }
        try {
          @SuppressWarnings("unchecked") // The worst case is usually CCE, which we catch.
          C c = (C) object;
          return range.contains(c);
        } catch (ClassCastException e) {
          return false;
        }
      }
    
      @Override
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  6. docs/de/llm-prompt.md

    
    ### German instructions, when to use and when not to use hyphens in words (written in first person, which is you)
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 09:39:53 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  7. android/guava/src/com/google/common/base/Ascii.java

        checkNotNull(seq);
    
        // length to truncate the sequence to, not including the truncation indicator
        int truncationLength = maxLength - truncationIndicator.length();
    
        // in this worst case, this allows a maxLength equal to the length of the truncationIndicator,
        // meaning that a string will be truncated to just the truncation indicator itself
        checkArgument(
            truncationLength >= 0,
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Mon Mar 17 20:26:29 GMT 2025
    - 21.7K bytes
    - Click Count (0)
  8. guava/src/com/google/common/collect/CompactHashSet.java

       *       simply switch over to use the JDK implementation wholesale if probable hash flooding is
       *       detected, sacrificing the compactness guarantee in very rare cases in exchange for much
       *       more reliable worst-case behavior.
       *   <li>null, if no entries have yet been added to the map
       * </ul>
       */
      private transient @Nullable Object table;
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 24.7K bytes
    - Click Count (0)
  9. guava/src/com/google/common/util/concurrent/AbstractFutureState.java

      }
    
      /**
       * Marks the given node as 'deleted' (null waiter) and then scans the list to unlink all deleted
       * nodes. This is an O(n) operation in the common case (and O(n^2) in the worst), but we are saved
       * by two things.
       *
       * <ul>
       *   <li>This is only called when a waiting thread times out or is interrupted. Both of which
       *       should be rare.
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Thu Aug 07 16:05:33 GMT 2025
    - 34.8K bytes
    - Click Count (0)
  10. guava/src/com/google/common/collect/CompactHashMap.java

       *       simply switch over to use the JDK implementation wholesale if probable hash flooding is
       *       detected, sacrificing the compactness guarantee in very rare cases in exchange for much
       *       more reliable worst-case behavior.
       *   <li>null, if no entries have yet been added to the map
       * </ul>
       */
      private transient @Nullable Object table;
    
      /**
    Created: Fri Dec 26 12:43:10 GMT 2025
    - Last Modified: Tue Jul 08 18:32:10 GMT 2025
    - 39.6K bytes
    - Click Count (0)
Back to Top