Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 41 for welcome (0.22 sec)

  1. android/guava/src/com/google/common/primitives/Ints.java

        // places left to rotate.
        int m = -distance % length;
        m = (m < 0) ? m + length : m;
        // The current index of what will become the first element of the rotated section.
        int newFirstIndex = m + fromIndex;
        if (newFirstIndex == fromIndex) {
          return;
        }
    
        reverse(array, fromIndex, newFirstIndex);
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 15 16:12:13 GMT 2024
    - 29.7K bytes
    - Viewed (0)
  2. android/guava/src/com/google/common/util/concurrent/ServiceManager.java

      }
    
      /**
       * Waits for the {@link ServiceManager} to become {@linkplain #isHealthy() healthy}. The manager
       * will become healthy after all the component services have reached the {@linkplain State#RUNNING
       * running} state.
       *
       * @throws IllegalStateException if the service manager reaches a state from which it cannot
       *     become {@linkplain #isHealthy() healthy}.
       */
      public void awaitHealthy() {
    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)
  3. android/guava/src/com/google/common/hash/Striped64.java

       * colliding threads.  Because search is random, and collisions
       * only become known via CAS failures, convergence can be slow,
       * and because threads are typically not bound to CPUS forever,
       * may not occur at all. However, despite these limitations,
       * observed contention rates are typically low in these cases.
       *
       * It is possible for a Cell to become unused when threads that
       * once hashed to it terminate, as well as in the case where
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Thu Feb 22 17:40:56 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  4. guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

      public void testIterator_removeAffectsBackingCollection() {
        int originalSize = collection.size();
        Iterator<E> iterator = collection.iterator();
        Object element = iterator.next();
        // If it's an Entry, it may become invalid once it's removed from the Map. Copy it.
        if (element instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) element;
          element = mapEntry(entry.getKey(), entry.getValue());
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  5. guava-tests/test/com/google/common/util/concurrent/InterruptibleTaskTest.java

        // 1. the runner has been woken up
        // 2. the interrupter is stuck in the call the Thread.interrupt()
    
        // after some period of time the runner thread should become blocked on the task because it is
        // waiting for the slow interrupting thread to complete Thread.interrupt
        awaitBlockedOnInstanceOf(runner, InterruptibleTask.Blocker.class);
    
    Java
    - Registered: Fri Apr 12 12:43:09 GMT 2024
    - Last Modified: Wed Sep 06 17:04:31 GMT 2023
    - 6.6K bytes
    - Viewed (0)
  6. guava-tests/benchmark/com/google/common/util/concurrent/MonitorBasedArrayBlockingQueue.java

            monitor.leave();
          }
        } else {
          return false;
        }
      }
    
      /**
       * Inserts the specified element at the tail of this queue, waiting up to the specified wait time
       * for space to become available if the queue is full.
       *
       * @throws InterruptedException {@inheritDoc}
       * @throws NullPointerException {@inheritDoc}
       */
      @CanIgnoreReturnValue
      @Override
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Wed Apr 19 19:24:36 GMT 2023
    - 22.5K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/base/FinalizableReferenceQueueClassLoaderUnloadingTest.java

        sepStopwatchA.set(null);
        GcFinalization.awaitClear(sepStopwatchRef.get());
        // Return a weak reference to the parallel ClassLoader. This is the reference that should
        // eventually become clear if there are no other references to the ClassLoader.
        return new WeakReference<ClassLoader>(sepLoader);
      }
    
      private void doTestUnloadable() throws Exception {
    Java
    - Registered: Fri Apr 19 12:43:09 GMT 2024
    - Last Modified: Tue Feb 16 03:24:50 GMT 2021
    - 13.3K bytes
    - Viewed (0)
  8. guava-tests/test/com/google/common/util/concurrent/ServiceManagerTest.java

       * transitionService in the wrong order due to a race. Due to the fact that it is a race this test
       * isn't guaranteed to expose the issue, but it is at least likely to become flaky if the race
       * sneaks back in, and in this case flaky means something is definitely wrong.
       *
       * <p>Before the bug was fixed this test would fail at least 30% of the 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-testlib/src/com/google/common/testing/ClusterException.java

     *     thingToRun.run(); // say this may throw an exception, but you want to
     *                       // always run all thingsToRun
     *   }
     * }
     * </pre>
     *
     * <p>This is what the code would become:
     *
     * <pre>
     * void runManyThings({@literal List<ThingToRun>} thingsToRun) {
     *   {@literal List<Exception>} exceptions = Lists.newArrayList();
     *   for (ThingToRun thingToRun : thingsToRun) {
     *     try {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Apr 26 20:07:17 GMT 2023
    - 4K bytes
    - Viewed (0)
  10. android/guava-testlib/src/com/google/common/collect/testing/testers/CollectionIteratorTester.java

      public void testIterator_removeAffectsBackingCollection() {
        int originalSize = collection.size();
        Iterator<E> iterator = collection.iterator();
        Object element = iterator.next();
        // If it's an Entry, it may become invalid once it's removed from the Map. Copy it.
        if (element instanceof Entry) {
          Entry<?, ?> entry = (Entry<?, ?>) element;
          element = mapEntry(entry.getKey(), entry.getValue());
        }
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Wed Feb 21 16:49:06 GMT 2024
    - 5.9K bytes
    - Viewed (0)
Back to top