Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 9 of 9 for brain (0.02 sec)

  1. android/guava/src/com/google/common/collect/Queues.java

      @IgnoreJRERequirement // Users will use this only if they're already using Duration
      public static <E> int drain(
          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
          throws InterruptedException {
        // TODO(b/126049426): Consider using saturateToNanos(timeout) instead.
        return drain(q, buffer, numElements, timeout.toNanos(), NANOSECONDS);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/collect/Queues.java

      @CanIgnoreReturnValue
      @J2ktIncompatible
      @GwtIncompatible // BlockingQueue
      public static <E> int drain(
          BlockingQueue<E> q, Collection<? super E> buffer, int numElements, Duration timeout)
          throws InterruptedException {
        // TODO(b/126049426): Consider using saturateToNanos(timeout) instead.
        return drain(q, buffer, numElements, timeout.toNanos(), NANOSECONDS);
      }
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 18.1K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/primitives/UnsignedLongs.java

     *
     * <p>See the Guava User Guide article on <a
     * href="https://github.com/google/guava/wiki/PrimitivesExplained#unsigned-support">unsigned
     * primitive utilities</a>.
     *
     * @author Louis Wasserman
     * @author Brian Milch
     * @author Colin Evans
     * @since 10.0
     */
    @GwtCompatible
    public final class UnsignedLongs {
      private UnsignedLongs() {}
    
      public static final long MAX_VALUE = -1L; // Equivalent to 2^64 - 1
    
      /**
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 17.8K bytes
    - Viewed (0)
  4. android/guava-tests/test/com/google/common/primitives/UnsignedLongsTest.java

    import java.util.Comparator;
    import java.util.List;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for UnsignedLongs
     *
     * @author Brian Milch
     * @author Louis Wasserman
     */
    @GwtCompatible
    @NullUnmarked
    public class UnsignedLongsTest extends TestCase {
      private static final long LEAST = 0L;
      private static final long GREATEST = 0xffffffffffffffffL;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 12.8K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link AbstractFuture}.
     *
     * @author Brian Stoler
     */
    @NullUnmarked
    public class AbstractFutureTest extends TestCase {
      public void testSuccess() throws ExecutionException, InterruptedException {
        Object value = new Object();
        assertSame(
            value,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  6. guava-tests/test/com/google/common/util/concurrent/AbstractFutureTest.java

    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    import org.jspecify.annotations.Nullable;
    
    /**
     * Tests for {@link AbstractFuture}.
     *
     * @author Brian Stoler
     */
    @NullUnmarked
    public class AbstractFutureTest extends TestCase {
      public void testSuccess() throws ExecutionException, InterruptedException {
        Object value = new Object();
        assertSame(
            value,
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 46.8K bytes
    - Viewed (0)
  7. android/guava/src/com/google/common/collect/MapMakerInternalMap.java

         */
        int threshold;
    
        /** The per-segment table. */
        volatile @Nullable AtomicReferenceArray<E> table;
    
        /**
         * A counter of the number of reads since the last write, used to drain queues on a small
         * fraction of read operations.
         */
        final AtomicInteger readCount = new AtomicInteger();
    
        Segment(MapMakerInternalMap<K, V, E, S> map, int initialCapacity) {
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 90K bytes
    - Viewed (0)
  8. CHANGELOG/CHANGELOG-1.30.md

    - Fixed a bug where `kubectl` drain would consider a pod as having been deleted if an error occurs while calling the API. ([#122574](https://github.com/kubernetes/kubernetes/pull/122574), [@brianpursley](https://github.com/brianpursley))
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Jun 18 18:59:10 UTC 2025
    - 398.1K bytes
    - Viewed (0)
  9. CHANGELOG/CHANGELOG-1.31.md

      - filename
      - force
      - grace-period
      - kustomize
      - recursive
      - timeout
      - wait
      
      Drop support for the deprecated --delete-local-data from kubectl drain, users should use --delete-emptydir-data, instead. ([#125842](https://github.com/kubernetes/kubernetes/pull/125842), [@soltysh](https://github.com/soltysh)) [SIG CLI]
    Registered: Fri Sep 05 09:05:11 UTC 2025
    - Last Modified: Wed Aug 13 19:49:57 UTC 2025
    - 429.6K bytes
    - Viewed (0)
Back to top