Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 33 for Uninterruptibles (0.07 sec)

  1. guava-tests/test/com/google/common/hash/BloomFilterTest.java

    import com.google.common.testing.EqualsTester;
    import com.google.common.testing.NullPointerTester;
    import com.google.common.testing.SerializableTester;
    import com.google.common.util.concurrent.Uninterruptibles;
    import java.io.ByteArrayInputStream;
    import java.io.ByteArrayOutputStream;
    import java.lang.Thread.UncaughtExceptionHandler;
    import java.math.RoundingMode;
    import java.util.ArrayList;
    import java.util.List;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 22K bytes
    - Viewed (0)
  2. guava-tests/test/com/google/common/util/concurrent/SequentialExecutorTest.java

    package com.google.common.util.concurrent;
    
    import static com.google.common.truth.Truth.assertThat;
    import static com.google.common.util.concurrent.MoreExecutors.newSequentialExecutor;
    import static com.google.common.util.concurrent.Uninterruptibles.awaitUninterruptibly;
    import static java.util.concurrent.Executors.newCachedThreadPool;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.SECONDS;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  3. android/guava/src/com/google/common/util/concurrent/Futures.java

       * from the underlying computation in an {@code UncheckedExecutionException} or {@code
       * ExecutionError}.
       *
       * <p>For an uninterruptible {@code get} that preserves other exceptions, see {@link
       * Uninterruptibles#getUninterruptibly(Future)}.
       *
       * @throws UncheckedExecutionException if {@code get} throws an {@code ExecutionException} with an
       *     {@code Exception} as its cause
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Aug 07 16:05:33 UTC 2025
    - 64.3K bytes
    - Viewed (0)
  4. android/guava/src/com/google/common/util/concurrent/AggregateFuture.java

    import static com.google.common.util.concurrent.AggregateFuture.ReleaseResourcesReason.OUTPUT_FUTURE_DONE;
    import static com.google.common.util.concurrent.MoreExecutors.directExecutor;
    import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly;
    import static java.util.Objects.requireNonNull;
    import static java.util.logging.Level.SEVERE;
    
    import com.google.common.annotations.GwtCompatible;
    import com.google.common.collect.ImmutableCollection;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sun Dec 22 03:38:46 UTC 2024
    - 16K bytes
    - Viewed (0)
  5. android/guava-tests/test/com/google/common/util/concurrent/GeneratedMonitorTest.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import static com.google.common.util.concurrent.Uninterruptibles.awaitUninterruptibly;
    
    import com.google.common.base.CaseFormat;
    import com.google.common.collect.ImmutableList;
    import com.google.errorprone.annotations.CanIgnoreReturnValue;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Mon Aug 11 19:31:30 UTC 2025
    - 27K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/util/concurrent/AbstractClosingFutureTest.java

    import static com.google.common.util.concurrent.MoreExecutors.shutdownAndAwaitTermination;
    import static com.google.common.util.concurrent.Uninterruptibles.awaitUninterruptibly;
    import static com.google.common.util.concurrent.Uninterruptibles.getUninterruptibly;
    import static java.util.Arrays.asList;
    import static java.util.concurrent.Executors.newSingleThreadExecutor;
    import static java.util.concurrent.TimeUnit.SECONDS;
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Fri Jul 11 18:52:30 UTC 2025
    - 75.4K bytes
    - Viewed (0)
  7. android/guava-tests/test/com/google/common/util/concurrent/UninterruptibleMonitorTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link Monitor}'s uninterruptible methods.
     *
     * @author Justin T. Sampson
     */
    @NullUnmarked
    public class UninterruptibleMonitorTest extends MonitorTestCase {
    
      public UninterruptibleMonitorTest() {
        super(false);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 934 bytes
    - Viewed (0)
  8. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/BasePublicSuffixList.kt

            initCause(readFailure)
          }
        }
      }
    
      abstract val path: Any
    
      /**
       * Reads the public suffix list treating the operation as uninterruptible. We always want to read
       * the list otherwise we'll be left in a bad state. If the thread was interrupted prior to this
       * operation, it will be re-interrupted after the list is read.
       */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 3.6K bytes
    - Viewed (0)
  9. android/guava-tests/test/com/google/common/util/concurrent/MonitorTestCase.java

    import com.google.common.testing.TearDownStack;
    import java.util.Random;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link Monitor}, either interruptible or uninterruptible.
     *
     * @author Justin T. Sampson
     */
    @NullUnmarked
    public abstract class MonitorTestCase extends TestCase {
    
      public class TestGuard extends Monitor.Guard {
        private volatile boolean satisfied;
    
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 8K bytes
    - Viewed (0)
  10. guava-tests/test/com/google/common/util/concurrent/UninterruptibleMonitorTest.java

     * limitations under the License.
     */
    
    package com.google.common.util.concurrent;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Tests for {@link Monitor}'s uninterruptible methods.
     *
     * @author Justin T. Sampson
     */
    @NullUnmarked
    public class UninterruptibleMonitorTest extends MonitorTestCase {
    
      public UninterruptibleMonitorTest() {
        super(false);
      }
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 934 bytes
    - Viewed (0)
Back to top