Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 62 for rally (0.13 sec)

  1. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

              }
            },
            directExecutor());
        manager.startAsync();
        afterStarted.countDown();
        // We do not call awaitHealthy because, due to races, that method may throw an exception.  But
        // we really just want to wait for the thread to be in the failure callback so we wait for that
        // explicitly instead.
        failEnter.await();
        assertFalse("State should be updated before calling listeners", manager.isHealthy());
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Mon Oct 02 17:20:27 GMT 2023
    - 23.9K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Iterators.java

             * the new one. The result is a ConcurrentModificationException or other bad behavior.
             *
             * (If we decide that we really, really hate allocating two Iterators per cycle instead of
             * one, we can optimistically store the new Iterator and then be willing to throw it out if
             * the user calls remove().)
             */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 50.5K bytes
    - Viewed (0)
  3. android/guava-tests/test/com/google/common/base/SplitterTest.java

      public void testSplitterIterableIsLazy_pattern() {
        if (!CommonPattern.isPcreLike()) {
          return;
        }
        assertSplitterIterableIsLazy(Splitter.onPattern(","));
      }
    
      /**
       * This test really pushes the boundaries of what we support. In general the splitter's behaviour
       * is not well defined if the char sequence it's splitting is mutated during iteration.
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 29.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/collect/ImmutableMapTest.java

        try {
          builder.buildOrThrow();
          fail("Expected exception from duplicate keys");
        } catch (IllegalArgumentException expected) {
          // We don't really care which values the exception message contains, but they should be
          // different from each other. If buildKeepingLast() collapsed duplicates, that might end up
          // not being true.
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Tue Apr 30 14:39:16 GMT 2024
    - 37.3K bytes
    - Viewed (0)
  5. guava/src/com/google/common/collect/FluentIterable.java

       * going through {@code FluentIterable} at all), the more performant and idiomatic your code will
       * be. This method is a transitional aid, to be used only when really necessary.
       *
       * @since 21.0
       */
      public final Stream<E> stream() {
        return Streams.stream(getDelegate());
      }
    
      /** Function that transforms {@code Iterable<E>} into a fluent iterable. */
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Tue Jan 30 00:14:39 GMT 2024
    - 35.3K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/Iterables.java

       *
       * <p><b>{@code Stream} equivalent:</b> {@code
       * stream.filter(predicate).findFirst().orElse(defaultValue)}
       *
       * @since 7.0
       */
      // The signature we really want here is...
      //
      // <T extends @Nullable Object> @JointlyNullable T find(
      //     Iterable<? extends T> iterable,
      //     Predicate<? super T> predicate,
      //     @JointlyNullable T defaultValue);
      //
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 42.5K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/Maps.java

            return this.bimap.equals(that.bimap);
          }
          return false;
        }
    
        @Override
        public int hashCode() {
          return bimap.hashCode();
        }
    
        // There's really no good way to implement toString() without printing the entire BiMap, right?
        @Override
        public String toString() {
          return "Maps.asConverter(" + bimap + ")";
        }
    
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed May 01 18:44:57 GMT 2024
    - 159.6K bytes
    - Viewed (0)
  8. android/guava/src/com/google/common/eventbus/Dispatcher.java

      private static final class LegacyAsyncDispatcher extends Dispatcher {
    
        // This dispatcher matches the original dispatch behavior of AsyncEventBus.
        //
        // We can't really make any guarantees about the overall dispatch order for this dispatcher in
        // a multithreaded environment for a couple of reasons:
        //
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Fri Dec 15 19:31:54 GMT 2023
    - 7.3K bytes
    - Viewed (0)
  9. guava-gwt/pom.xml

          </plugin>
          <plugin>
            <artifactId>maven-source-plugin</artifactId>
            <configuration>
              <excludes>
                <!-- 3. Don't include it in the source jar (since it's really more of a "test" than it is production code). -->
                <exclude>**/ForceGuavaCompilation*</exclude>
                <exclude>**/DummyJavadocClass*</exclude>
              </excludes>
            </configuration>
    XML
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Apr 11 15:00:55 GMT 2024
    - 19.8K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/util/concurrent/AtomicLongMap.java

       *
       * - Define putIfAbsent and replace as treating zero and absent identically (as currently
       *   implemented below). This is a bit surprising with putIfAbsent, which really becomes
       *   putIfZero.
       *
       * - Allow putIfAbsent and replace to distinguish between zero and absent, but don't implement
       *   remove(K, long). Without any two-phase operations it becomes feasible for all remaining
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Apr 01 16:15:01 GMT 2024
    - 14.1K bytes
    - Viewed (0)
Back to top