Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 50 for Starling (0.23 sec)

  1. guava/src/com/google/common/base/CharMatcher.java

       */
      public int indexIn(CharSequence sequence) {
        return indexIn(sequence, 0);
      }
    
      /**
       * Returns the index of the first matching BMP character in a character sequence, starting from a
       * given position, or {@code -1} if no character matches after that position.
       *
       * <p>The default implementation iterates over the sequence in forward order, beginning at {@code
    Java
    - Registered: Fri Apr 05 12:43:09 GMT 2024
    - Last Modified: Fri Feb 09 15:49:48 GMT 2024
    - 53.8K bytes
    - Viewed (0)
  2. android/guava-tests/test/com/google/common/util/concurrent/AbstractIdleServiceTest.java

        service.startAsync().awaitRunning();
        assertEquals(1, service.startUpCalled);
        assertEquals(Service.State.RUNNING, service.state());
        assertThat(service.transitionStates).containsExactly(Service.State.STARTING);
      }
    
      public void testStart_failed() {
        final Exception exception = new Exception("deliberate");
        TestService service =
            new TestService() {
              @Override
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 7.5K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

          this.state = state;
        }
    
        @Override
        public void starting() {
          ServiceManagerState state = this.state.get();
          if (state != null) {
            state.transitionService(service, NEW, STARTING);
            if (!(service instanceof NoOpService)) {
              logger.get().log(Level.FINE, "Starting {0}.", service);
            }
          }
        }
    
        @Override
        public void running() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Dec 13 19:45:20 GMT 2023
    - 30.5K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/util/concurrent/AbstractExecutionThreadServiceTest.java

        @Override
        protected void startUp() {
          assertFalse(startUpCalled);
          assertFalse(runCalled);
          assertFalse(shutDownCalled);
          startUpCalled = true;
          assertEquals(State.STARTING, state());
        }
    
        @Override
        protected void run() {
          assertTrue(startUpCalled);
          assertFalse(runCalled);
          assertFalse(shutDownCalled);
          runCalled = true;
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 12.7K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/math/QuantilesTest.java

       * tests are divided into three sections:
       * 1. Tests on a hardcoded dataset for chains starting with median(), quartiles(), and scale(10);
       * 2. Tests on hardcoded datasets include non-finite values for chains starting with scale(10);
       * 3. Tests on a mechanically generated dataset for chains starting with percentiles();
       * 4. Tests of illegal usages of the API.
       */
    
      /*
    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)
  6. android/guava-tests/test/com/google/common/math/QuantilesTest.java

       * tests are divided into three sections:
       * 1. Tests on a hardcoded dataset for chains starting with median(), quartiles(), and scale(10);
       * 2. Tests on hardcoded datasets include non-finite values for chains starting with scale(10);
       * 3. Tests on a mechanically generated dataset for chains starting with percentiles();
       * 4. Tests of illegal usages of the API.
       */
    
      /*
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 29.7K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/util/concurrent/AbstractScheduledServiceTest.java

            assertThrows(
                TimeoutException.class, () -> service.startAsync().awaitRunning(1, MILLISECONDS));
        assertThat(e)
            .hasMessageThat()
            .isEqualTo("Timed out waiting for Foo [STARTING] to reach the RUNNING state.");
      }
    
      private class TestService extends AbstractScheduledService {
        CyclicBarrier runFirstBarrier = new CyclicBarrier(2);
        CyclicBarrier runSecondBarrier = new CyclicBarrier(2);
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

        ImmutableMap<Service, Long> startupTimes = serviceManager.startupTimes();
        assertThat(startupTimes).hasSize(2);
        assertThat(startupTimes.get(a)).isAtLeast(150);
        // Service b startup takes at least 353 millis, but starting the timer is delayed by at least
        // 150 milliseconds. so in a perfect world the timing would be 353-150=203ms, but since either
        // of our sleep calls can be arbitrarily delayed we should just assert that there is a time
    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)
  9. android/guava-tests/test/com/google/common/graph/TraverserTest.java

      /**
       * A graph that is not a tree (for example, it has two antiparallel edge between {@code e} and
       * {@code f} and thus has a cycle) but is a valid input to {@link Traverser#forTree} when starting
       * e.g. at node {@code a} (all edges without an arrow are directed facing downwards):
       *
       * <pre>{@code
       *     a
       *    /
       *   b   e <----> f
       *  / \ /
       * c   d
       * }</pre>
       */
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 47.5K bytes
    - Viewed (0)
  10. android/guava/src/com/google/common/graph/Network.java

       */
      Set<E> inEdges(N node);
    
      /**
       * Returns a live view of all edges in this network which can be traversed in the direction (if
       * any) of the edge starting from {@code node}.
       *
       * <p>In a directed network, an outgoing edge's {@link EndpointPair#source()} equals {@code node}.
       *
       * <p>In an undirected network, this is equivalent to {@link #incidentEdges(Object)}.
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Mon Jan 22 17:29:38 GMT 2024
    - 21.1K bytes
    - Viewed (0)
Back to top